Calling Android intent from Web page?
i want to launch an intent from android website w开发者_JAVA百科hat code do i need to add in the HTML , for example how could i launch the dialer intent after the user click on number in the website .
i saw some example in the web like when you click download app in website and it launches the android market .
thanks
You cannot launch an arbitrary Android Intent purely in HTML. However, the browser automatically detects certain URIs and dispatches them appropriately.
To link to a phone number use the "tel" URI scheme:
<a href="tel:5555551234">Call me!</a>
精彩评论