junsgo / remotedroid

Automatically exported from code.google.com/p/remotedroid
0 stars 0 forks source link

Provide -startMinimized commandline option #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Place RemoteDroidServer application alongside something else in start-up
2. RemoteDroidServer appears in front of other application needlessly

What is the expected output? What do you see instead?

I would like RemoteDroidServer to start-up minimized

What version of the product are you using? On what operating system?

1.4; Ubuntu Linux

Original issue reported on code.google.com by derizio...@gmail.com on 2 Jul 2010 at 10:44

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Attached a quick patch providing this functionality

Alex Deriziotis

Original comment by derizio...@gmail.com on 2 Jul 2010 at 11:12

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Alex, could you please post the jar with your patch applied? Could be a 
great faveor since I'm not into compiling java sources ....
Thanks a lot!

Original comment by mtabol...@gmail.com on 12 Jul 2010 at 7:13

GoogleCodeExporter commented 8 years ago
Sure, I've attached a jar with the above patch applied (also includes patches 
for issues #14, #22).

Original comment by derizio...@gmail.com on 12 Jul 2010 at 7:57

Attachments:

GoogleCodeExporter commented 8 years ago
so, basically if i put a shortcut to the .jar in my startup folder it will run 
minimized? Or is there something else i have to do?  I tried setting the 
properties of the shortcut to run minimized, but it doesnt work.

Original comment by david.ca...@gmail.com on 7 Sep 2010 at 8:08

GoogleCodeExporter commented 8 years ago
You need to run it with the -startMinimized parameter passed, so cd to the 
directory that the file RemoteDroidServer.jar is located and run something like:

java -jar RemoteDroidServer.jar -startMinimized

The windows shortcut that you create and place in the startup folder will need 
to run the above command. I'm not certain how to create windows shortcuts 
though, it may be a bit fiddly.

Original comment by derizio...@gmail.com on 7 Sep 2010 at 9:06

GoogleCodeExporter commented 8 years ago
Thanks, I got it now.  Basically, i created a batch file with the line:

start c:\RemoteDroidServer\RemoteDroidServer.jar -startMinimized

and placed the batch file in my startup folder.  Works like a champ.

Original comment by david.ca...@gmail.com on 8 Sep 2010 at 4:35

GoogleCodeExporter commented 8 years ago
This is great! Thanks!

Original comment by daniel.b...@gmail.com on 25 Aug 2012 at 3:42