Yahoo Groups archive

Disklavier

Index last updated: 2026-04-28 23:20 UTC

Message

Re: [disklavier] Windows control

2014-02-23 by Kevin Goroway

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@..." <PianoBench@aol.com>
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,
PianoBench




On 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.jar
>
>
>So, 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.jar
>
>
>
>and 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.  :-)
>
>
>-Kevin
>
>
>
>________________________________
>From: George Frederick Litterst <PianoBench@...>
>To: disklavier@yahoogroups.com 
>Sent: Sunday, February 23, 2014 10:11 AM
>Subject: Re: [disklavier] Windows control
>
>
>
> 
>Apparently there are different versions of JBED for different flavors of the Android operating system:
>
>
>http://echo.com.ng/2014/java-emulator-android-4-android-2-3/#axzz2u9s3kjuA
>
>
>PianoBench
>
>
>On 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 JBED 
>>http://forum.xda-developers.com/atta...5&d=1319050135
>>
>>2. Download lib jbedvm .so 
>>www.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,
>>PianoBench
>>
>>
>>On Feb 23, 2014, at 7:02 AM, Owen Sayers wrote:
>>
>> 
>>>
>>>
>>>Hi
>>>I 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!
>>>Owen
>>> 
>>>From: 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 control
>>> 
>>> 
>>>Good 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:
>>> 
>>>root
>>>prcstart
>>> 
>>>I 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,
>>>PianoBench
>>> 
>>> 
>>>On Feb 22, 2014, at 10:17 AM, Kevin Goroway wrote:
>>>
>>>
>>>
>>> 
>>> 
>>>DKVBrowser 
>>> 
>>>https://sourceforge.net/projects/dkvbrowser/
>>> 
>>>will 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?
>>> 
>>>-Kevin
>>> 
>>>
>>>________________________________
>>>
>>>From: Ted <plpfoot@...>
>>>To: disklavier@yahoogroups.com 
>>>Sent: Friday, February 21, 2014 11:19 PM
>>>Subject: Re: [disklavier] Windows control
>>> 
>>> 
>>>Dear 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.
>>>> 
>>>>Carol
>>>> 
>>>>On 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@...> 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 Beigel
>>>>> 
>>>>>On Feb 21, 2014, at 9:17 PM, plpfoot@... 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 Manager
>>>>>Piano Distributors
>>>>>15464 Olive Boulevard
>>>>>Chesterfield, MO 63017
>>>>>636-532-1881
>>>>> 
>>>>>strawford@...
>>>>> 
>>>>>
>>>>> 
>>>>> 
>>>>
>>>>
>>>>
>>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>
>>
>>
>
>
>
>
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.