Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I'd like to send an email or post to a server every time the IP address on the phone changes. This way, I can continue to VNC into the phone, even when the IP changes. Is there an App that would let me send out the IP address, or a bash script I could use?

share|improve this question
1  
Note that this wouldn't work for many hotspots because they do NAT. –  Nathan Fellman Aug 24 '11 at 12:52
add comment

1 Answer

up vote 6 down vote accepted

Rather than a notifier and managing all of this yourself, had you thought about using a Dynamic DNS client? This would allow you to always use the same name to contact your phone over the internet (or even a local LAN) and the 3rd party would manage the problems with changing IP addresses for you.

There are a number of Dynamic DNS clients on the Market, I haven't tried any, but it's a pretty common solution for machines that change IP, so I can't see why there'd be a problem.

share|improve this answer
    
Thanks a lot for the link and tip. I'll check it out a bit more and see if this solution will work. –  MBillau Aug 23 '11 at 21:23
1  
This is why we like questions about a problem to be solved, not an "app that does X". There may be solutions that you hadn't considered. –  Al E. Aug 24 '11 at 12:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.