[android-porting] About rotate screen use G-SENSOR

2010-05-17 Thread lgbk
Hi all, I'm debuging my gsensor in my devices.And now in my sensor HAL layer code ,I return two types data.(ID_ACCELERATION and ID_ORIENTATION).I'm confused how covert x,y,z data to pitch,roll.In my code I use pitch = atan(sensors.acceleration.y/

[android-porting] Re: Wifi Issues WL1251

2010-05-17 Thread DJ_Steve
ok i thought i'd post up some debug info of errors see if anyone else can work this out. logcat of attempting to power up wifi through android gui D/SettingsWifiEnabler( 455): Received wifi state changed from Disabled to Enabling D/WifiService( 145): ACTION_BATTERY_CHANGED pluggedType: 0

[android-porting] Re: Wifi Issues WL1251

2010-05-17 Thread DJ_Steve
also this tends to be logcat output on a second attempt at powering up wifi : D/SettingsWifiEnabler( 455): Received wifi state changed from Disabled to Enabling D/WifiService( 145): ACTION_BATTERY_CHANGED pluggedType: 0 E/WifiHW ( 145): Unable to open connection to supplicant on /data/

[android-porting] what is the kernel process to manage the device i/o ctrl?

2010-05-17 Thread chungae9ri
Hi, all. Kernel is composed of many processes like kthreadd, ksoftirqd, ... so what is the process(task) of kernel which respond to the driver I/O control which is called from user space app? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] Re: About rotate screen use G-SENSOR

2010-05-17 Thread lgbk
Some guys told me the sensor raw data is enough.So if it is right ,I think the raw data I have covert and report successfull.So maybe I forget some config in system.I also heared that I need config something in init,rc but I didn,t know what need I add.Can anybody told me or give me some

[android-porting] Re: Help Required in Android Porting in DM6467

2010-05-17 Thread Anurag
Hello Guys, Could anyone provide some inputs? Thanks, Anurag On May 14, 2:17 pm, Anurag anura...@gmail.com wrote: Hello,        I am planning to port android in DM6467 evaluation board. Could anyone share necessary guidelines for android porting to this board and share difficulties

Re: [android-porting] Re: Help Required in Android Porting in DM6467

2010-05-17 Thread Pavan Savoy
http://jwyoo.blogspot.com/2008/05/android-patch.html and Googling Android on DaVinci would probably help !!! On Mon, May 17, 2010 at 4:21 PM, Anurag anura...@gmail.com wrote: Hello Guys,           Could anyone provide some inputs? Thanks, Anurag On May 14, 2:17 pm, Anurag anura...@gmail.com

[android-porting] Android eclair 2.1 - problem to get dns through dhcpcd in wifi network

2010-05-17 Thread Максим Андрущенко
Hi. There is a problem on my platform during starting wifi. DNS is always 0.0.0.0. I use dhcpcd for getting ip address, gateway, dns. DHCPCD gets correct IP address and gateway, but dns is zero. So i can type in browser ip address of a site and open it. But not name, such www.google.com. Here is

[android-porting] Re: Has anyone ported to Gumstix Overo lately?

2010-05-17 Thread Shane Frasier
Hi Raj, Did Android boot for you after this? Thanks to your post I was able to build the bz2, but then when I try to boot my Gumstix I get: Kernel panic - not syncing: Attempted to kill init! which I think means init is dying. Shane -- unsubscribe:

[android-porting] Re: OMX_GetHandle query

2010-05-17 Thread HV
Hey guys, Anybody who's developed their own component, could you please respond? After looking @ some more code, I'm all the more confused!! We are NOT supposed to replace the software MP4 component with our vendor specific version rt? I am assuming that both (software and vendor specific) the

[android-porting] Need help in Porting Android on JOP (Java Optimized Processor)

2010-05-17 Thread Sakthikumar
Hi everybody, I need help in porting Android OS on JOP. Please anybody help me, Regards Sakthikumar. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] How to change text size and color in android:summary

2010-05-17 Thread laloka
Hello everyone, I have a question about how to set text size and text color in CheckBoxPreference For example , the code is from wifi_settings.xml CheckBoxPreference android:key=wifi_enabled android:title=@string/wifi

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

2010-05-17 Thread Uhrenfeldt Henrik
Hi Stich, Please keep the list on copy - then everybody will learn from this :-) Anyway, I think your problem is in the line: LOGD( --- PPPD started successfully; IP local : %s Retry count : %d,response[3],retry); In fact response[] is only three elements big, and you refer to index 3

