[android-porting] Who is familiar with the Opengl es 2.0?

2010-11-16 Thread 袁堂夫
I want ask some questions about Opengl es 2.0? Who can help me ? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] how to use mediarecorder class in native lib

2010-11-16 Thread qin xiaofen
hi, all when I code a demo to record video, but i meet "prepare" error. Following is my steps: 1.create surface 2. create mediarecorder 3. set audio,video endec/format/output file 4. add surface to mediarecorder 5. prepare 6. start #define LOG_TAG "Video_Demo" #include #include #include #incl

Re: [android-porting] Problem with gralloc and copybits

2010-11-16 Thread Rogério de Souza Moraes
Hi Ritesh, here we made new tests with a new board and appears that this problem no longer occurs. Seems that it was a hardware issue, but thank you for helping me. if the problem comes back I will try your suggestion. Best regards, Rogerio 2010/11/14 Ritesh Solanki : > Hi, > i dont have much i

[android-porting] Re: i2c under /dev

2010-11-16 Thread Hubert
If you want to print or log the meaning of an error number, use strerror(errno). Makes debugging easier. Regards, Hubert On Nov 15, 4:30 pm, shootingatshadow wrote: > Ahh resource busy, I guess ill need to find a way to free it up. > > On Nov 15, 10:29 am, shootingatshadow > wrote: > > > Ah

Re: [android-porting] Problem with gralloc and copybits

2010-11-16 Thread Ritesh Solanki
Hi, i dont have much idea about this but you can try increasing the pmem memory size. As gralloc will be using pmem to allocate the memory. Thanks and regards Ritesh 2010/11/10 Rogério de Souza Moraes > Hi folks, > > I am working in a device based in freescale IMX51_BBG. The system can > boot,

[android-porting] Re: pthread_attr_setinheritsched support in Android

2010-11-16 Thread tewilove
extern JavaVM* jvm; int set_thread_priority(int prio) { int err = 0; JNIEnv* env; jclass clz; jmethodID mid; jobject thread; if (!jvm) return -1; err = (*jvm)->AttachCurrentThread(jvm, &env, 0); if (err < 0) { err = -1; goto done; }

[android-porting] Problem : Eclair Porting on SMDK6410 : Linux Kernel-2.6.29

2010-11-16 Thread deep
Hi, Currently I'm trying to port Eclair ( android-2.1 ) on top of linux-2.6.29 kernel. Platform is SMDK6410 which is designed around s3c6410 soc with ARM1176 core. I have already successfully ported Framebuffer/lcd and SD card driver. Both of them are working fine. I had to port SD card driver bco

[android-porting] Need help for OV3640 quality issue

2010-11-16 Thread Santoshkumar kammar
Hi, please someone help me how to improve the quality of the video in sensor ov3640. & someone send me data sheet of ov3640 3.2 MP -- With Regards, Santoshkumar -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] GPS-Driver: Permission denied

2010-11-16 Thread Dudero
Hello, I'm in Integration a GPS driver into my Android (2.1) and always get the following error message: "Permission denied" from: do { state->fd = open( /dev/s3c2410_serial0, O_RDWR ); } while (state->fd < 0 && errno == EINTR); if (state->fd < 0) { LOGE("could not open gps

[android-porting] Sd card detection while camera application is running

2010-11-16 Thread kalyan
How do I detect the SD card removal/insertion while the camera application(default google Froyo app) is running??. when i boot up my device and remove the sd card I am able to recieve an intent to the broadcast reciever in the application indicating the removal of sdcard. But,when I put the device

Re: [android-porting] GPS-Driver: Permission denied

2010-11-16 Thread Deva R
did u try changing ownership of the device? chown radio /dev/s3c2410_serial0 (from openmoko http://activationrecord.net/radekp/openmoko/android/init.rc ) On Tue, Nov 16, 2010 at 8:56 PM, Dudero wrote: > Hello, > > I'm in Integration a GPS driver into my Android (2.1) and always get > the fol

Re: [android-porting] how to use mediarecorder class in native lib

2010-11-16 Thread Deva R
any log or what error code is returned?? on quick glance, >ret = mr->setOutputFile("/system/videoTest.mpeg"); i havent seen any support for mpeg container. try .3gp (refer http://developer.android.com/guide/appendix/media-formats.html ) You can refer android camcorder app soruce for reference.,

[android-porting] Interfacing native code to hardware functions

2010-11-16 Thread jon.schell
I am trying to create a simple app for testing that will toggle an LED on the phone as needed. I have the NDK set up and my c code compiles, but I don't know how to link it to the actual hardware function that would set the LED. I'm using the actual source code for the hardware, it's not in an ex

[android-porting] com.android.internal

2010-11-16 Thread AndDip
Dear Developers ! I am developing an Application for one of the OEM. And I need to import com.android.internal classes to new namespace. Yes, I have full access to android OS and building full ROM flash image. I do not get any compile time error, but as soon as I launch the app, I get run-time ex

Re: Re: [android-porting] how to use mediarecorder class in native lib

2010-11-16 Thread qin xiaofen
It is ok when I set output file as **.3gp thank you very much! Deva R 在 Wed, 17 Nov 2010 01:05:19 写道: any log or what error code is returned??on quick glance,>ret = mr->setOutputFile("/system/videoTest.mpeg"); ?i havent seen any support for mpeg container. try .3gp ?(refer?http://developer.

Re: [android-porting] Need help for OV3640 quality issue

2010-11-16 Thread Ananthapadmanaban
Hi santosh kumar, What type of quality issues you are facing with ov3640 ? Thanks and regards, Ananth. On Monday 15 November 2010 12:54 PM, Santoshkumar kammar wrote: Hi, please someone help me how to improve the quality of the video in sensor ov3640.& someone send me data sheet of ov3

[android-porting] how to present the renderbuffer on the screen?

2010-11-16 Thread 袁堂夫
I use opengl es 2.0 to draw some picture,and create the FBOs, but how to present the renderbuffer on the screen? --code like this glGenFramebuffers(1, &viewFramebuffer); glGenRenderbuffers(1, &viewRende