- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Olá!
Tenho um aplicativo web mobile criado com base em jquerymobile em php. Minha intenção é gerar um apk dele. Pois bem, criei um projeto em branco e após o app.ready, coloquei um window.location.replace apontando pro aplicativo. Utilizando em debug (com um celular conectado) ele funciona perfeitamente conforme o esperado, porém ao gerar o apk ele abre começa a carregar e se fecha sozinho. O mesmo acontece quando tento o acesso pelo app preview. O projeto em branco também fiz com base em jquerymobile.
Tentei utilizar o iframe em um app em branco e também não funcionou.
Será que alguém tem alguma ideia de como funciona em debug perfeitamente e nos demais não?
Muito obrigado.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please clarify:
Your app
- works fine using the Debug tab (with a cell connection)
- does not work using App Preview (via a USB connection?)
- does not work when you build the apk and download it via the email link
Is that correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. Thank you for send message.
Yes, I'm using debug direct in the mobile phone by usb connection.
When I use in:
Using window.location.replace() after document.addEventListener("app.Ready", register_event_handlers, false); -------->
Emulate: Works fine, but with font problems (just).
In Debug using USB and a smartphone: Perfect works
In app preview, open with wi-fi (Local Apps) : Stop and close in first page
In app preview, open with wi-fi (Server apps): Stop and close in first page
Generating and install the apk : Stop and close in first page
Using a iframe -------->
Develop/Design : Works fine, but with font problems (just).
Emulate: Works fine, but with font problems (just).
In Debug using USB and a smartphone: Perfect works
In app preview, open with wi-fi (Local Apps) : Stop and close in first page
In app preview, open with wi-fi (Server apps): Stop and close in first page
Generating and install the apk : Stop and close in first page
That's it. Sorry for my bad english.Thank's again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you send your project in a .zip file? You can private message on this thread. Some websites have X-frame options set which does not allow those URLs to be launched through iframe for security reasons. If you are trying to load such URLs they will not work on device although they will work in design mode and Emulator.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page