Re: [android-developers] Re: source for SDK

2011-06-29 Thread doles
Hi Xav,

I agree that developers should not be depending on implementation. However, 
sometimes, looking into source code provides an immediate insight to 
developers about how their code works (or does not work) with the platform 
itself. For example, at the simplest, lets say, I added a view to my app 
that does not show up as expected, then, if i am able to step through the 
platform code, I might be able to tell why the platform code did not pick up 
my view and then correct myself. This might be a bad example, but it could 
apply to other more likely situations. Moreover, this ability is standard 
with other open source tools in the java world and it would be great to have 
it.

So, again: how do I download source for a specific version of the platform 
that I am developing against? Currently, my interest is version 3.0 or 
version 3.1 (the tablet oriented OS).

Thank you,

Best,
Sachin Dole

-- 
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: source for SDK

2010-12-08 Thread poohtbear
Hi.
In my blog i have an atricle in which i'm trying to maintain a zip
file like you describe.
I have a VirtualBox with ubuntu 8.4 that i frequently update and a
python file to gather up the java source code (the native i leave for
the web)
you can download the zips from the link in the end:http://
www.devfrustrated.com/devBlog/browsing-android-source-code-in-eclipse/

Enjoy.

On Dec 7, 6:23 am, doles  wrote:
> Hello All,
>
> I am new to android dev but not new to java or UI development. Where
> do I download source code for the android SDK from so that I can click
> through to sources in my IDE just as it can commonly be done in java
> apps?
>
> Thank you,
> Sachin

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


Re: [android-developers] Re: source for SDK

