Hi,
I would like to use parseUri instead of getIntent(); but parseUri the does not work. What I have to do ?
try {
//Intent intent = getIntent();
Intent intent = (android.content.Intent) parseUri( "android-app://com.example.myapp.MainActivity", 0); //
message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);
}
//catch (URISyntaxException ignore)
catch (Exception ignore)
{
message = "";
}// try catch
here is complette code:
uloz.to
for AndroidStudio 2022/Java
I would like to use parseUri instead of getIntent(); but parseUri the does not work. What I have to do ?
try {
//Intent intent = getIntent();
Intent intent = (android.content.Intent) parseUri( "android-app://com.example.myapp.MainActivity", 0); //
message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);
}
//catch (URISyntaxException ignore)
catch (Exception ignore)
{
message = "";
}// try catch
here is complette code:

058 APK 07 Java.zip
Last edited: