Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development > Application Requests

Application Requests Request Apps or provide ideas for the devs here.



Reply
 
LinkBack Thread Tools
Old September 3rd, 2010, 05:53 PM   #1 (permalink)
Member
 
kwaping's Avatar
 
Join Date: Nov 2009
Location: San Diego, CA
Posts: 147
 
Device(s): Droid X - Viva la Hump!
Thanks: 119
Thanked 15 Times in 7 Posts
Lightbulb Bluetooth OR Wi-fi toggler

Hi dev people,

I'm a programmer but don't have time to learn Android programming right now, so I'm going to gift you with this idea. All I want in return is a free copy.

I noticed that most of the time when I'm using bluetooth, I'm not in a wi-fi area. (Walking the dog with bluetooth headphones, or in my car.) I also noticed that when I'm using wi-fi, I'm almost always not using bluetooth. (Work, home, etc.)

My idea is for a small (single-square) widget that works as a three-way toggle with a single press:

1. Bluetooth on, wi-fi off
2. Wi-fi on, bluetooth off
3. Both wi-fi and bluetooth off

Successive taps on the widget cycle through these three modes.

I feel like this should be pretty simple to implement. What do you think - interested?

kwaping is offline  
Reply With Quote
Sponsors
Old September 3rd, 2010, 05:56 PM   #2 (permalink)
Member
 
kwaping's Avatar
 
Join Date: Nov 2009
Location: San Diego, CA
Posts: 147
 
Device(s): Droid X - Viva la Hump!
Thanks: 119
Thanked 15 Times in 7 Posts
Default

You could also do a cycle like this:

1. Bluetooth on, wi-fi off
2. Both on
3. Wi-fi on, bluetooth off
4. Both off

That might be easier and more intuitive to use, and also more flexible.
kwaping is offline  
Reply With Quote
Old September 17th, 2010, 06:07 AM   #3 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 9
 
Device(s):
Thanks: 3
Thanked 0 Times in 0 Posts
Default

"power control" widget is already good enough to do everything you want.. =)
lexchandra is offline  
Reply With Quote
Old September 17th, 2010, 03:05 PM   #4 (permalink)
Member
 
kwaping's Avatar
 
Join Date: Nov 2009
Location: San Diego, CA
Posts: 147
 
Device(s): Droid X - Viva la Hump!
Thanks: 119
Thanked 15 Times in 7 Posts
Default

There are a lot of things that almost do what I'm looking for. However, for me the key is the "single-block" size. That'll leave more room for other things, while maintaining the functionality I want.
kwaping is offline  
Reply With Quote
Old September 18th, 2010, 11:30 AM   #5 (permalink)
New Member
 
Join Date: May 2010
Posts: 2
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Tasker in the market should be able to do what you're looking for. It's a bit expensive, but it's very powerful.
knaveofspades is offline  
Reply With Quote
Old September 21st, 2010, 11:58 AM   #6 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 6
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Hey, I saw this app request and wanted to start getting into development on the android platform. So I figured I would give it a shot.

I currently having it working base on your post about the 4 possible states.

1. Bluetooth on, wi-fi off
2. Both on
3. Wi-fi on, bluetooth off
4. Both off


I need to add more images so that you can see the state on the widget as it changes. However it is done and working if you'd like to try it.

I built it on android 2.0. If this isn't ok, let me know and I will try to make it a lower SDK requirement.
GTmauf is offline  
Reply With Quote
The Following User Says Thank You to GTmauf For This Useful Post:
kwaping (September 21st, 2010)
Old September 21st, 2010, 02:00 PM   #7 (permalink)
Member
 
kwaping's Avatar
 
Join Date: Nov 2009
Location: San Diego, CA
Posts: 147
 
Device(s): Droid X - Viva la Hump!
Thanks: 119
Thanked 15 Times in 7 Posts
Default

Hey GTmauf, thanks a lot! I'm a Droid X user so the 2.0 target is no issue for me. You might want to target 1.6 to get a bigger user base, but that decision is yours of course.

