[Q] Llama Query - Desire Q&A, Help & Troubleshooting

Hi
I've just loaded Llama to control my htc Desire according to my location. I think it's a great app, but there's only one thing I haven't been able to get it to do: toggle my APN on or off as an action. The app confirms the action, but nothing happens and I have to toggle the APN manually--not a great drama, I know, but I'm betting there's a way to do it.
Any ideas out there?
Thanks

Related

Simulate tap on HTC "network" widget

Hello all,
I'm trying to control the "on/off" state of mobile data via my own application and while I know of APNDroid, I find it unreliable with my HTC Desire using the 2.2 OTA update (unrooted). It works two or three times, but once the screen has been turned off for quite a while, it no longer works.
However, tapping on the widget from HTC always works and so I was wondering if there is a way to simulate the tap on the widget.
For instance, I thought about sending an intent to the widget. But I'm not sure where to start as I have no idea what the name of that intent could be.
Does anyone have any clues as to where to start looking?
Thanks in advance.
Tasker is an excellent app and the latest beta of it now supports turning on and off mobile data using this toggle.
Hello,
I know about Tasker and am currently evaluating it.
It has two different tasks to control the mobile data, one internal (Mobile Data) and one using APNDroid (Mobile Data APN).
The former does not to work at all, while the latter only works until the screen turns off for more than 5 minutes.
Hence the reason why I'm looking for alternatives while waiting for replies on the Tasker groups.
You are saying that the latest beta supports turning on/off "using this toggle". What toggle are you talking about? Is that the HTC widget mobile data toggle?
If yes, how do I control it via Tasker? I did not find anything obvious.
Regards
i use switch pro widget and love it
I use switch pro, but some people claim its an APN renamer which its not (unless you tell it to be in the settings)
However it is possible to control htc's data connection as CM has built it into his modified power control widget (see CM6 roms).
As to the exact modification, I don't know as I have never taken said widget appart to see what he told it to do.
Supposing SwitchPro works ok, which I can not confirm as there is no demo version, how would you control it from Tasker?

[Q] Data connection control app?

Hi, anyone know of an app which will block all APN, always on mobile data - etc etc and only will permit them on demand with some designated applications?
I really want everything off but then when I check my email, or use a map, etc I don't want to have to be dealing with messages which tell me that data is disabled and I then have to go and activate the thing manually - and then remember to switch it off.
I want something which will automatically connect while my email program is running and then disconnect as soon as I shut it down.
I have an idea that JuiceDefender should be able to do this but most of JD doesn't seem to be working with a Desire HD. I have to accept the defaults - which means that a whitelist only starts to operate at battery - 15%.
It won't let me set it higher - although the functionality is meant to be there.
Anyway, I am sure that there is something around but I can't find it.
Can someone suggest something?
Ta
In fact I've purchased Ultimate Juice and more of the features are enabled - but it still doesn't seem to be fully compatible with the DHD
Either ultimate juice or switchoro widget.
Sent from my Desire HD using Tapatalk
Thanks - Switchpro, I think.
Juicedefender just about works but doesn't seemto control the wifi as well as it should.
Is Switchpro automated or is it just a collection of manual toggle widgets?

[Q] WLAN and Notification LED

Hello,
is it possible to activate the Notification LED when wlan is active (and connected)?
Floon
_________________________________
HTC Desire 2.2 - stock rom (root/s-off)
Try you check "Network notification" in WiFi settings. Could work, because it's a notification and notifications activate the LED.
SwiftKeyed from dGB with Transparent XDA App
No, won't work. The description for network notification says "Notify me when an open network is available". I think this is something else (couldn't try this notification on an open network).
Well write a very simple app that receives wlan-statechange broadcast and turn the led on and off based on it, if there isn't an app already. Tasker from the market will most likely be able to do it as well.
If you don't wanna buy tasker i could possibly write you a simple app sometime.
Unfortunately I found no app in the market for this. I also tried Eclipse, but what should I say, I'm a noob . Perhaps I will find some good tutorials for basics.
Can I change something in the rom itself? (eg there is some stuff under "/sys/class/leds")
Probably can but it would be far more difficult.. Go with tasker or get someone to write one for you.
Another vote for tasker
Sent from my HTC Desire using xda premium
OK, thanks. I try Tasker, I see there is so much you can do with it
Its certainly one of the best apps I have purchased.
tasker can do that...

How do I put a VPN shortcut on my 'home' screen?

