I don't know how to define an alias on the Mac for an item that cannot be viewed directly in the Finder. There is probably a way to use Terminal to redefine the path for existing alias, but I don't know how to do that. The good news, though, is that I seem to be able to get to the Virtual PRC through my prcstart.php.jnlp file.
Now that you have gotten this far, do you still think that running the Java application on an Android device is highly unlikely?
Regards,
PianoBench
On Feb 23, 2014, at 2:20 PM, Kevin Goroway wrote:
Yeah, that was exactly the problem... I was able to reproduce your results by not passing any command line arguments.For me (on windows) it works like this.I have a shortcut which runs:"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -cp prc100.jar gui.prc100 -h=192.168.0.6 -p=3191 webremote -w=31910and the "start in" directory contains the prc100.jar fileOf course, you'll have to change the -h=192.168.0.6 to the ip address of your piano. In fact, this is almost ENTIRELY what is going on behind the scenes with the jnlp, and php files...they are served up from the piano dynamically, since it knows its own IP address at the time the request is made. If you have a fixed IP address, you can skip all of that.-KevinFrom: Kevin Goroway <kgoroway@...>
To: "disklavier@yahoogroups.com" <disklavier@yahoogroups.com>
Sent: Sunday, February 23, 2014 1:43 PM
Subject: Re: [disklavier] Windows control
It's probably because you aren't passing the proper "command line" arguments to the JVM when you launch the jar.Check what the jnlp is passing. I'll have a look at what I'm doing to launch mine in a little while.From: "PianoBench@aol.com" <PianoBench@...>
To: disklavier@yahoogroups.com
Sent: Sunday, February 23, 2014 12:43 PM
Subject: Re: [disklavier] Windows control
Good afternoon, everyone.Thanks for the additional information, Kevin.Using my Mac and your instructions, I was able to grab prc100.jar.Curiously, when I launch prc100.jar on my Mac, I get a small, blank window titled "Interface." According to the Mac, the application name is "prc100".However, if I launch prcstart.php.jnlp, I get the typical Java security screen that comes up on the Mac. At that point, I give permission for an unnamed and "unsigned" application to run, and the Virtual PRC comes up. It runs in a window called "Virtual PRC" Interface and the Mac reports that the application's name is "Virtual PRC".Any further thoughts about what is going on?Regards,PianoBenchOn Feb 23, 2014, at 11:40 AM, Kevin Goroway <kgoroway@...> wrote:There is almost no way this will ever work.jnlp is just a means of telling a web browser how to launch a remote java application...the prcstart.php, or prcstart.jnlp just tell the browser to run the remote java application: prc100.jar (it also contains the "command line" arguments to pass to prc100.jar when it runs it.)You can see all of this by just opening that file (prcstart) in any text editor.So, the magic lies in the prc100.jarSo, you're going to have to start by somehow getting the jar file itself. It turns out, this is pretty trivial if you read the contents of the prcstart file. You just direct your browser to:http://{your pianos's name or ip address}/prc/prc100.jarand the browser should ask you where you want to save the file. (by the way, if you want to launch the virtual prc often...it's THIS file that you really should have around...it skips the fetching each time)All that being said (now you have the actual virtual prc jar file) I still thing it is an extreme long-shot that this will work on android, but I'm game to go find out. :-)-KevinFrom: George Frederick Litterst <PianoBench@...>
To: disklavier@yahoogroups.com
Sent: Sunday, February 23, 2014 10:11 AM
Subject: Re: [disklavier] Windows controlApparently there are different versions of JBED for different flavors of the Android operating system:PianoBenchOn Feb 23, 2014, at 9:38 AM, George Frederick Litterst wrote:Good morning, everyone.Owen, I don't know how the Android system works. I suggest accessing prcstart.php on your computer and renaming it there as prcstart.php.jnlp. Then move it to the Android device to a location where it can be opened in JBED Android Java Emulator. JBED Android Java Emulator is something that has to be downloaded to the Android device.Here are some directions that I found on the web (http://forum.xda-developers.com/showthread.php?t=2326639):*************1. Download JBEDwww.4shared.com/file/laOKHPjO/libjbedvm.htm
place it in system\lib
folder
3. Install the JBED.apk application and don’t play
it.
4. Restart the phone
5. Launch JBED application. Press menu button
and choose SD card.
6. Select your .JAR/.JAD file that you want to
install and run.
7. Now install the chosen application through
JBED.
6. Now open the installed java application to run.*************I don't know if JBED Android Java Emulator will open files with the ".jnlp" or whether a .jar or.jad extension is required instead.I hasten to add that I recommend caution. I would hate to see you unintentionally add malware to your Android device.Regards,PianoBenchOn Feb 23, 2014, at 7:02 AM, Owen Sayers wrote:HiI can get the web page to open by typing in http:// (network location of disklavier 192. 168. Etc)/prc/index.php and it logs into the yamaha log-in screen and downloads the file prcstart.php but my android phone cannot open the file. I’m not savvy enough with Linux to know how to change that file name on my phone to incorporate the emulator – so near and yet so far!OwenFrom: disklavier@yahoogroups. com [mailto:disklavier@yahoogroups.com] On Behalf Of George Frederick Litterst
Sent: 22 February 2014 15:38
To: disklavier@yahoogroups.com
Subject: Re: [disklavier] Windows controlGood morning, everyone.Has anyone tried running the Mark IV's Virtual PRC on an Android device, perhaps using JBED Android Java Emulator or something similar?The normal way to access the Virtual PRC is to:--use your computer to probe your network for a volume whose name starts with "dkv"--open the DNA folder inside that volume--open the file called "prcstart.php"This will launch your web browser which will then copy prcstart.php to a temporary location on your computer's hard drive and open it with Java. Along the way, you have to provide a username and password which, by default, are:rootprcstartI have found that I can save this file to a permanent location on my Mac's hard drive. Assuming that I have Java installed on my Mac and have changed the file's name to "prcstart.php.jnlp", I can run this Java application at will. Interestingly, my Mark IV often does not show up as a volume in my Mac's Finder. However, this Java application never seems to have trouble finding the Mark IV on my network.It has occurred to me that perhaps this application could be copied to an Android device and run in the JBED Android Java Emulator. Unfortunately, I don't have an Android device with which to experiment.Regards,PianoBenchOn Feb 22, 2014, at 10:17 AM, Kevin Goroway wrote:DKVBrowserwill give you some control of your new E3 from Windows (it was originally designed for the MarkIV, so many features will not be available for your E3).Unfortunately, Yamaha s till doesn't support Android in any fashion. Droidklavier is third-party (MarkIV only, so it wont work with your E3, though I've considered changing that.)As others have mentioned, a used ipod touch would make a pretty good remote, but who really wants to add *more* devices when they already have functional ones?-KevinFrom: Ted <plpfoot@...>
To: disklavier@yahoogroups.com
Sent: Friday, February 21, 2014 11:19 PM
Subject: Re: [disklavier] Windows controlDear Carol:
I was wonderin g if there was a difference there. Thank you.
Ted.On 2/21/2014 10:28 PM, Carol Beigel wrote:That Android App is for the MarkIV which is a different Disklavier. You are getting and E3 and would need a different app.CarolOn Feb 21, 2014, at 10:09 PM, Ted <plpfoot@...> wrote:
Dear Steve:
Thanks. This looks like what I am after.
Ted.On 2/21/2014 9:41 PM, Steven Trawford wrote:How about this?https://play.google.com/store/apps/details?id=org.droidklavier
On Friday, February 21, 2014, Carol Beigel <carol@carolrpt.com> wrote:It can be controlled with a computer connected to your home network in the From/To PC Folder. You might want to invest in an Apple hand held like a cell phone sized iPod, or an iPad. these gadgets also work with Apple TV and iTunes installed on your PC.Carol BeigelOn Feb 21, 2014, at 9:17 PM, plpfoot@gmail.com wrote:
I expect to receive my DU1E3 in Mid March or so. Yamaha says it can be controlled wit h Apple products (ipad, itouch, iphone) but I am a Windows man. Can it be controlled with Windows or Android based machines?Thanks,Ted.
--Steve Trawford, Midwest ManagerPiano Distributors15464 Olive Boulevard
Chesterfield, MO 63017
636-532-1881