• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

App to notify me when phone is offline

Does your phone's connection have this problem?


  • Total voters
    9

Dec One

Lurker
Jul 20, 2010
7
1
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?
 
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$?
 
Upvote 0
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.
 
Upvote 0
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...
 
  • Like
Reactions: aldamon
Upvote 0
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?
 
Upvote 0
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.
 
  • Like
Reactions: aldamon
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones