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:

  1. Have you faced a similar problem to people?

  2. How can I fix this?
  3. My biggest curiosity is "How can an API device be specific?"
  4. Should I search for an option like the on newent API 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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -