Android from archive

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


Sponsored Links
 Hi,

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://android.git.kernel.org/platform/manifest.git -b release-1.0

JBQ






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

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


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/
main.py", line 235, in <module>
    _Main(sys.argv[1:])
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/
main.py", line 217, in _Main
    repo._Run(argv)
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/
main.py", line 123, in _Run
    cmd.Execute(copts, cargs)
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/
subcmds/sync.py", line 173, in Execute
    project.Sync_LocalHalf(syncbuf)
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/
project.py", line 596, in Sync_LocalHalf
    self._InitWorkTree()
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/
project.py", line 1131, in _InitWorkTree
    rev = self.bare_git.rev_parse('%s^0' % rev)
  File "/home/sumarc/Downloads/android/eeepc/android-1.0/.repo/repo/
project.py", line 1306, in runner
    p.stderr))
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

hi,
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
site.

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

below getprop detaiils:--------------
[dhcp.eth1.dns1]: [192.168.200.100]
[dhcp.eth1.dns2]: []
[dhcp.eth1.dns3]: []
[dhcp.eth1.dns4]: []
[dhcp.eth1.reason]: [BOUND]
[dhcp.eth1.ipaddress]: [192.168.200.104]
[dhcp.eth1.gateway]: [192.168.200.100]
[dhcp.eth1.mask]: [255.255.255.0]
[dhcp.eth1.leasetime]: [86400]
[dhcp.eth1.server]: [192.168.200.100]
[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
{ action=android.intent.ac
tion.VIEW categories={android.intent.category.BROWSABLE} data=http://
164.129.225
.192/ comp={com.android.browser/com.android.browser.BrowserActivity} }
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/
qwerty.kcm.
bin
D/browser ( 1672): updating cursor
I/ActivityManager( 1553): Starting activity: Intent
{ action=android.intent.acti
on.VIEW categories={android.intent.category.BROWSABLE} data=http://
stway.st.com/
 comp={com.android.browser/com.android.browser.BrowserActivity} }
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

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Malformed URL

Hi,

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
                super.onCreate(savedInstanceState);
                String img = "http://chart.apis.google.com/chart?cht=p3&chd=t:
60,40&chs=250x250&chl=Hello|World";
                URL imgUrl;
                try {
                        imgUrl = new URL(img);
                } catch (MalformedURLException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                }
        ImageView imgViewer = new ImageView(this);
        imgViewer.setImageBitmap(BitmapFactory.decodeStream
(imgUrl.openStream()));
        setContentView(imgViewer);
        }

Thoughts?

--~--~---------~--~----~------------~-------~--~----~

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)