maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Android SDK / adb for Maemo ? (https://talk.maemo.org/showthread.php?t=90053)

dnowlan 2013-05-08 19:07

Android SDK / adb for Maemo ?
 
Ok, I'm looking to see if there's been a port of the Android SDK tool set that will work on Maemo. Specifically the adb tool that allows you to connect to an android device via usb cable.

Thanks

Copernicus 2013-05-08 19:15

Re: Android SDK / adb for Maemo ?
 
Quote:

Originally Posted by dnowlan (Post 1342197)
Ok, I'm looking to see if there's been a port of the Android SDK tool set that will work on Maemo. Specifically the adb tool that allows you to connect to an android device via usb cable.

I think it's unlikely. However, Maemo is pretty close to a standard Linux distribution; you can connect to a Maemo device using whatever Linux tools you prefer (ssh, vnc, etc.).

Are you wanting to do something specifically associated with the Android tool?

thp 2013-05-08 20:21

Re: Android SDK / adb for Maemo ?
 
Quote:

Originally Posted by dnowlan (Post 1342197)
Ok, I'm looking to see if there's been a port of the Android SDK tool set that will work on Maemo. Specifically the adb tool that allows you to connect to an android device via usb cable.

As Copernicus said, on Maemo you can usually use USB Networking ("SDK Mode") + ssh:

"adb shell" becomes just "ssh"
"adb push/pull" becomes "scp"
"adb sync" is roughly rsync-over-ssh (rsync for Maemo)
"adb logcat" would be something like tail -f'ing (that's "using 'tail -f' on") files in /var/log/
"adb forward" becomes "ssh -L..." or "ssh -R..."
"adb install/uninstall" becomes a small shell function that does scp + dpkg -i as ssh via root

Some of the lower-level features like serial number and other things can be obtained via flasher when the Maemo device is in flashing mode (flasher is roughly comparable to fastboot in terms of what it's used for).

For deploying to the device in Android SDK style, there's also MAD Developer (on Harmattan: SDK Connectivity Tool) - and you would use these tools with Qt Creator. MAD Developer and SDK Connectivity Tool can also be used to set up USB Networking (on Harmattan: selecting "SDK Mode" when USB is connected is enough).

Nitdroid also has adb support over USB networking, maybe you could re-use binaries from there if you want to have a real adb server on the device.

pali 2013-05-08 20:58

Re: Android SDK / adb for Maemo ?
 
With CSSU, USB networking can be automatically started when choosing PC-Suite mode.

qwazix 2013-05-08 22:41

Re: Android SDK / adb for Maemo ?
 
I think he's asking for a port of adb to connect to android devices from the N900. Which is an interesting idea. Adb might just compile on maemo.


All times are GMT. The time now is 12:17.

vBulletin® Version 3.8.8