- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi.
I want to ask. how can i create widget for android ? ... please i need this.
- Balises:
- HTML5
- Intel® XDK
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I assume you mean a widget for the Android desktop? That can only be done by creating a custom plugin for Android. There is no general-purpose way to do this with a Cordova app.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hmm ok ... thx and i have 1 question. I want to create some code for saving game data. Everithing what peaple do is saved in the some files or some text files. And here is one problem i create everithing with html. I want to create code for html save data if you turn off apk and you turn on again is switched on not index.html but some another html files where this player turn off game. ... and sorry for my english language.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
In a Cordova app, which you are building, it is best to use a single HTML file and then hide/show divs to represent multiple pages within that app. Then store your data in a local file using the "file" plugin or using something like the SQLite plugin. You can store your game state using the same technique. When your game starts, read the contents of that file and configure your state accordingly.
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable