Hey All,
I was hoping someone could give me instructions to obtain the *exact *source
code for the current SDK. What I have so far is as discussed here;

http://androidforums.com/android-developers/1045-source-code-android-jar.html

By using commands such as;

repo init -u git://android.git.kernel.org/platform/manifest.git -b
android-sdk-1.5_r3
jar cvf ../android-src.jar -C core/java .
...
etc.

My issue is that the source is still inconsistent, some extra methods are
available and some are not. For example, I want to make a progress bar with
two sliders (To select a range) but the version of Progress bar I have;

http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/widget/ProgressBar.java<http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/widget/ProgressBar.java;>

I cannot mimic (as an initial implementation), despite using the same
package and extending View I do not have access to 'mMinWidth' for example.
In addition the progress bar uses methods of the class StateListDrawable
which are not available in this SDK (e.g. getStateSet(int i)).

It's obvious that there's an inconsistency between the source I have and
that which was compiled into the android SDK but I don't know why given my
GIT repo commands. Can someone link to the version of ProgressBar which was
shipped with android-sdk-1.5_r3? Has anyone managed to get the branch which
maps directly to this release?

This might well be due my inexperience with Git, please let me know if
anyone has this set up correctly and I will try again. I seem, in all
honesty, to have the head revision still.

Thanks in advance!

Gavin

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to