B4J Question How to Open my App over a link over my B4J Server

Alexander Stolte

Expert
Licensed User
Longtime User
Hello,

on B4A side i know it from here.

But as long as I do not have a website that can show this, I want the app to run without the browser opening.

From Stackoverflow, from this post, i know it is possible.

Then, in your web app you can put links like:

B4X:
<a href="my.special.scheme://other/parameters/here">
How can i handle this with my B4J Server?
 

DonManfred

Expert
Licensed User
Longtime User
i know it is possible
this post is explaining how to do it in ANDROID. In Android you can register a scheme just by placing some Manifestentries.

On a B4J Server you need to register a new scheme in Windows to get it to work.
I don´t know if there is a library for b4j to do that.
 
Upvote 0

OliverA

Expert
Licensed User
Longtime User
Are you trying to start a program on the machine your B4J server is or on the device that is accessing your B4J server?
 
Upvote 0

OliverA

Expert
Licensed User
Longtime User
happens as soon as I enter the URL of a handler.
Where is this "entering" happening? What exactly is the workflow that you are trying to accomplish? For example, maybe you're trying this:

Have an app on phone (one of your creation) talk to B4J server. Have server send URI to the phone app that the phone app then uses to start another app.

Or maybe you're trying to accomplish something else. What is the workflow?
 
Upvote 0

Alexander Stolte

Expert
Licensed User
Longtime User
The idea behind them is: User share a Post in my app with a link, if a other user is clicking on this link, then my app is starting and open this post via my app. Of course assumes that the app is installed, I will fix this later with a web version of my app.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Of course assumes that the app is installed
Check the lib in my last post.
It does even work if your app is NOT installed (but available in playstore). The user will forwarded to install the app in playstore and then your app gets started giving the deeplink.

Basically you are defining a url which your app must be able to "understand".
And you dont need a server app at all for this.
 
Upvote 0
Top