Android Question intent converter

zekigultekin

Member
Licensed User
Longtime User
Hi.
how can i convert this java code to basic


Intent intent = new Intent("android.intent.action.SEND"); // set intent to call ANPR SDK
intent.addCategory("android.intent.category.DEFAULT");
intent.setComponent(new ComponentName("com.birdorg.anpr.sdk.simple.camera", "com.birdorg.anpr.sdk.simple.camera.ANPRSimpleCameraSDK"));
i write like this
plakasdk.Initialize(plakasdk.ACTION_VIEW,"com.birdorg.anpr.sdk.simple.camera")
plakasdk.Initialize("com.birdorg.anpr.sdk.simple.camera","")
plakasdk.AddCategory("android.intent.category.DEFAULT")
StartActivity(plakasdk)
but it returned "No activity found to handele intent"
 

zekigultekin

Member
Licensed User
Longtime User
but how can i feed back intent value ?

i used this
B4X:
Sub Activity_Resume
Dim In As Intent
In = Activity.GetStartingIntent
If In <> Null Then
    If In.HasExtra("RESULT_OK") Then
          EditText2.Text=In.GetData
    End If
End If
End Sub

i couldnt take value
 
Upvote 0
Top