Java bluetooth keyboard

I am wondering where to get started if I want to have my java program communicate over bluetooth?

What my overall aim is to write a Java app for my Mac/windows to that allows the laptop to simulate a bluetooth keyboard. That is, have my laptop connect to an iPhone, etc, and have the iPHone believe it is connected to a bluetooth keyboard.

My research has consisted of two paths both of which have yielded little so any advice is greatly appreciated.

1 I have been trying to work out what libraries/APIs I should use in Java to have it communicate over bluetooth.

2 Trying to find APIs used by keyboard manufacturers i.e. what does a keyboard send and receive to initially pair with a device and secondly send key press events. Or as I have recently found out key down and key up events.


PS I have found a lot of answers talking about having an androide act as a keyboard. I am wanting a way for my Mac to act as a keyboard (talk over bluetooth). A solution that also works on Windows would be great but this is not as necessary at the moment. Thanks again


Need Your Help

Confused about date and time in Excel

java excel time timezone dst

I have Java time (ms since 1/1/1970 UTC) and would like to write that time to a csv file, so that Excel can correctly interpret and format it. I understand, that excel uses "serial date time" as a ...

can't install most recent version of rspec

ruby rspec rubygems bundler

So I'm working on a gem... I type bundle, and it installs rspec 2.0.1 which, as I'm sure you'll understand, is simply unacceptable in this day and age of rspec 2.12.2 .

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.