[android-developers] Re: Can't build Android SDK

2010-03-09 Thread SN
Mar 8, 10:14 am, SN wrote: > The above error of AlarmClock is caused by my download is corrupted. > After delete everything and start a new download again. It passed that > error but another error showed up: > > Docs droiddoc: out/target/common/docs/services > javadoc: erro

[android-developers] Re: Can't build Android SDK

2010-03-08 Thread SN
download from repository and i can't get it build successful. Thanks, On Mar 6, 2:36 am, SN wrote: > Thanks Xavier! It is working. However thebuildfails at this step: > > Install: out/target/product/generic/system/app/ > AccountAndSyncSettings.apk > target R.java/Manifest.j

[android-developers] Re: Can't build Android SDK

2010-03-06 Thread SN
Mar 4, 7:17 pm, Xavier Ducrohet wrote: > use "lunchsdk-eng" followed by "makesdk" > > > > On Thu, Mar 4, 2010 at 6:48 AM, SN wrote: > > Can anybody help me building AndroidSDK? I followed all the steps to > > download AndroidSDKand when I try tobuild

[android-developers] Can't build Android SDK

2010-03-04 Thread SN
Can anybody help me building Android SDK? I followed all the steps to download Android SDK and when I try to build it. I got error. Here is all my step of building it. $ source build/envsetup.sh including vendor/aosp/vendorsetup.sh $ lunch 1 PLATFORM

[android-developers] Re: Http -1 when Transfer-Encoding=chunked, Content-Encoding=gzip and Connection=Keep-Alive

2010-03-03 Thread SN
doesn't clean up // the last chunk (ending chunk) correctly. The last chunk is (0x) 30 0d 0a. // This is tested with Android 1.6 and 2.1 with the same result. Log.d(TAG, "Button is click

[android-developers] Http -1 when Transfer-Encoding=chunked, Content-Encoding=gzip and Connection=Keep-Alive

2010-03-03 Thread SN
Hi, I found a problem with GZIP input stream when wrapping InputStream from HttpURLConnection. When the server response with Transfer- Encoding=chunked, Content-Encoding=gzip and Connection=Keep-Alive. The second post always return -1. After digging into the source code, I found the place that co

[android-developers] Http transfer-encoding chunked with gzip

2010-03-01 Thread SN
think it doesn't need anymore data). This is very confusing for developers because GZIPInputStream doesn't behave as expected as InputStream when you get -1 from read() method. Can we classified this a bug in GZIPInputStream? Thanks, SN -- You received this message because you are su

[android-developers] Re: SoundPool.play() audio channels swapped on 1.1 emulator ?

2009-05-20 Thread sn
I mean that left/right volumes are swapped. I don't know about the channels themselves since I'm using mono files. On May 20, 5:48 pm, sn wrote: > I just found that left/right channels are swapped when calling > SoundPool.play(int soundID, float leftVolume, float rightVolume

[android-developers] SoundPool.play() audio channels swapped on 1.1 emulator ?

2009-05-20 Thread sn
I just found that left/right channels are swapped when calling SoundPool.play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate), running in 1.1 emulator on MacOS. Unfortunately I'm far away from my G1 headset (with proprietary connector) so I can't check if the