Saturday, October 11, 2014

The Moto G one year on


I've never owned a brand-new smartphone. For those like me who opt for contract-free, inexpensive phone service, buying a new smartphone is cost prohibitive when the carrier isn't subsidizing the price in order to lock you in to a contract with a high monthly rate.

A little under a year ago, Motorola changed that when they announced the Moto G. Even before I bought one for a family member, I could tell it was the phone I'd been waiting for for a long time. No bells, no whistles, just things I cared about: performance, durability, battery life, and up-to-date software. All this at a price that meant someone like me could actually afford a brand-new smartphone that was actually worth buying.

Since that time, at my recommendation, a handful of friends and family members have also bought the Moto G, and they've all been quite happy. It lived up to my expectations, and continues to do so. Here are my impressions almost a year on:
  • Motorola has kept their word, and up to this point the Moto G is still running the latest version of Android
  • It's lightning fast, especially with ART enabled
  • The battery life is incredible, often going 2-3 days in between charges (with data off, which helps)
  • The price to this day remains competitive, and I've seen it sell for as little as $50 through carriers
  • It's quite durable, and I haven't had any need to take advantage of the included one-year warranty
  • Motorola has gone above and beyond by periodically providing fun boot animations
In case you're considering picking one up, there are currently 3 models:
  • First-generation Moto G
    • The original. This is the model that most carriers are selling. Unfortunately they're also mostly selling the 8 GB model, which isn't much storage. I would only recommend this one if your priority is saving money, or if you're sure you won't need the extra storage.
  • Moto G 4G
    • Released in June, identical to the first-gen Moto G but with an added SD card slot and LTE. This is the model I recommend for those that want to be able to use their phone with one hand.
  • Second-generation Moto G
    • Just released, the camera is upgraded, the speaker is moved to the front, an SD card slot is added, and the screen size is increased to 5 inches. I'd recommend this model to anyone who wants a big screen and doesn't necessarily need to use it with one hand.

Le Moto G un an après


Je n'ai jamais possédé un smartphone flambant neuf. Pour ceux comme moi qui optent pour un service de téléphone bon marché et sans contrat, l'achat d'un nouveau smartphone est prohibitif lorsque l'opérateur ne subventionne pas le prix afin de vous enfermer dans un contrat avec un taux mensuel élevé.

Il y a un an presque, Motorola a changé ça quand ils ont annoncé la Moto G. Même avant j'en ai acheté un pour un membre de la famille, je pourrais dire que c'était le téléphone que j'avais attendu depuis longtemps. Sans fanfreluches et tralalas, seulement des choses que je voulais : la performance, la durabilité, l'autonomie, et le logiciel à jour. Tout ça à un prix qui signifiait que quelqu'un comme moi puisse se permettre un tout nouveau smartphone qui était une vrai valeur d'achat.

Depuis ce temps, sur ma recommandation, une poignée d'amis et de membres de la famille ont également acheté le Moto G, et ils ont tous été très heureux. Il était et est à la hauteur de mes attentes. Voici mes impressions presque un an après :
Dans le cas où vous envisagez d'en acheter un, il y a actuellement 3 modèles :
  • Moto G de première génération
    • L'original. C'est le modèle que la plupart des opérateurs vendent. Malheureusement, ils aussi vendent le modèle de 8 Go pour la plupart, ce qui n'est pas beaucoup de stockage. Je recommanderais celui-ci seulement si votre priorité est de vous faire économiser de l'argent, ou si vous êtes sûr que vous n'aurez pas besoin de stockage supplémentaire. 
  • Moto G 4G 
    • Sorti en juin, identique au Moto G de première génération mais avec un emplacement pour une carte SD et le LTE ajouté. C'est le modèle que je recommande pour ceux qui veulent utiliser leur téléphone avec une seule main. 
  • Moto G de deuxième génération
    • Vient de sortir, l'appareil photo est mis à niveau, le haut-parleur est déplacé vers l'avant, une fente pour carte SD est ajouté, et la taille de l'écran est augmentée à 5 pouces. Je recommande ce modèle-ci à tous ceux qui veulent un grand écran et ne doit pas nécessairement l'utiliser avec une seule main.

Saturday, October 4, 2014

Android device keeps asking for adb authorization


My Android device kept asking me for authorization every time I would plug it into a certain computer. I knew it wasn't the device, because it worked fine with other computers.

Here's what worked:

  1. Delete the ADB key on the local machine
    rm ~/.android/adbkey*

  2. Restart the ADB server to recreate the key
    adb kill-server && adb start-server
That's it! The next time I connected to that computer, it asked me for authorization (since I had a new key), but it hasn't asked me since.

Appareil Android ne cesse de demander d'autorisation adb


