Printing data from an android application using a bluetooth printer - android

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?

Related

I want to send text data through Ios to android using Bluetooth Low Energy Protocol through Advertisements

I want to send text data through Ios to android using Bluetooth Low Energy Protocol through Advertisements. I have tried alot of code examples but nothing find useful. Please suggest me any working example so i can transmit data in connection less transmissions through advertisements from Ios to android and android to ios. please help my guys. I will be thankful to you !!!
What you want to do is doable but you may need some digging and trial-and-error as there isn't any ready example that I am aware of. To achieve what you want, you have to:-
Send custom data from iOS via BLE advertisements.
Read the custom data from Android via BLE scanning.
You can achieve the first part through one of the examples below:-
Sending bluetooth LE data in advertisement on iOS
Custom BLE Advertisement on iOS
And info on the second part can be found here:-
How can I read the Bluetooth LE advertisement data in Android at the time of scanning
Read advertisement packet in Android
Some other useful references:-
Ble: Send advertise data to iOS from Android
Ultimate Guide to Apple's Core Bluetooth
Ultimate Guide to Android BLE Development

How to Recieve Data packets from a BLE device in android application

I am an android developer and new to the bluetooth low energy technology here i am creating an application which is receiving some data packets from a BLE Device (it is like a embedded programmed microcontroller).I am able to connect with the device and then i have to send a command to read the data or the characteristic.I don't know ho can i proceed for the further steps to do that.I have the UUID's and those commands but not able to programme it in android.
Please help me guys.
Thanks
Best Regards
Utkarsh
you should read out official tutorial where you can eaislly find how to get data this is link http://developer.android.com/intl/es/guide/topics/connectivity/bluetooth-le.html

Working With Bluetooth printer Device

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

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.

Connect Android device to WiFi printer

I want to print my pdf document by my Android phone using wifi on any other way.
or please give me a suggestion about it is possible to connect our Device to wifi printer or send our document for printing.
I hope, I will get best answer or any suggestion from your side as soon as possible.
The simplest way I can think of is using Google Cloud print on android

Categories

Resources