[android-developers] Re: how to clone application (Desk Clock) from Git tree that will work for API 7?

2010-12-25 Thread longingtoadopt.com
I realized that repo -b brings the branch and from
$ git help clone
found that it is passed through to git
so this worked!
$ git clone git://android.git.kernel.org/platform/packages/apps/DeskClock.git
-b eclair
Cloning into DeskClock...
remote: Counting objects: 4270, done.
remote: Compressing objects: 100% (1192/1192), done.
remote: Total 4270 (delta 2039), reused 4220 (delta 1996)
Receiving objects: 100% (4270/4270), 1.18 MiB | 196 KiB/s, done.
Resolving deltas: 100% (2039/2039), done.


On Dec 24, 10:53 pm, longingtoadopt.com anil.r...@gmail.com wrote:
 I was trying to run and read through the Desk Clock code.
 I cloned the subtree 
 herehttp://android.git.kernel.org/?p=platform/packages/apps/DeskClock.git...
 However it pulls in the latest code and some of which refers to API
 level 9 variables eg. ACTION_SET_ALARM, EXTRA_HOUR, EXTRA_MESSAGE,
 every_day, never...
 Spent hours trying to get this to compile before I realized this.
 I want the version of DeskClock for API 7.
 How to do this?

-- 
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: how to clone application (Desk Clock) from Git tree that will work for API 7?

2010-12-25 Thread Kostya Vasilyev

Anil,

You can also click snapshot in the web interface at 
http://android.git.kernel.org.


This downloads the sources as a .tar.gz archive.

-- Kostya

25.12.2010 20:39, longingtoadopt.com пишет:

I realized that repo -b brings the branch and from
$ git help clone
found that it is passed through to git
so this worked!
$ git clone git://android.git.kernel.org/platform/packages/apps/DeskClock.git
-b eclair
Cloning into DeskClock...
remote: Counting objects: 4270, done.
remote: Compressing objects: 100% (1192/1192), done.
remote: Total 4270 (delta 2039), reused 4220 (delta 1996)
Receiving objects: 100% (4270/4270), 1.18 MiB | 196 KiB/s, done.
Resolving deltas: 100% (2039/2039), done.


On Dec 24, 10:53 pm, longingtoadopt.comanil.r...@gmail.com  wrote:

I was trying to run and read through the Desk Clock code.
I cloned the subtree 
herehttp://android.git.kernel.org/?p=platform/packages/apps/DeskClock.git...
However it pulls in the latest code and some of which refers to API
level 9 variables eg. ACTION_SET_ALARM, EXTRA_HOUR, EXTRA_MESSAGE,
every_day, never...
Spent hours trying to get this to compile before I realized this.
I want the version of DeskClock for API 7.
How to do this?



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