I'm glad I could give you inspiration and I can't wait to see the finished product!
kwaping is offline  
Reply With Quote
Old September 21st, 2010, 02:28 PM   #8 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 6
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default

No problem at all! I will look at the 1.6 definitely .

I am using a pretty generic icon/widget drawable at the moment, but it will display different colors based on what state the bluetooth/wifi is in.

If you'd like I can attach the .apk and you can do a manual install to check it out.

Just let me know and I will post it.
GTmauf is offline  
Reply With Quote
The Following User Says Thank You to GTmauf For This Useful Post:
kwaping (September 21st, 2010)
Old September 21st, 2010, 03:45 PM   #9 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 6
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Ok, Here it is. Let me know how it works out for you! It is a 1x1 widget. It has the default app icon for now. I will work on getting that changed.

Also, apparently in 1.6 Google had not yet released the Bluetooth API. So I don't think I can set the SDK version to that.
Attached Files
File Type: apk BluFi.apk (63.1 KB, 2 views)
GTmauf is offline  
Last edited by GTmauf; September 21st, 2010 at 03:51 PM.
Reply With Quote
The Following User Says Thank You to GTmauf For This Useful Post:
kwaping (September 22nd, 2010)
Old September 22nd, 2010, 02:54 PM   #10 (permalink)
Member
 
kwaping's Avatar
 
Join Date: Nov 2009
Location: San Diego, CA
Posts: 147
 
Device(s): Droid X - Viva la Hump!
Thanks: 119
Thanked 15 Times in 7 Posts
Default

Thanks for the upload! I am looking forward to the finished product. Would you be interested in open-sourcing this app? I'd like to use your source code as a tutorial. But I understand if you don't want to release the source.
kwaping is offline  
Reply With Quote
Sponsors
Old September 22nd, 2010, 04:16 PM   #11 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 6
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default

No problem! Have you tried it yet? How's it working out for you?

I will think about giving you the source. But I will have to clean it up first as I have some redundant stuff in there after methods I no longer use after finding widget's don't maintain state between intent requests.
GTmauf is offline  
Reply With Quote
The Following User Says Thank You to GTmauf For This Useful Post:
kwaping (September 23rd, 2010)
Old September 22nd, 2010, 06:23 PM   #12 (permalink)
Member
 
kwaping's Avatar
 
Join Date: Nov 2009
Location: San Diego, CA
Posts: 147
 
Device(s): Droid X - Viva la Hump!
Thanks: 119
Thanked 15 Times in 7 Posts
Default

Thanks GT. I have to be honest, I haven't installed it yet because I just got the 2.2 update and want to get to know it before throwing new software into the mix.

Are you going to release this into the marketplace?
kwaping is offline  
Reply With Quote
Old September 22nd, 2010, 11:48 PM   #13 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 6
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Wink

Haha, no problem. Just so you know I have 2.2 and it's running on my Droid X no problems!

I'm thinking of putting it in the marketplace, yes. I can let you know in a day or so if I'm going to put it there.
GTmauf is offline  
Reply With Quote
The Following User Says Thank You to GTmauf For This Useful Post:
kwaping (September 23rd, 2010)
Reply

Bookmarks

Tags
app idea, bluetooth, wi-fi, widget


Go Back   Android Forums > Android Development > Application Development > Application Requests User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Video: Galaxy Tab + bluetooth Mouse + bluetooth keyboard = ConceptVBS Samsung Galaxy Tab 25 December 11th, 2010 01:00 PM
Wifi Toggler & Screen On Toggler mlbl Application Announcements 0 August 27th, 2010 11:05 PM
Has anyone tried HDMI to monitor + bluetooth keyboard + bluetooth mouse? Liebertron EVO 4G - Tips and Tricks 9 August 6th, 2010 03:26 PM
Droid X need Bluetooth Peripheral Device Driver - PdaNet Bluetooth DUN brian777 Droid X - Support and Troubleshooting 0 July 17th, 2010 01:27 PM
Hero Bluetooth and Bluetooth Headset JayCee HTC Hero 2 November 1st, 2009 03:54 PM



All times are GMT -5. The time now is 02:54 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo