in your post: https://www.b4x.com/android/forum/t...ivityforresult-with-javaobject.40374/#content
Shouldn't the below sub be "Sub GetBA as JavaObject"?
Where can I find a list of intents and when do we preface the intent with "android.intent.action.xxxxxxx"?
I used your demo code with the JavaObject and it worked great.
I am having a problem integrating the wigits code:
into that code. (TSStart is a widget that is installed.)
Can you advise?
Regards,
Rusty
Shouldn't the below sub be "Sub GetBA as JavaObject"?
B4X:
Sub GetBA As ObjectDim jo AsJavaObject
Dim cls AsString = Me
cls = cls.SubString("class ".Length)
jo.InitializeStatic(cls)Return jo.GetField("processBA")End Sub
I used your demo code with the JavaObject and it worked great.
I am having a problem integrating the wigits code:
B4X:
Dim i As Intent
i.Initialize("android.intent.action.ACTION_APPWIDGET_PICK", "")
i.PutExtra("android.intent.extra.EXTRA_APPWIDGET_ID", "TSStart")
StartActivityForResult(i)
Can you advise?
Regards,
Rusty