I want to ask you about some bluetooth library which I can use to implement simply application. I want to connect two devices by bluetooth. In application I want to have two buttons and I want to send from one device to second device by bluetooth which button was push. How I can do that? Any idea or tutorials can recommend me?
In the Android developer page there is a good Bluetooth chat example, with source code. Follow this link to download the Example.
Then I suggest you the following tutorials:
Bluetooth tutorial
Add demo
Related
I have this Samsung-watch
I implemented a mobile application for my graduation project, it is a triaging system that will serve the people who has an injury or illness,
In some cases we need to ask the patient about his heart rate, we want to take this data from the watch instead of asking him about it.
I searched for this and founded that I need to install Tizen extension to the visual studio, I want to write a code that take heart rate, then connect this code to my android application,
Does anyone know or can help me to do this?
Does anyone know the steps that i would follow to complete this process ?
You will find a lot of help from Samsung Developer Site.
Check below link:
Samsung Developers - Creating Your First App
May the force be with you.
How to create Pulsometer application for wearable:
http://tizenschool.org/tutorial/166/contents/1
then, for example, You can use Samsung Accessory Protocol to communicate wearable with android device:
https://developer.samsung.com/galaxy/accessory
https://developer.samsung.com/galaxy/accessory/guide
or implement other way of data exchange, for example uploading data to remote server:
How to make HTTP POST web request
I am looking for a way to control a wifi document scanner through an android application (that scans PDF files). The scanner model has not yet been chosen. It may also be an all-in-one printer.
I know that HP has an app that allows control of their all in one printers but I am looking for a way to integrate these functionalities to a custom app.
More specifically, these are the points for which I need light (that correspond to the approaches I have thought about):
Is there a standard protocol for communication with a wifi scanner (like IPP for printers)?
Is there a way to interact with an other app from which I don't have much documentation (send an intent or whatever)?
Is there a known alternative to a wi-fi scanner (like the Google Cloud Print)?
Thanks in advance for any hint that could help me in my search.
There is a library that can help. The http://roncemer.com/software-development/java-ocr/. Hope it helps.
I'm a complete newbie with regards to developing for Android, and for starters I'm trying to develop a simple card game that can be played multiplayer over a local network. I'm having trouble finding a starting point for how I would go about this, I can find plenty of things for communicating across the internet but not having much luck seeing how you communicate directly between two devices over a LAN.
It's a major part of my plan for this app that it be multi-platform and that iOS devices and Android devices can play against each other, so I'm looking for a method that supports this. I know it's possible as I can see there are other apps that have this functionality.
I don't need a detailed implementation (although the more help the better!) but if anyone could just point me in the right direction for how to go about something like this, I'd be really grateful.
I think u need a connection peer to peer, android implements Wifi Direct
Look android dev site. http://developer.android.com/guide/topics/connectivity/wifip2p.html
For a card game I recommend using client-server.
Electrotank is a good server that provides a framework that helps you create a game of this type, with rooms, chat, friends list and connect to Android and iOS. U can write server plugins in Java.
http://www.electrotank.com/es5.html.
Another good server solution is SmartFox.
Or you can create a turn-based game, creating a database to save data and a counter on each client, where you will limit the time for each move, from this time you send data to the server and your opponent query this data the server.
I was working on the exact same thing. You'll want to use sockets to open up connections between multiple instances the same app.
I created an example app that demonstrates how to do this which I link to and explain in great detail here: http://brendaninnis.ca/connect-nearby-devices-part-2.html
I have an example for both Android and iOS that communicate with each other.
I am trying to get a clear idea about Proximity mention in AllJoyn app and there are several explination (theories) that i find intresting but , I still want to know can Alljoyn support proximity? If yes then how do I go about it? Can I see an example using proximity or reference a sample App as im not able to find proper references to the same. The Chat app I've seen works perfectly using WiFi but how can i accomplish the same using a bluetooth? Kindly help me..Thank You in advance..
Bluetooth support is only available in the android sdk. In order use bluetooth, you either have to wait until AllJoyn is adopted by OEMs, or rooting your phone and doing some fiddling. More info can be found https://www.alljoyn.org/docs-and-downloads/documentation/alljoyn-android-environment-setup-guide#unique_21
If/when bluetooth is integrated/supported, your use of AllJoyn should be the same, as AllJoyn works to hide the communication details from you.
I have two android devices, and I want to connect them using bluetooth programming, sorry for say but I don't want to see the links on Android Developer Documentations.
I want to connect them without any permission like password or anything else, so just simply connect two devices and start sending files and receive files without any permission,
how can I implement such concept?
Help me please, I am stuck on this.
Short, you can't. You'll need at least the Bluetooth permissions as illustrated in the tutorial on the Android Docs-Page.
You have everything here :
http://developer.android.com/resources/samples/BluetoothChat/index.html
Get the code, run it and see how it works.