Hi,
I am currently using a VPN to get into my network & Then accessing my data that way. However to get to it in Gingerbread, I have to hit menu, then settings, then wireless, then scroll down to VPN, then click on my VPN, then put my password in & hit connect.
It would help a lot to be able to just click on my VPN link on the 'home' screen. I cant figure out how to get the shortcut there.
Any suggestions?
Thanks,
Rich
I just tried and you add a shortcut to your home screen, just as you add a widget.
I dont see anything related to a VPN within the shortcut menu or widgets. Any ideas on how to do a shortcut for the VPN?
Tried anycut from the market?
Sent from an Epic in the sky.
Thanks, Anycut might do the trick, of course there is no VPN listed. Is there a way to determine what processes are running in Android? If i could find the VPN process, I could probably get it going.
I believe you can achieve this with Tasker. I know its a paid app but its an option.
As a side note, how did you manage to get tour vpn to work? Are you using ddwrt by chance? Since getting this phone I could no longer vpn over sprints network due to firewall issues. From what I found online if you ask sprint for a static IP it fixes the problem but they charge you a monthly fee. It used to work fine on my old HTC hero.
Sent from my SPH-D710 using Tapatalk
dbldown768 said:
I believe you can achieve this with Tasker. I know its a paid app but its an option.
As a side note, how did you manage to get tour vpn to work? Are you using ddwrt by chance? Since getting this phone I could no longer vpn over sprints network due to firewall issues. From what I found online if you ask sprint for a static IP it fixes the problem but they charge you a monthly fee. It used to work fine on my old HTC hero.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
We use L2TP/IPSEC PSK at work though Sonicwall, and it works great.
I don't have a static IP on my account. Works fine from 3g or my home WiFi.
Sent from my SPH-D710 using XDA
I am using a Zyxel firewall & L2TP also. It works fine but... sprints lousy service seems to stall out, requiring me to re login to the VPN. Yesterday with 1 bar, I was logged into the VPN but there was not enough 3g to actually use any data, but enough to stay logged in for 2 hours & not get any emails.
It works fine & I suspect if i had better 3g (or verizon) it would work OK.
I was using DDWRT & OpenVPN with CM7 on my Evo 4g & it worked but I switched to a new router.
Yeah, missing emails is never good.
We don't have an Exchange server at work (not cost effective enough to make it work properly across 10 locations), so I'm able to access my email with K9 via IMAP or POP3.
It's strange that it worked with one Sprint phone, but not reliably with another. Has data service had a general decline in your area?
Sent from my SPH-D710 using XDA
You should try vpn show. You can find it in google play.
Check the "Launch VPN" app on Google Play
Sorry to revive an old thread. I was looking for this as well and found a way. Just adding if anyone searches for this sort of thing.
Add a shortcut to home screen, select settings, then look for VPN.
This works in my HTC ONE on 4.2.2
I use NFC Task Launcher on my Samsung Galaxy S4.
The following could be a little bit different depending on your phone's make and model and rom type. I did the following.
WARNING: I am not responsible for any damage made to your phone or anybody or anything else during the reading or by following the acts of this tutorial in any way possible.
Click to expand...
Click to collapse
Open up NFC Task Launcher and go through the tutorial.
- In the end you can create you own task.
- When you create a new task just click for NFC.
If you have NFC Disabled, just leave it like that and when it'll ask you if you want to enable it, press cancel. (TIP; if the top bar overlay is bugging with more information, just tap on one of the buttons after explanation to have it's focus come back to the window.)
- Name the task 'VPN' or something.
- Click on the cross (✚) in the right top corner to add an action
- Search for 'Applications & Shortcuts' and select 'Open Activity', then click next at the bottom.
- The application list will load up. Select 'Settings' as an application and the activities list will be updated.
- Choose; 'com.android.settings.Settings$VpnSettingsActivity' and select 'Add to Task' at the bottom.
- Then press the arrow to the right '→' in the top right corner.
- It will say you need to place a tag underneath it. DON'T DO THAT, AS IT WILL OVERWRITE THE TAG. (I hope you still have NFC OFF!)
- Just press the tick mark (✓)
- Now you have at least 1 task in the 'My Tasks' list.
Now, to add this to you're homescreen, do the following;
- Go to your homescreen.
- Add a widget like you would normally do. The name of the widget is 'Run Task', so look for the 'R'.
- There are 3 options there, background color (I personally like the black BG), select Icon (I've chosen the gear icon since its a setting) and select task. In 'Select Task' choose for the VPN task you've made and press 'Done'.
- Now press the task on the homescreen, and it'll open up the VPN list (at least on SGS4 it does).
- Connect to your VPN as you would normally do.
You can even write this to an NFC, but that doesn't make sense, since all it does is open the VPN settings menu, not connecting to the VPN directly.
Sidenote; This app is also handy for making other tasks, such as tweeting your at work, check in at Foursquare, send your boss an email that you're in the office and turn off the sound of your phone all in one task, just by connecting to your works wifi connection or by taping an NFC task.
Now you can easily connect to your favorite VPN easily.

Wifi On/Off with TASKER???

Whats the best easiest way for this?? Ive tried a few from searching on google, directs me to droidforums.com but they seem to not work that well. Plus, some people use variable set, using %HOME = 1 and all that. Others go straight to the point of wifi near - on but somehow it doesnt work right. Can anyone help me? i just need a WiFi Near really, to toggle and connect to my HOME. I use Y5 app in the market, which does it but its not always reliable, doesnt always activate it ON/OFF but its exactly what I want but with TASKER, since it seems a hell of a good app!! Thank you.
can you not set up a "in range of" style thing? Like it goes off your GPS when you are near home and it will then turn on wifi.
I don't have the app and just did a quick skim of the website... sorry if this doesn't help

Categories

Resources