<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>abortBroadcast Archives - Truiton</title>
	<atom:link href="https://www.truiton.com/tag/abortbroadcast/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Technology Reaching Us In Time - Online</description>
	<lastBuildDate>Mon, 25 Nov 2019 12:21:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.truiton.com/wp-content/uploads/2022/11/cropped-truiton_new_logo_half_white.png?fit=32%2C32&#038;ssl=1</url>
	<title>abortBroadcast Archives - Truiton</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">54534495</site>	<item>
		<title>Android sendOrderedBroadcast Example with Priority</title>
		<link>https://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/</link>
					<comments>https://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/#comments</comments>
		
		<dc:creator><![CDATA[Mohit Gupt]]></dc:creator>
		<pubDate>Sun, 21 Apr 2013 17:35:01 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[abortBroadcast]]></category>
		<category><![CDATA[BroadcastReceiver]]></category>
		<category><![CDATA[tutorial]]></category>
		<guid isPermaLink="false">http://blog.truiton.com/?p=227</guid>

					<description><![CDATA[<p>In Android stack there are many classes which are under utilized. Recently at Truiton I came across another one, and thought of advertising it by Android sendOrderedBroadcast Example with Priority tutorial. Android sendOrderedBroadcast falls in Ordered Broadcasts category of Android broadcasts, which are defined in Context class. Broadly speaking Android has two types of broadcasts&#8230;&#160;<a href="https://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/" rel="bookmark">Read More &#187;<span class="screen-reader-text">Android sendOrderedBroadcast Example with Priority</span></a></p>
<p>The post <a href="https://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/">Android sendOrderedBroadcast Example with Priority</a> appeared first on <a href="https://www.truiton.com">Truiton</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-image"><figure class="aligncenter"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="640" height="418" data-attachment-id="234" data-permalink="https://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/audio-mix/" data-orig-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/4370021957_087414d94f_z.jpg?fit=640%2C418&amp;ssl=1" data-orig-size="640,418" data-comments-opened="1" data-image-title="Audio Mix" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/4370021957_087414d94f_z.jpg?fit=640%2C418&amp;ssl=1" src="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/4370021957_087414d94f_z.jpg?resize=640%2C418" alt="Audio Mix" class="wp-image-234" srcset="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/4370021957_087414d94f_z.jpg?w=640&amp;ssl=1 640w, https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/4370021957_087414d94f_z.jpg?resize=300%2C195&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" /></figure></div>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">In Android stack there are many classes which are under utilized. Recently at <a title="Truiton" href="http://www.truiton.com" target="_blank" rel="noopener noreferrer">Truiton</a> I came across another one, and thought of advertising it by <a title="Android sendOrderedBroadcast Example with Priority" href="http://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/">Android sendOrderedBroadcast Example with Priority</a> tutorial. Android <a title="Android sendOrderedBroadcast" href="http://developer.android.com/reference/android/content/Context.html#sendOrderedBroadcast%28android.content.Intent,%20java.lang.String,%20android.content.BroadcastReceiver,%20android.os.Handler,%20int,%20java.lang.String,%20android.os.Bundle%29" target="_blank" rel="noopener noreferrer">sendOrderedBroadcast</a> falls in Ordered Broadcasts category of Android broadcasts, which are defined in <em>Context</em> class.</p>



<p class="wp-block-paragraph">Broadly speaking Android has two types of broadcasts :</p>



<ol class="wp-block-list"><li><span style="text-decoration: underline;">Normal Broadcasts</span>: Under this category broadcasts are sent in an asynchronous fashion i.e. broadcast is received by all the receivers in an asynchronous manner. It has two types:
<ul>
<li>* sendBroadcast &#8211; It is explained in <a title="Android Force Close Application : Session Timeout" href="http://www.truiton.com/2013/03/android-force-close-application-session-timeout/" target="_blank" rel="bookmark noopener noreferrer">Android Force Close Application : Session Timeout</a> tutorial.</li>
<li>* LocalBroadcastManager &#8211; This class is used to send local broadcasts i.e. within the app.</li>
</ul>
</li><li><span style="text-decoration: underline;">Ordered Broadcasts</span>: This category is the focus category for this <a title="Android sendOrderedBroadcast Example with Priority" href="http://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/" target="_blank" rel="noopener noreferrer">Android sendOrderedBroadcast Example with Priority</a> tutorial. Ordered Broadcast is the type of broadcast which is sent in a synchronous manner i.e. one by one to each listener.</li></ol>



<p class="wp-block-paragraph">Android <em>sendOrderedBroadcast</em> method falls in <em>Context</em> class of Android, the purpose of this method is to broadcast to listening receivers in a serialized manner and receive the result back to the calling activity.&nbsp;I was looking for something like&nbsp;Android <em>sendOrderedBroadcast</em> long back but wasn&#8217;t able to find it. Another key advantage of <em>sendOrderedBroadcast</em> is that we can set the priority of <em>BroadcastReceiver</em>. This way all the&nbsp;<em>BroadcastReceivers</em> listening to that specific broadcast will receive that specific broadcast in an ordered manner. Now since we are receiving broadcasts in an ordered way, there might exist a case, when you wish to interrupt the flow of receivers, guess what even this can be done, by <em>abortBroadcast(). </em></p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">To explain the concept of Android sendOrderedBroadcast, I&#8217;ll be defining three classes out of which two would be purely BroadcastReceivers. Lets start Android sendOrderedBroadcast example with <strong>SendOrderedBroadcastActivity</strong> below:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="java" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">package com.truiton.sendorderedbroadcast;

import android.os.Bundle;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.util.Log;
import android.view.Menu;

public class SendOrderedBroadcastActivity extends Activity {
 private static String Log_Tag = "SendOrderedBroadcastActivity";
 private static String Action = "com.truiton.OrderedBroadcast";
    private static String Extras = "Breadcrumb";

 @Override
 protected void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 setContentView(R.layout.send_ordered_broadcast);

 IntentFilter filter = new IntentFilter(Action);

        registerReceiver(new BroadcastReceiver() {
            @Override
            public void onReceive(Context context, Intent intent) {
                Bundle results = getResultExtras(true);
                String trail = results.getString(Extras);
         results.putString(Extras, trail + "->" + Log_Tag);
                Log.i(Log_Tag, "Same Class Receiver");
            }
        }, filter);

        Intent intent = new Intent(Action);
        sendOrderedBroadcast(intent, null, new BroadcastReceiver() {
            @SuppressLint("NewApi")
 @Override
            public void onReceive(Context context, Intent intent) {
                Bundle results = getResultExtras(true);
                Log.i(Log_Tag, "Final Result Receiver = " + results.getString(Extras, "nil"));
            }
        }, null, Activity.RESULT_OK, null, null);
 }

 @Override
 public boolean onCreateOptionsMenu(Menu menu) {
 // Inflate the menu; this adds items to the action bar if it is present.
 getMenuInflater().inflate(R.menu.send_ordered_broadcast, menu);
 return true;
 }

}</pre>



<p class="wp-block-paragraph">Lets have a closer look at the class above, to send an ordered broadcast, at-least we need an <em>Intent</em> with an action. Now since we are using Android sendOrderedBroadcast, I declared a BroadcastReceiver inside the sendOrderedBroadcast method. This receiver would be used to capture the final result after all the BroadcastReceivers are executed.</p>



<p class="wp-block-paragraph">In the class above I have also registered a receiver. This receiver would be executed just before the final result receiver as priority is not defined for this receiver. In this Android sendOrderedBroadcast example with priority I would be registering two more receivers with priorities in separate classes. But before doing that lets have a look at the manifest file for this app.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="xml" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">&lt;?xml version="1.0" encoding="utf-8"?>
&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.truiton.sendorderedbroadcast"
    android:versionCode="1"
    android:versionName="1.0" >

    &lt;uses-sdk
        android:minSdkVersion="8"
        android:targetSdkVersion="17" />

    &lt;application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        &lt;activity
            android:name="com.truiton.sendorderedbroadcast.SendOrderedBroadcastActivity"
            android:label="@string/app_name" >
            &lt;intent-filter>
                &lt;action android:name="android.intent.action.MAIN" />

                &lt;category android:name="android.intent.category.LAUNCHER" />
            &lt;/intent-filter>
        &lt;/activity>

        &lt;receiver android:name=".TruitonReceiver" >
            &lt;intent-filter android:priority="1" >
                &lt;action android:name="com.truiton.OrderedBroadcast" />
            &lt;/intent-filter>
        &lt;/receiver>
        &lt;receiver android:name=".TruitonReceiverTwo" >
            &lt;intent-filter android:priority="2" >
                &lt;action android:name="com.truiton.OrderedBroadcast" />
            &lt;/intent-filter>
        &lt;/receiver>
    &lt;/application>

&lt;/manifest></pre>



<p class="wp-block-paragraph">Have a look at the Manifest above, in this Manifest two receivers have been declared &#8211; <em>TruitonReceiver</em>, and <em>TruitonReceiverTwo</em>. These <em>BroadcastReceivers</em> are defined in separate classes and they listen to <em>com.truiton.OrderedBroadcast</em> action. Lets have a closer look at the <em>intent-filter</em> tags, their priority is also defined. Here 1 is the lowest priority, therefore when an ordered broadcast is sent in with action specified for these receivers, TruitonReceiverTwo will be called first as it has the highest priority.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="java" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">package com.truiton.sendorderedbroadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class TruitonReceiverTwo extends BroadcastReceiver {
 private static String Log_Tag = "TruitonReceiverTwo";
 private static String Extras = "Breadcrumb";
 @Override
 public void onReceive(Context context, Intent intent) {
 Bundle results = getResultExtras(true);
 results.putString(Extras, Log_Tag);
 Log.i(Log_Tag, "Priority = 2");
 //abortBroadcast();
 }

}</pre>



<p class="wp-block-paragraph">Here in <em>TruitonReceiverTwo</em> class, result extras from Android <em>sendOrderedBroadcast</em> are captured by <em>getResultExtras() </em>method, and a breadcrumb trail is created. This will be printed in final receiver. Also in this class I have commented out abortBroadcast() method, I&#8217;ll explain the significance of it later in tutorial. Next lets have a look at <strong>TruitonReceiver</strong> class.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="java" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">package com.truiton.sendorderedbroadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class TruitonReceiver extends BroadcastReceiver {
 private static String Log_Tag = "TruitonReceiver";
 private static String Extras = "Breadcrumb";

 @Override
 public void onReceive(Context context, Intent intent) {
 Bundle results = getResultExtras(true);
 String trail = results.getString(Extras);
 results.putString(Extras, trail + "->" + Log_Tag);
 Log.i(Log_Tag, "Priority = 1");
 }

}</pre>



<p class="wp-block-paragraph">Here the code is similar to <strong>TruitonReceiverTwo</strong>, hence needs no explanation. The only difference is that this BroadcastReceiver has a lower priority i.e. 1, therefore it will be called after the TruitonReceiverTwo. Now if we run&nbsp;Android sendOrderedBroadcast example with priority we should get final receiver result as <em>TruitonReceiverTwo-&gt;TruitonReceiver-&gt;SendOrderedBroadcastActivity</em>. Have a look at the screen shots:</p>



