HTTP Logging

FYI, you can log http via :

https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging#Firefox_OS_phones

Posted in Uncategorized | Leave a comment

Geolocation 1.1…

Using the information I got from : http://www.modaco.com/topic/351968-satelite-fix-for-gps/

I was able to get the inari 1.1 using the commercial ril to work using the files here :

https://drive.google.com/file/d/0B_0LdM1CVycINVZRZDhRUG8xc1E/edit?usp=sharing

You may need to fix the ntp if you are not in the US using : http://www.pool.ntp.org/ as a reference.

This is how to create a root cert for SUPL google.com: http://blog.cryptomilk.org/2012/07/24/how-to-create-a-suplrootcert-for-supl-google-com/

I also googled the config for : etc/quipc.conf because it seemed to complain that that file didn’t exist in the logs…

I’m not sure if I got things right… at the same time it seems to be at least giving a semi close location.

Aside | Posted on by | Leave a comment

images for b2g/emulator

http://bit.ly/19el2w3 

http://bit.ly/1bvuuhp 

u: ubuntu p: reverse

Posted in Uncategorized | 2 Comments

https://github.com/jrburke/gaia-dev-zip#for-the-developer

Just recently heard about this… it’s something for dev to use so UX can review easier.

Aside | Posted on by | Tagged , | Leave a comment

B2G Compilation error on Mac OS X

On Mac OS X 10.7 or newer, with Xcode 4.5 or newer, if you ran into this compilation error:

host Executable: sqlite3 (out/host/darwin-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3)
Undefined symbols for architecture i386:
  “_sqlite3_androidopt_handle_pragma”, referenced from:
      _sqlite3Pragma in sqlite3.o
      _sqlite3Pragma in sqlite3.o
  “_sqlite3_androidopt_open”, referenced from:
      _openDatabase in sqlite3.o
      _openDatabase in sqlite3.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make: *** [out/host/darwin-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3] Error 1

Modify the file :
/external/sqlite/dist/Android.mk

To match what is similar to this patch:

diff –git a/dist/Android.mk b/dist/Android.mk

index 3fdaefc..3f217c5 100644
— a/dist/Android.mk
+++ b/dist/Android.mk
@@ -133,6 +133,9 @@ ifneq ($(HOST_OS),freebsd)
 LOCAL_LDLIBS += -ldl
 endif
 endif
+ifeq ($(HOST_OS),darwin)
+LOCAL_LDFLAGS += -Wl,-U,_sqlite3_androidopt_open -Wl,-U,_sqlite3_androidopt_handle_pragma
+endif
 
 LOCAL_MODULE := sqlite3
A good explanation of what’s going on can be found here:
Special thanks to : Pekka Nikander for posting the solution at : https://groups.google.com/forum/#!msg/android-building/yAfPyUqCsiQ/7zvICk4GWjYJ
[update: https://bugzilla.mozilla.org/show_bug.cgi?id=898660 filed and I placed a patch in there]
Posted in B2G, Gaia, Planet, QA, QMO | Tagged , , , , | Leave a comment

My dad once told me that “you have to keep learning and growing or else technology will leave you behind.”

 

In the case of testing, that is true.  you have to keep learning and growing with the product in order to have better tests and test cases that will find bugs.  If you keep running the same tests over without reevaluating the test cases, the test cases can grow stale and out of date.

 

I encourage people to keep pushing themselves and keep learning… and share that knowledge.

 

My dad had told me that the people that keep pushing themselves prove to be the more valuable people to the company.

 

I hope my dad’s right.

Aside | Posted on by | Leave a comment

One of the quickest ways to test the

One of the quickest ways to test the master/Mozilla Central build is to use the nightlies.

You can find the versions listed here :

https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/nightly/

Sometimes the fix is in a version after the build has been made.  In this case you can build Gaia on top of that build.  There is no need to build gecko in this case.  I’ve also done a similar thing when there used to be a ux branch.  I would place on the v1-train and then flash the ux branch on top.

For testing the ril, I do compile gecko with a different device.  Having said that I compile for the v1-train.  I do not compile gecko for the unagi.

 

[Edit: https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator/ is an simulator addon for firefox]

For the VM, I will have to compile the emulator, which I haven’t done yet before.  I’m going to try to get that done this week on my own spare time.

Aside | Posted on by | Leave a comment