I have a button on my menu that is suppose to send a link directly to another app in Google Play via the Google Play app, not with the browser. I know how to open a link fine within the browser, but on Android that’s very inconvenient. My package name is correct and it matches the Android Developer website. I’m opening the link with this function…
local onURL = function( event )
if event.phase == "ended" then
local url = "market://details?id=<package_name>"<br>system.openURL(url) <br>print("url")<br>end <br>end <br>urlBtn:addEventListener("touch", onURL) <br>
The print statement shows and I get the obvious warning in the terminal that it’s not supported on the simulator. But the device, the link sends me to the main menu of Google Play and not directly to the app package name itself which it should.
Does Corona support this? Or am I using the wrong API?
[import]uid: 114389 topic_id: 31903 reply_id: 331903[/import] </package_name>