ConnectivityManager is what I was looking for :-)

Yes Jon, I keep in mind the constraints, but the app that I am
developing it's something similar to a navigator (for car drivers)
with extra functionalities. So, the device could be powered and I
don't consider restrictions of power ;-)

Thank you!

On Mar 10, 8:45 pm, Jon Phenow <j.phe...@gmail.com> wrote:
> You might also try and be careful. It seems that many applications on many
> hand-held devices, if they are attempting to have a persistent connection
> with anything such as GPS or internet will drain a battery fast. I realize
> these devices are getting better at handling such demanding applications but
> just something to keep in mind. Possibly look for a way to have retrieve
> information from the internet/GPS when you know it is needed.
>
> On Tue, Mar 10, 2009 at 1:55 PM, Jean-Baptiste Queru <j...@android.com>wrote:
>
>
>
> >http://developer.android.com/reference/android/net/ConnectivityManage...
> > might be what you're looking for.
>
> > JBQ
>
> > On Tue, Mar 10, 2009 at 4:03 AM, Android Beginners
> > <albert.hernan...@gmail.com> wrote:
>
> > > Hi,
>
> > > How can I check the Internet Connection? I need also the same with the
> > > GPS signal... I am developing an app that needs to be persistently
> > > connected to the Internet and I need something like a Listener. Should
> > > I create my own Listener or there is something implemented?
>
> > > Thank you in advance.
>
> > --
> > Jean-Baptiste M. "JBQ" Queru
> > Android Engineer, Google.
>
> > Questions sent directly to me that have no reason for being private
> > will likely get ignored or forwarded to a public forum with no further
> > warning.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to