hi to everybody,
i must insert the code below to manifest:
someone can help me to translate for b4a?
thanks
[CODE /]
lang="b4x" title="manifest"]<activity
android:name="com.example.URLResponseActivity"
android:label="Payment Result">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<action android:name="com.example.URLResponseActivity"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<!-- Provide your own scheme here and reference it when you send a message -->
<data
android:scheme="mycallbackscheme"
android:host="result"/>
</intent-filter>
</activity>[/CODE]
You do not say where this information comes from and what you want to do with it. Maybe there is a solution that doesn't require putting anything in the manifest at all.
stringURI="payclient://pay/v1?mKey=1&appId=TestDialogs&action=sale&clientTransactionId=1234567801234&amount="& value & "&callback=mycallbackscheme://result"
Dim intent1 As Intent
intent1.Initialize(intent1.ACTION_VIEW, stringURI )
intent1.PutExtra("output", Result)
so,
i must received a response in this way
(i dont know translate in b4a)
Uri result = getIntent().getData()`
i suppose that manifest row must insert to have a response