Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I had IOIO board and went through DIY Samples, like controlling LED, DC motor, Servo motor.. it was very interesting, and I want to design a toy remote car which should be controlled by an android app, There are many android boards available like Hackberry a10, Arduino, Raspberry Pi..etc, as I'm a newbie to hardware domain, I do not know much about boards. So kindly update me on Which one is the best and versatile?, I'm going to use Android studio for the development, not the processing. Is there any other protocols available for transmitting the signals other than BT, IR, and Wi-fi.
You can use Arduino, which provides a wide variety of hardware to connect with. Please go through arduino store . There are many samples available for Arduino. Please refer this may help you to get started.
Best is a tough question, but if you are a hardware newbie, the easiest system to get started with is probably the LittleBits Cloud pack. Once you've prototyped what you need, you can replace it with something more practical in terms of form factor.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I already knew the basic of android programming. now I want to build a offline multi-user chat application. I found peer-to-peer and Bluetooth are the most used techniques to communicate each other. I need to know,
Which one is easy to begin with among P2P and Bluetooth?
I already built a Bluetooth chat application using online tutorial. That method is a communicating between two endpoints. Is it possible to make it more than two?
Which one is easy to begin with among P2P and Bluetooth?
It depends on your previous skill and expertise. As I have seen that you have already managed to create an application for p2p communication via bluetooth, so of course it is easy to begin with bluetooth.
I already built a Bluetooth chat application using online tutorial.
That method is a communicating between two endpoints. Is it possible
to make it more than two?
Yes, it is possible. There are a lot of tutorials in the internet of connecting multiple bluetooth devices. Please check this SO answer.
However, chat application based on bluetooth is not a good approach. If this for your learning only, then from my point of view this is fine. If this is a professional project, then I would suggest you might consider looking into other options. Check this tutorial which uses Firebase as well. Using firebase for real time chat application will definitely serve your purpose.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm trying to make an application that connects devices over the same WiFi. I'm fairly new to Android development, but I have basic Java knowledge. Now I want to know if my approach is correct?
My approach is as following: I first connect two devices together through WiFiP2P (this part of the code is finished). Next one device creates a SocketServer. That device will send his IP through WiFiP2P to the other device so the devices can now join.
Thanks in advance!
My understanding of WiFiP2P is fairly limited, but I'm assuming that it is trying to be what Bluetooth failed to be.
This approach sounds fine. There is even a page on the offical documentation about it.
My only thought is that you should add protection against malicious users performing spoofing attacks, if that is relevant to your app.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
What should be the better choice to buy an Aruino board. My concept is from desktop output is given to android device through internet and its out is to Arduino board via USB cable and board gives out to run motors.
Thanks in Advance..!
The major differences are things like number of pins and memory sizes. Here is a good list:
http://arduino.cc/en/Products.Compare
The Uno will run most programs you will need and are very compact. Go up further if you have more pins requirements.
I can't add below since it says the topic is closed:
If your motors are small and you are thinking of running them all or a few doctor from the pins instead of from outside supply you need to be aware of the current capacities
http://playground.arduino.cc/Main/ArduinoPinCurrentLimitations
Sounds like the uno will be fine for you unless you need slightly more current.
The easiest way to add android support is over a Wi-Fi or a Bluetooth shield that you can quickly add to your uno.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I'm developing an Android application that needs to communicate with a PC in the easiest possible way. preferably using USB, headphones jack or Bluetooth, this should be a two way connection.
I assumed USB would be the simplest, but got quite lost with USB Host/Accessory and am not even sure anymore that this is the way to go. tried usb-serial-for-android but couldn't find any example of using it with a computer, and the code as it is never recognized my computer as a device.
Is there any Right Way (tm) to do this? can someone share some sample code? everything I've found was for Arduino boards, which I don't have.
I'm not looking to transfer lots of data, but I need the latency to be as little as possible.
Any hints? Is USB isn't the way to go? I read that using the headphones jack is quite complicated and that BT has too many different implementations, but didn't really try these two other options.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am trying to develop an android client-server to implement games like this:
you have got a tablet running as a server and waiting for clients to join
each client is a smartphone and starts an app, which shows a gamepad view when the connection is established.
Sending inputs from smartphone to the tablet and update() und the tablet figure movements etc.
My question is: what kind of communication is practicable? I would prefer a TCP connection with sockets but is there a more simple way?
Yes, it's practical, and no, there isn't a simpler way. NFC won't do what you want, and bluetooth is a pain to configure for this sort of thing. You can make discovery easy by using Network Service Discovery or, on older Android versions, jmDNS.