Well it's not just BlueZ API is it ? Your stack also need to put up the DBUS interface similar to what Android JNI expects or sort of re-write the JNI not to use DBUS and link to your stack.
On Fri, Jun 11, 2010 at 12:16 PM, Surendra Ippagunta <surenre...@gmail.com> wrote: > Yes, if your stack has same BlueZ API. You can replace BlueZ source > code with yours. > > Regards > Surendra > > > On Fri, Jun 11, 2010 at 9:39 AM, Ajith Kamath <sjce.aj...@gmail.com> wrote: >> Since my present code base was originally derived from bluez(but now uses >> other stack) If I remove/modify the #ifdef codes(of my own stack) in >> BluezWrapper will my project end up using just Bluez? >> >> Regards, >> Ajith >> >> On Thu, Jun 10, 2010 at 12:05 AM, Surendra Ippagunta <surenre...@gmail.com> >> wrote: >>> >>> Hi Ajith, >>> >>> Android Java Classes use JNI framework to invoke the native C code. >>> There is JNI wrapper for BlueZ stack and I think you should insert >>> your stack here. >>> >>> http://www.netmite.com/android/mydroid/1.6/frameworks/base/core/jni/android_bluetooth_RfcommSocket.cpp >>> >>> >>> Regards >>> Surendra >>> >>> www.onchiptech.com >>> >>> On Wed, Jun 9, 2010 at 9:22 AM, Ajith <sjce.aj...@gmail.com> wrote: >>> > Hi all, >>> > >>> > Our current solution does not use Bluez stack in Android , but source >>> > of Bluez is included in the Project Source code >>> > >>> > What I need to know is from where is the Make files of Bluez called >>> > Android Eclair code. >>> > ie, Android.mk file exand I need >>> > to know where is this getting called from.ists in >>> > \externals\bluetooth\bluez , >>> > >>> > If you can give me flow from mail build file itself, it would be >>> > great. >>> > >>> > Regards, >>> > Ajith >>> > >>> > -- >>> > unsubscribe: android-porting+unsubscr...@googlegroups.com >>> > website: http://groups.google.com/group/android-porting >>> > >>> >>> >>> >>> -- >>> Surendra Ippagunta >> >> > > > > -- > Surendra Ippagunta > > -- > unsubscribe: android-porting+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-porting > -- --Pavan Savoy -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting