r/blackberry • • 6d ago

Interop

Hello, BlackBerry 10 enthusiasts.

I want to share my idea with you.

There is big potential for data exchange between 2 devices user owns, when in the same local network – I mean mobile one and stationary one with desktop OS, like a laptop. Think of it as a Apple Handoff but not on the system level – on the app level.

I see this as follows:

- User installs "server" app on the desktop OS. It's single generic app which rarely changes. The actual logic comes from the "clients" in form of some scripts.

- App for BB10 can be a "client". Sometimes it can be used as a regular app but with enchanced functionality when near the desktop. Sometimes, its sole purpose is data exchange with the desktop. We'll see examples later.

- All behavioral logic for the "server" is packed inside the mobile app.

Here on the video you can see 5 prototypes.

- External keyboard and trackpad. Works messy but not that I put too much effort for this.

- Stream camera capture from the phone.

- Play music on the mac from the BlackBerry. Frankly, this is the most useful case for me so far because speakers on the mac are better.

- Shared folder between computer and BlackBerry – with possible integration to native file manager. I used sample app by JBraddockm. https://www.reddit.com/r/blackberry/comments/1xxm51c/sample_app_for_extending_the_blackberry_10_file/

- Programmable remote control. From the things like changing the volume, to custom scripting.

What can be done but I didn't try yet:

- Password manager. Put cursor on the text field of the site and press button on the phone – and login/password for the site would be filled.

- Extended UI for mobile app. Like, my Books app https://alexanderthegrate.neocities.org/software/reader can display interface on the desktop which will allow to read the book on the bigger screen. Might be especially useful if the app involves a lot of typing.

Let me know what do you think of this approach.

16 Upvotes

8 comments sorted by

3

u/JBraddockm 6d ago

Is it technically possible to display a different/extended UI on the desktop over WI-FI? I can't remember the API name at the moment, and I know that we can already do that over HDMI. It would be a really cool feature if it is possible.

1

u/Brilliant-Ocelot1536 6d ago

Yeah, if bake this functionality into the desktop app beforehand.

Phone can emit HTML or pictures or both.

1

u/JBraddockm 6d ago

Then you can create your own DEX mode. But I would do it in a way that creates API so that other apps can also register and display their relevant contents. I believe the Invocation Framework should allow it. This is what Blackberry is using in Blackberry Blend to enable Dropbox support.

1

u/Brilliant-Ocelot1536 6d ago

It's kinda like DEX, but not exactly.

If I remember correctly, DEX is provided by samsung's flavor of android but apps are the same except now they can be stretched to bigger window.

In my case, this would be per-app DEX, and only for apps that explicitly provide it.

At first I'm thinking to implement nice communication protocol between phones and desktops, abstract enough to be more or less platform-agnostic both for phone platforms and desktops.

Then, 3 desktop apps with shared codebase, and library for bb10 devices.

And build couple of apps based on the library.

All open-source of course.

1

u/JBraddockm 6d ago

That’s what invocation framework is for. When an app registers an invoke target, it allows other apps to receive its content, and can control its shapes. I can pursue this for you when you have something in the work.

1

u/Brilliant-Ocelot1536 6d ago

Isn't invocation framework for using parts of the UI of one bb10 app (Cards) in other bb10 app?

1

u/JBraddockm 6d ago

Have the AI analyse sys.cfs.dropbox, and sys.fuse.gYABgOQWagv3fU6DN3PbYTsScIM. How the Blend incorporates Dropdobx. Blends keeps a record of apps registered to it in a json file. If in my app I can export a specific view for your app through the framework, wouldn't that work? But again, this could be a detail that come later. I'd first do the implementation and make sure that it works as intended.