Hi,
My Android application is launched via a browser through URL Scheme along with some information(string). I am able to retrieve the information when the app is launched for the first time through launch Args…
But i am unable to retrieve the Url and the information when the app is in suspend state … Can anyone please Can anyone please help me with this ??
i have tried these options so far :
a)
local function onSystemEvent( event )
if event.type == “applicationResume” and event.url then
print(event.url)
end
if event.type == “applicationResume” then
if event.androidIntent then
print(event.androidIntent.url)
end
Runtime:addEventListener( “system”, onSystemEvent )
b)
local launchArgs = …
if launchArgs and launchArgs.url then
print(launchArgs.url) – Prints the Url but only when application is launched …but my need is
end – When Application is resumed (redirected from browser )
Many thanks in advance