[android-developers] Re: log info, pls help

2009-08-10 Thread yosemite

Thanks a lot. Both of you.

On Aug 5, 10:19 am, Yusuf T. Mobile yusuf.s...@t-mobile.com wrote:
 You can build the SDK (with make sdk) and then run the emulator
 (with emulator) and look at thelog(with adb logcat).

 Yusuf Saib
 Android
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Aug 4, 9:56 pm, yosemite gaoqing2...@gmail.com wrote:

  thanks. Could you please give me some instructions about how to do
  that in the emulaor?

  On Aug 4, 4:44 pm, Roman roman.baumgaert...@t-mobile.com wrote:

   Before flashing your phone, did you try to run the emulator with your
   new system.img?

   --
   Roman Baumgaertner
   Sr. SW Engineer-OSDC
   ·T· · ·Mobile· stick together
   The views, opinions and statements in this email are those of the
   author solely in their individual capacity, and do not necessarily
   represent those of T-Mobile USA, Inc.

   On Aug 4, 11:16 am, yosemite gaoqing2...@gmail.com wrote:

Hi,

I made some changes to the Android source code and rebuilt a
system.img file. After that, I use fastboot flash system system.img to
flash my Android Developer phone. However, there is a crash during the
loading process. Is there any way I can read thelogfor this kind of
crash? Thanks a lot.

-M
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: log info, pls help

2009-08-05 Thread Roman

When you build the whole platform you can find all new created
platfrom imsages and binaries in out/host/darwin-x86/. In the bin
folder you also find the emulator.  When you do changes on framework
code or dalvik a new system.img should be created. The emulator has
this new system image included.

You can put some debug prints to your framework code changes to make
sure that you can check whether you run in your code.

With using mmm you can speed up your build. For example

 mmm frameworks/base/services snod

would compile only services. Also here a new emulator image will be
created (verify the compile date of the emulator to make sure that you
will have a new compiled version).

In general before you do any critical changes on your system.img you
can check it first with the emulator. Of course there might be changes
related to HW interfaces which you cannot verify with the emulator.

Hope, this helps!

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Aug 4, 9:56 pm, yosemite gaoqing2...@gmail.com wrote:
 thanks. Could you please give me some instructions about how to do
 that in the emulaor?

 On Aug 4, 4:44 pm, Roman roman.baumgaert...@t-mobile.com wrote:

  Before flashing your phone, did you try to run the emulator with your
  new system.img?

  --
  Roman Baumgaertner
  Sr. SW Engineer-OSDC
  ·T· · ·Mobile· stick together
  The views, opinions and statements in this email are those of the
  author solely in their individual capacity, and do not necessarily
  represent those of T-Mobile USA, Inc.

  On Aug 4, 11:16 am, yosemite gaoqing2...@gmail.com wrote:

   Hi,

   I made some changes to the Android source code and rebuilt a
   system.img file. After that, I use fastboot flash system system.img to
   flash my Android Developer phone. However, there is a crash during the
   loading process. Is there any way I can read the log for this kind of
   crash? Thanks a lot.

   -M


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: log info, pls help

2009-08-05 Thread Yusuf T. Mobile

You can build the SDK (with make sdk) and then run the emulator
(with emulator) and look at the log (with adb logcat).



Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.




On Aug 4, 9:56 pm, yosemite gaoqing2...@gmail.com wrote:
 thanks. Could you please give me some instructions about how to do
 that in the emulaor?

 On Aug 4, 4:44 pm, Roman roman.baumgaert...@t-mobile.com wrote:



  Before flashing your phone, did you try to run the emulator with your
  new system.img?

  --
  Roman Baumgaertner
  Sr. SW Engineer-OSDC
  ·T· · ·Mobile· stick together
  The views, opinions and statements in this email are those of the
  author solely in their individual capacity, and do not necessarily
  represent those of T-Mobile USA, Inc.

  On Aug 4, 11:16 am, yosemite gaoqing2...@gmail.com wrote:

   Hi,

   I made some changes to the Android source code and rebuilt a
   system.img file. After that, I use fastboot flash system system.img to
   flash my Android Developer phone. However, there is a crash during the
   loading process. Is there any way I can read the log for this kind of
   crash? Thanks a lot.

   -M
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: log info, pls help

2009-08-04 Thread Roman

Before flashing your phone, did you try to run the emulator with your
new system.img?

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Aug 4, 11:16 am, yosemite gaoqing2...@gmail.com wrote:
 Hi,

 I made some changes to the Android source code and rebuilt a
 system.img file. After that, I use fastboot flash system system.img to
 flash my Android Developer phone. However, there is a crash during the
 loading process. Is there any way I can read the log for this kind of
 crash? Thanks a lot.

 -M
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: log info, pls help

2009-08-04 Thread yosemite

thanks. Could you please give me some instructions about how to do
that in the emulaor?

On Aug 4, 4:44 pm, Roman roman.baumgaert...@t-mobile.com wrote:
 Before flashing your phone, did you try to run the emulator with your
 new system.img?

 --
 Roman Baumgaertner
 Sr. SW Engineer-OSDC
 ·T· · ·Mobile· stick together
 The views, opinions and statements in this email are those of the
 author solely in their individual capacity, and do not necessarily
 represent those of T-Mobile USA, Inc.

 On Aug 4, 11:16 am, yosemite gaoqing2...@gmail.com wrote:



  Hi,

  I made some changes to the Android source code and rebuilt a
  system.img file. After that, I use fastboot flash system system.img to
  flash my Android Developer phone. However, there is a crash during the
  loading process. Is there any way I can read the log for this kind of
  crash? Thanks a lot.

  -M
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---