[android-porting] Re: Making the graphic layer transparent, for video playback

2010-05-10 Thread Svetozar Miuchin
Yes, but what I need to do is make all of the Android's surfaces beneath (and including) the video surface transparent, but leave the global alpha as is for the possible player's media controls. Any ideas? On May 6, 5:20 pm, Deva R r.deva...@gmail.com wrote: you can chose the transparency level

Re: [android-porting] Data connection via cell modem (GPRS)

2010-05-10 Thread Daniel Baeyens
Hi, On Mon, May 10, 2010 at 4:53 AM, ms12 mstic...@gmail.com wrote: We are trying to implement a demo of a mobile industrial sensor via android.  One of the goals of the demonstration is to send data to a web site.  The cell modem is working for SMS messages via  the reference RIL just fine.  

Re: [android-porting] Re: Booting Android from NAND

2010-05-10 Thread hadhami riahi
Hi, Thanks for reply! I've tried that but it didn't work! Could it be possible that Android does not support jffs2 file system? This is my procedure: mkdir ram cp -Rfp android_freescale/out/target/product/imx51_BBG/root/* ram cp -Rfp /android_freescale/out/target/product/imx51_BBG/system/ ram

[android-porting] Touch screen weirdness

2010-05-10 Thread DJ_Steve
ok its me again. just got a newer OMAP3 based device (nokia n900) and am activly working on porting it to android, i can get the android userspace to boot and using keyboard works, but the touch screen refused to even do anything. the touch events are registered if i use getevent but it seems

Re: [android-porting] Re: Booting Android from NAND

2010-05-10 Thread hadhami riahi
Does anyone know where can I find yaffs2 patch for 2.6.28 kernel? Thanks! 2010/5/10 hadhami riahi riahi.hadh...@gmail.com Hi, Thanks for reply! I've tried that but it didn't work! Could it be possible that Android does not support jffs2 file system? This is my procedure: mkdir ram cp

Re: [android-porting] Re: Making the graphic layer transparent, for video playback

2010-05-10 Thread Deva R
hi, i havent tried per fb or video device level., but should be possible.. can you check with local alpha flags, local to framebuffer and overlay devices? V4L2_FBUF_FLAG_LOCAL_ALPHA, V4L2_FBUF_FLAG_LOCAL_INV_ALPHA On Mon, May 10, 2010 at 12:37 PM, Svetozar Miuchin svetozar.miuc...@gmail.com

[android-porting] Re: Touch screen weirdness

2010-05-10 Thread DJ_Steve
nothing that i can see, its like android is entirely ignoring the inputs, ican navigate the os fine using the hw keyboard arrowkeys etc and type using the keyboard but no touch, also i have used the pointer location tool in dev tools and pressed on dozens of differet points of screen and fail to

Re: [android-porting] Re: Touch screen weirdness

2010-05-10 Thread Ashwin Bihari
Check out the 'frameworks/base/services/java/com/android/server/KeyInputQueue.java' file and (at least Andorid 1.6) around line 298 is where the touchscreen events are handled, you might want to put some debugging around that to see if Android is indeed getting the touch events but not doing

[android-porting] Re: Touch screen weirdness

2010-05-10 Thread DJ_Steve
ill examine that, on a related note is it possible the screen is locked in android even though i can navigate menus etc? On May 10, 1:15 pm, Ashwin Bihari abih...@gmail.com wrote: Check out the 'frameworks/base/services/java/com/android/server/KeyInputQueue.java' file and (at least Andorid

[android-porting] undefined reference to functions in my own library

2010-05-10 Thread MuNNa
Hi, While building the test application I'm getting this error. But the library has those function definitions. Error: target Executable: My_AAC_Test (out/target/product/zoom2/obj/ EXECUTABLES/My_AAC_Test_intermediates/LINKED/My_AAC_Test)

RE: [android-porting] Data connection via cell modem (GPRS)

2010-05-10 Thread Uhrenfeldt Henrik
Hi ms12, We created a setup where a 3G mobile broadband dongle works as telephony backend for Android Eclaire (without voice calls of course). It sounds similar to what you guys are doing. I believe that implementing an ip-up script in /system/etc/ppp will make things work:

[android-porting] Android 1.6 - Single Click issue on touch screen

2010-05-10 Thread android1
Hi, We are facing an issue where in the onClick() method of setOnClickListener() is not called on single click event on touch screen. This piece of code is getting called on double click event on touch screen. That is instead of single click the device is taking double click event. The same code

[android-porting] Android Boot time reduction

2010-05-10 Thread Ashu
Hi, We are working on Android boot time reduction. We use OMAP3430 Board as our Hardware. Android version is 1.6 Donut. We used bootchart to visualize boot pattern. From it, we found that following things take bulk of time. 1.Zygote process. It actually do the proloading of java classes that

Re: [android-porting] Re: Touch screen weirdness

2010-05-10 Thread Ashwin Bihari
I don't believe so..if you can navigate, then the touchscreen should be available to you.. Regards -- Ashwin On Mon, May 10, 2010 at 8:21 AM, DJ_Steve steve103...@gmail.com wrote: ill examine that, on a related note is it possible the screen is locked in android even though i can navigate

[android-porting] Re: Touch screen weirdness

2010-05-10 Thread DJ_Steve
thats what i thought, ok ill look at that file and reply later, cheers On May 10, 1:39 pm, Ashwin Bihari abih...@gmail.com wrote: I don't believe so..if you can navigate, then the touchscreen should be available to you.. Regards -- Ashwin On Mon, May 10, 2010 at 8:21 AM, DJ_Steve

Re: [android-porting] undefined reference to functions in my own library

2010-05-10 Thread Deva R
- can you make sure libomx_my_aac_component_lib is built as shared lib and not as static lib? LOCAL_SHARED_LIBRARIES := \ libomx_my_aac_component_lib - by any chance, is libomx_my_aac_component_lib copied to /system/lib folder or built in your setup?? Make sure below directory is present in

Re: [android-porting] porting liboverlay

2010-05-10 Thread Deva R
when overlay is created, it walks through overlay hardware module if (overlayRef != 0) { if (hw_get_module(OVERLAY_HARDWARE_MODULE_ID, module) == 0) { if (overlay_data_open(module, mOverlayData) == NO_ERROR) { mStatus = mOverlayData-initialize(mOverlayData,

Re: [android-porting] BGRA format support

2010-05-10 Thread Deva R
how about having a local color conversion at surfaceflinger/displayhardware (like RGBA-to-BGRA), just before posting the buffer?? On Fri, May 7, 2010 at 1:15 PM, manjunath phc2h5nh3.ma...@gmail.com wrote: Hi, My hardware expect the pixel format for 32-bit to of BGRA instead of RGBA which

Re: [android-porting] porting liboverlay

2010-05-10 Thread Sambhav
when hw_get_module is called the hardware.c forms the complete path to the library based on certain predefined values which by default comes to /system/lib/hw/overlay.default.so Another things is in the sample programs*frameworks/base/libs/surfaceflinger/tests/overlay/ * * spOverlayRef ref =

[android-porting] opencore regression test -logfile and other options

2010-05-10 Thread iod
Hi Community, I'm trying to regression-test opencore's pvplayer_engine_test executable; that is, running some of the available tests and outputting the maximum amount of reproduceable information (Avoiding Time and Memory Addresses in the output.) so that I can diff the output of two runs. The

Re: [android-porting] Re: Guide on adding WiFi drivers to Android

2010-05-10 Thread Nicu Pavel
Thanks Dimitry, I updated the guide. On second look I found out why it the android private namespace socket didn't work for me.If /data/system/wpa_supplicant folder exists the ifname will be built incorrect in wifi.c wpa_ctrl_open() function. Do you think I should submit the wpa driver that

[android-porting] Building in Debug Mode and Native Debugging

2010-05-10 Thread Sambhav
Hi All, How to do build complete android source code in debug mode? Also how to do native application debugging using gdb ? Regards, Sambhav -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: Data connection via cell modem (GPRS)

2010-05-10 Thread ms12
Thanks much for the pointers, we are certainly missing some of the setprop's. I will try those. However, we are using Donut (1.6) and I wonder if they will work there. More detail: I've not been able to see my way clear to setting up the data call via the RIL. I think I could spawn ppp (via

Re: [android-porting] Re: Data connection via cell modem (GPRS)

2010-05-10 Thread Robert Greenwalt
When the browser hangs/errors, can you take a bugreport or capture the logs? That may shed light on the issue. R On Mon, May 10, 2010 at 9:44 AM, ms12 mstic...@gmail.com wrote: Thanks much for the pointers, we are certainly missing some of the setprop's. I will try those. However, we are

[android-porting] Re: Guide on adding WiFi drivers to Android

2010-05-10 Thread dimitr...@android.com
Hi Nicu, I am not sure what the difference between driver_awext.c and driver_wext.c. And the last one has the necessary changes. Thanks, Dmitry On May 10, 9:24 am, Nicu Pavel npa...@ituner.com wrote: Thanks Dimitry, I updated the guide. On second look I found out why it the android private

[android-porting] Re: Data connection via cell modem (GPRS)

2010-05-10 Thread ms12
/.BrowserActivity } D/( 890): unable to unlink '/data/system/usagestats/ usage-20100510.bak': No such file or directory (errno=2) I/ActivityManager( 890): Start proc com.android.browser for activity com.android.browser/.BrowserActivity: pid=10062 uid=10003 gids={3003} D/installd( 867

Re: [android-porting] Re: Data connection via cell modem (GPRS)

2010-05-10 Thread Daniel Baeyens
Hi, On Mon, May 10, 2010 at 6:44 PM, ms12 mstic...@gmail.com wrote: Thanks much for the pointers, we are certainly missing some of the setprop's.  I will try those.  However, we are using Donut (1.6) and I wonder if they will work there. More detail: I've not been able to see my way clear

Re: [android-porting] Android Boot time reduction

2010-05-10 Thread Dianne Hackborn
There is no trivial way to reduce either of those. The zygote class preloading is essential for good performance of the system after boot. The package scan can in theory do some caching of its results after first boot, but this is a lot of work and has the potential to introduce serious bugs if

[android-porting] Where to take question legal questions related 3rd party IP?

2010-05-10 Thread New2Android
Hello All, I am very new to Android world and not sure how to find my way to get the right set of information. I would appreciate some expert advice. I would like to know about financial and legal obligations (if any) that device manufactures need to fulfill while using 3rd patented IP

Re: [android-porting] Re: Guide on adding WiFi drivers to Android

2010-05-10 Thread Nicu Pavel
The differences is that driver_wext.c expects the wifi kernel driver to implement the SIOCSIWPRIV ioctl and respond to android commands like RSSI, MACADDR etc, while driver_awext.c replies to android commands by using standard wireless extensions ioctls and works for most wifi drivers. Basically

[android-porting] Re: Compile android source code for SuperH architecture

2010-05-10 Thread abukustfan
Hi pankaj, maybe you need to create your target board makefile. for example, in vendor/renesas/ms7724 On May 5, 2:04 pm, Pankaj gadhiya_pankaj...@yahoo.co.in wrote: I have MS104-SH4AG and MS104-LCD/AUDIO board. Configuration : CPU        : sh7764                 Product no : R5S77640N300BG  

[android-porting] About CTS testting for Nexus One

2010-05-10 Thread Barry.Tan
Hi ALL, For the Android 2.1 cobase, i have make cts and want to testting use Nexus one device. But have some problem occur(Please see in below), Have anyone can explain to me, and let me know how to test smoothly. cts_host start --plan Android There are 1 existing session(s) for plan Android.