View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#3
Originally Posted by dnowlan View Post
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.
 

The Following 3 Users Say Thank You to thp For This Useful Post: