[android-porting] Re: Crash in getSlotFromBufferLocked

2013-03-11 Thread ffxx68
I've narrowed down a bit the place where the failure happens. It's within frameworks/av/media/libstagefright/AwesomePlayer.cpp: struct AwesomeNativeWindowRenderer : public AwesomeRenderer { AwesomeNativeWindowRenderer( const spANativeWindow nativeWindow, int32_t

[android-porting] Re: Crash in getSlotFromBufferLocked

2013-03-11 Thread ffxx68
Yes of course there's a debugger! gdbserver/gdb can make the job, but what process do you suggest to attach to? I'm running AwesomePlayer, but I don't know which process I should attach to, any of these? system251 1 48316 26624 40062b64 S /system/bin/surfaceflinger u0_a7

[android-porting] Which WiFi-Direct commands can be used in Android?

2013-03-11 Thread Hana JUST
I am interested to know what commands can be used in Android to control WiFi direct from the terminal/command line. I took a look into p2p WIFI direct but I didn't catch these commands!! I can find commands used with Linux from this

[android-porting] Prebuilt wifi.c

2013-03-11 Thread M . Ignacio Fernández López
Hello: I need to create a module, which during the compilation, replace the file: hardware/libhardware_legacy/wifi/wifi.c, by a modified wifi.c in my device tree. Thanks for listening. -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] What is implicit function declaration? Can i avoid it?

2013-03-11 Thread Harsh Panchal
I'm trying to port 3.0.x kernel for my device.I ported some board files and drivers then i tried to compile it then came 'error: implicit declaration of function 'pgprot_device''. i know that i can avoid this error by removing -Werror-implicit-function-declaration flag.But is it safe to do so?

Re: [android-porting] Re: Porting Touch Driver

2013-03-11 Thread Sandeep sp
The .idc file needs to be of the same name as driver name. Regards Sandeep S.P: On Thu, Mar 7, 2013 at 4:20 AM, Jonathan Clavin joncla...@gmail.com wrote: You need to write an .idc file for your device. I'm pretty sure if you examine a logcat, it will say that you're missing an somthing.idc

[android-porting] Re: Disable lock screen and start application just after booting Android

2013-03-11 Thread Alex
Thank you for your response, it works great ! I have again a question... :s I'm searching to remove the navigation bar on the bottom. I'm on ICS 4.0.3. I naviguate in folders /frameworks/base/packages/SystemUI/... but I really don't find where to remove the navigation bar (i'm a litte lost with

[android-porting] How makes a Surface valid or invalid?

2013-03-11 Thread AndroidCompile
Hi, I need to know what causes a Surface object's method isValid() to return true or false. Going through the code, I can see that isValid() actually checks whether the surface has a certain texture holder, however, I couldn't find what OR who creates that texture and what is its purpose in the

[android-porting] how to install and build “iw” for android 4.1?

2013-03-11 Thread Hana JUST
i need to install iw wireless packages on android 4.1 device. but i don't know how and what is the require version of the packages to install !! also is it need linux platform to do this or it is enough to build and install on adb shell for android rooting device. i see this link