[android-porting] a problem of usb driver and adb

2010-10-22 Thread yenchengwang
hi all, I'm porting usb driver, and have problem need some hints. my system is froyo + 2.6.32( git clone from http://android.git.kernel.org/?p=kernel/common.git;a=shortlog;h=refs/heads/android-2.6.32 ) when I connect my device to NB : 1. use "lsusb", I can see my device. 2. us

Re: [android-porting] Re: How to connect to a binder c++ service?

2010-10-22 Thread Dianne Hackborn
The Java runtime has wrappers around C++ IBinder. This is what Java's Binder is. You can write a JNI function that returns a Java Binder and in its implementation instantiate a C++ IBinder interface and return it. You will need to use this magic function in libandroid_runtime to do this: ext

[android-porting] Re: How to use system () call

2010-10-22 Thread fadden
On Oct 22, 10:11 am, neeloor2004 wrote: > I am doing the following  but not working > r= system ("(\system\bin\mydaemon") What does the actual line look like? i.e. does it have the '(' at the start, and use backward slashes? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] How to use system () call

2010-10-22 Thread neeloor2004
Hi All (I am working for an OEM so I have access to full source code) I have written a daemon and included in the rom (\system\bin \mydaemon) I also created another lib and JNI interface (Which I will call from Android connection Manager) Now when I get a call from JAVA (through jni) I wanted to

[android-porting] Re: Connecting a Bluetooth device via USB on beagleboard

2010-10-22 Thread MikeS
It appears that my mistake was bringing up the interface manually at the console before trying to enable bluetooth via the UI. It works if I don't do that. Paired it with my cell phone, and tried transferring a file, but the connection failed. I don't know much about bluetooth, but I wonder if A

[android-porting] Re: [android-developers] Re: [USSD] Any API's or code flow ?

2010-10-22 Thread Atul Raut
Does USSD works on Android Phone ? On Thu, Oct 21, 2010 at 2:08 PM, Atul Raut wrote: > How to send Ussd command/code using Android phone. > When am trying *#306# [for getting IMEI number] it say > wrong Ussd code. But this is very generic and application > to all phone. > > -Atul > > > > On Wed

Re: [android-porting] Re: How to connect to a binder c++ service?

2010-10-22 Thread Samuel Skånberg
Hello Dianne, Thanks for you quick response! In another post a developer asked how one should go about to publish an IBinder interface of a native service with the system manager. There you said one should follow four steps "1. Declares a shared user ID with the system process, and that its comp