CloudServices/NativeSync: Difference between revisions

Jump to navigation Jump to search
Line 86: Line 86:
=== Running Fennec ===
=== Running Fennec ===
EDIT: Fennec Native has been moved to mozilla-central.
EDIT: Fennec Native has been moved to mozilla-central.
  hg clone http://hg.mozilla.org/mozilla-central/
  hg clone http://hg.mozilla.org/mozilla-central/
The rest of the directions on [[Fennec/NativeUI | Building Fennec Native]] should be correct (look at the How to Build section).
 
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.
  make -sj8 -C objdir-droid/ package
  make -sj8 -C objdir-droid/ package


The apk will be something like $objdir/dist/fennec-11.apk
The apk will be something like <tt>objdir-droid/dist/fennec-12.0a1.en-US.android-arm.apk</tt>.
 
* Android device: (WFM)
** enable USB debugging: Settings > Applications > Development > USB debugging


  $SDK/platform-tools/adb install -r <path-to-apk>
* Android device:
** 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.
** Run
  $SDK/platform-tools/adb install -r objdir-droid/dist/fennec*apk


* Emulator:
* Emulator:
$SDK/tools/emulator (should start up the emulator with flags as shown in Setup/emulators above)
** Ensure the emulator is running.
(as another process:)
** Run
  $SDK/platform-tools/adb install -r <path-to-apk>
  $SDK/platform-tools/adb install -r objdir-droid/dist/fennec*apk


You may need to run adb kill-server, adb start-server 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
* Logcat debug statements
  adb logcat
  $SDK/platform-tools/adb logcat


=== Setting up Eclipse ===
=== Setting up Eclipse ===
Confirmed users
355

edits

Navigation menu