Stepping thru android base code

by pro » Thu, 10 Sep 2009 02:35:37 GMT

Sponsored Links
 Hi All,

I've the 1.5 sdk pkg, as well as I've the android src ( including the
kernel). I can build the android src, but I'm trying to step thru some
of the internal code ( i.e android.os.*   or some such ). Under
eclipse debugger, it says code not found, and sometime asking for
giving path to source ...

I know that the eclipse is working with android1.5 so it is trying to
look at the sdk location, and that does not seem to have all the
android framework related code!!!.

Question is if I give the path to the android src ( that I've and
bult), would the debugger pick it from there, if so then is there a
root folder I can point to and the debugger would recursively search
and bring the code for stepping thru. Or do I need to build a package
and then point to that package when I build the app...


Stepping thru android base code

by pro » Thu, 10 Sep 2009 06:44:44 GMT

 Actually there are nice documents/discussion on the web about how to
get the sources from the android src, and packaged it to sdk folder
for reference ...

problem solved :)



Sponsored Links

Other Threads

1. IMPORTANT - display.getOrientation() does not work on all devices

Do you have any confirmation from any users who are seeing the rotation
problem? (i.e., direct email, not Market comments)

That's not what you used to do, by your own admission. Are you sure that
the comments are from people who are using your newer version?

And, again, do you have any confirmation from any users who are seeing
the rotation problem?

It could be they are running the older version of your application. Or,
it could be a ROM version difference, with a bug in some ROMs. Or, it
could be something about the way some users are using your app that
differs from your expectations and test cases (e.g., they open the app
starting in landscape mode, and you expect them to be starting in
portrait mode).

Please bear in mind that, across a 13-post thread, you have not once
actually indicated what app this is, AFAICT.

Mark Murphy (a Commons Guy) |

Android App Developer Books:


2. Handling different screen densities vs. app installed size?

My concern supporting different screen sizes, in this case with the
new DROID phone.

So my question, when installing my application on a G1 phone, would it
ignore all hdpi qualifier folders?

I ask this because I'm afraid that my application will grow in size
when installed containing many unnecessary files...

Thanks in advance!


3. Can't get SurfaceView working, trying to make a simple 2D-shooter!

4. Could developers be liable for charges for using Google APIs?

5. Android 2.0 Source code

6. Motorola DROID emulator skin now available for Android 2.0 SDK!

7. MediaPlayer.setDataSource() taking a long time when the screen is off...