Skip to content

Instantly share code, notes, and snippets.

@mizutori
Created September 4, 2014 06:48
Show Gist options
  • Select an option

  • Save mizutori/1ff84ff8c8820daed838 to your computer and use it in GitHub Desktop.

Select an option

Save mizutori/1ff84ff8c8820daed838 to your computer and use it in GitHub Desktop.
Intent intent = getIntent();
Uri uri = intent.getData();
if(uri != null){
final String source = intent.getData().getQueryParameter(“source”);
final String locale = intent.getData().getQueryParameter(“locale”);
Log.d("intent params", “source=" + source + “,locale=" + locale);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment