- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a video application that has an area destined to subscribers. this area subscribers have a button to unsubscribe.
I need this button to cancel lead the user to click on the google play account option where he can unsubscribe.
nothing worked for me, can anybody help me? ;/
my code:
$('#cancel').click(function() { window.open("market://details?details?id=com.outfit7.talkingtomgoldrun", "_system"); });
I need open google play app! I don't need open in browser!
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Seems that you are going the correct way, but may be a typo?
details? is twice in your URL.
Regards,
Diego
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Diego Calp wrote:
Hello,
Seems that you are going the correct way, but may be a typo?
details? is twice in your URL.
Regards,
Diego
There is no typo, I removed the error! Diego, next, the user can enter the app and subscribe to get access to more videos, but the app settings wanted to leave a button to cancel the subscription and this button to open the location where the user is going to cancel, in which case it the account that is in the google play app, get it? Always open the google browser and even worse within the application! kk need to call the google play app
Não é erro de digitação não, eu já retirei o erro! Diego, seguinte, o usuário pode entrar no app e assinar para ter acesso a mais videos, mas nas configurações do app queria deixar um botão para cancelar a assinatura e que esse botão abrisse o local onde o usuário vai para cancelar, que no caso é a account que se encontra no app da google play, entendeu? Sempre abre o google no navegador e ainda pior dentro da aplicação! kk preciso que chame o app google play na partde de compras.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try using the inAppBrowser plugin and calling the inAppBrowser APIs directly, rather than using window.open. You will have more control using the inAppBrowser API, including opening a window in the device's mobile browser, in the webview or in a captive mobile browser view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Felipe,
I did a test in a App Preview in a tablet with android 5.0 and this statement
window.open("market://details?id=com.outfit7.talkingtomgoldrun", "_system");
opens Talking Tom Gold Run in Play Store App, not the browser, not into the XDK app.
My test was using Framework 7, but I think that this is not important.
Regards
Diego
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Diego Calp wrote:
Hello Felipe,
I did a test in a App Preview in a tablet with android 5.0 and this statement
window.open("market://details?id=com.outfit7.talkingtomgoldrun", "_system");opens Talking Tom Gold Run in Play Store App, not the browser, not into the XDK app.
My test was using Framework 7, but I think that this is not important.
Regards
Diego
really?!
here open browser ;/
you build app or testing in tab debug?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tested on the device using App Preview. In XDK uploaded the files through TEST tab, and then in App Preview run it from Server Apps.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page