Affichage des articles dont le libellé est repair. Afficher tous les articles
Affichage des articles dont le libellé est repair. Afficher tous les articles

samedi 24 août 2013

Repair you Local Storage d'Android

Local storage of le... Tous les web web developers connaissent surement ce petit stockage, of type cle/valeur, permettant de garder en mémoire des informations on a permanent basis.

html5-local-storage

Nous avons voulu utiliser cet espace de stockage web dans les Développements de Nos applications, hybrides. Malheureusement, son implementation n ' est pas complète dans les Webviews Android.

Voici comment and chaude:

South iOS, aucun problème. Le storage Local est commun à toutes les UIWebviews l'on instantiate. C ' est according to us attentes et à l'utilisation dans a browser web classique.

Le véritable problème est venu sur Android. Le Local storage exists well sur cette plate - forme comme on témoigne documentation. Revanche at, il n ' est pas commun à toutes les webviews. C ' c'est-à-dire that if l'on enregistre une valeur pour une Clé donnée dans une première webview, on ne peut pas recover dans une deuxième webview.

Dans notre cas, notre application gérant plusieurs webviews, c' était problématique.

Pour ce problème, nous avons Créé notre propre Local Storage single Côte Android, une simple local database, ainsi qu'une JavaScriptInterface implementant les méthodes «getItem», «set», «removeItem» et du «clear» localStorage habituel et permettant au JavaScript be made dans the Webview d'avoir accès à cette database.

Grace a quelques lignes JavaScript nous avons ensuite replaced him localStorage JavaScript par le notre, permettant ainsi à toutes us Webviews use les données meme.

United Nations shows code et a petit tuto sur available sont GitHub pour ceux auraient passé quelques nuits blanches à chercher une solution trouver sans the!

dimanche 12 mai 2013

The Pinky console in 1000 pieces: It will be very easy to repair!

By Gabriel Manceau may 8, 2013

Repair of the Pinky should be a breeze ! The long-awaited Android games console passed into the hands of the famous iFixit laboratory that once fully boned the beast to reveal the inner workings and to determine whether it is easy to repair the console problems.

The device would have built with ease and without any problems. Easy disassembly and repair, which earned the Ouya note 9 of 10 from the website! The ability to discover embedded the NVIDIA Tegra 3 processor and 1 GB RAM. Detail is important, had to leave more to the TV shoot a little cable with five measure developer of console Lester metal to make stable the whole and not the console fall. Everything seems to make, a facelift has undergone a success, including the joystick, since the first designed by the developer.

ouya reparer La console Ouya en 1000 morceaux : elle sera très facile à réparer !The Pinky easy to repair

Repair of the pinky is perhaps easy, but it is in the hands only of a few lucky ones. People who have already promoted the product, receive it and others have to wait a little to acquire the precious metals, which should earn money for $99. For this price, you will claim on the console and a joystick. The additional controller costs $50.

The iFixit team has removed also the lever, which is equipped with a Cortex-M3 processor. This time, it is slightly less good, as far as simply the hull on the printed circuit board and easy games to replace controller is soldered, if a wall to break, if you lose a game (it can happen). Easily repair of the pinky is an argument more eagerly awaited console. Will it be after its release?

about