Underlined TextView Onclick is Not Working ,When Background Service is Running in Android -
i using alarm manager sending data server every 10 minutes.
in same page using forgot password textview underline.
when service running in background onclick event of textview not working.
onclick of textview wants go next activity.
but when service stops works fine.
help me solve this.
forgotpasword = (textview) findviewbyid(r.id.forgotpasswordtext); forgotpasword.setpaintflags(forgotpasword.getpaintflags() | paint.underline_text_flag); forgotpasword.settext("forgot password?"); forgotpasword.setonclicklistener(this); @override public void onclick(view v) { switch (v.getid()) { case r.id.forgotpasswordtext: intent intent1 = new intent(sign_in.this, forgotpassword.class); startactivity(intent1); break; } } log message while clicking text view
07-08 11:59:19.545: i/surfacetextureclient(3620): [0x535a3b28] frames:8, duration:3.041000, fps:2.630215 07-08 11:59:21.645: d/ipcthreadstate(3620): [dn #5] br_clear_death_notification_done cookie 0x52fc1480 07-08 11:59:41.578: i/surfacetextureclient(3620): [0x535a3b28] frames:6, duration:3.007000, fps:1.995112 07-08 11:59:56.482: d/ipcthreadstate(3620): [dn #5] br_clear_death_notification_done cookie 0x52f0dcf8 07-08 11:59:56.483: d/ipcthreadstate(3620): [dn #5] br_clear_death_notification_done cookie 0x536b80b8
Comments
Post a Comment