It's simple -- they don't. Instead, the device accesses a server
periodically.

It's possible to jump-start the process with an SMS message, rather
than blindly polling. This also saves considerable battery power.
See, for example: https://labs.ericsson.com/apis/mobile-java-push/downloads

The drawback is that the SMS message may not be free.

The bottom line is, SMS can contact your phone, but not IP network
traffic via the cellular network. Only your phone can initiate the
network traffic.

On Mar 2, 7:28 pm, Muthu Lalapet <muthulala...@gmail.com> wrote:
> I'm new to android and last week I created a app which has a service
> (which starts when the machine is booted) and opens a server socket
> and listens on a port. I deployed this app in my hand set (which is
> HTC my Touch 1.6). The device uses my home wireless network and hence
> has an ip address associated with it.
>
> And I wrote a java client which sends the data to that ip (which is my
> phone) using a socket and gets the response back.
>
> And as you know this does not work when there is no WiFi. I want to
> know what API's are available for me to remotely access my android
> phone no matter what network it is in. Basically I want to create
> something like WaveSecure app (http://androinica.com/2009/12/06/how-to-
> remotely-lock-wipe-and-locate-android-phones-with-wavesecure/<http://androinica.com/2009/12/06/how-to-
> remotely-lock-wipe-and-locate-android-phones-with-wavesecure/> ). I
> want to know how are they accessing the device from a web page and
> doing stuff.
>
> Please help. Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to