I am trying to load an android application from html file when browsing the page with android browser.
I have tried like below
<a android:scheme="com.mxtech.videoplayer.ad">Click </a>
But without any avail...
I am also trying to pass a video link to the app.
Any has any idea..
I have seen this kind of link can be done in apple ios.
And that's the Android way:
http://play.google.com/store/apps/details?id=<package_name>
e.g. https://play.google.com/store/apps/details?id=com.troubi.kingofmath
At an Android device the user will be asked whether he'd like to open this app in the browser or Google Play.
Related
I've been trying for a couple of weeks to get a href link to open Gmail from Chrome (with a Next.js app) on Android (something like <a href="intent:#Intent;">) with no success.
I feel that it is impossible to do so if you don't have control of the Android Manifest file, so I'd like to get some knowledge on this (so I don't waste my time if it truly is impossible to open another native app from the browser on Android).
I've used Apache Cordova in the past, but I find it to be a headache. Spent a lot of time just to get it to compile correctly, almost more than developing the HTML5 app itself.
Is there some simple stand alone (offline) tool that takes a HTML5 project (HTML, CSS,JS, PNG, JPG files) and converts it to an APK with a simple press of a button?
Or is there some other way to piggy-back on some existing Android app, that just hosts a web browser, and then loads my HTML5 app?
Or is there a way to zip up the HTML5 project and distribute it as an app on an app store?
Or is there a way for the Android chrome browser to "appify" the current visited web page? The idea would be that the user presses a button to save down the current web page to the file system, and he can then access it offline as a regular app.
You can use Webview to show html files inside Android App. You can also show a particular website by giving its link. More Details here..
https://www.tutorialspoint.com/android/android_webview_layout.htm
First of all please bear me with this if this question doesn't make sense (as I don't have mobile app knowledge). What I am trying to do is I have Facebook share button in my web application. Everything works fine on web and mobile but only thing I want to achieve is:
On mobile browser when you click on share button, instead of opening that URL in browser native Facebook mobile app should be launched.
This is what I have currently on share link:
I tried something I found on google as below but didn't work:
<a href="http://www.facebook.com/sharer.php?u=http://domain.com" data-applink="fb://profile" class="facebook" target="_blank" ></a>
I know about phonegap but here i am want to know if it
is possible to have an android application which is not
really an application but merely a browser that opens only
a particular webpage, that is only the mobile site i already
designed, am not sure but i have seen some android apps and i know
they do something similar , below are the things i want :
The app should be installable.
Just opens a link to an existing webpage online.i.e its more like a browser
only it just opens only a specified web page
is this possible with Phonegap for Android ?
You can do that. You would want to use the inappbrowser plugin to open an external page when ondeviceready is fired. Take a look at my SO answer here for a guide on how to use the inappbrowser, and you can take a look here for the docs about ondeviceready.
I just wanted to know if someone can explain why is this happening to me.
I am developing a mobile app using phonegap and jquerymobile and one of the features of the app is to guide the user using a navigation tool.
For iOS we have choose Waze. It is really easy to add it:
<a href=" waze://q=Adress">
and it works! It works if we run the app using safari or even if we build a native app using phonegap.
The problem comes when using Android. For android we are using Google Navigation. The code we are using is:
<a href="google.navigation:q=Adress">
It is working ok, but only if we build a native app with our htlm code using phonegap but it is not working if we run the app on Android Web Browser.
We dont want the user to install the app to use this feature...
The question is: Why? Why the html code is working ok inside a webview on a native app but it is not working on Android Browser?
I just had the same issue and used the geo URI and it is working:
Wikimedia Headquarters
for a more detailed explanation see this link: http://en.wikipedia.org/wiki/Geo_URI#Example
The href above will open navigation apps, such as waze on Android (just tested it on the Galaxy S4 with Waze and it is working - it also opens up the Google Maps/Navigation app, which is now a combined app).
Hope this helps! :)