I’am japanease android developer.?English little…
This web page is wonderful.
However, the error was found.
It is admob the error when returning clicking admob however.
–logcat??android
FATAL EXCEPTION: GLThread 11
E/AndroidRuntime( 4974): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=corona:http://c.admob.com/c1/…
E/AndroidRuntime( 4974): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
E/AndroidRuntime( 4974): at
…
act=android.intent.action.VIEW dat=corona:http://c.admob.com/c1/…
–Cause ? corona:
corona:http://c.admob.com/
string.gsub is not effective ?
–solved
function showAd_Android(event)
– Is the url a remote call?
if string.find(event.url, “android_ad.html”, 1, false) or string.find(event.url, “android_ad15.html”, 1, false) then
return true
else
local isCorona = string.sub(event.url, 1,7)
isCorona = string.lower ( isCorona )
if isCorona == “corona:” then
event.url = string.sub(event.url,8)
end
system.openURL(event.url)
…
[import]uid: 72883 topic_id: 8021 reply_id: 46582[/import]