android - BoostFramework() : mPerf = com.qualcomm.qti.Performance@c4322f2 -


    public class forceofflinereceiver extends broadcastreceiver {     @override     public void onreceive(final context context, intent intent) {         alertdialog.builder dialogbuilder = new alertdialog.builder(context);         dialogbuilder.settitle("warning");         dialogbuilder.setmessage("you forced offline. please try login again.");                 dialogbuilder.setcancelable(false);         dialogbuilder.setpositivebutton("ok",                 new dialoginterface.onclicklistener() {                     @override                     public void onclick(dialoginterface dialog, int which) {                         activitycollector.finishall();                          intent intent = new intent(context,                                 loginactivity.class);                         intent.addflags(intent.flag_activity_new_task);                          context.startactivity(intent);                      }                 });         alertdialog alertdialog = dialogbuilder.create();          alertdialog.getwindow().settype(type_system_alert);         alertdialog.show();     }  } 

when click button,there no dialog appears. , log is:

08-21 10:40:05.756 13851-13851/com.project.ics.day0821rememberpassword v/boostframework: boostframework() : mperf = com.qualcomm.qti.performance@c4322f2 08-21 10:40:05.757 13851-13851/com.project.ics.day0821rememberpassword v/boostframework: boostframework() : mperf = com.qualcomm.qti.performance@667cd43 08-21 10:41:06.499 13851-13851/com.project.ics.day0821rememberpassword w/iinputconnectionwrapper: clearmetakeystates on inactive inputconnection 08-21 10:41:07.559 13851-13851/com.project.ics.day0821rememberpassword i/choreographer: skipped 57 frames! application may doing work on main thread.

source code on github: https://github.com/gowufang/androidstu/tree/master/day0821rememberpassword


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -