[android-porting] Re: iPhone port

2009-08-20 Thread tommy tommy
http://blog.csdn.net/hongjiujing/archive/2009/08/18/4460044.aspx i know iphone use S3C6400/10,you can take it as refer! that is s3c6410 android porting step by step! my msn is :hongjiuj...@hotmail.com ,gtalk is hongjiuj...@gmail.com 2009/8/19 bikcmp(creator and main programmer)

[android-porting] pppd failed with unrecognized option '/dev/pts/1'

2009-08-20 Thread edwardlee.2002
Hi All, I use gsm0710muxd from git.omapzoom.com for GSM 07.10 multiplexer. Our ril work fine with phone call via interface /dev/pts/0 created by gsm0710muxd. Other interface /dev/pts/1 is used for data channel. I can run pppd but it failed with unrecognized option '/dev/pts/1' and Couldn't

[android-porting] Re: sensors.h file descripter help

2009-08-20 Thread Ke
Some code snippets, Seem to have trouble getting a valid fd the second time around. I suspect I am doing something wrong with dupping the fd or not using select properly in the data__poll function. Code: static int control__open_data_source(struct sensors_control_device_t *dev) { if

[android-porting] how to disable auto-rotation feature

2009-08-20 Thread Harishkumar V
Hi, I have a apk file, where i dont have the source for it. When i run the apk, it automatically rotates the screen, /WindowManager( 879): Setting rotation to 1, animFlags=0 I/WindowManager( 879): Config changed: { scale=1.0 imsi=0/0 locale=en_US touch=1 key=2/1/2 nav=3 orien=1 } then after

[android-porting] Re: compile on 64-bit linux

2009-08-20 Thread Gani Bhagavathula
Ryan: Can't help you with the actual issue you are having - but can confirm that compiling works on ubuntu 9.04 64 bit system for me. However, are you just running 'make' or are you using 'make' with a particular target such as iso_img? I have not tried just running 'make', which is why I ask.

[android-porting] RE: RILD works abnormally after setting up APN via GPRS

2009-08-20 Thread Christensen, Mikkel
Good - then apply the patch that I proposed to see what is going wrong with the PPP dial-up. Best regards, Mikkel -Original Message- From: edwardlee lee [mailto:edwardlee.2...@gmail.com] Sent: Thursday, August 20, 2009 9:16 AM To: Christensen, Mikkel Cc: samuel omlin;

[android-porting] RE: RILD works abnormally after setting up APN via GPRS

2009-08-20 Thread Christensen, Mikkel
Hi, Please use the following patch to get the PPPD logging correct. https://review.source.android.com/#change,9089 It seems like you do not have a MUX channel called /dev/pts/1 can you manually check that you have it? If you can also activate the gsm0710muxd log it would be easier to see if

[android-porting] Re: RILD works abnormally after setting up APN via GPRS

2009-08-20 Thread edwardlee lee
I found there is /dev/pts/1. Here is new log of pppd. I/pppd( 955): Connection terminated. D/pppd( 974): using channel 2 I/pppd( 974): Using interface ppp0 I/pppd( 974): Connect: ppp0 -- /dev/pts/1 W/pppd( 974): Warning - secret file /etc/ppp/pap-secrets has world

[android-porting] Re: rild reboot repeatly because of EOS. Closing command socket.

2009-08-20 Thread Michael Trimarchi
Hi, edwardlee lee wrote: Hi Michael, Thanks for your code! I have tried it and get the same result as gsm0710muxd. I commented some at command such as at+cfun because of our modem not allow such command after power on. Now I can run pppd but it failed with unrecognized option

[android-porting] Re: compile on 64-bit linux

2009-08-20 Thread scudell...@gmail.com
Good to know. I was running simply make. I just tried with a 32- bit version and got the same error, so I don't think the 64-bit aspect is the issue. I'm going to try with 8.10 next. Ryan On Aug 20, 9:57 am, Gani Bhagavathula gani.bhagavath...@gmail.com wrote: Ryan: Can't help you with

[android-porting] Failed to run cupcake on emulator

2009-08-20 Thread Miller Fu
The cupcake can't boot up on the emulator. Can anybody help me check what is the problem? please see the Logcat I built cupcake images and kernel by myself. mille...@millerfu-desktop:~/cupcake$emulator -kernel ~/kernel/arch/arm/ boot/zImage -system out/target/product/generic/system.img

[android-porting] Re: sensors.h file descripter help

2009-08-20 Thread Ke
solved it.. apparently system_server was closing the master/original fd every time there is a request for the fd from a process which utilizes sensor manager. if (ctl-fd 0) { ctl-fd = open_sensors_phy(); } inside the static int control__open_data_source(struct sensors_control_device_t

[android-porting] How to support multiple language key character mapping

2009-08-20 Thread Miller Fu
As I know, current Android framework support qwerty key layout and character mapping. I am going to support French and German now, suppose after changing the locale in setting application, the character should change to French or others. I know currently there is qwerty character mapping support

[android-porting] Re: How to support multiple language key character mapping

2009-08-20 Thread Abhinayak Mishra
You might want to look at : http://www.kandroid.org/android_pdk/keymaps_keyboard_input.html#androidKeymapKeyCharMap -Abhinayak On Thu, Aug 20, 2009 at 10:07 AM, Miller Fu miller.fu...@gmail.com wrote: As I know, current Android framework support qwerty key layout and character mapping. I

[android-porting] running linux commands from java

2009-08-20 Thread human android
I am trying to run linux commands from java but there always seems to some or the other issue, the only command that seems to work is ls. Has anyone tried this? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] Re: How to support multiple language key character mapping

2009-08-20 Thread Miller Fu
Abhinayak, thanks a lot for your reply. But I don't think the document is very helpful. Since the sample code is more like a keyboard driver, but not for layout mapping or character mapping. I wanna my Android like a PC can connect 88/104 keys keyboards. The Window manager maps scancode to

[android-porting] Making procedure calls in Android

2009-08-20 Thread Hvr
Hi, I have requirement to build RPC based messaging system on Android. On the target NFS client and NFS server (as loopback device) should be running. The messages are not actually RPC but derivative of RPC. So there is a server which converts these messages to SUN RPC messages and then NFS