[android-porting] problem for snd_pcm_open in alsa porting

2009-03-21 Thread liaojunsh...@gmail.com
Hi, all, in AudioHardwareALSA.cpp, look at the function ALSAStreamOps::open(int mode, int device) , when i need to do routing to earpiece, headset, or other output device. function snd_pcm_open will open the device by passing devName to it, but i will return error that unable to open the device

[android-porting] Re: About VM memory restriction

2009-03-21 Thread Jean-Baptiste Queru
I don't know, sorry. JBQ On Fri, Mar 20, 2009 at 8:37 PM, wu tony wrote: > Jean, > Thanks for the info. > > Do you know how can we view the java memory usage status?I met the "Out of > Memory " problem but there's no efficient way to decide the cause. > > > -- Jean-Baptiste M. "JBQ" Queru A

[android-porting] Re: Problem compiling Master and/or Cupcake, before and after the merge, targeting HTC Dream

2009-03-21 Thread Jean-Baptiste Queru
It's not as clean as I'd like it to be, but at the moment the only option I know is to delete the opencore directory and to patch change 9300 in your client. Contributions on a better way to build without OpenCORE are very welcome. JBQ On Fri, Mar 20, 2009 at 9:57 PM, abqm...@googlemail.com wr

[android-porting] Re: problem for snd_pcm_open in alsa porting

2009-03-21 Thread Sean McNeil
You need to create an appropriate asound.conf. It goes into /system/etc/. liaojunsh...@gmail.com wrote: > Hi, all, > > in AudioHardwareALSA.cpp, look at the function ALSAStreamOps::open(int > mode, int device) , when i need to do routing to earpiece, headset, or > other output device. > > functio

[android-porting] Re: Resolution problem while porting Android application on 2430

2009-03-21 Thread Dianne Hackborn
Could you please post this information: 1. What resolution and density is your development board running at? 2. What resolution and density are you running the emulator at? (If you are not specifying anything special, this is probably 480x320 160dpi.) 3. Which applications are not working? 4. A p

[android-porting] Re: Problem compiling Master and/or Cupcake, before and after the merge, targeting HTC Dream

2009-03-21 Thread Chito
Followed your instructions, and got this after patching @ 9300 Checking API: checkapi-last (unknown): warning 19: Class android.widget.PopupWindow.OnDismissListener scope changed from to public (unknown): warning 19: Method android.view.View.getHandler changed scope from protected to public (unk

[android-porting] Re: Problem compiling Master and/or Cupcake, before and after the merge, targeting HTC Dream

2009-03-21 Thread Jean-Baptiste Queru
Sounds like your browser project is out of date, it's still using the cupcake APIs to the download manager, whose names have changed in master. JBQ On Sat, Mar 21, 2009 at 10:22 AM, Chito wrote: > > Followed your instructions, and got this after patching @ 9300 > > Checking API: checkapi-last >

[android-porting] Fun Time...

2009-03-21 Thread Tony
Hi, Want Funny Jokes, Funny Pics, Funny Vidos ??? Visit www.reallyfunny.co.cc and following links of your desire... --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~

[android-porting] Re: Outstanding cupcake -> master merge

2009-03-21 Thread Jean-Baptiste Queru
I've been working on a "better" batch of patches (now it feels more like open-heart surgery with a meat cleaver): -no need to delete the opencore directory or to remove it from the manifest. -you need to repo download changes 9355, 9356 and 9357. No need to take 9300. I know it's 3 changes inste

[android-porting] Search within Android Mailing Lists

2009-03-21 Thread Ashutosh Agrawal
Hi, Searching in Android mailing lists has now become easy with http://android-search.blogspot.com/ Cheers, Ashutosh --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~-

[android-porting] Re: Problem compiling Master and/or Cupcake, before and after the merge, targeting HTC Dream

2009-03-21 Thread Chito
Yep, I cleaned my client and re-checked it out and now I was able to compile it.. Great thanks On Mar 21, 10:26 am, Jean-Baptiste Queru wrote: > Sounds like your browser project is out of date, it's still using the > cupcake APIs to the download manager, whose names have changed in > master. >

[android-porting] Re: Outstanding cupcake -> master merge

2009-03-21 Thread Jean-Baptiste Queru
[still bcc android-platform, android-framework, android-porting] Latest status: -we're back to one patch: 9356. -build with "BUILD_WITHOUT_PV=true make" -quickly tested both on emulator and dream, and seems to work well enough to not have the phone app crash in a loop. -I expect to submit 935