How to detect facebook message bubble is appearing android? -


i want know how detect message bubble running. log file found action when tap bubble: "com.facebook.orca.notify.action_clear_thread" "com.facebook.orca.notify.action_clear_friend_install" try catch broadcastreceiver can't listen.

androidmanifest:

<receiver         android:name="facebookreceiver"         android:enabled="true"         android:permission="com.facebook.permission.prod.fb_app_communication">         <intent-filter android:priority="499">             <action android:name="com.facebook.orca.notify.action_clear_thread" />             <action android:name="com.facebook.orca.notify.action_clear_friend_install" />             <action android:name="com.facebook.orca.chatheads.action_show_chatheads" />             <action android:name="com.facebook.orca.chatheads.action_hide_chatheads" />             <action android:name="com.facebook.orca.chatheads.action_set_chatheads_policy" />         </intent-filter>     </receiver> 

facebookreceiver:

public class facebookreceiver extends broadcastreceiver { @override public void onreceive(context context, intent intent) {     if (intent.getaction() != null) {         log.d("facebookreceiver ", "onreceive" + intent.getaction());         intent newintent = new intent(context, myservice.class);         newintent.putextra("action", intent.getaction());         context.startservice(newintent);     } } 

}

so, how can action ? please give me solution. !


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -