Copy link to clipboard
Copied
Hi,
I need call to the Wikitude app in a ios device. I have been looking in other threads, ways to call to an installed ios app to open a file. In my case, i need open an installed app in my device, that's only, but i dont find any ANE that it can help me.
Any idea to help me? Anyone know of any ANE util for this?
Thanks.
Copy link to clipboard
Copied
This can be done using URI Sheme. I jsut downloaded Wikitude and check it. Yes, it's supporting URI Shemes. You are lucky!
Here is sample AS3 code that can open Wikitude app from your Adobe Air app...
import flash.events.MouseEvent;
btn.addEventListener(MouseEvent.CLICK, callURL);
function callURL(e:MouseEvent):void{
navigateToURL(new URLRequest("wikitude://"));
}
So you don't need any ANE here. Just copy-paste this AS3
Copy link to clipboard
Copied
Hi, thanks for your answer.
What do I need to add to put in the InfoAdditions?
I've tried:
<iPhone>
<InfoAdditions><![CDATA[
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>com.camel.geo.iPadARIconAppB.iPadARIconAppB-scheme</string>
<key>CFBundleURLSchemes</key>
<array>
<string>iPadARIconAppB</string>
</array>
</dict>
</array>
]]></InfoAdditions>
<requestedDisplayResolution>high</requestedDisplayResolution>
</iPhone>
And i use this:
navigateToURL(new URLRequest("wikitude://"))
sorry, but although I have experience in flex, I have never created an app for mobile