[android-porting] Re: Support for 24 bit Audio wave file ??

2010-11-04 Thread Robin Gujjar
24 bit is not supported by android. It is not checking for the 24 bit format in opencore. so change the file external/opencore/nodes/pvwavffparsernode/src/pvmf_wavffparser_node.cpp . By default is chek as 8bit in not it assume it as 16 bit, returen a error code form this file . for 24 bit. ;( if

[android-porting] ALSA AUDIO on PXA3xx

2010-11-04 Thread Sayiram K N
Hi All i am trying to enable the ALSA AUDIO on PXA320 plartform. no sound card is enabled even though Linux shows it found. i have attached the logs from kernel boot as well the logcat Advanced Linux Sound Architecture Driver Version 1.0.18a. No device for DAI pxa2xx-ac97 No devi

Re: [android-porting] "init" fail to start several services

2010-11-04 Thread Dennis.Yxun
previously, my problem is the limited memory On Wed, Nov 3, 2010 at 4:01 PM, Jerry Zhang wrote: > Hi Dennis, > > Sorry for bothering you. I encountered the same problem with you. The > init can not start any services in the init.rc. All the process was cached > by the waitpid. and the status

[android-porting] Re: Not getting console prompt...

2010-11-04 Thread andrew_esh
I don't have "init=/init" in my kernel command line. This is one of the places the kernel searches by default, so it should not be needed. Note that you log says: "<3>init: /init.rc: 45: invalid command 'touch'". This implies that the init.rc file has something wrong in it, at least on line 45. I'

[android-porting] Re: How to connect to a binder c++ service?

2010-11-04 Thread Samuel Skånberg
Hello again! And thanks for your help! Now I have tried different approaches and I'm stuck. What I did was creating a Java service but in the onBind method I call a native method that instantiate the C++ service and call another one that returns an IBinder interface.

[android-porting] "start adbd" when usb cable is connected

2010-11-04 Thread Arun Joseph
How I can start the service adbd only when usb cable is connected between host and target? Thanks & Regards, Arun -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Thread Local Storage and GDB server

2010-11-04 Thread Robert Beckett
Hi, In porting android to our A8 cortext based board, we have enabled TLS. This works fine with bionic in general, however, it seems to cause problems with gdbserver. Looking at the gdbserver source, it tries to get an address for td_thr_tls_get_addr, which is not implemented in bionics threa

[android-porting] Truetype hinting in FreeType

2010-11-04 Thread aravind r s
Since Freetype 2.4, the Bytecode interpreter is enabled by default as the relevant patents have expired. However, turning on the option in the Android version of Freetype doesn't work (it builds without errors but there's no difference in the font rendering, examining screenshots pixel-by-pixel sho

[android-porting] Bold fonts creation from regular font file

2010-11-04 Thread android_explorer
We trying to use a regular font and use the font engine to extrapolate that to BOLD format. I just tried with free font DejaVuSans. Typeface regFace = Typeface.createFromAsset(getContext().getAssets(), "fonts/DejaVuSans.ttf"); Typeface boldFace = Typeface.create(regFace, Typeface.BOLD); Now

[android-porting] Re: Tethering service

2010-11-04 Thread Robert Greenwalt
Tethering gets invoked when WifiService notices the softAP interface is available. That interface only is created when the softAP driver is started. So Wifi is on the hook to start up and configure the softAP. Once that is done it tells the tethering service to tether that interface - the tether

Re: [android-porting] USB tethering option missing from settings view

2010-11-04 Thread Robert Greenwalt
Hi Pankaj, There is a device config value that needs to be set: frameworks/base/core/res/res/values/config.xml has a value called config_tether_usb_regexs. This is designed to be an overlaid resource (you don't change the standard file, you make a build that includes an overlay dir and have a fra