android通话时怎么显示自己写的界面?就是我自己写了个页面,
Unknown entity: java.lang.Long,打出电话后会显示这个页面,但马上会跳到android系统自带的界面开始通话,
org.apache.jasper.JasperException: Unable to compile class,我要怎么设置才能使通话过程中也是我自己的页面呢?
------解决方案--------------------------------------------------------
监听来电广播事件啊!
------解决方案--------------------------------------------------------
public class MyReceiver extends BroadcastReceiver{
public void onReceiver( Context context,Intent intent){
//在这个地方做你的处理啊
}
}
AndroidMainifest.xml:
<receiver android:name="MyReceiver ">
<intent-filter>
<android android:name="android.intent.action.PHONE_STATE">
</intent-filter>
</receiver>
------解决方案--------------------------------------------------------
可参考:
android如何实现界面渐大功能 http://www.myexception.cn/j2me/11544.html
相关的主题文章:
------解决方案--------------------------------------------------------
监听来电广播事件啊!
------解决方案--------------------------------------------------------
public class MyReceiver extends BroadcastReceiver{
public void onReceiver( Context context,Intent intent){
//在这个地方做你的处理啊
}
}
AndroidMainifest.xml:
<receiver android:name="MyReceiver ">
<intent-filter>
<android android:name="android.intent.action.PHONE_STATE">
</intent-filter>
</receiver>
------解决方案--------------------------------------------------------
可参考:
android如何实现界面渐大功能 http://www.myexception.cn/j2me/11544.html
相关的主题文章: