Java Code Examples for android.content.IntentFilter#actionsIterator()
The following examples show how to use
android.content.IntentFilter#actionsIterator() .
These examples are extracted from open source projects.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: container File: BroadcastSystem.java License: GNU General Public License v3.0 | 6 votes |
Intent dispatchStickyBroadcast(int vuid, IntentFilter filter) { Iterator<String> iterator = filter.actionsIterator(); while (iterator.hasNext()) { String action = iterator.next(); SystemBroadcastReceiver receiver = mSystemReceivers.get(action); if (receiver != null && receiver.sticky && receiver.stickyIntent != null) { Intent intent = new Intent(receiver.stickyIntent); SpecialComponentList.protectIntent(intent); intent.putExtra("_VA_|_uid_", vuid); mContext.sendBroadcast(intent); if (!iterator.hasNext()) { return receiver.stickyIntent; } } } return null; }
Example 2
Source Project: ZjDroid File: ContextImplHook.java License: Apache License 2.0 | 5 votes |
public String descIntentFilter(IntentFilter intentFilter){ StringBuilder sb = new StringBuilder(); Iterator<String> actions =intentFilter.actionsIterator(); String action = null; while(actions.hasNext()){ action = actions.next(); sb.append(action+","); } return sb.toString(); }
Example 3
Source Project: zjdroid File: ContextImplHook.java License: Apache License 2.0 | 5 votes |
public String descIntentFilter(IntentFilter intentFilter){ StringBuilder sb = new StringBuilder(); Iterator<String> actions =intentFilter.actionsIterator(); String action = null; while(actions.hasNext()){ action = actions.next(); sb.append(action+","); } return sb.toString(); }
Example 4
Source Project: AppTroy File: ContextImplHook.java License: Apache License 2.0 | 5 votes |
public String descIntentFilter(IntentFilter intentFilter){ StringBuilder sb = new StringBuilder(); Iterator<String> actions =intentFilter.actionsIterator(); String action = null; while(actions.hasNext()){ action = actions.next(); sb.append(action+","); } return sb.toString(); }
Example 5
Source Project: HeyGirl File: ContextImplHook.java License: Apache License 2.0 | 5 votes |
public String descIntentFilter(IntentFilter intentFilter){ StringBuilder sb = new StringBuilder(); Iterator<String> actions =intentFilter.actionsIterator(); String action = null; while(actions.hasNext()){ action = actions.next(); sb.append(action+","); } return sb.toString(); }
Example 6
Source Project: ZjDroid File: ContextImplHook.java License: Apache License 2.0 | 5 votes |
public String descIntentFilter(IntentFilter intentFilter){ StringBuilder sb = new StringBuilder(); Iterator<String> actions =intentFilter.actionsIterator(); String action = null; while(actions.hasNext()){ action = actions.next(); sb.append(action+","); } return sb.toString(); }