[android-porting] TOUCH EVENT to wake up the android system from sleep

2011-01-03 Thread Arun Joseph
Hi, I would like to add the TOUCH EVENT to wake up the android system from sleep. What is the best way to add this functionality to the Android framework? Thanks, Arun -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: Audio output is mono in my application

2011-01-03 Thread Nilly
To Add more My application is sending stereo data to audio flinger which in turns using audio track. I have verified num of channel and it is 2. Also vol of left and right channel is same 1.0. Please let me know any thing is wrong. On Jan 3, 2:10 pm, Nilly wrote: > Hi All, > > I have written sim

[android-porting] Re: enable log message for dynamic linker

2011-01-03 Thread allstars
oh Deva thanks but my original question is how does it designed to work in the first place? without hard coding thanks On Jan 3, 8:23 pm, Deva R wrote: > it is set from "DEBUG=" of elfdata ('m not sure now that how its passed > from build/source) > > for quick debugging, you can hardcore debug_

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

2011-01-03 Thread Chris Stratton
On Jan 2, 3:31 pm, A Curtis wrote: > On second thought there is a difference, > > The problem isn't just a sequence of instructions but having > sufficient permission to execute. The Java JVM does not run as root. echo isn't setuid root either > So,you need something that runs as root to change

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

2011-01-03 Thread Chris Stratton
On Jan 2, 3:31 pm, A Curtis wrote: > On second thought there is a difference, > > The problem isn't just a sequence of instructions but having > sufficient permission to execute. The Java JVM does not run as root. > So,you need something that runs as root to change permissions to > enable Java acc

Re: [android-porting] Re: howto fix tty access to enable job control?

2011-01-03 Thread Ashwin Bihari
I don't have a reference handy and found this out by looking at other Wiki's that talked about booting Android on various devices and they were all defining it, I had initially removed it and had the no job control problem, put that single variable back in and boom I had it back.. -- Ashwin On

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

2011-01-03 Thread A Curtis
> great., can u share the code you used to run these commands from java?? Please refer to this thread http://groups.google.com/group/android-porting/t/3c975ead70fe1bfe -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: howto fix tty access to enable job control?

2011-01-03 Thread A Curtis
Excellent! Is there a document which describes the various Android boot args? TIA Allen On Jan 2, 8:51 am, Ashwin Bihari wrote: > Also, > > For the Linux bootargs, in addition to defining the "console=" line, > you need to define the "androidboot.console=" and that will get you > the process co

[android-porting] Re: integrating Xvid code in to open core

2011-01-03 Thread Srikant
There are some pdf documents available in the OMX folder, it would be helpful for you going through them. On Jan 3, 6:46 pm, sk wrote: > Hi > > I am new to android i want to integrate new codec(XVID Codec to PV > opencore ( in the OMX folder) > framework help me where to start and where i have to

[android-porting] integrating Xvid code in to open core

2011-01-03 Thread sk
Hi I am new to android i want to integrate new codec(XVID Codec to PV opencore ( in the OMX folder) framework help me where to start and where i have to do modifications required. thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android

Re: [android-porting] problems with ALSA

2011-01-03 Thread Amit Pundir
On Sun, Jan 2, 2011 at 6:34 PM, Murali K. Vemuri < vemuri.muralikris...@gmail.com> wrote: > Hello Srinath and group, > > I made the changes in asound.conf and also I found some h/w errors and also > some issues at driver, and fixed one by one. Finally I checked the BIT(or > Serial) CLK & LR (Left-

Re: [android-porting] Android

2011-01-03 Thread Deva R
there are lots.. http://elinux.org/Android_Portal => neat android info steps involved in a live android project on arm targets (arm cortex) http://omappedia.org/wiki/Android_Getting_Started http://elinux.org/Android_on_OMAP Few projects hosted on google code http://code.google.com/p/rowboat/

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

2011-01-03 Thread Deva R
great., can u share the code you used to run these commands from java?? On Fri, Dec 31, 2010 at 12:50 AM, A Curtis wrote: > > I got this working! > > Basically I did not realize that SYSFS was more sophisticated than / > proc and actually supported file permissions. > > This is basically what I

Re: [android-porting] enable log message for dynamic linker

2011-01-03 Thread Deva R
it is set from "DEBUG=" of elfdata ('m not sure now that how its passed from build/source) for quick debugging, you can hardcore debug_verbosity in below piece of code bionic/linker/linker.c => __linker_init() while(vecs[0] != 0) { if(!strncmp((char*) vecs[0], "DEBUG=", 6)) {

[android-porting] enable log message for dynamic linker

2011-01-03 Thread allstars
hi I try to see more logs from dynamic linker /system/bin/linker and I do as the README.txt says to use -DLINKER_DEBUG=1 in Android.mk but I want to see more message from PRINT INFO TRACE macro README.txt says "You can increase the verbosity of debug traces by defining the DEBUG environment var

[android-porting] Audio output is mono in my application

2011-01-03 Thread Nilly
Hi All, I have written simple application using audio flinger to play audio but than output is mono. whereas default music player is playing in stereo. I have set stereo channel from my Code. Also alsa HW paramas output is cat /proc/asound/card0/pcm0p/sub0/hw_params access: MMAP_INTERLEAVED forma