Re: [android-porting] pty cannot write any more after pppd exit

2010-02-01 Thread Xingwen Huang
check the log of your muxd, set the option v, if the channal crashed, you would get some info. On Tue, Feb 2, 2010 at 3:41 PM, hongxue.ren wrote: > How to examine if the channel is crashed. > I never send command frame to mux control channel to shut it down. > > I suspect that the pty setting ma

Re: [android-porting] pty cannot write any more after pppd exit

2010-02-01 Thread hongxue.ren
How to examine if the channel is crashed. I never send command frame to mux control channel to shut it down. I suspect that the pty setting may exists some problem. Any suggestion? Thanks On Tue, Feb 2, 2010 at 3:21 PM, Xingwen Huang wrote: > Is the channel crashed? (just guset) : ) > > On Tue,

Re: [android-porting] pty cannot write any more after pppd exit

2010-02-01 Thread Xingwen Huang
Is the channel crashed? (just guset) : ) On Tue, Feb 2, 2010 at 2:35 PM, hongxue.ren wrote: > Hi, all > > I start up pppd over a mux channel, and it can work well. > And I also implement the method requestDeactiveDataCall() of > RIL_REQUEST_DEACTIVATE_DATA_CALL request in ril. > In requestDeacti

[android-porting] pty cannot write any more after pppd exit

2010-02-01 Thread hongxue.ren
Hi, all I start up pppd over a mux channel, and it can work well. And I also implement the method requestDeactiveDataCall() of RIL_REQUEST_DEACTIVATE_DATA_CALL request in ril. In requestDeactiveDataCall() function, I stop the pppd by setting a property which is define in init.rc. Pppd receives the

Re: [android-porting] Re: WIFI - signal strength

2010-02-01 Thread hongxue.ren
driver_wext.c in wpa_supplicant may help you On Tue, Feb 2, 2010 at 1:40 PM, linux newbie wrote: > Hi, > > Any suggestion? > > Thanks > > > On Thu, Jan 28, 2010 at 4:29 PM, linux newbie wrote: > >> Hi, >> >> Which section of the code do I need to look at?? >> >> Thanks >> >> On Thu, Jan 28, 2010

[android-porting] System Settings

2010-02-01 Thread android beginner
Hi, How System Settings (eg, volume, brightness) stored in Android and where? Thanks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] disabling touchscreen feature?

2010-02-01 Thread linux newbie
Hi, Our target hardware doesn't have Touch Screen. Do I need to disable any settings during compilation or in runtime in order to inform Android Subsystem. Reason is, on entering webpage address, soft keyboard pops up. Hence is there any mechanism to disable this feature? Thanks -- unsubscrib

Re: [android-porting] Re: WIFI - signal strength

2010-02-01 Thread linux newbie
Hi, Any suggestion? Thanks On Thu, Jan 28, 2010 at 4:29 PM, linux newbie wrote: > Hi, > > Which section of the code do I need to look at?? > > Thanks > > On Thu, Jan 28, 2010 at 3:52 PM, Anil Sasidharan wrote: > >> Hi, >> >> Does the wifi-supplicant report RSSI (signal strength) to >> A

[android-porting] optimization option to compile RFS and kernel

2010-02-01 Thread Nilly
HI all, where can I give -O3 or -Os option for compilation to compile RFS or kernel? Regards, Niral -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] variable parameter function problem

2010-02-01 Thread sanju
Hi All, Good Morning Folks, i have a small problem in hand not sure if it has anything to do with android platform as such ... i have found that if we have a variable argument function and from within the variable argument function you call up any other function having two parameters then the seco

Re: [android-porting] Re: "Failed to load wifi driver" from application

2010-02-01 Thread vishal bhoj
check dmesg to c if the device driver is loaded.which adapter r u trying ? On Mon, Feb 1, 2010 at 2:51 PM, Ask wrote: > Hi Vishal, > > Thanks a lot for your reply. > > I had modified the init.rc file according to your suggestion but > result remains as it is. > > > Have a look at the > > hardwa

[android-porting] Android Eclair GPS and AGPS

