I'm trying to develop a memo app for my Gear S2 that shows my memo written on my phone. Though, I don't know how to send the text to my smartwatch. Doing so via Bluetooth might be the solution. The question is, how can I program it to use it? Thanks for the help.
Edit: Could you give me the code in java or in any other type of language? Beacuse i'm having trouble with that.
You can transfer data between Tizen(Gear) and Android(Mobile) via SAP(Samsung Accessary Protocol). SAP supports both Bluetooth and WiFi.
You can learn about SAP in below site, Samsung Developer official site.
http://developer.samsung.com/gear/develop/creating-your-first-app/native-companion/setup-sdk
You can also get a simple useful sample application to adopt quickply to your project.
http://developer.samsung.com/gear/develop/samples/companion
Good luck to you.
Related
I know for sure that Firebase can work offline and store locally any changes you made to the database and whenever he get connection again upload the changes, when you're coding on android. This can be used in any Java aplication, or is it only in android? I've searched but find nothing about this. Thanks in advance!
firebaser here
Disk persistence is only available on iOS and Android. It is not available in the Java Admin SDK.
is it only in android? -- No, as you know Firebase is a technology that permits you to make mobile and web applications with no server-side programming so that development turns out to be quicker and easier.
You can use Firebase with-
Android
Unity
IOS
Web and more
Check this SO question.
Also, here is what I found.
I have a rc drone. I want to create an Android app to control it but I do not know where to begin and how. I browsed the internet and found only one useful tutorial but it required use of Adruino and was through Bluetooth but I want to create my own Android app and not use Adruino or Raspberry Pi. Please help
First you need to connect via bluetooth (If you have no documentation of your RC drone it will be had to figure out the commands etc).
Maybe you can find a bluetooth sniffer program on the www to record what is going on when using the original hardware.
But I think its not worth the effort. To figure all this out will most likely take a lot of time and might not lead to success at all. So I recommend: next time by a drone where the communication protocol is documented or better a SDK is provided with it.
First, you have to figure out, if this drone uses Wifi or Bluetooth for control, or, some custom- build wireless device. If it use custom adapter, working on another frequency, you won't be able to do anything from software, only reverse- engineer control schematics.
I am trying to develop my Android application which would connect via bluetooth with PC computer and would be able to send data both ways. Like, sending string from Android application to PC and receiving the string on the screen and the other way aswell.
I am on my way to create the application on Android but I was wondering what would be the best way of resolving problem with PC: How would I send and receive the data? Firstly, I thought that I would need separate program but maybe there is some other way?
Could use ANY help on that subject.
There are a lot of solutions for this problem.
Here is the one of possible solutions which could you use as a start point (https://github.com/xamarin/monodroid-samples/tree/master/BluetoothChat).
Here is quick tutorial Simple Android and Java Bluetooth application (http://luugiathuy.com/2011/02/android-java-bluetooth/)
Hope that helps.
I've heard that the Google Nexus S has RFID capabilities. I'd like to start learning about RFID and programmatically doing things. Where should I start? Good tutorials or code examples are what I'm after. (or hardware if it's not Android I suppose).
Doesn't have to be Android, could be python or java libraries as well. Preference for Android.
I see this as the future, and I want to get in on it :)
Buy a Nexus-S, buy some tags.
Then take a look at the code of the 'Tags' application that comes with android. Play with it, modify it. Write some tags with your own application.
Learn what Ndef is and how you craft your own messages/records. Learn how to use the transceive function to do direct communication to the tags. This will open up a world on it's own (aka you can write-protect tags that are not write protectable by Android itself etc).
All in all that can be done in two weeks. The Android NFC/RFID subsystem is easy to use. Most of the the hard stuff is hidden from you.
Afterwards write your own little application, show it to advertising agencies that do Android apps and get a high payed job. NFC experience is highly sought after at the moment.
I have basic knowledge of Java but have never developed for Android.
A friend asked me for an app that seems easy enough to develop but I would need some help for Android.
All the app needs to do is send a text field (for example license plate number) to a predetermined SQL Server database.
Is this easy in Android as it sounds?
Thanks in advance. Cheers.
Darko.
That should be easy, but does it need to be a full-blown Android application for that?
Sounds like a simple webpage with an input-field and a submit button would do the job as well.
If you're familiar with using databases from Java the task is very simple. Just write the code that sends a string to a database. The exact same code you would use on a desktop Java application will do.
The rest is a matter of defining your user interface and obtaining the string. There is a good basic tutorial you can use on the Android developers web site: http://developer.android.com/guide/tutorials/notepad/index.html.
The number of code lines in the whole application will be in the range of a couple of dozens.
It sounds like you want the license plate information stored in a separate server, but if you also wanted to store some information on the device itself there is a simple Notepad tutorial provided by the Android Developers site that explains how to setup and utilize an SQLite database on the device. This by no means would replace the functionality of a server, but is another Android feature that is at your disposal.