Connect Android Things based Raspberry Pi 3 to wifi network for the first time!

0 votes
So, I have my Raspberry Pi 3 running on the Android Things. But unfortunately, despite having the Pi 3B+, I still can't get it to connect with any WiFi network so far. Please help!
I have also been running the Android Debug Bridge Utility, but I still don't get any response at all.  I've started to worry about equipment trouble, please advice.
Jul 18, 2018 in IoT (Internet of Things) by Bharani
• 4,550 points
168 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey, I think its alright! 

Your Raspberry Pi does not appear in the adb devices util because your Pi isn't a USB device per say. The micro-USB connection is only a source of power in the Raspberry Pi.
And, If you're connecting a WiFi network for the first time, you'll have to be connected to Ethernet. I know that sucks, but that's how it works for now.
And, after you're connected to Ethernet, you can use then use the adb connect to use Wifi and connect wirelessly to networks.
And, in the Android Things you can only connect through adb using adb-over-ip address. This is the CLI command for it: 

adb connect `<raspberry-pi-ip-address>`

Now, if you're Pi is running headed, then you can find its IP address on the Android Things launcher screen.
And if it's headless, you can just ping Android.local and let Bonjour get it for you from the mDNS service records. You could also get some other third-party software tool to do it for you as well. You check for them here: https://learn.pimoroni.com/tutorial/raspberry-pi/finding-your-raspberry-pi

P.S. - Connecting to a WiFi network for the first time without an Ethernet connection could actually be done, but it's just a work-around I've figured and might be a hassle. You could check this out if want to know: https://bit.ly/2zOU08F

answered Jul 18, 2018 by nirvana
• 3,060 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

How to connect Raspberry Pi and lighting the LED?

You might want to try instead to ...READ MORE

answered Jul 23, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
20 views
0 votes
1 answer

What is the time taken by a 200 byte message for transmission in a beacon-enabled network?

Now, data rates of IEEE 802.15.4 are ...READ MORE

answered Aug 23, 2018 in IoT (Internet of Things) by Upasana
• 8,210 points
23 views
0 votes
1 answer

Running two processes on Raspberry Pi at the same time

I see no reason why it shouldn't ...READ MORE

answered Aug 27, 2018 in IoT (Internet of Things) by DataKing99
• 8,100 points
22 views
0 votes
1 answer

Restrict Android Internet usage to WiFi without Internet Access

You can check if wifi is connected ...READ MORE

answered Jul 17, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
69 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Setting-up a RFID RC522 chip in Raspberry Pi?

First, let me congratulate you on buying ...READ MORE

answered Jul 9, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
99 views
0 votes
1 answer
0 votes
1 answer

Sending more than 8 byte through UART on Raspberry Pi using Android Things!

So, you can send 234212441325454543595674859764 in ASCII, ...READ MORE

answered Aug 24, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
77 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.