Monday, October 31, 2011

3 possible ways for Android to control the outside world using WiFi

In our last post about the Top 10 Android Hardware Interface Tools, we have already been concentrating too much on the low-speed high-delay Bluetooth connectivity; we have also been hacking too hard (the ROM or the Android Debug Bridge) to ask the little micro USB port to give us serial Rx/Tx and prepared some Android libraries to avoid programming the microcontrollers; we have even been dying to get some low rate serial characters or PWM signals through the poor 3.5mm audio jack on the phone.

What haven't we tried? Due to the seemingly high-price issue, we haven't tried much those WiFi modules or dongles. But finally we ask: why not! WiFi means easier configuration (UDP/TCP/WiFi direct), secured connection, NO annoying cables, high speed data transmission (video streaming possible), smoother control (less delay), and the Internet of things.

What are the possible WiFi connection modes with an Android phone? The DIY Phone Gadgets community has drawn such a conclusion so far:

1.    Classic mode: WiFi router+Android+external WiFi device:

Thanks to the router, the Android device has full Internet connection, and can control multiple external WiFi devices within this local network. The inconvenience is that the LAN is not mobile (limited by the router's WiFi range).

Sample application or ideas:

Well, we haven’t seen something using WiFi and Android but we would love to test those good-looking arduino-compatible WiFi boards and shields very soon.
DomoticHome uses Android, Arduino and an Ethernet shield to provide simple home automation protocol. Based on that, it is hyper-easy to use WiFi shields to quickly realize the same thing. To port the project using a WiFi shield, we don’t even have to change anything on the Android side. Here is how it works:



2.    Ad Hoc P2P mode: Android+WiFi device, without WiFi router, where there are two types :

a) P2P Android Client mode:

The external device is the AP. The Android device is the client.

Sample application or ideas:

The AR Drone from Parrot. The AR Drone mother board is a WiFi AP.

b) P2P Android AP mode:

The Android device is the AP and the external WiFi device is the client.

Sample application or ideas:

There is no mature application of this type now in the market. But we do see pretty much potential. Unlike the P2P type A that is limited to be connected to one AP, the Android AP can control multiple external WiFi client devices. Shown in the Open World Forum 2011 in Paris, Yan’s “Chicken Haha Telepresence Robot” is the first prototype based on P2P WiFi Android AP solution. Multiple android devices can control multiple robots and get live video feedback, without needing a router.




FAQs: 

In P2P Ad Hoc mode, do we still have Internet access?

Nowadays, each Android device has only one WiFi module. Once configured to work in Ad Hoc P2P Android client mode, the phone will no longer have internet access unless the external AP can provide an Internet content (which is difficult). In P2P Android AP mode, more luckily, the Android device will have Internet access if it has a 3G connection.

How to enable Android WiFi tethering hotspot AP?

You don’t have to root the phone. The WiFi tethering hotspot (AP) is natively supported on Android 2.2 Froyo or above. One interesting thing that we noticed is that on all Android devices we have tested so far, the IP address of the Android AP is always 192.168.43.1. That makes it so easy to develop client applications without considering the server's IP address. What's more, we can even programmatically enable tethering mode and define the AP name in the Android code. It needs some hack because one of the pains to develop P2P Adhoc applications is that Android SDK doesn't provide explicit APIs to configure the network). In our next post, we will give you a tutorial to enable and configure P2P AP mode, both manually and programmatically.


