CloudServices/NativeSync: Difference between revisions

Jump to navigation Jump to search
Line 88: Line 88:


=== Running Fennec ===
=== Running Fennec ===
EDIT: Fennec Native has been moved to mozilla-central.
The directions at [[Fennec/NativeUI | Building Native Fennec]] should be correct, specifically [[Fennec/NativeUI#How_To_Build | How To Build]].
 
hg clone http://hg.mozilla.org/mozilla-central/
 
The rest of the directions at [[Fennec/NativeUI | Building Native Fennec]] should be correct, specifically [[Fennec/NativeUI#How_To_Build | How To Build]].


After building Fennec, make the apk.
After building Fennec, make the apk.
Line 99: Line 95:
The apk will be something like <tt>objdir-droid/dist/fennec-12.0a1.en-US.android-arm.apk</tt>.
The apk will be something like <tt>objdir-droid/dist/fennec-12.0a1.en-US.android-arm.apk</tt>.


* Android device:
==== Running Fennec on an Android device ====
** Ensure USB debugging is enabled on your Android device: fom the home screen, select <tt>Settings > Applications > Development > USB debugging</tt>.
* Ensure USB debugging is enabled on your Android device: fom the home screen, select <tt>Settings > Applications > Development > USB debugging</tt>.
** Ensure your Android device is connected to your computer's USB port.
* Ensure your Android device is connected to your computer's USB port.
** Run
* Run
  $ANDROID_HOME/platform-tools/adb install -r objdir-droid/dist/fennec*apk
  $ANDROID_HOME/platform-tools/adb install -r objdir-droid/dist/fennec*apk


* Emulator:
==== Running Fennec on an emulator ====
** Ensure the emulator is running.
* Ensure the emulator is running.
** Run
* Run
  $ANDROID_HOME/platform-tools/adb install -r objdir-droid/dist/fennec*apk
  $ANDROID_HOME/platform-tools/adb install -r objdir-droid/dist/fennec*apk


{{note|You may need to run <tt>adb kill-server; adb start-server</tt> if adb doesn't recognize the emulator.}}
{{note|You may need to run <tt>adb kill-server; adb start-server</tt> if adb doesn't recognize the emulator.}}


* Logcat debug statements
==== Accessing Fennec/Android Sync debug statements ====
  $ANDROID_HOME/platform-tools/adb logcat
  $ANDROID_HOME/platform-tools/adb logcat


Confirmed users
355

edits

Navigation menu