[android-porting] getprop/setprop

2010-08-09 Thread Viral Mehta
Hi all, I am trying to use getprop()/setprop() in my native application. But, they are not working. property_set() is working fine; but property_get() is not working as expected. I want to set some value and want that to be available on next reboot of the phone. Even ls /data/property/ also shows

Re: [android-porting] Alternative ways to install drivers

2010-08-09 Thread Ashwin Bihari
To properly install a Kernel module (driver) on your phone, you'd have to get the exact same configuration setting that was used and compile your Kernel and module against that..this would give you the BEST chance of having the driver actually load. Since it's fairly hard to get the exact same

[android-porting] Re: how to flash the RFS

2010-08-09 Thread Ian
Ashwin, I appreciate if you can point me further I successfully compiled u-boot.bin, uImage, system.img, ramdisk.img, userdata.img for Marvell Littleton. And my MTD partitions look like this # cat /proc/mtd # dev:size erasesize name # mtd0: 0010 0002 Bootloader # mtd1: 0030

[android-porting] Re: how to flash the RFS

2010-08-09 Thread Ian
Ashwin, I appreciate if you can point me further I successfully compiled u-boot.bin, uImage, system.img, ramdisk.img, userdata.img for Marvell Littleton. And my MTD partitions look like this # cat /proc/mtd # dev:size erasesize name # mtd0: 0010 0002 Bootloader # mtd1: 0030

[android-porting] Re: Question about BlueZ licenses (LGPL and Apache)

2010-08-09 Thread Madhavi Manchala
Dear Atul, Thank you very much for your valuable inputs. Thanks and Regards, Madhavi M On Aug 7, 7:44 pm, Atul Raut atul.dr...@gmail.com wrote: Hi Madhavi, If your code is not part of linux kernel then you dont need to worry for anything. Things to take care is your code should not use any

Re: [android-porting] Re: Question about BlueZ licenses (LGPL and Apache)

2010-08-09 Thread Pavan Savoy
Yes, BlueZ is one of those libraries which is strangely licensed. libbluetooth.so is GPL licensed.. whereas liba2dp.so is LGPL ... for other libraries.. I guess each individual headers need to be checked... On Mon, Aug 9, 2010 at 4:33 AM, Madhavi Manchala madhavi.li...@gmail.com wrote: Dear

[android-porting] Re: Android HAL.

2010-08-09 Thread Rahul Soparkar
Hi Atul and Uma, Best way to learn the HAL layers is to study the HAL interface header files which define the Interface of the HAL layer for example look for a file called YOUR_ANDROID _CODEBASE_PATH/hardware/libhardware/ include/hardware/sensors.h will explain about how to interface various

Re: [android-porting] chown problem

2010-08-09 Thread Deva R
you can add chmod to the fs entry in init.rc chmod 0666 /data/misc/wifi/bcm_supp.conf On Wed, Aug 4, 2010 at 1:38 PM, nus noh.ung...@gmail.com wrote: Hi, all. I have one question about the chown() service call. In the ensure_config_file_exists() function of wifi.c, this function is

Re: [android-porting] How to increase Output buffer size for MPEG-4 video decoder in Opencore in Android

2010-08-09 Thread Deva R
you can intimate the omx-component about increased buffer size, in video decode node, NegotiateParameters stage., our implementaiton reference.

Re: [android-porting] Android Porting on Hawkboard

2010-08-09 Thread Deva R
first u can check if ur TFTP server accesses are fine. see if uImage first accessible from TFTP server. from a machine run tftp 192.168.1.100 get uImage (so u can figure out where the problem is - tftp access or h/w wiring) On Fri, Aug 6, 2010 at 2:03 PM, PREMRAJ SV svpre...@gmail.com wrote:

Re: [android-porting] Open core changeset between eclair and froyo

2010-08-09 Thread Deva R
i'm too curious to know, if such changeset exists.. All of them uses opencore 2.02 release from 2009-03, except that each branch got their own fixes., (froyo seems to have superset of all changes, including that of eclair got)

Re: [android-porting] Re: Not able to set APN with 2G network, but works with 3G

2010-08-09 Thread Robert Greenwalt
When you have a 3G connection, can you check the APN setting and see if it shows MCC and MNC? When you create a new APN, does it auto-fill the MCC/MNC settings? If you can collect a bug report right after the device connects on 3G it might help understand what's happening. Thanks Robert On

[android-porting] Re: Playing Around - Lua Scripting on Android Performance

2010-08-09 Thread Chunlin Zhang
On Aug 9, 6:46 am, kristianlm kristianl...@gmail.com wrote: Hi, As I was recently looking into a scripting language feasable for Android. Scripting in this context means having your android-app execute parsed code, like if you want user-supplied AI scripts in your game. There exists a