2010-12-07 Thread Xavier Ducrohet
You're right of course, that this is less than optimal for some
people. Most people actually even though windows users are a majority
(I'm well aware of you all :)), downloading 2-3 GB of source is not
easy.

There are reasons though for not doing it.
- You should be able to rely on the API descriptions and not focus on
a particular implementation
- the implementation could to change version to version
- the implementation could change on some devices (while keeping the
API contract valid)

Note also that Eclipse is unable to deal with compiling for android
1.5 but running on android 2.3 where the source code is really
different. Eclipse can only handle one source location of a jar file,
but android.jar is a runtime jar not an included jar, and if you ran
your 1.5 application on 2.3 you would want to see the source of 2.3

Xav

On Mon, Dec 6, 2010 at 11:42 PM, Bob Kerns  wrote:
> You know, those of us who normally develop with Windows would
> certainly appreciate a nice .zip file of at least the .java sources.
>
> It doesn't have to be buildable, or even complete to every last
> obscure file. Just something similar to how Sun/Oracle provide
> src.zip.
>
> Yes, I can fire up a virtual machine or Amazon EC2 instance, and make
> my own. In fact, I'm loading the sources into an Amazon EC2 instance
> right now, but it's a lot more time consuming than it needs to be --
> and there are a lot of us Windows-using developers out here, believe
> it or not!
>
> On Dec 6, 8:48 pm, Xavier Ducrohet  wrote:
>> http://source.android.com
>
> --
> 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
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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


Re: [android-developers] Re: source for SDK

2010-12-07 Thread Sachin Dole
Yep, I have the SDK. I would like to step into source code every now and
then to understand what it does when I write code. So, when I write an
activity, I would like to read the source code the the Activity.java class.
Your idea does make sense though.

On Tue, Dec 7, 2010 at 5:31 AM, guillaume benats  wrote:

> Hi,
>
> you do not actually need the sources of Android to develop applications,
> Just the sdk...:http://developer.android.com/sdk/installing.html
>
> follow those steps to run it under eclipse!
>
>
> On Tue, Dec 7, 2010 at 11:24 AM, Sachin Dole wrote:
>
>> so, it looks like i have to get Git and use git to download sources... and
>> it looks like i might have to download all the 2.1 gigs and leave it to my
>> IDE to figure out which exact file i need cuz i dont know which project i
>> need amongst the many projects listed on http://android.git.kernel.org/.
>> Do you know which projects I really need if i needed the API source code for
>> developing applications for the android platform?
>>
>> Thank you
>>
>> On Tue, Dec 7, 2010 at 1:42 AM, Bob Kerns  wrote:
>>
>>> You know, those of us who normally develop with Windows would
>>> certainly appreciate a nice .zip file of at least the .java sources.
>>>
>>> It doesn't have to be buildable, or even complete to every last
>>> obscure file. Just something similar to how Sun/Oracle provide
>>> src.zip.
>>>
>>> Yes, I can fire up a virtual machine or Amazon EC2 instance, and make
>>> my own. In fact, I'm loading the sources into an Amazon EC2 instance
>>> right now, but it's a lot more time consuming than it needs to be --
>>> and there are a lot of us Windows-using developers out here, believe
>>> it or not!
>>>
>>> On Dec 6, 8:48 pm, Xavier Ducrohet  wrote:
>>> > http://source.android.com
>>>
>>> --
>>> 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
>>>
>>
>>  --
>> 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
>>
>
>
>
> --
> Benats Guillaume .
>
> --
> 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
>

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

Re: [android-developers] Re: source for SDK

2010-12-07 Thread Kostya Vasilyev

Sachin,

You can browse the Android Git repository without downloading:

http://android.git.kernel.org/

You can also use Google Code Search:

http://www.google.com/codesearch

Try entering "android ListView" to see how it works.

-- Kostya

07.12.2010 14:24, Sachin Dole ?:
so, it looks like i have to get Git and use git to download sources... 
and it looks like i might have to download all the 2.1 gigs and leave 
it to my IDE to figure out which exact file i need cuz i dont know 
which project i need amongst the many projects listed on 
http://android.git.kernel.org/. Do you know which projects I really 
need if i needed the API source code for developing applications for 
the android platform?


Thank you

On Tue, Dec 7, 2010 at 1:42 AM, Bob Kerns > wrote:


You know, those of us who normally develop with Windows would
certainly appreciate a nice .zip file of at least the .java sources.

It doesn't have to be buildable, or even complete to every last
obscure file. Just something similar to how Sun/Oracle provide
src.zip.

Yes, I can fire up a virtual machine or Amazon EC2 instance, and make
my own. In fact, I'm loading the sources into an Amazon EC2 instance
right now, but it's a lot more time consuming than it needs to be --
and there are a lot of us Windows-using developers out here, believe
it or not!

On Dec 6, 8:48 pm, Xavier Ducrohet mailto:x...@android.com>> wrote:
> http://source.android.com

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


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



--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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

Re: [android-developers] Re: source for SDK

2010-12-07 Thread guillaume benats
Hi,

you do not actually need the sources of Android to develop applications,
Just the sdk...:http://developer.android.com/sdk/installing.html

follow those steps to run it under eclipse!


On Tue, Dec 7, 2010 at 11:24 AM, Sachin Dole  wrote:

> so, it looks like i have to get Git and use git to download sources... and
> it looks like i might have to download all the 2.1 gigs and leave it to my
> IDE to figure out which exact file i need cuz i dont know which project i
> need amongst the many projects listed on http://android.git.kernel.org/.
> Do you know which projects I really need if i needed the API source code for
> developing applications for the android platform?
>
> Thank you
>
> On Tue, Dec 7, 2010 at 1:42 AM, Bob Kerns  wrote:
>
>> You know, those of us who normally develop with Windows would
>> certainly appreciate a nice .zip file of at least the .java sources.
>>
>> It doesn't have to be buildable, or even complete to every last
>> obscure file. Just something similar to how Sun/Oracle provide
>> src.zip.
>>
>> Yes, I can fire up a virtual machine or Amazon EC2 instance, and make
>> my own. In fact, I'm loading the sources into an Amazon EC2 instance
>> right now, but it's a lot more time consuming than it needs to be --
>> and there are a lot of us Windows-using developers out here, believe
>> it or not!
>>
>> On Dec 6, 8:48 pm, Xavier Ducrohet  wrote:
>> > http://source.android.com
>>
>> --
>> 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
>>
>
>  --
> 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




-- 
Benats Guillaume .

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

Re: [android-developers] Re: source for SDK

2010-12-07 Thread Sachin Dole
so, it looks like i have to get Git and use git to download sources... and
it looks like i might have to download all the 2.1 gigs and leave it to my
IDE to figure out which exact file i need cuz i dont know which project i
need amongst the many projects listed on http://android.git.kernel.org/. Do
you know which projects I really need if i needed the API source code for
developing applications for the android platform?

Thank you

On Tue, Dec 7, 2010 at 1:42 AM, Bob Kerns  wrote:

> You know, those of us who normally develop with Windows would
> certainly appreciate a nice .zip file of at least the .java sources.
>
> It doesn't have to be buildable, or even complete to every last
> obscure file. Just something similar to how Sun/Oracle provide
> src.zip.
>
> Yes, I can fire up a virtual machine or Amazon EC2 instance, and make
> my own. In fact, I'm loading the sources into an Amazon EC2 instance
> right now, but it's a lot more time consuming than it needs to be --
> and there are a lot of us Windows-using developers out here, believe
> it or not!
>
> On Dec 6, 8:48 pm, Xavier Ducrohet  wrote:
> > http://source.android.com
>
> --
> 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
>

-- 
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: source for SDK

2010-12-06 Thread Bob Kerns
You know, those of us who normally develop with Windows would
certainly appreciate a nice .zip file of at least the .java sources.

It doesn't have to be buildable, or even complete to every last
obscure file. Just something similar to how Sun/Oracle provide
src.zip.

Yes, I can fire up a virtual machine or Amazon EC2 instance, and make
my own. In fact, I'm loading the sources into an Amazon EC2 instance
right now, but it's a lot more time consuming than it needs to be --
and there are a lot of us Windows-using developers out here, believe
it or not!

On Dec 6, 8:48 pm, Xavier Ducrohet  wrote:
> http://source.android.com

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