BlueCove library bluecove not available

449 views
Skip to first unread message

giovanni di lembo

unread,
Jul 8, 2011, 4:04:58 PM7/8/11
to bluecove-users
hi all i try to develope a bluecove android app
i ve just followed instructions how to build an android app and i
added bluecove<..>.jar and bluecove-gpl <..>.jar to my build path.

I created a folder libs/armeabi and i put in libblucove.so (of 75 kb
available in a post of this group)

i create my apk and i got an exception when i run my app on my galaxy:


07-08 21:55:43.242: WARN/dalvikvm(2030): No implementation found for
native Lcom/intel/bluetooth/BluetoothStackBlueZ;.isNativeCodeLoaded
()Z
07-08 21:55:43.250: WARN/System.err(2030): Native Library
bluecove_armv7l not available
07-08 21:55:43.258: WARN/System.err(2030):
javax.bluetooth.BluetoothStateException: BlueCove library bluecove not
available
07-08 21:55:43.258: WARN/System.err(2030): at
com.intel.bluetooth.BlueCoveImpl.loadNativeLibraries(BlueCoveImpl.java:
381)
....
...
any idea?

Mina Shokry

unread,
Jul 8, 2011, 4:19:43 PM7/8/11
to bluecov...@googlegroups.com
Make sure the native library (libbluecove.so) is included in your apk. Also note that, bluetooth applications don't run on emulators. Try only on a real device.


--
You received this message because you are subscribed to the Google Groups "bluecove-users" group.
To post to this group, send email to bluecov...@googlegroups.com.
To unsubscribe from this group, send email to bluecove-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bluecove-users?hl=en.


giovanni di lembo

unread,
Jul 9, 2011, 3:36:39 AM7/9/11
to bluecove-users
it is oncluded
and i try on my device.
but nothing.Can i send u my apk?

Mina Shokry

unread,
Jul 9, 2011, 9:35:55 PM7/9/11
to bluecov...@googlegroups.com
if you are sure the native library is installed correctly in the apk, I have nothing more to do. You may want to debug the library loading yourself.

Neal Peacock

unread,
Jul 11, 2011, 11:48:38 AM7/11/11
to bluecov...@googlegroups.com
I noticed it said DalvikVM, are you running this under Android?  I'm don't think you can use jars with dalvik, they have to be .dex files.  I tried something like this with the jar of the XStream library.  I had to convert it to a dex to get it to load, but I still had tons of problems and had to just write my own solution. 

Also the android API should have pretty good support for bluetooth.  Our program uses bluecove on an embedded Linux machine and we can link up from Android using the regular android API, no problem.

Mina Shokry

unread,
Jul 11, 2011, 11:56:51 AM7/11/11
to bluecov...@googlegroups.com
Bluecove jars can run on Android if they were added to the android project correctly and it works just fine. These jars are being converted to dex while building the project. Android isn't the problem. Bluecove works on it just fine. But I guess he doesn't add it correctly, or he tries his code on a device that returns unexpected values for some properties (I really don't think this is the case, but it is still a probability).

giovanni di lembo

unread,
Jul 12, 2011, 4:21:01 PM7/12/11
to bluecove-users
how should i add it correctly?
I follow guide instructions.




On 11 Lug, 17:56, Mina Shokry <minasho...@gmail.com> wrote:
> Bluecove jars can run on Android if they were added to the android project
> correctly and it works just fine. These jars are being converted to dex
> while building the project. Android isn't the problem. Bluecove works on it
> just fine. But I guess he doesn't add it correctly, or he tries his code on
> a device that returns unexpected values for some properties (I really don't
> think this is the case, but it is still a probability).
>
>
>
>
>
>
>
> On Mon, Jul 11, 2011 at 5:48 PM, Neal Peacock <n...@coinfree.com> wrote:
> > **

giovanni di lembo

unread,
Jul 12, 2011, 4:26:03 PM7/12/11
to bluecove-users
does not work at all

Where can i download a stable bluetooth for android release jar.
I do not want remove .so file create armslib folder and bla bla.
I d like to have just a stable jar to include to my android app


On 11 Lug, 17:56, Mina Shokry <minasho...@gmail.com> wrote:
> Bluecove jars can run on Android if they were added to the android project
> correctly and it works just fine. These jars are being converted to dex
> while building the project. Android isn't the problem. Bluecove works on it
> just fine. But I guess he doesn't add it correctly, or he tries his code on
> a device that returns unexpected values for some properties (I really don't
> think this is the case, but it is still a probability).
>
>
>
>
>
>
>
> On Mon, Jul 11, 2011 at 5:48 PM, Neal Peacock <n...@coinfree.com> wrote:
> > **

Mina Shokry

unread,
Jul 12, 2011, 4:39:46 PM7/12/11
to Vlad, bluecov...@googlegroups.com
Hello Vlad,

Many users are asking about a prebuilt jar for bluecove-android2 module. I can't find it in latest snapshot. May you please make a build including it?

ajay pacharne

unread,
Mar 13, 2019, 10:07:01 AM3/13/19
to bluecove-users
After adding .so file getting error like   java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.calsoft.kotlindemo1-a5B-nk3hCjIHJLH6GZIN-Q==/lib/arm/libbluecove.so" has unexpected e_machine: 3 (EM_386)

will you please help in this 
Reply all
Reply to author
Forward
0 new messages