Device Specific: onNewIntent() is not being called in Samsung Galaxy S4 - Android KitKat 4.4.2 -
Before asking this question, I searched a lot but none of the replies works for me:
,
,
,
I am working on the notification manager where I need to be notified with the values received through the notification Open a activity on the tap.
I have tried the code of the following code while setting intentions:
Intent Notice = = New Intent (Reference, MyActivity.class); Adisucnaaintentksetflag (Intent.FLAG_ACTIVITY_CLEAR_TOP | effect. FLAG_ACTIVITY_SINGLE_TOP); I created the launchmod in single in Manifest.xml :
& Lt; Activity Android: name = ". MyActivity" Android: hardwareAccelerated = "true" android: launchMode = "singleTop" & gt; & Lt; Intent-Filter & gt; & Lt; Action Android: name = "android.intent.action.VIEW" /> & Lt; Category android: name = "android.intent.category.DEFAULT" /> & Lt; Category android: name = "android.intent.category.BROWSABLE" /> & Lt; Data Android: host = "www.google.com" Android: scheme = "http" /> & Lt; / Intent-Filter & gt; & Lt; / Activity & gt; issue device specific I tried the same part of code on Nexus 7 and onNewIntent Is being called there Question:
- Have you faced a similar problem to people?
- How can I fix this?
- My biggest curiosity is "How can an API device be specific?"
- Should I search for an option like the
on newentAPI or me? As has been seen, it seems that there is no resistance to all devices on this issue. And I can not test it on all devices for its reliability.
Comments
Post a Comment