<ul data-carousel-extra='{&quot;blog_id&quot;:1,&quot;permalink&quot;:&quot;https://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/&quot;}'  class="wp-block-gallery columns-3 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex"><li class="blocks-gallery-item"><figure><a href="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast1.png?ssl=1"><img data-recalc-dims="1" decoding="async" width="1007" height="230" data-attachment-id="230" data-permalink="https://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/sendorderedbroadcast1/" data-orig-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast1.png?fit=1007%2C230&amp;ssl=1" data-orig-size="1007,230" data-comments-opened="1" data-image-title="" data-image-description="" data-image-caption="&lt;p&gt;Android sendOrderedBroadcast Log&lt;/p&gt;
" data-large-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast1.png?fit=1007%2C230&amp;ssl=1" src="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast1.png?resize=1007%2C230&#038;ssl=1" alt="Android sendOrderedBroadcast Log" data-id="230" class="wp-image-230" srcset="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast1.png?w=1007&amp;ssl=1 1007w, https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast1.png?resize=300%2C68&amp;ssl=1 300w" sizes="(max-width: 1007px) 100vw, 1007px" /></a></figure></li><li class="blocks-gallery-item"><figure><a href="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast2.png?ssl=1"><img data-recalc-dims="1" decoding="async" width="332" height="590" data-attachment-id="231" data-permalink="https://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/sendorderedbroadcast2/" data-orig-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast2.png?fit=332%2C590&amp;ssl=1" data-orig-size="332,590" data-comments-opened="1" data-image-title="" data-image-description="" data-image-caption="&lt;p&gt;Android sendOrderedBroadcast&lt;/p&gt;
" data-large-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast2.png?fit=332%2C590&amp;ssl=1" src="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast2.png?resize=332%2C590&#038;ssl=1" alt="Android sendOrderedBroadcast" data-id="231" class="wp-image-231" srcset="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast2.png?w=332&amp;ssl=1 332w, https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast2.png?resize=168%2C300&amp;ssl=1 168w" sizes="(max-width: 332px) 100vw, 332px" /></a></figure></li><li class="blocks-gallery-item"><figure><a href="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast3.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" width="1008" height="171" data-attachment-id="232" data-permalink="https://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/sendorderedbroadcast3/" data-orig-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast3.png?fit=1008%2C171&amp;ssl=1" data-orig-size="1008,171" data-comments-opened="1" data-image-title="" data-image-description="" data-image-caption="&lt;p&gt;Android sendOrderedBroadcast abortBroadcast()&lt;/p&gt;
" data-large-file="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast3.png?fit=1008%2C171&amp;ssl=1" src="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast3.png?resize=1008%2C171&#038;ssl=1" alt="Android sendOrderedBroadcast abortBroadcast" data-id="232" class="wp-image-232" srcset="https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast3.png?w=1008&amp;ssl=1 1008w, https://i0.wp.com/www.truiton.com/wp-content/uploads/2013/04/sendOrderedBroadcast3.png?resize=300%2C50&amp;ssl=1 300w" sizes="auto, (max-width: 1008px) 100vw, 1008px" /></a></figure></li></ul>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Here in the third screenshot, I used <span style="text-decoration: underline;"><em>abortBroadcast()</em></span> method to abort the broadcast, at the first receiver i.e. <strong>TruitonReceiverTwo</strong>. This caused the Android sendOrderedBroadcast example with priority to break the normal flow and skip directly to the final result receiver.</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">With this I can conclude Android sendOrderedBroadcast tutorial. In this tutorial I created a class which fired a <em>sendOrderedBroadcast</em> method of <em>Context</em> class. Which invoked three <em>BroadcastReceiver</em>s of which two were prioritized. This resulted in a breadcrumb trail which helped us figure out execution order of <em>BroadcastReceiver</em>s. Hope this helped you, if it did please like, +1 and share this tutorial on Google+ and Facebook.</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img alt='Mohit Gupt' src='https://secure.gravatar.com/avatar/a816092ad56645d2635ccfceb9f7e9d44821c19dec126cb394c882ba574eaa04?s=100&#038;d=mm&#038;r=g' srcset='https://secure.gravatar.com/avatar/a816092ad56645d2635ccfceb9f7e9d44821c19dec126cb394c882ba574eaa04?s=200&#038;d=mm&#038;r=g 2x' class='avatar avatar-100 photo' height='100' width='100' itemprop="image"/></div><div class="saboxplugin-authorname"><a href="https://www.truiton.com/author/mohitgupt/" class="vcard author" rel="author"><span class="fn">Mohit Gupt</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Born in New Delhi, India. A software engineer by profession, an android enthusiast and mobile development evangelist. My motive here is to create a group of skilled engineers, who can build better software. Reason being programming is my passion, and also it feels good to make a device do something you want. Professionally I have worked with many software engineering and product development firms. As of now too, I am employed as a senior engineer in a leading tech company. In total I may have worked on more than 20 projects professionally, but whenever I get spare time I share my thoughts here at Truiton.</p>
</div></div><div class="saboxplugin-web "><a href="http://www.truiton.com" target="_self" >www.truiton.com</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Wordpress" target="_blank" href="https://www.truiton.com/author/mohitgupt/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-wordpress" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 512"><path fill="currentColor" d="M61.7 169.4l101.5 278C92.2 413 43.3 340.2 43.3 256c0-30.9 6.6-60.1 18.4-86.6zm337.9 75.9c0-26.3-9.4-44.5-17.5-58.7-10.8-17.5-20.9-32.4-20.9-49.9 0-19.6 14.8-37.8 35.7-37.8.9 0 1.8.1 2.8.2-37.9-34.7-88.3-55.9-143.7-55.9-74.3 0-139.7 38.1-177.8 95.9 5 .2 9.7.3 13.7.3 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l77.5 230.4L249.8 247l-33.1-90.8c-11.5-.7-22.3-2-22.3-2-11.5-.7-10.1-18.2 1.3-17.5 0 0 35.1 2.7 56 2.7 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l76.9 228.7 21.2-70.9c9-29.4 16-50.5 16-68.7zm-139.9 29.3l-63.8 185.5c19.1 5.6 39.2 8.7 60.1 8.7 24.8 0 48.5-4.3 70.6-12.1-.6-.9-1.1-1.9-1.5-2.9l-65.4-179.2zm183-120.7c.9 6.8 1.4 14 1.4 21.9 0 21.6-4 45.8-16.2 76.2l-65 187.9C426.2 403 468.7 334.5 468.7 256c0-37-9.4-71.8-26-102.1zM504 256c0 136.8-111.3 248-248 248C119.2 504 8 392.7 8 256 8 119.2 119.2 8 256 8c136.7 0 248 111.2 248 248zm-11.4 0c0-130.5-106.2-236.6-236.6-236.6C125.5 19.4 19.4 125.5 19.4 256S125.6 492.6 256 492.6c130.5 0 236.6-106.1 236.6-236.6z"></path></svg></span></a><a title="Twitter" target="_blank" href="http://twitter.com/mohitgupt" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Facebook" target="_blank" href="https://www.facebook.com/Mr.Mohit.Gupt" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a></div></div></div><p>The post <a href="https://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/">Android sendOrderedBroadcast Example with Priority</a> appeared first on <a href="https://www.truiton.com">Truiton</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.truiton.com/2013/04/android-sendorderedbroadcast-example-with-priority/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">227</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.truiton.com @ 2026-07-08 02:19:48 by W3 Total Cache
-->