Working With Bluetooth printer Device - android

In my project need to search Bluetooth printer device and pared it and send text to printer
There is any API is available to search Bluetooth device and Pared and Sent text to particular
Device.

Your questions:
is any API is available to search Bluetooth device ?
Please refer to this.

There are lot of API available on Google Play. Personally, I like BlueSerial. Also you can use BluetoothChat sample code, it works too.
Upload BluetoothChat sample codes to the device using Eclipse or Android studio
Pair them
Open BluetoothChat sample app
Connect to BT device

Related

print from php application on a local bluetooth printer

I have the web-based application in 'PHP' and 'MYSQL' mobile version. We access application from android device (for example Smartphone). There is a local smart Bluetooth printer pairing with Smartphone. Distributors, who use that application, must take Bluetooth printer on a way, and print a receipt on that printer. Is there any solution for this? Any help or ideas will be appreciated. 2 days I can’t solve this problem. I can replace android device with any Microsoft device (for example "NOKIA LUMIA"), if it gets me any advantage.
It turned out that, the printer attached application, has its own web browser. When I navigate to my site from this browser, I discovered, that it has PRINT menu.
now I'm printing from this browser. I have made the printable version of web page and all is OK!!!!
well done.
My printer model is "MPT-II" (made in china).

Bluetooth printer compatible with android

I have to Develop an billing application for android devices.On the application there must be a provision for print the invoices using any bluetooth/Wifi printer.But upon my knowledge android doesnot support printing via Printer.is there any way or any tutorial upon it?
You don't have to print it using a standard printer driver,you just need to write bytes to a Bluetooth enabled printer,for testing our Bluetooth apps we usually make use of a printer which has a Bluetooth facility. You need to refer Bluetooth server socket http://developer.android.com/reference/android/bluetooth/BluetoothSocket.html

print from android using wifi or bluetooth

I am making an app in which i require printing options in Android. I tried with google cloud print and other options, but my requirement is that i need to print it offline either by using a network wifi or bluetooth. I have no idea in this field and also android doesnt come with inbuilt print options ...so please help
my basic requirement is that my device should first find printer either in a network or some way through bluetooth and then print should b fired..
Please help and thanks in advise I really need some starting knowledge to begin with
any other suggestions are welcomed
Some bluetooth printers use OBEX for file transfer (Polaroid, for example), but android has no api to use it except sharing api. You can create your own implementation of OBEX or google it.

How to use Android device as a bluetooth headset for another mobile phone?

I want to make my android device working as a bluetooth headset.
I search the Android APIs, but I just find some interface which
can make Android device working as a masters, not as a device(bluetooth headset).
I'm also ready to modify the source codes of Android OS, and rebuild the OS.
What I hope is, when Android devices connect to a mobile phone with bluetooth, the Android devices can work as a bluetooth headset.
I don't know whether there are interfaces can do this, or I should modify the Android OS?
Thank you!
You need to implement HFP profile in your android device, normally phone role is AG(Audio gateway) and headset roles is HF(Hands free) , think its as a server and client role. Connect RFCOMM channel to phone using UUID defined for HF , have SDP record updated,changes will be required to handle AT Commands as well.
These will be the initial changes, once done you will need to handle audio packets(SCO packets) for voice calls

Printing data from an android application using a bluetooth printer

I have developed an application in which there is an activity in which i need to fill in some details and then print that data using bluetooth by a bluetooth printer.
I have implemented the code which turns on the bluetooth of the device,scans the bluetooth devices in the range.
Can anyone guide me how to proceed further?
I have read that for printing google cloud print is used.Can anyone guide me that is google cloud print useful for me?

Categories

Resources