[android-porting] Re: Audio stops after some time in android from video/Music player

2009-02-17 Thread getandroid
I've done following change in android_audio_output.cpp. It is better after enabling RESET mode instead of STOP. Is there any fix for PV core which mentioned in the comments of code snippet below?? # if 0 //SAMPATH commented // FIXME: Per PV, we should be exiting thread in Reset, not Stop.

[android-porting] Re: Removing external components in Android Build

2009-02-17 Thread David Turner
This is not supposed to happen. What kind of change are you talking about ? Sounds like a build system bug. You should not have to rebuild Webkit if you change something that is unrelated. For the record, you can still use standard GNU Make -B option to mm or mmm to force a rebuild without having

[android-porting] Re: timer_create problem

2009-02-17 Thread David Turner
On Mon, Feb 16, 2009 at 8:48 PM, henry.lon...@gmail.com henry.lon...@gmail.com wrote: That's great. I found similar problem for SIGEV_SIGNAL. Could you please let me know when the fix is released? I think I nailed that one too. All fixes are in bionic/libc/bionic/pthread-timers.c,

[android-porting] How does arm11_clock_init() works

2009-02-17 Thread Oceanedge
I am analyzing the bootloader code of Android. My understanding is that the int _main(void) function of nandwrite.c is the bootloader running in flash mode. Is that right? And I see the following arm11_clock_init() function which is called at the beginning at the _main() function is very

[android-porting] Re: timer_create problem

2009-02-17 Thread Girish
Hi David, Can this bug be updated in both cupcake and open source ? Can you send the quick fix for a solution temporarily . May be u can attach ! Regards Girish --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] Re: Android Emulator, Working altogether with ARM and DSP ?

2009-02-17 Thread Samuel
Hi All, As for that Android's Emulator based on QEMU, if somebody want to emulate ARM together with DSP (like TI's TMS320C5000/C6000 series) by Android at the same time, then how should the next step be implemented upon QEMU? I would really appreciate if you can leave some hints about that!!

[android-porting] Re: Android porting on Qemu

2009-02-17 Thread indra dutt
Yes David, I was thinking of making Android system running on QEMU. Like you said, HW changes have been made to make Android run. So it seems like there is no way, It can be done on QEMU or any of its derivative platform. On Tue, Feb 17, 2009 at 4:06 PM, David Turner di...@android.com wrote:

[android-porting] Re: logcat can't display all log?

2009-02-17 Thread Sean McNeil
Ah, I forgot that you are doing the increment inside the call. This could be a classical macro expansion issue. I think all your outputs are happening, but the increment can be expanded in several places inside the macro. Try taking the ++c outside of the call: ++c; LOGI(...); forest wrote:

[android-porting] Re: logcat can't display all log?

2009-02-17 Thread Freepine
You can try to launch logcat like below:adb logcat -r 8000 -f /data/log.txt Perhaps it works. On Tue, Feb 17, 2009 at 9:25 PM, Sean McNeil seanmcne...@gmail.com wrote: Ah, I forgot that you are doing the increment inside the call. This could be a classical macro expansion issue. I think

[android-porting] Re: Camera Object in Video Capture Case

2009-02-17 Thread Dave Sparks
We cannot allow the application to make any changes to the camera that could potentially violate the contract between the camera and the media recorder. For example, let's say that the video frame size is set to CIF, and the application changes it to QCIF in the middle of a recording. This will

[android-porting] How to change the screen resolution.

2009-02-17 Thread cack
Hi Sir, I'm porting Android to our hardware with 320x240 LCD. The Android resolution is too high, so that the icons and messages on the desktop is too small to be recognized. How can I configure the resolution of screen to proper size? Thank you for your great help. Best Regards, YJ

[android-porting] Non-Ti Wifi driver

2009-02-17 Thread mvniekerk
Hi I'm porting Android to the Freescale iMX31 PDK. On it there is a CSR Unifi-based APM 6628 wifi module. This module / chip's driver is propriety, and you need a few legal documents and NDA's to have the source of it. But hey, I've got mine running! Then there's the question, how does Android

[android-porting] Re: How to change the screen resolution.

2009-02-17 Thread Dianne Hackborn
320x240 screens are not supported in the current platform, thought this is on the roadmap. You can play around with such resolutions by adjusting the density appropriately... however, if your problems is that the UI shown on that screen is too -small- rather than being too large, then I don't