[android-porting] Nexus and Many Wallpaper not working

2010-05-17 Thread ashukla
Hi All, I tried to run live wallpapers on eclair 2.1 but they are not working. I tried to run Nexus and Many but it is giving following error: droid.wallpaper: page allocation failure. order:9, mode:0x40d0 [c0030894] (dump_stack+0x0/0x14) from [c0084ea0] (__alloc_pages_internal+0x3bc/0x3d4)

[android-porting] Run android apps on Linux

2010-05-17 Thread suhas
I have ported and built the android kernel for x86 and it is booting up on ubuntu. Now I want to know how to run android applications natively on ubuntu without SDK. As I have said i have the android kernel working. How do I go about running or executing these android applications.? --

[android-porting] Re: Software Volume Control Problem

2010-05-17 Thread 4randd
Hi Ani, Did you find answers to your questions? I am facing the exact same problem with Eclair on Zoom2. Ringer volume does change but it does not write anything to codec registers. thanks, randd On Dec 4 2009, 8:40 am, ani anish198519851...@gmail.com wrote: Please reply to my last question in

[android-porting] How to define GPS module in Android?

2010-05-17 Thread osama gamal
I'm porting android to Devkit8000 which is a BeagleBoard clone. I have a GPS module connected on /dev/ttyS0. I could successfully get NMEA output when writing cat /dev/ttyS0 in the terminal emulator. I want to know how to let android know that there is a GPS module on /dev/ttyS0 and it is

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

2010-05-17 Thread MM stich
Yes, I noticed that shortly after I sent the message. Fixing it did not change anything. It appears that readRilMessage in RIL.java is executing before the response is sent. I don't understand why this should happen. I was going to clear the net.gprs.local-ip property in the ip-down script so

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

2010-05-17 Thread Uhrenfeldt Henrik
Hi Mike, I still think the RIL crashes if you get the two lines: E/RILJ( 929): Hit EOS reading message length I/RILJ( 929): Disconnected from 'rild' socket The log message is confusing because the java process somehow finishes its ongoing function call through JNI

[android-porting] Re: Android eclair 2.1 - problem to get dns through dhcpcd in wifi network

2010-05-17 Thread supermaximus79
I have found what the problem with! DHCPCD calls script dhcp-run-hooks, which also calls 20-dns.conf script. 20-dns.conf script set DNS property this way: setprop dhcp.${interface}.dns${count} ${dnsaddr} in my case it will be: setprop dhcp.wlan0.dns1 77.120.130.20 - but this doesn't work in

Re: [android-porting] Re: Android eclair 2.1 - problem to get dns through dhcpcd in wifi network

2010-05-17 Thread Robert Greenwalt
the net.dns1 property is set by the ConnectivityService when it switches networks. The WifiStateTracker is supposed to give the ConnectivityService a list of properties it uses to store dns values and then the CS will copy them when appropriate. You should verify that your WifiStateTracker is

[android-porting] Re: Android eclair 2.1 - problem to get dns through dhcpcd in wifi network

2010-05-17 Thread supermaximus79
Thanks! I verified in WifiStateTracker constructor interfaces names, here they are: DNS1 = dhcp.wlan0.dns1 DNS2 = dhcp.wlan0.dns2 Looks like everything is ok But still there is empty DNS. My logs: init: starting 'wpa_supplicant' D/WifiService( 1731): ACTION_BATTERY_CHANGED pluggedType: 1

Re: [android-porting] Re: Android eclair 2.1 - problem to get dns through dhcpcd in wifi network

2010-05-17 Thread Robert Greenwalt
Your WifiStateTracker reports: V/WifiStateTracker( 1731): IP configuration: ipaddr 192.168.1.101 gateway 192.168.1.1 netmask 255.255.255.0 dns1 0.0.0.0 dns2 0.0.0.0 DHCP server 192.168.1.1 lease 7200 seconds so the mDhcpInfo object seems to not know what's up regarding dns. Can you include the

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

2010-05-17 Thread MM stich
Hi Henrik, Removing all variables from the LOGD calls did not change anything. After multiple experiments with the placement of LOGD's, I believe it is crashing whenever property_get is executed. Can never get by that: len = property_get(net.gprs.local-ip,response[2], NULL); I printed