怎样的android当Android的IP改变了弹出消息? [英] android how to pop messages when android ip changed?

查看:262
本文介绍了怎样的android当Android的IP改变了弹出消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要每个网络IP有变化时,会弹出一个消息的应用程序。举例而言,当我的WiFi-ES之间移动。

I need an application that pops up a message every time the network ip has changed. When for example I am moving between wifi-es.

有人可以给我一些code的例子吗?

Can someone give me some code examples?

THX。鸭preciate !!

Thx. Appreciate!!

推荐答案

可能是你可以使用教程
http://android-er.blogspot.in /2011/01/check-rssi-by-monitoring-of.html
其中包括广播接收器和接收这种广播可以比较previously灌装液位IP和电流ip.Hope这会有所帮助。

may be you can use the tutorial http://android-er.blogspot.in/2011/01/check-rssi-by-monitoring-of.html which includes broadcast receiver and on receiving such broadcast you can compare previously tored ip and current ip.Hope this will help.

这篇关于怎样的android当Android的IP改变了弹出消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