I’m writing a Rhomobile application targeted at iPhone and Android.
I need to create a custom url scheme, so that i can create urls that look like test://some-params that will launch my program and will pass it the params.
As far as I understand this is done in build.yml through the BundleURLScheme parameter, and then System.get_start_params() to get those parameters.
However, this works on the iPhone only as far as I understand.
Is there any way to make this work on Android too?
Thanks alot!
OKay, I’ve found the answer myself, in case anybody needs this too:
http://docs.rhomobile.com/rhodes/extensions#generating-a-native-extension-template
In that file add the following lines:
Only the
<data android:pathPrefix='' android:scheme='' android:host='' />line should be filled in with correct properties.