ブラウザからのuriで開いたアプリのintentで取得できるメソッドと値
Intent intent = getIntent();
としてintentを受け取った後
以下のメソッドを実行
(intent.getData())など
getData().toString(): myapp://com.efolab/openwith?hoge=1&moga=100 getAction(): android.intent.action.VIEW getDataString(): myapp://com.efolab/openwith?hoge=1&moga=100 getPackage(): error:java.lang.NullPointerException: println needs a message getScheme(): myapp getStringExtra('hoge'): error:java.lang.NullPointerException: println needs a message getType(): error:java.lang.NullPointerException: println needs a message resolveType(getContentResolver()): errorj:ava.lang.NullPointerException: println needs a message resolveType(context): error:java.lang.NullPointerException: println needs a message resolveTypeIfNeeded(getContentResolver()): error:java.lang.NullPointerException: println needs a message toString(): Intent { act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE] dat=myapp://com.efolab/openwith?hoge=1&moga=100 cmp=com.efolab/.Main } toURI(): myapp://com.efolab/openwith?hoge=1&moga=100#Intent;action=android.intent.action.VIEW;category=android.intent.category.BROWSABLE;component=com.efolab/.Main;end toUri(BIND_ABOVE_CLIENT): myapp://com.efolab/openwith?hoge=1&moga=100#Intent;action=android.intent.action.VIEW;category=android.intent.category.BROWSABLE;component=com.efolab/.Main;end