rbm1155
1
Are these APIs supported for WP8 ?
I wonder if these still works ?
-
native.showPopup(“appStore”, options)
-
network.request(“blabla”, “GET”, networkListener )
-
system.pathForFile( filename, system.DocumentsDirectory )
-
system.openURL(“blabla.url”)
-
require(‘socket’).connect(‘google.com’, 80)
>>1. native.showPopup(“appStore”, options)
No, but this can be done via…
system.openURL(“zune:reviewapp”)
…or in C# as posted here…
http://forums.coronalabs.com/topic/51718-rate-your-windows-phone-app/
>> 2. network.request(“blabla”, “GET”, networkListener )
>> 3. system.pathForFile( filename, system.DocumentsDirectory )
>> 4. system.openURL(“blabla.url”)
>> 5. require(‘socket’).connect(‘google.com’, 80)
Yes. Those APIs are supported on WP8.
For your reference, we document which Lua APIs are supported on WP8 here…
http://docs.coronalabs.com/daily/coronacards/wp8/support.html
Hi Joshua,
Thank you for the reply.
does system.openURL(“zune:reviewapp”) automatically goes to the app store ? we don’t need to put
any app identification unique id ? does “zune:reviewapp” automatically refers to the app?
how about if we need to open another app ? this is in relation to house ads, where we want the
customer to buy another app.
and how about all developer’s app, in relation to “more games by developer” where it should show
the developer’s app showcase.
Thanks
-Bobby
The URL “zune:reviewapp” goes to the review page for the currently running app.
You can also use “zune:navigate?appid=<YourOtherAppId>” to display another app in the store.
And there is also a “zune:search?publisher=<PublisherId>” to list all of your apps.
Note that I’ve never done the last 2 I mentioned above, but this is how it’s documented on Microsoft’s website here…
http://msdn.microsoft.com/en-us/library/windows/apps/jj662937(v=vs.105).aspx
Thank you Joshua for all the information. This should jumpstart my WP8 store publishing.
>>1. native.showPopup(“appStore”, options)
No, but this can be done via…
system.openURL(“zune:reviewapp”)
…or in C# as posted here…
http://forums.coronalabs.com/topic/51718-rate-your-windows-phone-app/
>> 2. network.request(“blabla”, “GET”, networkListener )
>> 3. system.pathForFile( filename, system.DocumentsDirectory )
>> 4. system.openURL(“blabla.url”)
>> 5. require(‘socket’).connect(‘google.com’, 80)
Yes. Those APIs are supported on WP8.
For your reference, we document which Lua APIs are supported on WP8 here…
http://docs.coronalabs.com/daily/coronacards/wp8/support.html
Hi Joshua,
Thank you for the reply.
does system.openURL(“zune:reviewapp”) automatically goes to the app store ? we don’t need to put
any app identification unique id ? does “zune:reviewapp” automatically refers to the app?
how about if we need to open another app ? this is in relation to house ads, where we want the
customer to buy another app.
and how about all developer’s app, in relation to “more games by developer” where it should show
the developer’s app showcase.
Thanks
-Bobby
The URL “zune:reviewapp” goes to the review page for the currently running app.
You can also use “zune:navigate?appid=<YourOtherAppId>” to display another app in the store.
And there is also a “zune:search?publisher=<PublisherId>” to list all of your apps.
Note that I’ve never done the last 2 I mentioned above, but this is how it’s documented on Microsoft’s website here…
http://msdn.microsoft.com/en-us/library/windows/apps/jj662937(v=vs.105).aspx
Thank you Joshua for all the information. This should jumpstart my WP8 store publishing.