06-24-2013 07:40 AM
I want to share a text file using Blue Tooth. I have the file path and it is a text file. For this, i have written the below code:
Registry _registry = Registry.getRegistry(Application.getApplication().
getClass().getName()); Invocation invocation = new Invocation(fileName, "text/plain", BlackBerryContentHandler.ID_SEND_USING_BLUETOOTH_C ONTENT_HANDLER, true, ContentHandler.ACTION_SEND); _registry.invoke(invocation);
But after clicking the button, it is not opening the Blue tooth. Still it is in my application.
Can anyone help in this??