HTML5 invoke native app (ios and android) - html

I have 2 mobile apps. One develop using HTML5 and another using native code. Is it possible to using the mobile apps (HTML5) to invoke another mobile apps (native code)? Any one can provide an example or link ?

Use a URI Scheme. For example, this opens the iBooks Application.
Link
Here is a list for native apps

able to solve the encountered problem. it need to change the plist file and android manifest.xml to make it work.

Related

How to open app using the URL android

I am trying to open application on android phone via Browser, Is their anyway to open any application using the ** URL ** in an andoid phone via Chrome, by using HTML.
The format of these URLs is pretty simple and an example of a real URL that you can use is:
intent://#Intent;action=android.in
You have to use the format provided by the app vendor. for example whatsapp:// should be used to open whatsapp and magnet:? to open torrent app. Likewise you have to use in links

How to compile a webapp to an hybrid one/jpk for my mobile phone without framework?

I have to build a hybride app, out of my webapp. It´s not allowed to use a middleware framework like phonegap which just builds it. In my app I want to show that HTML5 already allows to use a lot of functions of the mobile phone like the geolocation, instead of frameworks which can do the same, so I cannot use the framework for building my app. Which program should I use, VS? And how can I build my application(jpk) without a framework like that to test it on my mobile phone?
You should create a simple application with a webview and run your webapp inside this webview.
The problem is: hybrid frameworks like Cordova or Phonegap arent supose to just implement mobile features like camera or gps, they are useful writing once and run everywhere without complaining about iOs and Android code or even for fallbacks. Probably in the future youre not even going to install applications in your phone to use all mobile features using only browser features.
Here are some helpful links:
https://developer.android.com/guide/webapps/webview.html
https://developers.google.com/web/fundamentals/getting-started/codelabs/your-first-pwapp/
https://developer.mozilla.org/en-US/Apps/Progressive

Reference a native app from a responsive website?

I'm at a loss and have exhausted my search engine fu.
How do you refer to the linking that allows you to reference your native app in the AppStore (or Google Play) from your responsive website?
If user doesn't have your native app but they visit your website you often see a link to the native app above the page that you can usually dismiss (though this Instagram example I just created doesn't appear to let you dismiss it).
How is this handled?
Edit: Actually, here's a better example (I happen to have app installed but it appears regardless)
it's easy on iOS Apple Documentation
via here
The Android equivalent is this I haven't tried it personally.

Chrome webview application to load extension

Is it possible to have a webview application for a web page and load extensions in the application?
I have created a frameless wrapper for one of our web pages, so we can hide the chrome header. I am also using the stylebot extension to alter some elements in the page. It works fine inside chrome, but when I run the application the stylebot extension is not loaded.
Any idea how can I add the extension to the application?
Greatly appreciate your help on this
Thanks, Laszlo
A Google chrome extension have to be load in Google Chrome (or Chromium based browsers). The Google chrome extension API is not included in the webview engine.
You can open a frameless window with create method of the Google window API. You should add an handler to browser action click and create a window of with "popup" type and the url you want. It's not exactly what you are looking for but I don't know a better way to do it on Mac. Perhaps some one more familliar with that environement could help you.
An other far more complicated solution is to fork the Crhomium project and do what you want. But it demand a large developpement I think.

How to make an HTML5 that does not require the blackberry browser component?

I used the latest and greatest jQuery Mobile (RC1) to develop an app for the client. I used the latest Webworks version from RIM and packaged the app in a Cod file.
The app works great if accessed through the web browser ETC however when I installed the actual generated JAD/Cod files onto a blackberry device, performance was horrible even with minimum number of jQuery libraries.
Since I have Googled this everywhere and it is apparent that one cannot have a meaningful app experience if Webworks is used, I want to be able to just create something that just places the app icon on the phone. Once clicked, it open the browser and takes the user to the web server where the HTML files are parked.
Is this possible?
You can do that, with a very simple Java-application.
The following code:
Browser.getDefaultSession().displayPage("http://www.yourserver.com");
It will open browser and open page: http://www.yourserver.com
Browser class javadoc is here: http://www.blackberry.com/developers/docs/5.0.0api/net/rim/blackberry/api/browser/Browser.html