Hello,
I have project: https://github.com/pylerSM/XInternalSD/blob/master/src/com/pyler/xinternalsd/XInternalSD.java
As you can, in hooks I have check "isAppEnabled". In this check I do many other sub-checks. I check what app uses "API" and then I enable/disable module.
I have problem that sometimes I get null context here https://github.com/pylerSM/XInternalSD/blob/master/src/com/pyler/xinternalsd/XInternalSD.java#L177.
For example, Gmail app is such case. Does anybody know how to fix it and why it happens?
If not, I will rewrite it via handleLoadPackage...
i also fund this issue, but didn't know how it ocurred
fengfengchao said:
i also fund this issue, but didn't know how it ocurred
Click to expand...
Click to collapse
I reworked it via handleLoadPackage.
But on the other hand, I found out that appInfo for "android" is null
pyler said:
I reworked it via handleLoadPackage.
But on the other hand, I found out that appInfo for "android" is null
Click to expand...
Click to collapse
Great, good job
Related
I´m searching a special App for my 8X: Is there any app which can read NFC tags and use them to interact like starting bluetooth or something like this? On Android, there is NFC Task Launcher. Does WP8 has something similar?
thanks in advance!
nutsn said:
I´m searching a special App for my 8X: Is there any app which can read NFC tags and use them to interact like starting bluetooth or something like this? On Android, there is NFC Task Launcher. Does WP8 has something similar?
thanks in advance!
Click to expand...
Click to collapse
Search "NFC Tag" in the Store. I was thinking of getting some NFC tags and had a look the other day. There were a few of them and I'm pretty sure they had the ability to launch a specific app as well as activating WiFi, Bluetooth etc.
DroidXero said:
Search "NFC Tag" in the Store. I was thinking of getting some NFC tags and had a look the other day. There were a few of them and I'm pretty sure they had the ability to launch a specific app as well as activating WiFi, Bluetooth etc.
Click to expand...
Click to collapse
There are some different apps to read and write tags. But i´ve found no application that is able to start another app or change settings. please correct me if i´m wrong!
nutsn said:
There are some different apps to read and write tags. But i´ve found no application that is able to start another app or change settings. please correct me if i´m wrong!
Click to expand...
Click to collapse
Starting apps can be done. Changing settings is a no-no in Windows Phone due to security concerns. The most is the ability to open the settings page (e.g the wifi settings) but you have to turn it off yourself.
matthew5025 said:
Starting apps can be done. Changing settings is a no-no in Windows Phone due to security concerns. The most is the ability to open the settings page (e.g the wifi settings) but you have to turn it off yourself.
Click to expand...
Click to collapse
I think theres the right App out now! Not tried yet, but looks like theres the option to switch to the right settings...
http://www.windowsphone.com/de-de/store/app/nfc-launchit/c7010644-ace4-4df0-b08a-7f95a83d80a8
Hi,
I recently got a wireless charging receiver for the phone and now I get this annoying popup which says to close the micro usb properly to prevent water damage.
This happens also sometimes during charging in the middle of the night.
Can anyone tell me how to disable the popup? To make it clearer, it is not the flashing text that appears when the phone is connected to the charger. ( this can be disabled via xposed module)
The one I am talking about is more like a text with a white background picture.
"for protection against water damage firmly seal the charging cover before use"
Anyone else with the "problem" ?
I am on NEE-I9295XXUBMK2.
Thanks for the help in advance.
[edit]
this also happens when I disconnect the device from USB.
No one with this problem?
colida said:
No one with this problem?
Click to expand...
Click to collapse
I second that!
I have found battery_cover_notice.xml in systemui\res\layout
There is an battery_cover_notice_image and an battery_cover_notice_message
The Pic is help_img_usb.png in folder systemui\res\drawable-hdpi
Now you can try and delete the battery_cover_notice.xml from the SystemUI
Darkman said:
I have found battery_cover_notice.xml in systemui\res\layout
There is an battery_cover_notice_image and an battery_cover_notice_message
The Pic is help_img_usb.png in folder systemui\res\drawable-hdpi
Now you can try and delete the battery_cover_notice.xml from the SystemUI
Click to expand...
Click to collapse
I tried and it worked ( at least the popup doesn't appear anymore) but I do not have a notification area at the top anymore. No clock, Signal or anything.
Perhaps it's because of the odex file? Didn't touch that.
I will try it again. Might be, I did something wrong.....
Thanks
okay thanks for feedback...
I will investigate this....
So is there no non-root way of disabling this?
colida said:
Anyone else with the "problem" ?
Click to expand...
Click to collapse
I am.
No solution found so far.
Only I remember - that started after OTA update from Samsung in later 2013.
On original software I didn't have such warning.
Before and after is 4.2.2 Android, I didn't notice any changes, so I am lookiing for old firmware to download...
p.s. I also have wireless charger from "indiegogo"
shafty023 said:
So is there no non-root way of disabling this?
Click to expand...
Click to collapse
No sorry
Cloud it be that this notice is a toast with a custom theme? You could check it with my app EnhancedToast, and hide it if it is a toast. Enable logging in the app and watch it.And yes, root is required for Xposed. Btw, the Google edition don't show it at all
defim said:
Cloud it be that this notice is a toast with a custom theme? You could check it with my app EnhancedToast, and hide it if it is a toast. Enable logging in the app and watch it.And yes, root is required for Xposed. Btw, the Google edition don't show it at all
Click to expand...
Click to collapse
^Mostly what I was going to say, so thanks.
You should check EnhancedToast if you can, and you could always switch ROM's - I'm loving the CM 10.2 ROM, which doesn't have the warning, and offers a lot of other advantages. If a notification comes up in the bar, long-press it and see if comes up with the "app info" button - it could be run through some sort of stock app that you could disable or uninstall altogether.
Hi everyone! I'm new on the forum and in smartphones as well. Rooted GT-i9252 last week. Starting to develop app in future.
:cyclops:
tiskael said:
^Mostly what I was going to say, so thanks.
You should check EnhancedToast if you can, and you could always switch ROM's - I'm loving the CM 10.2 ROM, which doesn't have the warning, and offers a lot of other advantages. If a notification comes up in the bar, long-press it and see if comes up with the "app info" button - it could be run through some sort of stock app that you could disable or uninstall altogether.
Click to expand...
Click to collapse
Did I switch ROM when I rooted my phone? Is it the same thing?
tiskael said:
If a notification comes up in the bar, ...
Click to expand...
Click to collapse
No notifications, just message on bottom of the screen.
tiskael said:
I'm loving the CM 10.2 ROM, which doesn't have the warning
Click to expand...
Click to collapse
Any good source to learn more of ROMs? What do I lose if I dump the original, what do I get with some other ROM?
How should I backup? Meaning there's lot's of data:
- contacts and messaging and that stuff
- pictures, music, videos etc
- OS (?)
- ROM
- Apps (downloaded and system)
Maybe someone could explain the best practice to backup ROM,OS and apps.
Thanks in advance, Kaptah.
Kaptah said:
Hi everyone! I'm new on the forum and in smartphones as well. Rooted GT-i9252 last week. Starting to develop app in future.
:cyclops:
Click to expand...
Click to collapse
Welcome
Did I switch ROM when I rooted my phone? Is it the same thing?
Click to expand...
Click to collapse
What method of rooting your phone did you use? They are not the same thing, but it is possible to do them both at the one time. If everything looks different, then yes, you would have changed your ROM while rooting.
Any good source to learn more of ROMs? What do I lose if I dump the original, what do I get with some other ROM?
How should I backup? Meaning there's lot's of data:
- contacts and messaging and that stuff
- pictures, music, videos etc
- OS (?)
- ROM
- Apps (downloaded and system)
Maybe someone could explain the best practice to backup ROM,OS and apps.
Thanks in advance, Kaptah.
Click to expand...
Click to collapse
Check the link below, it's a good place to start.
http://www.android.gs/root-galaxy-s4-active-international-i9295-and-att-i337-models/
colida said:
Hi,
I recently got a wireless charging receiver for the phone and now I get this annoying popup which says to close the micro usb properly to prevent water damage.
This happens also sometimes during charging in the middle of the night.
Can anyone tell me how to disable the popup? To make it clearer, it is not the flashing text that appears when the phone is connected to the charger. ( this can be disabled via xposed module)
The one I am talking about is more like a text with a white background picture.
"for protection against water damage firmly seal the charging cover before use"
Anyone else with the "problem" ?
I am on NEE-I9295XXUBMK2.
Thanks for the help in advance.
[edit]
this also happens when I disconnect the device from USB.
Click to expand...
Click to collapse
Install Xposed installer, and then Wanam Xposed, the option you want you can find in the sound options there...
Bartbig said:
Install Xposed installer, and then Wanam Xposed, the option you want you can find in the sound options there...
Click to expand...
Click to collapse
I did not find this option ...
araignee said:
I did not find this option ...
Click to expand...
Click to collapse
Sorry, my mistake, i checked, but its in the Lockscreen options, almost at the bottom, @ power options there you can "Hide Wireless Charging Dialog"i think that's what you need...
You installed "Wanam xposed"?
Bartbig said:
Sorry, my mistake, i checked, but its in the Lockscreen options, almost at the bottom, @ power options there you can "Hide Wireless Charging Dialog"i think that's what you need...
You installed "Wanam xposed"?
Click to expand...
Click to collapse
OK I've found the option but it's not the one I was looking for. This one seems to remove the message when you plug your phone to the power supply. Maybe I'm wrong. Anyway thanks a lot for your help.
colida said:
No one with this problem?
Click to expand...
Click to collapse
This problem appeared/reappeared when i upgraded from 4.2.2 to 4.3 (ML2)
After rooting ( http://forum.xda-developers.com/showthread.php?t=2690133 )
and disabling KNOXagent it still gives this warning, which it did not do after the 4.2.2 Active Root.
This is merely an annoyance but if someone figures out a quick way to disable it that would be grand.
i have this issue too. cant wait for a fix for this. just updated to 4.3 a few days ago and having to tap the bubble everytime is just annoying. why the hell would they add these rediculous notifications? its not like att or samsung will stand behind the "waterproof" claim anyway..... water damage weather the door is open or closed means your screwed no matter what.
I've personally tried using the "EnhancedToast" module for xposed and the prompts do not register as toast events. It has to be something else.
Hey guys.
I am trying to figure out when a new app is shown. I have tried hooking into the Activity class for onWindowFocusedChanged method which works under normal conditions.
For instance, my ROM has the ability to hold a button to kill foreground app. Works great. however, doing that, the onWindowFocusedChanged method is not called. So my module does not detect the focus is lost.
I am wondering if anyone else has any other ideas. AccessibilityService works perfectly. But uses a lot of CPU and other resources. Was thinking maybe Window.class or WindowManager.class would help as well. But not sure. Thanks guys for your time!
Can't you simply hook onResume or similar?
GermainZ said:
Can't you simply hook onResume or similar?
Click to expand...
Click to collapse
Only one problem left: "super" access -> http://forum.xda-developers.com/xposed/problem-invoke-super-methods-t2822375
defim said:
Only one problem left: "super" access -> http://forum.xda-developers.com/xposed/problem-invoke-super-methods-t2822375
Click to expand...
Click to collapse
I don't see how that is related in this case. Why would he want to call the super method explicitly?
GermainZ said:
I don't see how that is related in this case. Why would he want to call the super method explicitly?
Click to expand...
Click to collapse
eg for onResume the 1st call have to be super.onResume
defim said:
eg for onResume the 1st call have to be super.onResume
Click to expand...
Click to collapse
There's no reason to use beforeHookedMethod/replaceHookedMethod in this case, so the original method will call the super method, and afterHookedMethod can be used to e.g. send a broadcast without having to worry about it.
GermainZ said:
There's no reason to use beforeHookedMethod/replaceHookedMethod in this case, so the original method will call the super method, and afterHookedMethod can be used to e.g. send a broadcast without having to worry about it.
Click to expand...
Click to collapse
Yeas, with afterHookedMethod no problems, but i wanted to point to that, so he has not to do the same research as me
Thanks guys for your reply!
I did end up using an AccessibilityService. After much reading and testing, i have gotten the app to use .04 percent of the CPU in the last 5 hours. Pretty damn good! I am probably going to use this method anyhow.
I did hook onResume and onCreate, but some nothing would happen when some apps would show. For instance, the home screen of Apex launcher wouldn't trigger on onResume or anything like that. I even looked at the smali and it uses a LauncherActivity which extends the Activity class. So I was awfully confused. I tried it with both a before and after hooked method. I surely thought hooking onResume and onCreate would signify the opening of an app. But it didn't for all of them.
Thanks again for your replies!
Is it possible to use tasker to switch on lastpass accessibility toggle? My OnePlus 3t (not rooted, OOS 9.0.4) deactivates it almost on a daily basis. I have switched off battery optimisation for lastpass but the phone turns the toggle off.
Use auto input
Ta. I'll check that out
Hi there. Maybe you can try using the "Custom Setting" action for that. Try using the Magnifying glass in the action with the option to automatically find the setting and see if Tasker can find it. Hope this helps!
joaomgcd said:
Hi there. Maybe you can try using the "Custom Setting" action for that. Try using the Magnifying glass in the action with the option to automatically find the setting and see if Tasker can find it. Hope this helps!
Click to expand...
Click to collapse
I found that by googling but I can't figure out how to make it toggle the switch. The tasker forum talks about reading the accessibility setting but gives no more details than 'brilliant that works'
Eggstones said:
I found that by googling but I can't figure out how to make it toggle the switch. The tasker forum talks about reading the accessibility setting but gives no more details than 'brilliant that works'
Click to expand...
Click to collapse
The easy way is to use the Secure Settings action in AutoTools. That has a direct option for accessibility services. I plan on adding that option to Tasker directly at a later date.
With the Custom Setting action what you should do is read the value, remove or add the needed service from the list, the write the setting.
Ta I'll test that
joaomgcd said:
The easy way is to use the Secure Settings action in AutoTools. That has a direct option for accessibility services. I plan on adding that option to Tasker directly at a later date.
With the Custom Setting action what you should do is read the value, remove or add the needed service from the list, the write the setting.
Click to expand...
Click to collapse
I must be missing something here. Autoapps seems to only control a subscription service. Can't see anything called secure settings when I download it.
Eggstones said:
I must be missing something here. Autoapps seems to only control a subscription service. Can't see anything called secure settings when I download it.
Click to expand...
Click to collapse
I mentioned AutoTools, not AutoApps
joaomgcd said:
I mentioned AutoTools, not AutoApps
Click to expand...
Click to collapse
Mea culpa mea maxima culpa.
I'll try again.
I seem to have manage to get the change state to react to it switching state but need to do some adb to see if it works.
Deleted
joaomgcd said:
The easy way is to use the Secure Settings action in AutoTools. That has a direct option for accessibility services. I plan on adding that option to Tasker directly at a later date.
With the Custom Setting action what you should do is read the value, remove or add the needed service from the list, the write the setting.
Click to expand...
Click to collapse
I can now get the profile to switch on but I cannot figure out how to get the secure setting to change the toggle.
Both profile and task shows up as green but nothing seems to happen.
Eggstones said:
Mea culpa mea maxima culpa.
I'll try again.
I seem to have manage to get the change state to react to it switching state but need to do some adb to see if it works.
Click to expand...
Click to collapse
No problem at all Let me know how it goes!
joaomgcd said:
No problem at all Let me know how it goes!
Click to expand...
Click to collapse
Not well at all. The profile activates but nothing is actually changed.
Eggstones said:
Mea culpa mea maxima culpa.
I'll try again.
I seem to have manage to get the change state to react to it switching state but need to do some adb to see if it works.
Click to expand...
Click to collapse
Eggstones said:
Not well at all. The profile activates but nothing is actually changed.
Click to expand...
Click to collapse
Does it work if you run the task manually?
joaomgcd said:
Does it work if you run the task manually?
Click to expand...
Click to collapse
No. If I click on the task I don't get an error or the green dot. Instead I get a grey play arrow Infront of the task.
In the profile window both the profile and task shows up as green.
Eggstones said:
No. If I click on the task I don't get an error or the green dot. Instead I get a grey play arrow Infront of the task.
In the profile window both the profile and task shows up as green.
Click to expand...
Click to collapse
That means that Tasker doesn't seem to be able to communicate with AutoTools. Do other AutoTools actions work?
To make sure Tasker and the AutoApps run in the foreground please check here: https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00
joaomgcd said:
That means that Tasker doesn't seem to be able to communicate with AutoTools. Do other AutoTools actions work?
To make sure Tasker and the AutoApps run in the foreground please check here: https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00
Click to expand...
Click to collapse
Sorry to be a pain but I cannot find the run in foreground setting on my OnePlus 3t.
Eggstones said:
Sorry to be a pain but I cannot find the run in foreground setting on my OnePlus 3t.
Click to expand...
Click to collapse
Did you check here?
joaomgcd said:
Did you check here?
Click to expand...
Click to collapse
Yep. All those seeking are correctly set. It's the tasker foreground setting I cannot find. Tried googling it but the links I found doesn't match what I see in tasker.
Hey,
I would like to forward e.g. Signal notifications to my TV via an HTTP post request. It should contain the name of the app and the notification text.
I'm using the evtprm array to extract this informations. But I can't find any value in the array that contains the app name. Only the package name is included. I've tested it with several apps.
I guess this is a new behaviour in Android 10. Is there another variable that I can use to display the app name?
Jas Man
JasMan78 said:
Hey,
I would like to forward e.g. Signal notifications to my TV via an HTTP post request. It should contain the name of the app and the notification text.
I'm using the evtprm array to extract this informations. But I can't find any value in the array that contains the app name. Only the package name is included. I've tested it with several apps.
I guess this is a new behaviour in Android 10. Is there another variable that I can use to display the app name?
Jas Man
Click to expand...
Click to collapse
I think this is due to a change starting in tasker 5.8.3 back in July.
Changes
Made App based events return the app's package name as the first value in the %evtprm() array
Click to expand...
Click to collapse
Can you use the "app changed" event or auto notification?
ktmom said:
I think this is due to a change starting in tasker 5.8.3 back in July.
...
Click to expand...
Click to collapse
Ahh, I didn't noticed that. Thank you!
I've solved it now by an IF task.
IF %evtprm1 eq [PACKAGE NAME], then show [APP NAME] in notification.