1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question shortcut for activity ?

Discussion in 'Android Questions' started by bixmatech, Jun 18, 2019.

  1. bixmatech

    bixmatech Member Licensed User

    Hi ...
    I've an app that contains many apps in it (timer , camera, sound player ....) every one a in separated activity, and the main activity contains the list of all the apps.

    my question is :
    can I make a shortcut on home screen to each one of these apps (activities)?

    Example: shortcut for the "Timer app" ... so the user doesn't have to open the main app and press on the Timer app to open it ?

    Thank you ...
     
  2. JohnC

    JohnC Well-Known Member Licensed User

  3. DonManfred

    DonManfred Expert Licensed User

    Note that it needs a Device with Android 7.1+ (Api 25)
     
  4. bixmatech

    bixmatech Member Licensed User

    Thanks for the reply

    Actually I tried this code (same I think)
    https://www.b4x.com/android/forum/t...-directly-from-within-your-application.17559/

    But its worked just on the main activity and just first time.
    if I CLEAR DATA will make a shortcut again , but will work just if it the Main Activity, if any other, will ask me to chose an app to "Open With"

    Are there any other solution to work on all android versions specially 6.0
     
  5. JohnC

    JohnC Well-Known Member Licensed User

  6. DonManfred

    DonManfred Expert Licensed User

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