[android-porting] Re: Porting to PPC (MPC7xxx)

2009-02-17 Thread Rizvan S
I am also interested to stat porting on ppc. On Tue, Feb 17, 2009 at 5:43 AM, Androidphan niels.kee...@tass.nl wrote: I am very interested as well. On Feb 16, 12:50 am, Karthik manian.kart...@gmail.com wrote: Hi, I'm trying to port the android to PPC (sayMPC7xxx). Please guide me in

[android-porting] bluetooth cpu utilization

2009-02-17 Thread henry.lon...@gmail.com
When using bluetooth (bluez) to play audio mp3 file on G1, i observed that cpu utilization(from top command) is very high. The mediaserver process takes 30% of cpu. Bluez should also consume significant amount of cpu since the l2cap is in the kernel. The cpu frequency is 384Mhz, powerful enough.

[android-porting] Re: bluetooth cpu utilization

2009-02-17 Thread Nick Pelly
Yes we have CPU usage of around 30-40% by mediaserver when playing back MP3 over Bluetooth. Note that we do SBC encoding in the mediaserver. What kind of numbers were you expecting? The cpu usage in the kernel side shouldn't be too bad. It just slaps on some L2CAP headers, and the uart transfer

[android-porting] Re: a1200 porting issue, mismatch uid, binder cannot be permitted, pls help

2009-02-17 Thread alvin
could you analysis my startup log, now i am porting to a1200 phone. now i could see the desktop, but the windowsapplication error: com.google.googleappls show, so could you tell me what happen. another question: why there are so many permission problems during nfs root file system.

[android-porting] Re: bluetooth cpu utilization

2009-02-17 Thread henry.lon...@gmail.com
Just wondering if the 30~40% cpu utilization was considered in the android design. This is a large number if other applications could run simultaneously. Do you have tools(more accurate than top) that could be used to test cpu utilization? Thanks! On Feb 17, 3:38 pm, Nick Pelly

[android-porting] Re: bluetooth cpu utilization

2009-02-17 Thread Nick Pelly
On Tue, Feb 17, 2009 at 4:59 PM, henry.lon...@gmail.com henry.lon...@gmail.com wrote: Just wondering if the 30~40% cpu utilization was considered in the android design. This is a large number if other applications could run simultaneously. Do you have tools(more accurate than top) that

[android-porting] Re: logcat can't display all log?

2009-02-17 Thread forest
logcat -r 8000 -f /data/log.txt can record all log,Freepine,thank you very much, hi,Sean McNeil,thank you too, ++c; LOGI(...); has no effect On 2月17日, 下午10时02分, Freepine freep...@gmail.com wrote: You can try to launch logcat like below:adb logcat -r 8000 -f /data/log.txt Perhaps it

[android-porting] Re: How to develop more than 20 timer parallely..

2009-02-17 Thread Girish
Hi One more Q for you Yes, it is, but frankly you should be using a single SIGEV_THREAD timer with your own sorted timer list Do that means SIGEV_THREAD functionality will put the timers in one event list and sort them all together ? and timeouts will happen similar to POSIX signals ? or user

[android-porting] Re: Android porting on Qemu

2009-02-17 Thread indra dutt
Thanks Avtar, It would be really great if you can forward any e-book on that. I thought I asked a very specific question as you can see my subject line too Android porting on Qemu. Since I was not aware, what it takes to achieve that, I posted this query. David really gave a good insight on that.

[android-porting] Re: How to change the screen resolution.

2009-02-17 Thread Peter McDermott
If the issue is that the icons are tiny (say 3 pixels by 3 pixels wide) then you need to adjust the density/dpi returned by your framebuffer kernel driver (/dev/fb0) to the Android lower layer. Regards, Peter On Feb 18, 2009, at 12:32 AM, cack wrote: Hi Sir, I'm porting Android to our

[android-porting] Re: How to determine requirements for porting Android?

2009-02-17 Thread Rizvan S
Plz check my reply.. On Mon, Feb 16, 2009 at 5:30 AM, ppmoore polom...@gmail.com wrote: [ I have also cross-posted this to androidcommunity.com ] Hello, I work for a portable entertainment products manufacturer, and we are looking at porting Android to one of our handheld audio-visual