【原创技术】iapp调用Java打开系统wifi设置界面
在某个按钮单击事件写上代码:call(dk,"mjava","dk.a")java(c,activity,"android.app.Activity.startActivity","android.content.Intent",dk)
创建一个命名为dk的mjava模块
写上代码:
import android.content.Intent;
public statica(){
Intent dx = new Intent(android.provider.Settings.ACTION_WIFI_SETTINGS);
return dx;
}
运行后点击按钮就跳转wifi设置界面了
留下来评论啊[滑稽]
http://cdn.u1.huluxia.com/g4/M00/36/5D/rBAAdl9UQQCAE6ZKAAEdUIuAESk699.jpghttp://cdn.u1.huluxia.com/g4/M00/36/5D/rBAAdl9UQQOAaTsbAAASQHnJck0636.png
页:
[1]