× Requests and support related to jBackend.

Launching Mobile app from Joomla Menu

  • trianglewiz
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago #5076 by trianglewiz
Launching Mobile app from Joomla Menu was created by trianglewiz
Hi there,
Our use case is

user launches our Joomla web site from a mobile browser
user logs into our Joomla web site
User click on a menu item
At this point we need to make a rest call to your module, with the current signed user, so as to get so profile details.
With the profile details, we will launch our Mobile app.

Question-

1. How can I use your REST API within my joomla site as part of my menu action
before we launch the mobile app

ideally we need the current logged in session in our web site and use that to make a rest api call to get the profile details and pass it onto our mobile app.

NOTE: we dont want to prompt for username and password from our user

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #5085 by admin
Replied by admin on topic Launching Mobile app from Joomla Menu
Hi,
about the first part, launch an app with a click on a link, you can do this with schema URL in iOS:

developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html

And intent on Android:
developer.android.com/training/basics/intents/filters.html

About the second part, to be already logged in on the mobile app, you could pass the session ID as parameter to app, and the app should use it to make requests to joomla. More info here (search about session id):

www.selfget.com/documentation/jbackend-joomla30/user-module-api.html

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.149 seconds