Related
I'm looking to use the Nexus one hardware to create a single purpose device that will run an app at boot up and not allow the user to exit the app. This device will be given to users to take home for days so needs to be tamper-proof. i.e. cannot make calls, cannot SMS, cannot access rest of the OS, etc.
At the Android API level, I believe I can auto-start the app and "disable" the home button but cannot get around the long-press home button recent app list.
One possible solution would be to open it up and physically unplug the buttons' ribbon connector from the PCB.
What I would prefer is to somehow disable the home button using a cooked ROM that will ignore it in this particular app and the app can have some kind of secret way to exit. I do not know how difficult this would be using a rooted Nexus one.
Any input will be greatly appreciated.
Thank you.
You would need to build it from source. (non winzip deving)
If any knowledgeable person get's it it would be pretty easy to boot into recovery and edit system files or wipe it.
The nexus would not be suitable for this because of the nature of the bootloader.
To be honest, I personally think you would be better off building your own device for this. I'm sure that the buttons could be disabled easily enough, but the tamper proof part is a little different.
Main reason:
If you make the device so that you can't boot into recovery, fastboot, or tamper with it in anyway. How would you yourself make any additional modifications to the device?
You guy have some good points.
Maybe it's better off just using rooted stock ROM and set it as home screen then physically disable the hardware buttons. The battery cover will be glued shut to prevent access to SIM and battery anyway
As for making changes to the app, I believe ADK will allow me to update the app through USB. I wonder if its feasible to do auto-update it over network...?
wow your trying to lock the device down sounds like steve jobs lol
would not the best approach to this is to write your app as a home replacement and not show any apps? you could disable access to app drawer and settings, then you would only need to hook/disable home long press.
You wont be able stop a savvy user from flashing something on it easily.
What about setting up a pattern lock and using FLAG_SHOW_WHEN_LOCKED
to display on top of the lock? If the user tries to exit your program they'll be greeted with the pattern lock. Have some timer so your app automatically comes back to the top.
Correct me if I'm wrong, but doesn't the last app list show NO apps if no apps were launched yet?
pikipirs said:
Correct me if I'm wrong, but doesn't the last app list show NO apps if no apps were launched yet?
Click to expand...
Click to collapse
Yes you're right. I've set my app as home screen replacement and after reboot there wasn't any 'recent app' list
Looks like I don't need a custom ROM after all.
Just out of curiosity, what exactly are you doing with the phone that requires it to be tamper proof?
-------------------------------------
Sent via the XDA Tapatalk App
The absolute minimum requirement is that we have a device we can give to a user of any technical proficiency and allow them to easily record videos and post them directly onto a website from anywhere.
[email protected] said:
What about setting up a pattern lock and using FLAG_SHOW_WHEN_LOCKED
to display on top of the lock? If the user tries to exit your program they'll be greeted with the pattern lock. Have some timer so your app automatically comes back to the top.
Click to expand...
Click to collapse
That's an interesting approach, I will have to explore that more.
How can users actually exit the app when it's over the lock screen? Does that mean all buttons including home will not do anything since lock screen is keyguarded? Does touch still register? Is this the workaround that the custom lock screen app uses?
dzeikei said:
Yes you're right. I've set my app as home screen replacement and after reboot there wasn't any 'recent app' list
Looks like I don't need a custom ROM after all.
Click to expand...
Click to collapse
How do you set an app to be the home screen replacement?
Hi everyone,
Okay this might be a dumb question but I'm going to ask. Is there a way to remotely enable/activate the GPS and WiFi on my Android phone through a text message? I currently have GPS Tracker, Lost My Droid, Real Time GPS Tracker, Seek Droid, SMS GPS Enabler, and Where's My Droid installed on my phone to try and remotely turn on my GPS and WiFi. The problem is that yes sending the text to my phone and have the sound go off for Where's My Droid and Lost My Droid works, but the problem is having my GPS and WiFi turned off on my phone and not hearing because its not there. Yes, their are plenty of good apps that let you track your phone if your GPS is on, but they do not allow you to turn on GPS and WiFi through (SMS) text. So all and all, is there an app or apps that can do this for me, so I can do what I want to do?
Any information would be helpful, instructions would be better lol.
Thanks, II
InfiniteImmortal said:
Hi everyone,
Okay this might be a dumb question but I'm going to ask. Is there a way to remotely enable/activate the GPS and WiFi on my Android phone through a text message? I currently have GPS Tracker, Lost My Droid, Real Time GPS Tracker, Seek Droid, SMS GPS Enabler, and Where's My Droid installed on my phone to try and remotely turn on my GPS and WiFi. The problem is that yes sending the text to my phone and have the sound go off for Where's My Droid and Lost My Droid works, but the problem is having my GPS and WiFi turned off on my phone and not hearing because its not there. Yes, their are plenty of good apps that let you track your phone if your GPS is on, but they do not allow you to turn on GPS and WiFi through (SMS) text. So all and all, is there an app or apps that can do this for me, so I can do what I want to do?
Any information would be helpful, instructions would be better lol.
Thanks, II
Click to expand...
Click to collapse
I am the Dev of seek droid. Why leave the GPS disabled? It really does not conserve that much battery. Enabling the GPS does not leave the GPS turned on or even give the GPS any power unless the application you are using requests GPS.
Go pick up tasker from the market, and you can create a profile to have it enable gps whenever you get an sms.
You should probably have taker already anyways. It's a beast.
Herp derp Captivate XDA App
quaa said:
I am the Dev of seek droid. Why leave the GPS disabled? It really does not conserve that much battery. Enabling the GPS does not leave the GPS turned on or even give the GPS any power unless the application you are using requests GPS.
Click to expand...
Click to collapse
For some reason on my phone if I leave the GPS enabled it will drain out my battery in a few hours (8hrs). Where as if I turn GPS off, my battery has lasted up to almost 16hrs which is double and it is the only setting that I have changed.
pizz0wn3d said:
Go pick up tasker from the market, and you can create a profile to have it enable gps whenever you get an sms.
You should probably have taker already anyways. It's a beast.
Click to expand...
Click to collapse
Thanks for the advice pizz0wn3d. I will look into Tasker and see if it works for me and what I need it to do.
f you don't see the satellite dish in the notification bar then it really shouldn't use any battery, even if GPS is enabled. If you have location stuff turned on so the GPS is being used (i.e. you see the satellite dish in the notification bar) it will use battery.
Bob
InfiniteImmortal said:
Thanks for the advice pizz0wn3d. I will look into Tasker and see if it works for me and what I need it to do.
Click to expand...
Click to collapse
Let me know and I can send you the profile I use. It makes the phone talk (alerting them that gps is being remotely enabled to track the phone down) and sends a confirmation text to the number that activates the gps. Then you can use "wheres my droid" or whatever else to track that S.O.B. down.
Edit: Speellieng
Herp Derp Captivate XDA
That would be Great!
pizz0wn3d said:
Let me know and I can send you the profile I use. It makes the phone talk (alerting them that gps is being remotely enabled to track the phone down) and sends a confirmation text to the number that activates the gps. Then you can use "wheres my droid" or whatever else to track that S.O.B. down.
Click to expand...
Click to collapse
Thanks, pizz0wn3d that would be great! I looked up Tasker, it has a great many features that I can see paying for, but did not see the remote GPS activation/enabling in its description, on their website, or wiki. If you can, also send me the direction on how to set it up to do it. I might whined up missing something up with 190 options. But can always re-ROM if need be.
I know
rbtconsultants said:
f you don't see the satellite dish in the notification bar then it really shouldn't use any battery, even if GPS is enabled. If you have location stuff turned on so the GPS is being used (i.e. you see the satellite dish in the notification bar) it will use battery.
Bob
Click to expand...
Click to collapse
Bob, I do know this. For some reason my Map app starts up on its own and launches Latitude causing my GPS to activate and stay on. I don't want to uninstall Maps or Latitude because I do use them. Its easier to just turn off GPS then hassle with trying to find the source of the problem, in truth.
InfiniteImmortal said:
Thanks, pizz0wn3d that would be great! I looked up Tasker, it has a great many features that I can see paying for, but did not see the remote GPS activation/enabling in its description, on their website, or wiki. If you can, also send me the direction on how to set it up to do it. I might whined up missing something up with 190 options. But can always re-ROM if need be.
Click to expand...
Click to collapse
Well the way my profile is set up, whenever I receive a text with a certain phrase in it, it'll turn on the gps. Along with a few other things
It's not one of the advertised features because it's just one of the many things you can do with it.
I'll try to post a dropbox link in a few minutes.
Edit: This oughta work. Import this into tasker.
http://db.tt/D7u8eKw
It should be able to import after you paste the xml file into:
/sdcard/tasker/profiles
Then just hit menu -> profile data -> import one profile
Herp Derp Captivate XDA
InfiniteImmortal said:
Bob, I do know this. For some reason my Map app starts up on its own and launches Latitude causing my GPS to activate and stay on. I don't want to uninstall Maps or Latitude because I do use them. Its easier to just turn off GPS then hassle with trying to find the source of the problem, in truth.
Click to expand...
Click to collapse
If you use Latitude, it will be on all the time and cause battery drain because it needs update your location 24/7 even if Gmaps is not used. You don't have to uninstall it. Just make sure you log out of Latitude if you don't use it.
Seek Droid
pizz0wn3d said:
Let me know and I can send you the profile I use. It makes the phone talk (alerting them that gps is being remotely enabled to track the phone down) and sends a confirmation text to the number that activates the gps. Then you can use "wheres my droid" or whatever else to track that S.O.B. down.
Click to expand...
Click to collapse
Alerting them sounds like a bad idea. I envision a battery pull or a phone being tossed out the window of a moving vehicle.
opcow said:
Alerting them sounds like a bad idea. I envision a battery pull or a phone being tossed out the window of a moving vehicle.
Click to expand...
Click to collapse
Haha maybe. I wasn't thinking of it that way. It creates a notification telling them to call the number that I texted them from to return the phone to the owner.
Plus I thought it would be funny to scare whoever has the phone. Now im starting to think of it as a bad idea thanks to your post..
>.>
Herp Derp Captivate XDA
pizz0wn3d said:
Haha maybe. I wasn't thinking of it that way. It creates a notification telling them to call the number that I texted them from to return the phone to the owner.
Plus I thought it would be funny to scare whoever has the phone. Now im starting to think of it as a bad idea thanks to your post..
>.>
Herp Derp Captivate XDA
Click to expand...
Click to collapse
Yeah, I thought the same thing when I looked at it, so I just removed it for the profile you gave me. But it works very nicely in part with Seek Droid.
Thanks Again.
InfiniteImmortal said:
Yeah, I thought the same thing when I looked at it, so I just removed it for the profile you gave me. But it works very nicely in part with Seek Droid.
Thanks Again.
Click to expand...
Click to collapse
For sure, glad to help.
Herp Derp Captivate XDA
pizz0wn3d said:
For sure, glad to help.
Click to expand...
Click to collapse
You don't reply to private messages do you pizz0wn3d? Questions are, Is there a site to download prebuilt profiles for Tasker? Second, What are the features to have your phone go to lock screen and ring remotely. Mine aren't working that I built.
Last questions for you, at least for now, lol
II
InfiniteImmortal said:
You don't reply to private messages do you pizz0wn3d? Questions are, Is there a site to download prebuilt profiles for Tasker? Second, What are the features to have your phone go to lock screen and ring remotely. Mine aren't working that I built.
Last questions for you, at least for now, lol
II
Click to expand...
Click to collapse
Oh sorry, normally I do but I haven't been on xda outside of the app in a few days so I haven't been able to look at my messages.
There is a wiki on the app that has a bunch of different profiles you can try out, as well as a couple of tutorials to get the hang of making profiles.
Link:
http://tasker.wikidot.com/profile-index
I'm not sure I understand what you mean about going to the lock screen, as idk if it's possible to do that though tasker. I'll mess around and see what I can find.
What exactly are you trying to do that requires you to go to the lockscreen and play a ringtone?
Herp Derp Captivate XDA
My failed creations
pizz0wn3d said:
I'm not sure I understand what you mean about going to the lock screen, as idk if it's possible to do that though tasker. I'll mess around and see what I can find.
What exactly are you trying to do that requires you to go to the lockscreen and play a ringtone?
Click to expand...
Click to collapse
Well for the lock screen; I was trying a remote lock down after I enabled the GPS tracking, so they could not turn it off, other then removing the battery of course. The only thing I can do right now is, set screen time out to 7sec. which is the smallest amount Tasker allows. The lock in Tasker is a joke because if you click on the notification bar at the top and select something you can bypass the lock, even in full screen mode.
As for the Ringtone/Ringer; I was trying to setup the phone to ring when people text me, similar to that of Where's My Droid, but with a twist. When I get their text, the assigned ringtone under their contacts or from file would play, that way I would know who it was without having to look at my phone every time. For this one in particular; do you or someone else know how Where's My Droids setup works? Then I can try to base it off of that. From what I can tell, it tricks the SMS into using the the ringer system and not the notification system. So a bait and switch from SMS Receiver to Cell Receiver. That's all I know for now.
Thanks for the link! I'll go through it to learn some more about Tasker.
InfiniteImmortal said:
Well for the lock screen; I was trying a remote lock down after I enabled the GPS tracking, so they could not turn it off, other then removing the battery of course. The only thing I can do right now is, set screen time out to 7sec. which is the smallest amount Tasker allows. The lock in Tasker is a joke because if you click on the notification bar at the top and select something you can bypass the lock, even in full screen mode.
As for the Ringtone/Ringer; I was trying to setup the phone to ring when people text me, similar to that of Where's My Droid, but with a twist. When I get their text, the assigned ringtone under their contacts or from file would play, that way I would know who it was without having to look at my phone every time. For this one in particular; do you or someone else know how Where's My Droids setup works? Then I can try to base it off of that. From what I can tell, it tricks the SMS into using the the ringer system and not the notification system. So a bait and switch from SMS Receiver to Cell Receiver. That's all I know for now.
Thanks for the link! I'll go through it to learn some more about Tasker.
Click to expand...
Click to collapse
I've never tried to set up a remote lock through tasker, I just had it set up to enable the GPS so I could lock+retrieve it via wheres my droid/lookout. But i have heard that the tasker lock down was pretty weak >.<
I actually never realized the phone didn't support custom tones for contacts outside of the calling ringtones. That actually sounds pretty difficult to implement via tasker. You would first have to disable notifications from your sms app so the tasker profile wouldn't just play a sound over that one. You'd also likely have to create a separate profile for each contact that you want to have a custom sms tone for.
I want to know if it is possible to automatically start the digital frame app when a charger is plugged in.
Any one know how to do this?
You could probably listen for the plugged in or charging event and have a intent filter that launches the digital frame. I can try this evening if you'd like.
Sent from my SCH-I800 using XDA App
Update yes create a broadcast receiver that listens to the android.intent.action.ACTION.POWER_CONNECTED
Sent from my SCH-I800 using XDA App
Ok here is an app that will launch digital frame. install & runn app - tick the box to set it load digital frame on power connected.
Sorry about the icon - in 5 minutes i wasn't going to make you a pretty one.
jkhouw1 said:
Ok here is an app that will launch digital frame. install & runn app - tick the box to set it load digital frame on power connected.
Sorry about the icon - in 5 minutes i wasn't going to make you a pretty one.
Click to expand...
Click to collapse
Sorry to ask but is there any way to change the App?
For viewing photo's I use the much better free App 'Photo Slides' (Photo Frame) by Softick Ltd. available on The Market.
Thanks left for what you have already given.
Fantastic app, works well and means I can just put it in the dock and use it as a clock / calendar
Beards said:
Sorry to ask but is there any way to change the App?
For viewing photo's I use the much better free App 'Photo Slides' (Photo Frame) by Softick Ltd. available on The Market.
Thanks left for what you have already given.
Click to expand...
Click to collapse
Probably
If I get time I will take a look tonight
Edit- yes it looks like I can just target softtick.android.photoframe/Photoframe
Why do they need permission to phone identity? Or network access if they don't even have adds?
Sent from my SCH-I800 using XDA App
jkhouw1 said:
Probably
If I get time I will take a look tonight
Edit- yes it looks like I can just target softtick.android.photoframe/Photoframe
Why do they need permission to phone identity? Or network access if they don't even have adds?
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
No idea... I missed that.
It would be a shame though as Photo Slides [Photo Frame] has much more to offer than the stock Digital Frame.
I personally like the Clock that appears on screen which you can control colour & size whilst having your slide show.
Ok beards here is a new version and you can switch between Digital Frame and PhotoFrame. I added an "other" with a text field so now you can launch any application on power plugin so if you find someother one you like better you can launch it instead.
To use "other" You will need to know the activity that gets called when the target app loads as examples (although I hard coded these two for you)
digiframe is com.sec.android.app.digitalframe/.DigitalFrame
photoframe is softick.android.photoframe/.PhotoFrame
you can typically figure out the target by viewing logcat during or immediately after launching what you would like to target. easier to find target if you filter for tags "ActivityManager"
I also made a cheezy icon for y'all.
jkhouw1 said:
Ok beards here is a new version and you can switch between Digital Frame and PhotoFrame. I added an "other" with a text field so now you can launch any application on power plugin so if you find someother one you like better you can launch it instead.
To use "other" You will need to know the activity that gets called when the target app loads as examples (although I hard coded these two for you)
digiframe is com.sec.android.app.digitalframe/.DigitalFrame
photoframe is softick.android.photoframe/.PhotoFrame
you can typically figure out the target by viewing logcat during or immediately after launching what you would like to target. easier to find target if you filter for tags "ActivityManager"
I also made a cheezy icon for y'all.
Click to expand...
Click to collapse
Thanks jkhouw1, so much appreciated and thanks given.
I've noted your comments to remind me should as you say I change to something different at a later date.
This little utility application is designed for assigning a custom action to the QuickButton on the LG Optimus L90 LG-D415. This application is only for LG-D415 devices.
After flashing a custom ROM we basically have a useless button on our device. In my CM11 ROM, selfless plug LOL, I assign a WAKE action to the QuickButton which, when pressed, will wake the device. So the button's not completely worthless. This application was obviously written for LG-D415 users running custom ROMs but it may, as in maybe, work on stock as well.
Anyway in response to a thread that was created recently and also after having thought about it previously, I decided to write this app.
The application is not signed and does NOT have any kind of advertisements. The only requirement is ROOT privileges as it must write to a system file. You will be prompted for root confirmation when the app is launched for the first time, this also depending on how your superuser is set up.
This application modifies, actually replaces, /system/usr/keylayout/gpio-keys.kl. The application will back up your original gpio-keys.kl only the first time you Apply a custom action. That way you still have your original file in case of error. The back up is saved in the same folder as "gpio-keys.kl.bk".
Have fun!!!
I used it. It works. The button now bring up my camera. D415
shinobisoft said:
This little utility application is designed for assigning a custom action to the QuickButton on the LG Optimus L90 LG-D415. This application is only for LG-D415 devices.
After flashing a custom ROM we basically have a useless button on our device. In my CM11 ROM, selfless plug LOL, I assign a WAKE action to the QuickButton which, when pressed, will wake the device. So the button's not completely worthless. This application was obviously written for LG-D415 users running custom ROMs but it may, as in maybe, work on stock as well.
Anyway in response to a thread that was created recently and also after having thought about it previously, I decided to write this app.
The application is not signed and does NOT have any kind of advertisements. The only requirement is ROOT privileges as it must write to a system file. You will be prompted for root confirmation when the app is launched for the first time, this also depending on how your superuser is set up.
This application modifies, actually replaces, /system/usr/keylayout/gpio-keys.kl. The application will back up your original gpio-keys.kl only the first time you Apply a custom action. That way you still have your original file in case of error. The back up is saved in the same folder as "gpio-keys.kl.bk".
Have fun!!!
Click to expand...
Click to collapse
Is it possible to change it to a custom app?
blondgod said:
Is it possible to change it to a custom app?
Click to expand...
Click to collapse
No, I dont think so, mainly because I'm having to use key ids that are pre-defined. I will dig in to it a little deeper tho.
Sent from my LG-D415 using Tapatalk
After some more digging I've determined that there is no way to define a custom application to be called by the QuickButton. At the moment, the only way I can think of to possibly do this is to have a background service running to "listen" for the QuickButton presses and then launch the appropriate activity.
In reality, at the moment in any case, all this app does it trick the system in to believing that the QuickButton is actually the button whose action we assign to it belongs to.
I also found two more actions I missed, "Search" && "Bookmark". Haven't tested "Bookmark" yet so I'm not sure what app it opens. LOL. Will know shortly tho
I've also considered adding "Home" and "Menu" to the list as well. Thoughts?
I like the ideas, I just really liked to set the button to open up my messages.
I really like the app though. Plain and simple.
Sent from my LG-D415 using Tapatalk
blondgod said:
I like the ideas, I just really liked to set the button to open up my messages.
I really like the app though. Plain and simple.
Sent from my LG-D415 using Tapatalk
Click to expand...
Click to collapse
If I find a way, I'll let you know
As for the "Search" and "Bookmark" I mentioned earlier, ehhh, no go. They don't do anything.
OP updated with new version - 0.1.1
[ CHANGES ]
- Removed redundant code
- Significant improvement in speed for writing changes to gpio-keys.kl.
- Application is now setting permissions, ( 0644 ), for gpio-keys.kl as well.
shinobisoft said:
After some more digging I've determined that there is no way to define a custom application to be called by the QuickButton. At the moment, the only way I can think of to possibly do this is to have a background service running to "listen" for the QuickButton presses and then launch the appropriate activity.
In reality, at the moment in any case, all this app does it trick the system in to believing that the QuickButton is actually the button whose action we assign to it belongs to.
I also found two more actions I missed, "Search" && "Bookmark". Haven't tested "Bookmark" yet so I'm not sure what app it opens. LOL. Will know shortly tho
I've also considered adding "Home" and "Menu" to the list as well. Thoughts?
Click to expand...
Click to collapse
So i can choose any app on my stock rom
xantanion said:
So i can choose any app on my stock rom
Click to expand...
Click to collapse
Running stock, there is really no need for my application. As much as I hate to admit it, LOL. At this point in time, no, the only choices are they default apps I have already listed in the application.
I believe in order to implement the ability to launch ANY activity ( APP ), I will need to create a background service to listen for QuickButton presses and then act accordingly. This is still theoretical, but from my programming experience, seems to be the only answer. Granted, I'm a Windows programmer, so there may be something I'm missing or overlooking too. LOL.
Oops... Sorry folks, I made a boo boo with my last uploaded version. There was still an entry for "Bookmark" in the radio button choices. "Bookmark" doesn't do anything. LOL.
New version added to the OP
I may have found a way to allow the QuickButton to open "ANY" application. I'm in the middle, well almost finished, of another project. Once I get a chance, I'll experiment with my latest findings and will let everyone know
Will this work on Lollipop? I'm assuming so but just wanted to make sure before I Install it. If it does, that would be awesome because this useless button is bothering me haha. Either way, great work man.
Suicide_Machine said:
Will this work on Lollipop? I'm assuming so but just wanted to make sure before I Install it. If it does, that would be awesome because this useless button is bothering me haha. Either way, great work man.
Click to expand...
Click to collapse
Sorry, afraid not. Key layouts change in 5.0 and I haven't had time to update the app.
How about making it a screenshot button as well?
LupusGallus said:
How about making it a screenshot button as well?
Click to expand...
Click to collapse
No promises, but I'll see what I can do.
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.