Mon appareil Android n'arrêtait pas de me demander l'autorisation chaque fois que je le brancher sur un ordinateur donné. Je savais que ce n'était pas l'appareil, car il a bien fonctionné avec d'autres ordinateurs.

Voici ce qui a fonctionné :

  1. Supprimez la clé ADB sur l'ordinateur locale
    rm ~/.android/adbkey*

  2. Redémarrez le serveur ADB pour recréer la clé
    adb kill-server && adb start-server
C'est tout ! La prochaine fois que j'ai connecté à cet ordinateur là, il m'a demandé l'autorisation (puisque j'ai eu une nouvelle clé), mais il ne me l'a pas demandé depuis.

Friday, September 26, 2014

Using your gamepad with Steam games


So I recently picked up a game called Brothers: A Tale of Two Sons. I noticed that it said it requires a controller to play, but it also said "full controller support," so I thought it'd work fine with my old Gravis gamepad. So I started the game, and there was no controller option at all. What gives?

Well, Steam doesn't make this very clear, but buried in the support page for Big Picture mode, apparently full controller support only applies to two controllers: the Xbox 360 controller, and the Logitech F710 controller. Not only that, but apparently it only means that the controllers are guaranteed to work in Big Picture mode. So controller support for games is on a game-by-game basis. Great...

Thankfully, there's a solution! Here goes:

  1. First of all, just start your game and see if your controller works. Who knows, maybe it's supported. Of course, if it worked, you probably wouldn't be here...

  2. If you have a Playstation 3 controller, there's a special tool just for you called the MotionInJoy DS3 Tool.

  3. For the rest of us, there's a tool called x360ce that allows gamepads to emulate the Xbox 360 controller. So go to the x360ce downloads page and download the file that starts with  x360ce.App as well as one of the lib files. Most games are 32-bit, so you'll want the lib32 file. If you know if your game is 64-bit, however, download the lib64 file.

  4. Now open the game folder. The easiest way to do this is open Steam, right-click the game → Properties → Local Files → Browse Local Files. From there you'll need to browse to the folder where the main executable is to the game. This varies by game, but it's often a file with the same name and icon as the game.

    For Brothers: A Tale of Two Sons, the full path to the main executable (unless you install Steam in a non-standard location) is C:\Program Files (x86)\Steam\steamapps\common\Brothers - A Tale of Two Sons\Binaries\Win32

  5. Open the lib zip file you downloaded and copy the xinput1_3.dll file inside of it to the folder with the game executable that you just opened.

  6. Now open the app zip file that you downloaded, copy the x360ce.exe file inside of it also to the game executable folder, then run it.

  7. Plug your controller in if it isn't already plugged in.

  8. Click Yes when prompted to create the x360ce.ini file.

  9. You should get a popup to search the internet for settings for your controller, so click Next → Finish.

  10. Click OK if you get a warning message about the version of the configuration file. Unfortunately this message will pop up every time you start the game. If it annoys you too much, you can delete the xinput1_3.dll file and reopen x360.exe to recreate an older version of the file, but this may cause problems for certain controllers (it did for mine).

  11. On the controller tab that pops up, try out your controller and make sure it matches up with what's on the screen. If for some reason it doesn't (left and right were reversed on my left analog stick), click the Settings Database tab and then the Global Settings tab within that tab. Double-click on one of the settings to apply it, then go back to the controller tab to see if it worked. Repeat until you find one that works. If you don't find one that works, you'll have to adjust the settings manually.

  12. Once you've found settings that work for your controller, click Save and then close the window.
If you've done everything right, you should now be able to use your controller in your game. Open it up and give it a shot!

Utilisez votre manette de jeu avec des jeux Steam


J'ai récemment acheté un jeu appelé Brothers: A Tale of Two Sons. J'ai remarqué qu'il a besoin d'une manette de jeu, mais il a aussi dit « support manette complet, » alors j'ai pensé que ça fonctionnerait très bien avec ma vielle manette Gravis. Alors j'ai commencé le jeu, et il n'y avait pas d'option de manette de jeu du tout. Mais qu'est-ce qui se passe là ?

Eh bien, Steam ne le fait pas très clair, mais enfoui dans la page de soutien pour le mode Big Picture, apparemment support manette complet s'applique uniquement aux deux manettes: la manette de la Xbox 360, et la manette de Logitech F710. Non seulement ça, mais apparemment, ça signifie seulement que les manettes sont garantis de marcher en mode Big Picture. Donc, le soutien de manette dépend complètement du jeu individuel. Super ...

Heureusement, il y a une solution! On y va :

  1. Tout d'abord, commencer votre jeu et voir si votre manette fonctionne. Qui sait, peut-être elle va marcher. Bien sûr, si ça fonctionnait, vous ne seriez probablement pas ici ...

  2. Si vous avez une manette Playstation 3, il y a un outil spécial pour vous qui s'appelle MotionInJoy DS3 Tool.

  3. Pour le reste d'entre nous, il y a un outil appelé x360ce qui permet aux manettes d'émuler le contrôleur Xbox 360. Alors, allez à la page de téléchargements de x360ce et télécharger le fichier qui commence par x360ce.App ainsi que l'un des fichiers lib. La plupart des jeux sont 32 bits, de sorte que vous aurez besoin du fichier lib32. Si vous savez si votre jeu est en 64 bits, cependant, téléchargez le fichier lib64.

  4. Maintenant, ouvrez le dossier du jeu. La meilleure façon de le faire est d'ouvrir Steam, cliquez avec le bouton droit sur le jeu → Propriétés → Fichiers locaux → Parcourir les fichiers locaux. De là, vous aurez besoin de naviguer dans le dossier où se trouve le fichier exécutable principal. Ça varie selon le jeu, mais il est souvent un fichier avec le même nom et l'icône que le jeu.

    Pour Brothers: A Tale of Two Sons, le chemin complet de l'exécutable principal (sauf si vous installez Steam dans un emplacement non-standard) est C:\Program Files (x86)\Steam\steamapps\common\Brothers - A Tale of Two Sons\Binaries\Win32

  5. Ouvrez le fichier zip de lib vous avez téléchargé et copiez le fichier xinput1_3.dll dedans au dossier de l'exécutable du jeu que vous venez d'ouvrir.

  6. Maintenant, ouvrez le fichier zip de l'application que vous avez téléchargé, copiez le fichier de x360ce.exe dedans également au dossier exécutable du jeu, puis exécutez-le.

  7. Branchez votre contrôleur s'il n'est pas déjà branché.

  8. Cliquez sur Yes lorsque vous êtes invité à créer le fichier x360ce.ini.

  9. Vous devriez voir une fenêtre pour rechercher sur l'Internet pour les paramètres de votre contrôleur, alors cliquez sur Next → Finish.

  10. Cliquez sur OK si vous voir un message d'avertissement à propos de la version du fichier de configuration. Malheureusement, ce message apparaîtra à chaque fois que vous démarrez le jeu. Si ça vous ennuie trop, vous pouvez supprimer le fichier de xinput1_3.dll et rouvrir x360.exe pour recréer une version plus ancienne du fichier, mais ça peut causer des problèmes pour certains contrôleurs (il l'a fait pour le mien).

  11. Dans l'onglet de contrôleur qui apparaît, essayer votre manette et vous assurer qu'il correspond avec ce qui est sur ​​l'écran. Si pour quelque raison ce n'est pas le cas (la gauche et la droite ont été renversée sur mon stick analogique gauche), cliquez sur l'onglet Settings Database, puis sur l'onglet Global Settings dans cet onglet. Double-cliquez sur l'un des paramètres à appliquer, puis revenir à l'onglet du contrôleur pour voir si ça a fonctionné. Répétez jusqu'à ce que vous trouviez les paramètres qui fonctionnent. Si vous ne trouvez pas les paramètres qui fonctionnent, vous devrez ajuster les paramètres manuellement.

  12. Une fois que vous avez trouvé les réglages qui marchent pour votre manette, cliquez sur Save, puis fermez la fenêtre.
Si vous avez tout fait correctement, vous devriez maintenant être en mesure d'utiliser votre contrôleur dans votre jeu. Ouvrez-le et tenter le coup!

Saturday, September 6, 2014

The best task/to-do app for Android

I blogged a while back about there not being a viable replacement for the amazing Astrid Tasks task/to-do list app. Fortunately, that is no longer the case. I present to you: Tasks. Simple name, serious app.

Tasks essentially is the next version of Astrid. Since the Android version of Astrid was open-source, someone has picked up where Astrid left off after it was acquired by Yahoo, which means we still have a decent task/to-do list app for those of us who need more than the watered-down alternatives out there.

You can read my afore-mentioned post to see which specific apps I tried, but suffice it to say none of them had the features that Astrid did. In particular, I couldn't find these two features in any other app:

  • The ability to hide tasks until a certain date
  • The ability to repeat tasks based on when they were completed (instead of just when they were originally due)
What makes Astrid (and now Tasks) incredible is it hides all of those powerful features under a nice, clean interface, which makes it actually enjoyable to use.

So what are you waiting for? You can get Tasks for Android now from the Google Play Store.

Unfortunately, while Astrid was available for Android and iOS, the iOS version of Astrid wasn't open-source. So for those of you with an iPhone/iPad, you'll have to look elsewhere for a great task/to-do list app.