2010-02-01 Thread lvsei
Dear all~~ I am porting GPS in android 2.0. I have encountered a problem about GPS fix mode. In the code public void startNavigating() { if (!mStarted) { if (DEBUG) Log.d(TAG, "startNavigating"); mStarted = true; int positionMode;

Re: [android-porting] Native Libraries and System Process

2010-02-01 Thread Dianne Hackborn
You can have native code by putting it a library and having java code with JNI wrappers around it... there are lots and lots of examples of this that you can look at in frameworks/base/services/... I don't understand your question about a native -library- and setuid. If it helps, there are very

Re: [android-porting] installing application silently in android

2010-02-01 Thread Dianne Hackborn
No this is deliberately not possible. On Mon, Feb 1, 2010 at 12:06 PM, android xpert wrote: > Apologies if this post is not in correct forum. > > Please let me know your suggested approach on my persistent problem: > > Is there a way SDK/NDK applications can install other applications > silently

Re: [android-porting] Accessing Parcelable from Another package in Service AIDL interface

2010-02-01 Thread Dianne Hackborn
You will need to add that library to your makefile to link against it (as well as having uses-library in your manifest). On Mon, Feb 1, 2010 at 5:56 AM, Digambar Rasal wrote: > Hi, > > I have platform implementation in platform library - com.pltfrm which > has parcelable classes defined. In anoth

[android-porting] Re: create static binary with pre-compiled library

2010-02-01 Thread Johann Koenig
On Mon, 1 Feb 2010 15:22:55 -0500 Johann Koenig wrote: > On Mon, 1 Feb 2010 15:06:02 -0500 > Johann Koenig wrote: > > Hi, > > I'm trying to compile an executable to run on a phone. Added a > > directory (external/test) and a working Android.mk: Final, working Android.mk: LOCAL_PATH := $(call my

[android-porting] Re: create static binary with pre-compiled library

2010-02-01 Thread Johann Koenig
On Mon, 1 Feb 2010 15:06:02 -0500 Johann Koenig wrote: > Hi, > I'm trying to compile an executable to run on a phone. Added a > directory (external/test) and a working Android.mk: > > LOCAL_PATH := $(call my-dir) > include $(CLEAR_VARS) > > LOCAL_MODULE := disptest > > LOCAL_SRC_FILES := dispt

[android-porting] installing application silently in android

2010-02-01 Thread android xpert
Apologies if this post is not in correct forum. Please let me know your suggested approach on my persistent problem: Is there a way SDK/NDK applications can install other applications silently on android phones 1.5 - latest? I am able to install other applications using ACTION_VIEW intent (which

[android-porting] create static binary with pre-compiled library

2010-02-01 Thread Johann Koenig
Hi, I'm trying to compile an executable to run on a phone. Added a directory (external/test) and a working Android.mk: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := disptest LOCAL_SRC_FILES := disptest.cpp LOCAL_SHARED_LIBRARIES := \ libutils \ libui \ libskia

Re: [android-porting] Playback of video from Browser on Eclair doesn't work

2010-02-01 Thread Nicu Pavel
I can't playback any videos from the Browser on Eclair, used to work fine on 1.6. The download starts but it complains that: "DownloadManager ... no handler found for video/mp4/" / video/3gpp etc. The MediaPlayer framework it's working since I can play the videos with an a 3rdparty video

[android-porting] Re: Minimum diagonal screen size supported

2010-02-01 Thread mikemac
Hi Dianne, Thanks for the insights you have been providing regarding supporting larger/mini screen size devices. Is there any doc or guideline available which lists the modifications that needs to be done at the App F/W and App layers of the Android to support large screen UI. Thanks, Mike On

Re: [android-porting] Why 'system' user cannot access /sdcard ?

2010-02-01 Thread Dianne Hackborn
If you want the system process to do work on the SD card, you will need a helper app running as another uid that does this for it. The system user is not allowed to touch the SD card so that the system does not get killed if the card is removed or unmounted. On Sun, Jan 31, 2010 at 8:13 PM, david

[android-porting] Re: Porting Android 2.0 on Samsung 360 M1

2010-02-01 Thread Abash
Hello again guys, well, we've got news about the Samsung 360 H1 hacking, here there are: http://www.limo-os.com/forum/viewtopic.php?f=4&t=9 On Feb 1, 3:38 pm, zmiguel wrote: > good abash, I'll see it. > thank you > > On 31 Jan, 23:35, Abash wrote: > > > Hi Guys and Chris, > >   I'm sorry, I'v

[android-porting] Re: Porting Android 2.0 on Samsung 360 M1

2010-02-01 Thread zmiguel
nothing new abash. if you have the new update firmware, just forget this trick. anyone know other way to hack and have access to the filesystems (read and write)? cheers, zmiguel On 1 Fev, 14:38, zmiguel wrote: > good abash, I'll see it. > thank you > > On 31 Jan, 23:35, Abash wrote: > > > > >

[android-porting] Re: Why 'system' user cannot access /sdcard ?

2010-02-01 Thread ani
I also faced this issue because my apk had system permission.I think it is difficult to find out a workaround for this as the permission ((probably in init.rc) ) is not granted for system user to access sdcard. Only workaround would be to downgrade yourself to normal user set in manifest file. --

[android-porting] Re: Porting Android 2.0 on Samsung 360 M1

2010-02-01 Thread zmiguel
good abash, I'll see it. thank you On 31 Jan, 23:35, Abash wrote: > Hi Guys and Chris, >   I'm sorry, I've sent a message to Chris, but I'm interested in > posting for anyone else. I've found a very important hack in the > Samsung 360 H1, that allows to access to ANY file in the WHOLE > operating

Re: [android-porting] Re: Losing weight on an Android device

2010-02-01 Thread Sunny Aujla
Hi SR, You can try removing some unwanted services. There are many services installed by default. Regards, Sunny On Sat, Jan 30, 2010 at 1:13 AM, SR wrote: > BTW, we are mainly looking at the flash usage. > > On Jan 29, 11:06 am, SR wrote: > > Hi, > > > >We are porting Android to a sma

[android-porting] Accessing Parcelable from Another package in Service AIDL interface

2010-02-01 Thread Digambar Rasal
Hi, I have platform implementation in platform library - com.pltfrm which has parcelable classes defined. In another package I am adding service but when I try to import parcelable classes from platform package, compilation always fails with - couldn't find import for class com.pltfrm.x. I alread

[android-porting] Re: "Failed to load wifi driver" from application

2010-02-01 Thread Ask
Hi Vishal, Thanks a lot for your reply. I had modified the init.rc file according to your suggestion but result remains as it is. > Have a look at the > hardware/libhardware_legacy/wifi/wifi.c . > If ur wifi driver is built as part of the kernel > please set these property initrc > I have check

Re: [android-porting] Re: Resistive touch screen not working on android-1.6

2010-02-01 Thread Ashwin Bihari
Hi, With the touchscreen tested in Linux, you should use 'getevent' to see what values look like as compared to what the touchscreen driver is getting. The values in 'getevent' are from the post-processed Android code that you added..if those values looks OK, then the coordinates might be OK and s

[android-porting] how to build Android RFS with out network

2010-02-01 Thread Nilly
Hi All, Any one have any idea how to build android RFS with out network? >From kernel I am able to remove whole network - keeping unix domain socket and required stuff. I dont want wifi/ethernet or and any other stuff in android RFS. Regards, Niral -- unsubscribe: android-porting+unsubscr...@

Re: [android-porting] Re: Resistive touch screen not working on android-1.6

2010-02-01 Thread தங்கமணி அருண்
Hi If you've managed to run the ts_calibrate program, you should also > build the other test programs, most notably ts_test and with the > calibration done, you should run ts_test and see if the touch is > responding. > > It responding well > If it is, then you can focus on your Android changes

Re: [android-porting] Re: PPP problem on Android

2010-02-01 Thread Xingwen Huang
I got it. This is my modem's problem. The datas are wrong in my modem . On Wed, Jan 27, 2010 at 7:24 PM, Xingwen Huang wrote: > I check the modem in my PC, using linux pppd, and it works. > BTW, the same options, the same MUXD, using no flow control. > r...@ubuntu:/etc/ppp# pppd call gprs2 > loc