70 comments:

  1. Check out the link below for a cheap way to connect your Android to your arduino with your pc receiving the command over WiFi and relaying it to the arduino over usb.

    http://shazsterblog.blogspot.com/2011/11/arduino-google-voice-activated-servo.html?m=1&utm_medium=referral&utm_source=pulsenews

    ReplyDelete
  2. Hey everyone, I'm new to the group.

    I'm a computer engineering student working on a project for my senior design lab. My team is trying to develop an android app that will control a DIY Drones QuadriCopter via a Digi Xbee Wifi module. It seems like I'm in the right place to starting bringing more people in on our progress.

    I'm curious if anyone has done anything similar? (seen a few apps, mostly for the AR.Drone) Is anyone interested in keeping up to date with our project? I'll leave all my code completely open. I'm struggling to get back into Java, and currently charging through tutorials to get an app up and running.

    Our team website is www.peregrineengineering.com (though it doesn't get updated when we get busy).

    Thanks everyone.

    ReplyDelete
    Replies
    1. cashapphelp +1-888-530-2138
      Make Smart Payments With Cash App Customer Service In this completely digital world, when it comes to calculating the most efficient end to end payment application, the name of Cash App is prominent enough. And why not, it is the splendid payment app deve


      https://hearthis.at/cashapphelps/

      Delete
  3. Great job!!! Thanks for this post. I really enjoyed reading your post. Keep up the good work......

    ReplyDelete
  4. haloo, can i have android source code ???

    ReplyDelete
  5. This is because rather than remaining on a slow, weak WiFi signal, users will move to a stronger and, more often than not, faster WiFi or cellular connection.read more

    ReplyDelete
  6. Android mobile applications have come to the rescue of mobile service operators looking to woo the next generation mobile users, who are constantly seeking new, challenging and useful applications that allow them to customize / personalize the otherwise standard device.gerald winata gozali

    ReplyDelete
  7. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care
    http://chennaitraining.in/creo-training-in-chennai/
    http://chennaitraining.in/building-estimation-and-costing-training-in-chennai/
    http://chennaitraining.in/machine-learning-training-in-chennai/
    http://chennaitraining.in/data-science-training-in-chennai/
    http://chennaitraining.in/rpa-training-in-chennai/
    http://chennaitraining.in/blueprism-training-in-chennai/

    ReplyDelete
  8. Nice post! Audio Dubbing services are one of our most sought out catalogs in our services. We offer our clients with the widest variety of services, cautiously crafted by our specialist voice-over artists, who have skill in handling the tasks of audio dubbing services in ample of languages.
    subtitle service
    content quality check
    curriculum development company

    ReplyDelete
  9. Often my Wi-Fi password has been hacked by neighbors, I was worried about this. Thanks for presenting 3 possible ways for Android to control the outside world using Wi-Fi. I will utilize in order to save my data. Assignment Writing Service


    ReplyDelete
  10. Reasonable data, by uprightness of the producer. This work is truly beating and Goliath. If you have trouble with your printer device, you can contact me. The best services and assistance have been assured. Website: Hp Printer Error Code 0x83c0000a

    ReplyDelete
  11. Thank you for taking the time to provide us with your valuable information you guys can checkout us at Online Mulesoft Certification Course

    ReplyDelete
  12. Great article! It is really helpful for my research. Do post and share more such wonderful content and keep updating.
    Informatica Cloud Training
    SAP Hybris Training
    AWS‌ ‌Data‌ ‌Engineering‌ Training

    ReplyDelete
  13. Awesome article. I enjoyed reading your articles. this can be really a good scan for me. wanting forward to reading new articles. maintain the nice work!
    Data Science Courses in Bangalore

    ReplyDelete
  14. I am sure it will help many people. Keep up the good work. It's very compelling and I enjoyed browsing the entire blog.
    Business Analytics Course in Bangalore

    ReplyDelete
  15. Excellent Blog! I would like to thank you for the efforts you have made in writing this post. Gained lots of knowledge.
    Data Analytics Course

    ReplyDelete
  16. What an incredible message this is. Truly one of the best posts I have ever seen in my life. Wow, keep it up.
    AI Courses in Bangalore

    ReplyDelete
  17. I bookmarked your website because this site contains valuable information. I am very satisfied with the quality and the presentation of the articles. Thank you so much for saving great things. I am very grateful for this site.

    Data Science Training in Bangalore

    ReplyDelete
  18. I have voiced some of the posts on your website now, and I really like your blogging style. I added it to my list of favorite blogging sites and will be back soon ...

    Digital Marketing Training in Bangalore

    ReplyDelete
  19. I wanted to leave a little comment to support you and wish you the best of luck. We wish you the best of luck in all of your blogging endeavors.

    Artificial Intelligence Training in Bangalore

    ReplyDelete
  20. The Extraordinary blog went amazed by the content that they have developed in a very descriptive manner. This type of content surely ensures the participants explore themselves. Hope you deliver the same near the future as well. Gratitude to the blogger for the efforts.

    Machine Learning Course in Bangalore

    ReplyDelete
  21. Thank you for sharing the information.
    Power BI Training

    ReplyDelete
  22. In India, Dream11 is a popular fantasy cricket app. When you download the Dream11 app on your phone, you can get a welcome bonus of up to INR 200. Use the Dream11 referral code and earn a bonus.

    ReplyDelete
  23. I am glad to discover this page. I have to thank you for the time I spent on this especially great reading !! I really liked each part and also bookmarked you for new information on your site.
    Data Science Course Syllabus

    ReplyDelete
  24. The article you have shared here very awesome. I really like and appreciated your work. I read deeply your article, the points you have mentioned in this article are useful. Thanks for sharing.

    ReplyDelete
  25. Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website mulesoft online training
    best mulesoft online training
    top mulesoft online training

    ReplyDelete
  26. The AOL Desktop Error 104 can occur when your device is not compatible as per the AOL desktop gold software. That's why make sure that your device is up to mark according to the AOL mail. And if you need any help then, without any hesitation contact us at US/Canada - 855-869-7373. Our experts are always ready to help you without any second thought and provide you most reliable solution to solve this error.

    Emails Helpline

    ReplyDelete
  27. AVG Antivirus Error Code 27054 is just a normal issue, no need to be tensed. Sometimes, the installation was not done properly which causes further problems, so this may be the reason for your problem. For Help Contact us at USA/CA: +1-855-869-7373. Don’t worry as your device will be in safe hands. Call us now!

    AVG Antivirus Error Code 27054

    ReplyDelete
  28. Hi! this is often nice article you shared with great information. 토토

    ReplyDelete
  29. I am reading a blog on this website for the first time and I would like to tell you that the quality of the content is up to the mark. It is very well written. Thank you so much. To Reset Roadrunner Email Password please contact our team for instant help.

    ReplyDelete
  30. I am really enjoying reading your well written articles. I am looking forward to reading new articles. Keep up the good work.
    Data Science Courses in Bangalore

    ReplyDelete
  31. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
    Data Analytics Course

    ReplyDelete
  32. I am sure it will help many people. Keep up the good work. It's very compelling and I enjoyed browsing the entire blog.
    Business Analytics Course in Bangalore

    ReplyDelete
  33. What an incredible message this is. Truly one of the best posts I have ever seen in my life. Wow, keep it up.
    AI Courses in Bangalore

    ReplyDelete
  34. It is late to find this act. At least one should be familiar with the fact that such events exist. I agree with your blog and will come back to inspect it further in the future, so keep your performance going.

    Digital Marketing Training in Bangalore

    ReplyDelete
  35. A good blog always contains new and exciting information, and reading it I feel like this blog really has all of these qualities that make it a blog.

    Artificial Intelligence Training in Bangalore

    ReplyDelete
  36. I am more curious to take an interest in some of them. I hope you will provide more information on these topics in your next articles.

    Machine Learning Course in Bangalore

    ReplyDelete
  37. Use Gamification to motivate your attendees to engage in your event. You can Increase your event engagement by creating tasks or challenges within the event management platform and award points for completion. This motivates the attendees to actively take part in the event.
    https://eventify.io/custom-challenges/

    ReplyDelete
  38. I wanted to leave a little comment to support you and wish you the best of luck. We wish you the best of luck in all of your blogging endeavors.

    Data Science Training in Bangalore

    ReplyDelete
  39. https://mobileappsweb.blogspot.com/2020/04/706753-pmangel-design-android-and-ios-app-with-react-native.html?showComment=1635931615158#c977510953335153469

    ReplyDelete
  40. Eventify provides tag based networking process that is completely integrated into the event app, connects like-minded in-person and virtual attendees.

    https://eventify.io/build-your-event-app-and-go-live-in-less-than-30-minutes/

    ReplyDelete
  41. It's simple to get started, and it's even simpler to extend. Thousands of aspiring entrepreneurs can use Eventify to start an online company that shares their experience, expertise, and abilities. An online event platform for your perfect virtual event.
    https://eventify.io/top-10-features-that-a-good-event-management-software-must-have/

    ReplyDelete
  42. An event app brings all the attendees on a single platform. It gives the attendees an opportunity to connect, network, and make strong relations. Also, before the event starts the attendees will be able to look for the other attendees who’ll be attending the event. The attendees will be getting ample time to look through the other attendees – to decide with whom they would like to connect and who can help them grow professionally.

    know more about event app https://eventify.io/planning-a-b2b-event-youll-find-these-digital-tools-useful/

    ReplyDelete
  43. Host enthralling events and make your audience remember them for a lifetime using an end-to-end event management platform. With Eventify’s features and your creativity, leave a lasting impression with your events. Settle only for the best!
    https://eventify.io/

    ReplyDelete
  44. Eventify allows your attendees to experience your event from anywhere and from any device. Our easy-to-use mobile event app makes it easy for attendees to view and engage in both virtual and hybrid events.
    https://eventify.io/build-your-event-app-and-go-live-in-less-than-30-minutes/

    ReplyDelete
  45. Soar greater heights with Eventify! A fully customizable end-to-end management platform to keep you in the air always. Keep your events at the top. Leave the management on us and enjoy a hassle-free experience. There’s surely a great view from the top!
    https://eventify.io/

    ReplyDelete
  46. The one platform that you can call your own. Your event, your platform! Hosting ordinary events is out of the question now. With end-to-end management support, host a dynamic and informative event from scratch.
    https://eventify.io/

    ReplyDelete
  47. Make use of the power of Eventify event management platform for your In-Person, Hybrid and Virtual events to make your event successful.
    https://eventify.io/lead-scanning/

    ReplyDelete
  48. I was actually captured with the piece of resources you have got here. Big thumbs up for making such wonderful blog page! 토토사이트

    ReplyDelete
  49. It is late to find this act. At least one should be familiar with the fact that such events exist. I agree with your blog and will come back to inspect it further in the future, so keep your performance going.

    Best Institute for Cloud Computing in Bangalore

    ReplyDelete
  50. Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website mulesoft online training
    best mulesoft online training
    top mulesoft online training

    ReplyDelete
  51. Happy to chat on your blog, I feel like I can't wait to read more reliable posts and think we all want to thank many blog posts to share with us.

    Data Science Training Institutes in Bangalore

    ReplyDelete
  52. The blog is informative and very useful therefore, I would like to thank you for your effort in writing this article.
    Data Analytics Course in Lucknow

    ReplyDelete
  53. Very nice post. I simply stumbled upon your blog and wanted to say that I have really enjoyed browsing your weblog posts. I’m hoping you write once more very soon!

    ReplyDelete
  54. Thank you very much for this interesting article. In fact, it is exceptional. You are looking for this type of notice later.

    Data Scientist Course in Nagpur

    ReplyDelete
  55. Happy to chat on your blog, I feel like I can't wait to read more reliable posts and think we all want to thank many blog posts to share with us.

    Data Science in Bangalore

    ReplyDelete
  56. First of all, you have a great blog. I will be interested in more similar topics. I see you have some very useful topics, I will always check your blog thank you.

    Data Science Training Institutes in Bangalore

    ReplyDelete
  57. He's really nice and mean. it's a really cool blog. The link is a very useful thing. You have really helped a lot of people who visit the blog and give them useful information.

    Data Science Course in Durgapur

    ReplyDelete
  58. Thanks for sharing this knowledgeable post. What an excellent post and outstanding article. Thanks for your awesome topic. Really I got very valuable information here. If you want to fix Common Roadrunner Email Problems please contact roadrunner support team for solution.

    ReplyDelete
  59. Advance your technical skills required to crack huge datasets to bring out new possibilities from data. Join the Data Science institutes in Bangalore and get access to top industry trainers, LMS, live projects, assignments, and mock interviews to skyrocket your career in the ever- evolving field of Data Science.

    Data Analytics Course in Bangalore

    ReplyDelete
  60. Get dual certification from IBM and UTM Malaysia with the 360DigiTMG Data Science Certification program.

    Data Analytics Course in Jaipur

    ReplyDelete
  61. Register for the Data Scientist courses in Bangalore and learn to build your Data Science and Machine learning workflows. Build a portfolio of work to have on your resume with live projects which are supported by an industry-relevant curriculum. Get Access to our learning management system (LMS) that provides you with all the material and assignments that will help you master all the concepts for you to solve any problem related to deciphering the hidden meaning in data.

    Data Science Training and Placement in Bangalore

    ReplyDelete

Disqus for DIY Phone Gadgets