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.



View Poll Results: Does your phone's connection have this problem?
Yes, once a month or more 4 44.44%
Yes, but infrequently 2 22.22%
Not that I know of 3 33.33%
Voters: 9. You may not vote on this poll

Reply
 
LinkBack Thread Tools
Old July 23rd, 2010, 01:53 PM   #1 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 7
 
Device(s):
Thanks: 0
Thanked 1 Time in 1 Post
Default App to notify me when phone is offline

Today I didn't get a single e-mail from 10:00 to 1:00. It was just a slow e-mail day... or so I thought. Turns out that my phone (Hero) had some kind of hiccup with the Sprint network, and was offline that whole time. E-mails had been sitting there unread for up to three hours! This happens from time to time, and I can fix it by disabling the mobile network and then turning it back on.

But that only works if I know that the phone is offline! Is there an app that will check the phone's internet connection every x minutes and fire a notification if it's not working? Or if the app wanted to be really smart, it could disable and then re-enable the mobile network and see if that fixes the problem.

Is this even possible? If the OS killed the app and the user had to re-start it all the time, that would render it pretty useless. Would it have to be running all the time? Or could it start itself, check the connection, then terminate itself every x minutes?

Dec One is offline  
Reply With Quote
Sponsors
Old July 23rd, 2010, 01:57 PM   #2 (permalink)
Member
 
Join Date: Oct 2009
Location: Panama City
Posts: 212
 
