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

Discussion in 'B4J Questions' started by Alexander Stolte, Mar 28, 2018.

  1. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed 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.

    How can i handle this with my B4J Server?
     
  2. DonManfred

    DonManfred Expert Licensed User

    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.
     
  3. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    Thought you can tell the browser that he should use my app over the B4J server.
     
  4. OliverA

    OliverA Well-Known Member Licensed 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?
     
  5. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    My App on the Device that accessing my B4J Server. Many websites have a button where "open now in the app" or open the app automatically.
    Would be nice if this happens as soon as I enter the URL of a handler.
     
  6. OliverA

    OliverA Well-Known Member Licensed User

    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?
     
  7. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed 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.
     
  8. DonManfred

    DonManfred Expert Licensed User

    You are talking shout deeplinks.
    I Published a wrapper for this.
    It required a app in Playstore to do so.

    The lib is here. (B4A)
     
    Last edited: Mar 29, 2018
  9. DonManfred

    DonManfred Expert Licensed User

    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.
     
  10. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    i give it a try, thanks. I thought the library is for promotional purposes for the app.
     
  11. DonManfred

    DonManfred Expert Licensed User

    What is when your app-user is sharing a link in your app to a friend? Isn´t it this not a promotion too? ;-)
     
    Alexander Stolte and KMatle like this.
  12. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    You're right! :cool:
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice