Re: [android-porting] gingerbread alsa build issue

2010-12-29 Thread hedwin
Joerie, See some big difference between what is used in froyo and your repositories. Could you give some more info what has changes wrt to the froyo implementation. Hedwin On Mon, Dec 27, 2010 at 6:37 AM, deepak singal deesin...@gmail.com wrote: Done. Thanks a lot for your help. On Sun,

Re: [android-porting] gingerbread alsa build issue

2010-12-29 Thread Joerie de Gram
Hi, I'm not entirely sure what you mean by big differences, as I've (to my knowledge) only made minor modifications. The alsa repositories in my Github [1] are forked from the froyo branch, with three additional commits to solve some issues: - Missing LOCAL_MODULE_TAGS in alsa-lib/alsa_sound. -

[android-porting] /sys/devices/virtual/gpio access from Java?

2010-12-29 Thread A Curtis
Hello, I have exported some GPIOs to sysfs and now I want to manipulate them from Java. How do I do this? new FileOutputStream(/sys/devices/virtual/gpio/gpio128/value); // throws an error Do I need to use the NDK for this job? TIA -- unsubscribe:

[android-porting] I thought you could Build in Flash, and Port to Android with a click?

2010-12-29 Thread Vince
I am a little confused here. I thought we could create an application in say, Flash CS5 and port it over to the Android with a simple click or short command. Is this possible? I have been looking around, and see that there may be a way to do it with AIR, but haven't found anything concrete. Any

[android-porting] Re: Porting the audio stack to vanilla Linux x86

2010-12-29 Thread Glenn Kasten
Some important audio directories include: frameworks/base/services/audioflinger/ frameworks/base/include/media/ frameworks/base/media/libmedia/ frameworks/base/media/mediaserver/ This is not a complete list, but it should provide some material to get started. To find the dependencies, take

[android-porting] Custom bootanimation

2010-12-29 Thread agent-10
Hi, I can't change default boot animation. I added a new png file to mydroid\frameworks\base\core\res\assets \images and changed path to my own png in BootAnimation.cpp. But I see only first ANDROID_ animation then black screen and then Android Home screen. Can anyone help me? -- unsubscribe:

[android-porting] alsa player

2010-12-29 Thread upendra mathur
Hi, I am doing a recording using alsa player, but i am getting too many glitches while playing the recorded voice, could anyone help me out how to resolve glitches. Br, Upendra -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: How can I re-init the screen

2010-12-29 Thread kfpan
The code in this area is complicated. Although I view myself a good code hacker, I am lost here. From where the Window Manager gets its screen dimension in the first place? The Window Manager is in Java, but the surfaceflinger is in C. Are they supposed to communicate? Thanks, Ron On Dec 18,

Re: [android-porting] I thought you could Build in Flash, and Port to Android with a click?

2010-12-29 Thread Ashwin Bihari
That's something Adobe is working on and will be available when they make their SDK and environment available. I believe they are gonna allow developer access to that at some point.. Regards -- Ashwin On Tue, Dec 28, 2010 at 4:59 PM, Vince vinceact...@gmail.com wrote: I am a little confused

Re: [android-porting] alsa player

2010-12-29 Thread srinath ramini
Check the Recording Sampling Rate and Playing Sampling Rate. On Wed, Dec 29, 2010 at 7:18 PM, upendra mathur upendramat...@gmail.comwrote: Hi, I am doing a recording using alsa player, but i am getting too many glitches while playing the recorded voice, could anyone help me out how to

Re: [android-porting] Re: Porting the audio stack to vanilla Linux x86

2010-12-29 Thread Olivier Guilyardi
Hello Glenn, thank you for your answer. Actually, for now my question is mostly about the kernel modules, and especially binder which is apparently used for IPC between libmedia and audioflinger. I did found kernel/common.git/drivers/staging/android and tried to compile binder as a kernel

[android-porting] android support for 18bpp lcd display

2010-12-29 Thread nitvish...@gmail.com
Hi I am porting android for 18bpp display.But in android(Cupcake)only 16bpp(RGB565) support is there.Is there any proper way to make it work for 18bpp display. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] android support for 18bpp lcd display

2010-12-29 Thread Ashwin Bihari
First, if you are indeed doing a porting effort start with either Eclair or FroYo, why would you want to start with Cupcake that is SOO old and virtually obsoleted?? Regards -- Ashwin On Wed, Dec 29, 2010 at 10:42 AM, nitvish...@gmail.com nitvish...@gmail.com wrote: Hi I am porting android

Re: [android-porting] android support for 18bpp lcd display

2010-12-29 Thread Dianne Hackborn
I have never seen a display that actually has a 18bpp frame buffer. Are you sure that is what you have? Usually when a display is claimed to be 18bpp, it is using a 16bpp frame buffer and wiring the green low bit to the red and blue low bits. On Wed, Dec 29, 2010 at 7:42 AM,

Re: [android-porting] Custom bootanimation

2010-12-29 Thread Dianne Hackborn
What is the first ANDROID_ animation? There is only one animation on a stock build -- there is first a static image shown by the initial boot loader, than the android animation when the system is up enough for it, and that goes immediately to the running UI. On Wed, Dec 29, 2010 at 4:16 AM,

Re: [android-porting] Is there a standard for updating a system ?

2010-12-29 Thread Dianne Hackborn
This isn't my area, so I can't give much detail, but the source for the recovery system (which is what installs OTA updates) is here: http://android.git.kernel.org/?p=platform/bootable/recovery.git;a=tree The basic idea I believe is that there is a separate recovery partition with a minimal

Re: [android-porting] Custom bootanimation

2010-12-29 Thread Deva R
there is first a static image shown by the initial boot loader, than the android animation when the system is up enough for it, and that goes immediately to the running UI. seems intention is to customize the android animation when the system is up enough for it part, but currently blank screen is

Re: [android-porting] I thought you could Build in Flash, and Port to Android with a click?

2010-12-29 Thread Deva R
got curious and came across this http://tv.adobe.com/watch/flash-platform-in-action/use-flash-professional-cs5-to-develop-adobe-air-apps-for-android/ seems if u have adobe AIR (VM for adobe apps) installed in android, u can run flash cs5, and adobe air for android released this year., is adobe

Re: [android-porting] Custom bootanimation

2010-12-29 Thread Dianne Hackborn
On Wed, Dec 29, 2010 at 1:46 PM, Deva R r.deva...@gmail.com wrote: there is first a static image shown by the initial boot loader, than the android animation when the system is up enough for it, and that goes immediately to the running UI. seems intention is to customize the android

Re: [android-porting] /sys/devices/virtual/gpio access from Java?

2010-12-29 Thread Deva R
Do I need to use the NDK for this job? I guess so. You need a JNI, and can access sysfs from java via the jni interface. Jave = JNI native = sysfs files exact same discussion for another sysfs handling = http://groups.google.com/group/android-porting/browse_thread/thread/3c975ead70fe1bfe/ On

Re: [android-porting] Re: Which platform manifest for android-2.6.37-rc7?

2010-12-29 Thread Deva R
Booting froyo on 2.6.37 might need some bionic modification., to start with, Android 2.2 bionic have 2.6.32 kernel headers ( ./bionic/libc/kernel/common/linux) compare against android-2.6.37-rc7 kernel headers ( $KERNEL_ROOT_DIR/include/linux) On Mon, Dec 27, 2010 at 8:10 PM, hedwin

Re: [android-porting] Re: How can I re-init the screen

2010-12-29 Thread Dianne Hackborn
It uses the Display class. Display is implemented partly with JNI code to call on to surface flinger. On Tue, Dec 28, 2010 at 12:49 PM, kfpan ronaldthepa...@gmail.com wrote: The code in this area is complicated. Although I view myself a good code hacker, I am lost here. From where the

[android-porting] Re: I thought you could Build in Flash, and Port to Android with a click?

2010-12-29 Thread Vince
Yes. After doing a little more research while waiting for this question to be answered, I found out that you could download the Air 2.5 Beta which has the ability to port your flash / as3 code to Android native. I created a .apk in a few minutes, and it works nicely. On Dec 29, 2:53 pm, Deva R

[android-porting] Re: Interfacing native code to hardware functions

2010-12-29 Thread A Curtis
Chris, Have you tried to access sysfs directly frdom Java? I have not been able to get this to work. Could you provide a code fragment? TIA On Nov 23, 10:12 am, Chris Stratton cs07...@gmail.com wrote: On Nov 23, 5:33 am, Mikkel Christensen mikkel.christen...@ixonos.com wrote: If the LED

[android-porting] Status of Android CTS (Compatibility Test Suite) on froyo-x86 and gingerbread?

2010-12-29 Thread Kevin
Android CTS (Compatibility Test Suite) I know there is a project to port the CTS to x86.I want know why do we must porting the CTS to x86? I know this module can test software and hardware and check the app if comply the google Compatibility Definition as well. Can you tell me whether this