Android from archive

by penguins » Tue, 28 Apr 2009 08:23:55 GMT

Sponsored Links

I would like to get previous version of Android source code (not
cupcake), is it possible to pull it out from repository?



Android from archive

by Jean-Baptiste Queru » Tue, 28 Apr 2009 08:30:21 GMT

 repo init -u git:// -b release-1.0


Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further



Sponsored Links

Android from archive

by penguins » Wed, 29 Apr 2009 02:51:03 GMT

 Thank you Jean,

I tried to get the files to build android for eee PC, but it doesn't
seem to have eee PC in the tree.
I received the following error while syncing:

Syncing work tree: 100% (99/99)  Traceback (most recent call last):
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/", line 235, in <module>
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/", line 217, in _Main
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/", line 123, in _Run
    cmd.Execute(copts, cargs)
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/
subcmds/", line 173, in Execute
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/", line 596, in Sync_LocalHalf
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/", line 1131, in _InitWorkTree
    rev = self.bare_git.rev_parse('%s^0' % rev)
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/", line 1306, in runner
error.GitError: platform/vendor/asus/eee_701 rev-parse: fatal:
ambiguous argument 'refs/remotes/korg/release-1.0^0': unknown revision
or path not in the working tree.
Use '--' to separate paths from revisions



Other Threads

1. android DNS fail to resolve website IP adddres

I have configured wifi with custom driver and able to connect to
secured  Access point. But IP resolv for website link is not
happening. If I type IP address in the url then browser opens the

Are there any known  problems/limitations  with DNS deployment in
android on real target ?

below getprop detaiils:--------------
[dhcp.eth1.dns1]: []
[dhcp.eth1.dns2]: []
[dhcp.eth1.dns3]: []
[dhcp.eth1.dns4]: []
[dhcp.eth1.reason]: [BOUND]
[dhcp.eth1.ipaddress]: []
[dhcp.eth1.gateway]: []
[dhcp.eth1.mask]: []
[dhcp.eth1.leasetime]: [86400]
[dhcp.eth1.server]: []
[dhcp.eth1.result]: [ok]

In browser AndroidManifest.xml ---------
 <uses-permission android:name="android.permission.INTERNET" /> is
also present.

logcat detail below---------------
 I/ActivityManager( 1553): Starting activity: Intent
tion.VIEW categories={android.intent.category.BROWSABLE} data=http://
.192/ comp={} }
D/dalvikvm( 1672): GC freed 2989 objects / 215368 bytes in 144ms
D/browser ( 1672): updating cursor
D/dalvikvm( 1672): GC freed 4780 objects / 439912 bytes in 112ms
W/KeyCharacterMap( 1672): No keyboard for id 0
W/KeyCharacterMap( 1672): Using default keymap: /system/usr/keychars/
D/browser ( 1672): updating cursor
I/ActivityManager( 1553): Starting activity: Intent
{ action=android.intent.acti
on.VIEW categories={android.intent.category.BROWSABLE} data=http://
 comp={} }
E/browser ( 1672): onReceivedError code:-2 The URL could not be found.
D/browser ( 1672): updating cursor

# cat /proc/net/route ------------
Iface   Destination     Gateway         Flags   RefCnt  Use
Metric  Mask   M
TU      Window  IRTT
eth1    00C8A8C0        00000000        0001    0       0
0       00FFFFF0

eth1    00000000        64C8A8C0        0003    0       0
0       00000000


2. Malformed URL


I am trying to fetch an image and render it in an activity. But I keep
getting a MalformedURLException.

Here's my code snippet:

protected void onCreate(Bundle savedInstanceState) {
                // TODO Auto-generated method stub
                String img = "
                URL imgUrl;
                try {
                        imgUrl = new URL(img);
                } catch (MalformedURLException e) {
                        // TODO Auto-generated catch block
        ImageView imgViewer = new ImageView(this);



3. That would be nice

4. Long click focus in expandable lists

5. Animated GIFs (and Marquee) into Android's WebView: a performance question.

6. problem with binding to a service from a BroadcastReceiver

7. Accessing the "Battery Info" activity (or any system general activity)