Hi
I am trying to receive data over an implicit intent in android.
I figured out where you can modify the android manifest to register an
intent filter (
https://doc.pcsoft.fr/en-US/?9000109#NOTE_CONFIG),
but I can't get the data because it is send to the main activity and god
knows where that is.
The code in android studio would look something like this:
import android.app.Activity; import android.content.Intent;
public class MainActivity extends Activity {
activity?
...
onNewIntent method @Override public void onNewIntent(Intent i)
{
handleDecodeData(i); }
handleDecodeData(Intent i) {
...
}
}
One solution would be to make an external .aar in android studio, but
that would split the code and make it clunky.
A different approach would be to define a second activity, but for that
I would need to define a java class and I didn't figure out how to do
that in Windev.
It seems like an essential functionality, maybe I’m missing something?
Any help would be appreciated.