can I call my app from HTML?
for example:I can call webpage with this code correctly from my app.
android code:
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(
"myDomain.com")));
and after doing something in my site, I want to open my android app again.
I find this code,
<a href="market://details?id=info.androidhive.slidingmenu">
but it's just call Market to find and install the app!
You can achieve it by adding a small script in website and some changes in code. You have to make url schemes.
for iOS you can set URLSchemes that will launch the app if typed on the browser: that is for example if your app called market
market:// will launch the app
to add the URLScheme do it in the info tab :
you can handle the url options by implementing
application:willFinishLaunchingWithOptions:
andapplication:didFinishLaunchingWithOptions:
methods.You might have a look at this: https://developer.android.com/training/app-indexing/deep-linking.html
So your app will be started by this link:
It is no longer possible starts to Android Chrome 25 link
For iOS you can read this question