Analysis & Opinion

Top Forum Discussions

activating wifi hotspot from widget on FroYo

13 posts
Thanks Meter: 2
By ilanB, Junior Member on 28th May 2010, 04:55 PM
Post Reply Subscribe to Thread Email Thread

Just updated to FroYo mainly for the tether option. It works great and I can just surf while the phone is in my pocket / bag.

what I miss is a faster way to activate it.

I didn't see an option to have shortcut to the home screen (via - shortcuts - settings) and I can't find a widget that will allow it.

Any ideas?

28th May 2010, 05:47 PM |#2  
Thanks Meter: 1
I too would like to know this
29th May 2010, 04:06 AM |#3  
Thanks Meter: 10
Here's something close, it's not exactly what you want (it's a program that just opens Menu | Settings | Wireless | Tethering & Portable hotspot and then exits).

It took more time to for me to write this post (and figure out how to insert a link!) than for me to code it:
Attached Files
File Type: apk TetherSettings.apk - [Click for QR Code] (6.9 KB, 539 views)
Last edited by jmdsdf; 29th May 2010 at 09:14 PM. Reason: To attach download to post
29th May 2010, 04:29 AM |#4  
Senior Member
Thanks Meter: 0
Any chance you can make the "t" in tether that shows on the icon label a capital "T"? Sorry i'm a bit OCD so it kind of drives me crazy but I really appreciate the quick access to the tether settings comes in quite handy!

29th May 2010, 04:30 AM |#5  
Senior Member
Flag Boynton Beach, FL
Thanks Meter: 30
You could achieve the same thing with better/any cut, sans the exit at the end.
29th May 2010, 07:35 AM |#6  
worker1's Avatar
Senior Member
Flag Los Angeles
Thanks Meter: 9
works great. I want to learn how to do that.
29th May 2010, 08:21 AM |#7  
OP Junior Member
Thanks Meter: 2
Re: activating wifi hotspot from widget on FroYo
Wow great that was exactly what I was looking for.

Thanks, I wish I could program as easely as I'm posting questions :) because I'm very good in aking :P


Sent via the XDA Tapatalk App
29th May 2010, 04:22 PM |#8  
Thanks Meter: 10
Here's the code:

public class tethersettings extends Activity {
public void onCreate(Bundle savedInstanceState) {

// load tether setting dialog
Intent intent = new Intent();
ComponentName com = new ComponentName("", "");

// exit
// kill process
android.os.Process.killProcess(android.os.Process. myPid());

29th May 2010, 04:29 PM |#9  
Thanks Meter: 10
Updated with capitalization:

Three other apps with a similar idea (for changing APNs, data settings and wifi settings):
29th May 2010, 04:47 PM |#10  
britoso's Avatar
Senior Member
Flag Orlando
Thanks Meter: 291
Donate to Me
Re: activating wifi hotspot from widget on FroYo
Now that we have the activity name, cant we just create a shortcut with anycut?
29th May 2010, 06:28 PM |#11  
Senior Member
Thanks Meter: 73
Donate to Me
Yes, using AnyCut, the Tethering settings activity is the 7th "Settings" activity in the list that AnyCut produces when creating a new shortcut.

Or you can use an app that I've quickly put together for this purpose Someone's already posted a similar one, but since I've done it too, I might as well share it too. The icon's title is "Internet Sharing" and it has that green waves icon from android-wifi-tether app.
Attached Files
File Type: apk TetheringShortcut.apk - [Click for QR Code] (15.5 KB, 623 views)

Read More
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes