I was getting some odd bugs with responsive design on some Android phones and need to test it. After spending an afternoon at the Shopping Mall annoying the everyone to let me test every Android phone I could find I decided to install the Android SDK on my MB Air running OS X 10.8
After some tweaks I managed to set the emulador working, there is plenty of tutorial online on that I couldn’t test my dev sites because I always use hosts and your localhost on the emulator 10.0.2.2 (if using MAMP with port 80 or add the port after the ip eg 10.0.2.2:8080).
So my solution was:
As I use a define so I only change one file from dev to production I have a define for my WEB_URL the only question was to change that define:
BONUS TIP: Giving the Emulator localhost access
When you create a Avd you need to give it a name change myAvdNameHere to the name you gave Avd and this way you have access to localhost
emulator -avd myAvdNameHere -partition-size 128
More on this Emulator localhost acceess
Note to self:
./emulator -avd phone -partition-size 128
This christmas I offered myself an htc magic from Portuguese provider TMN.
This came with a “perfect” SPL 1.33.0014.
After a few hours searching I ended up using the goldcard method to flash it up.
I followed http://vivekgolecha.blogspot.com/2009/08/as-promised-i-said-i-would-come-up-with.html but with some changes.
I 1. no need to download the fastboot as it comes by default with the new sdk
II 1. I used a sandisk 1gb without a problem.
II 12. i quick formated the sd card to fat32 on my computer on this step (not sure if it was needed)
II 13. choose the “removable disk” from the bottom option and NOT the top eg:”Untitled Disk (F:)” – I almost gave up here. So simple and was my main problem.
III 1. Used “ROM v2.53.707.2 (Engineerings SPL v1.33.2010)” as you cannot downgrade spl for me this was the only option
III 29. My sdcard was causing some media error. I took it out and without it no problem. I ended up formating it using the phone and it re-started working fine.
And thats all you need to change spl.
After that I followed this tutorial http://forum.pplware.com/showthread.php?tid=4043&page=1 (Portuguese) my recovery page looked and gave me some diferent options, but it was common sense.
Its working fine. Faster and without any errors or bugs. so far 🙂