Device(s): Mytouch 4g- Black Rooted - Ice Glacier 1.1.4 (Themed) HTC Sensation 4G (impatiently waiting for
Thanks: 6
Thanked 22 Times in 21 Posts
Default

That's an awesome idea. I've had similar problems on my MyTouch and thats what I usually do.
gohausmachine is offline  
Reply With Quote
Old July 24th, 2010, 12:35 PM   #3 (permalink)
Member
 
Join Date: Jan 2010
Posts: 114
 
Device(s): Moto Droid Samsung Charge
Thanks: 1
Thanked 7 Times in 7 Posts
Default

I think Android's security stops an app from starting itself, but as long as you leave it running, it sounds like a great idea.
cmh0114 is offline  
Reply With Quote
Old July 24th, 2010, 01:46 PM   #4 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 8
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default

I don't think it would be very hard to do. In fact, sipdroid (which is opensource) uses some code that detects when the "main connection" changes from one to another (3G to Edge, 3G to Wifi, Wifi to 3G, etc.).

Would you like to only get a notification in the notification bar with sound/vibration?

I do some Android work at my job, and I was looking for a small project like this for home. Do you think this app could sell well @ 0.99$?
cletourneau is offline  
Reply With Quote
Old July 31st, 2010, 11:55 PM   #5 (permalink)
Member
 
Join Date: Jan 2010
Posts: 114
 
Device(s): Moto Droid Samsung Charge
Thanks: 1
Thanked 7 Times in 7 Posts
Default

I don't think it would be very hard to do at all, and it would probably sell well for $0.99. After all, the people who would use this are those who absolutely need to be connected 24/7, usually businesspeople, and they can afford to pay $0.99 to be ensured that they're always connected.

Edit: I'll see if I can whip something together this weekend - it all depends on whether or not I have time to access my computer while traveling. If I can't, it'll wait until next weekend.
cmh0114 is offline  
Last edited by cmh0114; August 1st, 2010 at 12:03 AM.
Reply With Quote
Old August 1st, 2010, 11:41 AM   #6 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 8
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Got an app working already which notifies whenever your connection state changes.

It is almost "deliverable" to the market, I just have to make some polish.

I got a good news, it's gonna be free. Problem is I can't sell it since I am in Canada, and Google Merchant is not available *yet* for canadians.

Took me less than 8 hours anyways to put all that together. When Google Merchant will be available here, I'll probably pack some new features and make a "pro version" (got some ideas already).

Edit: I'll post the market link here as soon as it's available...
cletourneau is offline  
Reply With Quote
The Following User Says Thank You to cletourneau For This Useful Post:
aldamon (February 25th, 2011)
Old August 2nd, 2010, 01:41 AM   #7 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 8
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Just posted my app in the market...

Look for "Connection State Notifier"

Hope it fills your needs. Give comments/suggestions/violent reactions to my email or here

Edit: I just uploaded a new version compatible with API level 3 (Android 1.5)
cletourneau is offline  
Last edited by cletourneau; August 2nd, 2010 at 07:09 AM. Reason: API level was too high
Reply With Quote
The Following User Says Thank You to cletourneau For This Useful Post:
aldamon (February 25th, 2011)
Old August 2nd, 2010, 07:23 AM   #8 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 8
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default

If you are on this phone, use this link
cletourneau is offline  
Reply With Quote
Old August 3rd, 2010, 01:48 PM   #9 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 7
 
Device(s):
Thanks: 0
Thanked 1 Time in 1 Post
Default

cletourneau,

I downloaded it and it looks great, but I don't think it's the app I had in mind. The problem I have is when the phone thinks it is online - the Ev (3G) symbol is in the status bar - but if I were to try to connect to anything on the internet, it wouldn't work.

I tested your app by unplugging my cable modem while my phone was connected to my wireless router. The phone stayed connected to the router and the app didn't seem to notice that the internet was suddenly not available.

Maybe add a feature that tries to access www.google.com every 5 minutes?
Dec One is offline  
Reply With Quote
Old August 3rd, 2010, 02:22 PM   #10 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 8
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default

OK, I know what you mean. You want to know if your phone has "access" to the Internet at any time.

This is slightly different, since the phone connection state changes (GPRS/EDGE/3G/Wi-Fi, etc.) are broadcasted to any application that wants to listen to it.

Now you want to know if your connection gives you access to the Internet. While it is an easy feature to implement, the behavior might be problematic sometimes.

What if "www.google.com" is the only website down when the app is doing the connection test? Would you like to test more than only one website (set in a configurable list)?

Also, it will take a little more "power" for it, since the phone will have to "wake-up" every X minutes and initiate a connection to the Internet. There are some cost to that for sure, but I'll make it a feature that can be toggled off.

Since you had the idea for the app, I'll make this feature the next task in my backlog...

Another thing, the company I work for has offices in France, and I might put the app under their name and charge 0.99$ for it. Not that I want to make money (I don't expect to become millionnaire with this), but we're getting into Android development and we want to experiment the merchant market and what impact it has on the app downloads.
cletourneau is offline  
Last edited by cletourneau; August 3rd, 2010 at 02:24 PM.
Reply With Quote
The Following User Says Thank You to cletourneau For This Useful Post:
aldamon (February 25th, 2011)
Sponsors
Old August 10th, 2010, 12:12 AM   #11 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 8
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default V1.0 RC1 release

Hi Dec One, I just released Connection State Notifier 1.0 RC1. You can find it on the Market obviously, and it now has the "Check for Internet" option.

Right now it's hardcoded to "http://www.google.com", but I plan on making this a setting that the user can change.

Leave a comment on the market if you like it
cletourneau is offline  
Reply With Quote
The Following User Says Thank You to cletourneau For This Useful Post:
aldamon (February 25th, 2011)
Old August 29th, 2010, 07:06 AM   #12 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 7
 
Device(s):
Thanks: 0
Thanked 1 Time in 1 Post
Default

I've been using it. It works great!
Dec One is offline  
Reply With Quote
Old August 29th, 2010, 08:18 AM   #13 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 8
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default

If you guys think about other options to put in there, go ahead and tell me!
cletourneau is offline  
Reply With Quote
The Following User Says Thank You to cletourneau For This Useful Post:
aldamon (February 25th, 2011)
Old February 25th, 2011, 01:37 PM   #14 (permalink)
Junior Member
 
Join Date: Dec 2010
Location: Durham, NC
Posts: 53
 
Device(s): LG Optimus V
Thanks: 11
Thanked 8 Times in 6 Posts
Default

This app seems to be perfect for detecting the 3G drops with the Optimus. I'm going to give it a try.

Any chance you could implement a vibrate-only option for network drops?

Also, does this program use a lot of resources when running in the background?
aldamon is offline  
Reply With Quote
Old February 25th, 2011, 01:49 PM   #15 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 8
 
Device(s):
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Hi aldamon,

The program uses almost no resource in the background as it is not really "running in the background". It uses the BroadcastReceiver system of Android, same system that is updating your notification bar with the connection info. It is basically something that is "sleeping" (eating no resource) until the system wake him up only when there is a change in the connection state.

I will try to implement the "vibrate only option for network drop" later this week if you want.
cletourneau is offline  
Reply With Quote
Old February 25th, 2011, 06:24 PM   #16 (permalink)
Junior Member
 
Join Date: Dec 2010
Location: Durham, NC
Posts: 53
 
Device(s): LG Optimus V
Thanks: 11
Thanked 8 Times in 6 Posts
Default

Quote:
Originally Posted by cletourneau View Post
I will try to implement the "vibrate only option for network drop" later this week if you want.
Actually, I think it's OK the way it is. Losing the connection is pretty important and I don't want to miss it so I've picked a suitable sound effect with vibration. As long as the app doesn't override the system's sound scheme while I have it muted, it should be fine.
aldamon is offline  
Reply With Quote
Old February 27th, 2011, 06:22 AM   #17 (permalink)
Junior Member
 
Join Date: Dec 2010
Location: Durham, NC
Posts: 53
 
Device(s): LG Optimus V
Thanks: 11
Thanked 8 Times in 6 Posts
Default

Does this app leave notifications in the status bar? I lost my connection from ~9PM last night until this morning and I didn't see any signs of notification.
aldamon is offline  
Reply With Quote
Reply

Bookmarks

Tags
hero, mobile network, offline, sprint


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
eris wont notify for sms drizoid Eris - Support and Troubleshooting 2 December 6th, 2010 09:36 PM
Support notify me! mhar78 LG Ally 1 September 24th, 2010 02:27 PM
Phone won't vibrate to notify text messages.. thefryguy Incredible - Support and Troubleshooting 6 August 17th, 2010 08:01 PM
Bluetooth Notify NIR Application Announcements 0 July 16th, 2010 01:03 PM
How do I sync contacts from gmail to phone? (for offline use) scheuri HTC Desire 7 July 2nd, 2010 02:08 AM



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