Making Bluetooth work on x86 - please help

by Bzbit » Fri, 17 Jul 2009 00:39:58 GMT


Sponsored Links
 Hi

I'm like to make Bluetooth work on my x86 platform,
I added - BOARD_HAVE_BLUETOOTH := true and resolved compilation errors
as mentioned in -
"



Making Bluetooth work on x86 - please help

by Bzbit » Mon, 20 Jul 2009 02:47:20 GMT


 I have removed the "CONFIG_ANDROID_PARANOID_NETWORK" from the Kernel
now I can see the device under "hciconfig -a".
but still I dont see it under "hcitool dev"





> "


Sponsored Links


Making Bluetooth work on x86 - please help

by Bzbit » Wed, 22 Jul 2009 02:12:12 GMT


 'm having problems with enable/disable the BT device from the GUI.

So here is my status so far -

hciconfig + hcitool are working (I can scan).
even - bttest enable + disable are working, as I understand this
means hcid is working ok.

As far as I can see bttest enable - is calling the same bt_enable
function as from the jni, then why the GUI is not able to work?
Can someone please help me with this?

Here is my init.rc - (the hciattach & rfkill are not relevant I
removed them from the code)
----------------
# chmod 0660 /dev/ttyS1
# chown bluetooth bluetooth /dev/ttyS1
service dbus /system/bin/dbus-daemon --system --nofork
socket dbus stream 660 bluetooth bluetooth
user bluetooth
group bluetooth net_bt_admin
service hcid /system/bin/hcid -s -n -f /etc/bluez/hcid.conf
socket bluetooth stream 660 bluetooth bluetooth
socket dbus_bluetooth stream 660 bluetooth bluetooth
group bluetooth net_bt_admin misc
disabled
oneshot
#service hciattach /system/bin/hciattach -n /dev/ttyS1 texas 115200
# user bluetooth
# group bluetooth net_bt_admin misc
# disabled
# oneshot
--------------------
thx

On Jul 19, 9:47pm, Bzbit <benziz...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Making Bluetooth work on x86 - please help

by Nick Pelly » Fri, 07 Aug 2009 01:22:20 GMT


 i,

It is hard to help with the information you have given. If you can
scan from the command line then that is a very good start. Do you have
the logs when you try and turn BT on/off from the UI? I would try
instrumenting the UI code and JNI code with log statements to see
where exactly it fails.

Nick


On Tue, Jul 21, 2009 at 11:11 AM, Bzbit<benziz...@gmail.com> wrote:

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Playing RTSP or m3u with MediaPlayer

I have seen conflicting reports about this, but at least one which
says it's possible.  My code looks like the following (although I've
tried a different method with the same results:

                MediaPlayer player = new MediaPlayer ();
                if (player != null)
                {
                        try
                        {
                                Log.d (TAG, "Player created.");
                                player.reset ();
                                player.setDataSource (URL);
                                player.prepare ();
                                player.start ();
                        }
                        catch (Exception e)
                        {
                                Log.d (TAG, "Exception: " + 
e.getLocalizedMessage ());
                        }
                }

I've used two different URLs that look like:

        rtsp://site.com/stream.sdp
        http://site.com:3000/stream.m3u

In all cases (both in emulator and on HTC Evo) prepare() throws an
exception (status=0x1).  Anyone know what's going on?

Thanks,
Joe

-- 

2. Playing video with an alpha channel

I have a project that requires playing a video with an alpha channel
(transparent background) over the top of a  background image but so
far I can't figure out a way to do it.

Does anyone know if this is possible or not?  I've searched every
possible combination without finding anything useful.

Thanks for your assistance.

-- 

3. How to generate system.img from Froyo for HTC HERO G2

4. WebView mouseover event

5. Do you know any open source game or media player on android phone?

6. First App Development- Web App for checking grades

7. To implement listner on checkbox in a listview