How to make Droid@Screen work in Precise Puppy?

Miscellaneous tools
Post Reply
Message
Author
User avatar
AndyOpie150
Posts: 45
Joined: Thu 11 Apr 2013, 17:23
Location: Florida, U.S.A.

How to make Droid@Screen work in Precise Puppy?

#1 Post by AndyOpie150 »

Does anybody know how to get the Droid@Screen jar file to work in Precise (it allows you to put your android phones screen on your desktop in real time).
I already have the jdk-1.6u45 installed, with the path to the java.exe set.
I already have the Android SDK in the / directory with the the adb.exe set up globally (can open a terminal any where in Precise and give phone shell commands or fastboot commands).

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi AndyOpie150

i got it working .... i put abd and fastboot in /usr/bin
https://dl.dropboxusercontent.com/u/19554672/adb
https://dl.dropboxusercontent.com/u/19554672/fastboot

and used shinobars java jre http://www.murga-linux.com/puppy/viewtopic.php?t=61287

your phone needs to be put into debugging mode


Image
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
AndyOpie150
Posts: 45
Joined: Thu 11 Apr 2013, 17:23
Location: Florida, U.S.A.

#3 Post by AndyOpie150 »

Thanks, would have never thought to do that.
Question: Can I leave them in the SDK/platform-tools folder and sym link? Or put them in usr/bin and sym link to SDK/platform-tools?

I put the phone in debug mode right after flashing any new ROM, and thats where it stays.

User avatar
AndyOpie150
Posts: 45
Joined: Thu 11 Apr 2013, 17:23
Location: Florida, U.S.A.

#4 Post by AndyOpie150 »

666philb:
I'm kinda new to getting things to work in Puppy so I hope you understand my next couple of seemingly stupid question.

I can't get the Droid@Screen.jar to do anything when I put it on the desktop. How do I get the program to open up and show me the setup box in Puppy Precise.

PS; I downloaded your fastboot.exe and put it in:usr/bin, but the adb.exe download site/page was borked.

I already had the Android SDK with all the proper folders. ADB is set up globally (needed for a lot of the utilities I need to put on Puppy Precise) I have the jdk-1.6u45sfs installed which gives me the jre as well in:usr/java.
I have downloaded the jre-1.6u45.sfs you linked me to as well and put in the same directory with the puppy_precise.sfs, just haven't loaded it yet.


Seemingly stupid questions: How do I get the Droid@Screen.jar to open up and show me the setup box which asks for the path to the adb.exe (left click does nothing)? What option do I need to select and perform with a right click? Do I need to create a run script for it?

How well do you know Puppy Precise. Another member and myself are trying to get as many programs as possible for Android Development to work in Puppy Precise. Even trying to set up a build environment for kernel and ROM development. Any help would be appreciated.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#5 Post by 666philb »

hi AndyOpie150,

right click on the droidatscreen.jar and choose 'set run action' it should be this

Code: Select all

 java -jar "$@"
if it still doesn't run, java may not be installed properly, or a different version may be required.

i put adb & fastboot in /usr/bin as a matter of convenience... if you need to use them in a puppy terminal is easier to type adb /blah/blah/blah rather than /mnt/sda/androidsdk/really/long/path/to/adb /blah/blah

yes you can just symlink the ones out of the sdk, the ones i posted were just out of the sdk

i don't know you would go about setting up an environment to build android kernels..... all i've done is make a few ROMS with 'android Out house' which works on precise
http://forum.xda-developers.com/showthread.php?t=633246

.
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
AndyOpie150
Posts: 45
Joined: Thu 11 Apr 2013, 17:23
Location: Florida, U.S.A.

#6 Post by AndyOpie150 »

Thanks again for the info. Good stuff indeed.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#7 Post by don570 »

The Java Development Kit (JDK) has built in method to take a
screenshot. It's a bit tricky to use though. I explain it here...

http://murga-linux.com/puppy/viewtopic. ... 077#652077

____________________________________________________

User avatar
AndyOpie150
Posts: 45
Joined: Thu 11 Apr 2013, 17:23
Location: Florida, U.S.A.

#8 Post by AndyOpie150 »

Thanks 666philb. Worked great. I also got APK-Multi-Tool working flawlessly.
linux version of QtADB is another problem. Playing with QtADB allows you to do a lot of useful things. The one I use it for the most is to drag and drop any file on my computer to any directory on my rooted phone and vice-a-versa (must have a ClockworkMod recovery or a direct derivative of)

don570: Looks very interesting indeed. Will try first chance I get. Right now I feel like a one legged man in a butt kicking contest.

Post Reply