Yes
Sent from my HTC One X using Tapatalk 2
Cool. Thanks for the quick response
Sent from my HTC One X using Tapatalk 2
I rooted my One X and dock mode is working really well. It requests root access and fires up the desk dock app (via a simulated hardware insertion into the pogo pin dock). This is on the international One X. Which version do you have? Stock firmware or custom rom?
I have AT&T, I tried with different roms and it does exactly the same, it just wont go to Dock Mode using NFC Task Launcher, I can go into Dock Mode using a shortcut without any problems. But using NFC Launcher it will not go. If I simulate hardware insertion via pogo pin I too get into Dock without issues.
su
LD_LIBRARY_PATH='/vendor/lib:/system/lib' /system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 1
Hm, can you try the following in a terminal emulator app? (not adb shell)
Code:su LD_LIBRARY_PATH='/vendor/lib:/system/lib' /system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 1
yeap, that works.
one thing I notice, is that NFC launcher never ask for root. (I'm using SuperSU)
Hm, that is literally what it's doing exactly (Shell -> su -> command). Do you get the su prompt for NFCTL? Do you see any confirmation from SuperSU that it's running the command?
Nop. NFCTL is not requesting SU permissions. There is no activity from NFCTL in the SuperSU logs.
Nop. NFCTL is not requesting SU permissions. There is no activity from NFCTL in the SuperSU logs.
OK, kicking this one.
I have the same problem; NFC TL doesn't prompt SuperSu for root access (or, at least, SuperSU doesn't prompt me). I have SuperSU in /system/app too, and (after some googling), I also copied the NFC TL apk from /data/app to /system/app.
NFC TL works fine, but it will not get root, and as a consequence, it will not start/stop GPS.
Were you guys ever able to resolve this?
Im doing a school project, we're making our own app and we're trying to find out if it is possible to open a specific activity within the app.
Googling this has not been successful and this thread has some knowledgeable character so I was wondering if I could get help!
How to program the tags to open a specific activity within the app.
I think this can really 'make' NFC worth it by breaking through the mundane wifi, bluetooth, and gps tasks that are standard NFC functions and create interesting tasks with apps without the use of the Tasker app.
Under NFC Task Launcher > New Task > Add Action > Launch Applications > Application > Application of your choosing and Custom activity within app
I can't find any help searchin on google or the dev's site to use custom activities. I am curious as heck to use this feature to create more detailed NFC tags, but I am hoping someone can inform on how to determine the activities within third party apps so that I could use this feature.
OK, kicking this one.
I have the same problem; NFC TL doesn't prompt SuperSu for root access (or, at least, SuperSU doesn't prompt me). I have SuperSU in /system/app too, and (after some googling), I also copied the NFC TL apk from /data/app to /system/app.
NFC TL works fine, but it will not get root, and as a consequence, it will not start/stop GPS.
Were you guys ever able to resolve this?
Reviving a slumbering thread ...
Is there a way to get a list of activities supported by an app?
For example, instead of just starting Google Play Store, is there a custom activity that would start Play Store and go to "My Apps"?