Post Reply 
Android: How can a. Hpprgm be downloaded?
05-25-2019, 09:44 PM
Post: #1
Android: How can a. Hpprgm be downloaded?
I seem to recall that connectivity has been improved in a recent update.
Is it now possible to download a. Hpprgm into the Android VC?
If so, can someone remind me how? I usually cut-and-paste the source instead.
So far, I have the. Hpprgm in Android's download folder.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
05-26-2019, 01:12 AM
Post: #2
RE: Android: How can a. Hpprgm be downloaded?
It always was possible. The problem was the computer with the connkit being able to see the android device across the network.

What was added was another detection method (zeroconf deiscovery protocol) and the ability to type an ip address directly in on the HP prime app allowing you to specify the location of the connkit.

If you are on the same network and antivirus/firewall is not blocking your ability to connect, it should just show up. Go into the network connection screen and pick it. If it doesn't show up, type in your PC ip address into that screen.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
05-26-2019, 06:24 AM
Post: #3
RE: Android: How can a. Hpprgm be downloaded?
I have the hpprgm on the Android - no PC to hand.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
05-26-2019, 11:15 AM
Post: #4
RE: Android: How can a. Hpprgm be downloaded?
So what you want ideally is some of the host side connectivity kit functionality built in to Android app? Enough to transfer programs and variables and maybe screenshots.

— Ian Abbott
Find all posts by this user
Quote this message in a reply
05-26-2019, 01:36 PM
Post: #5
RE: Android: How can a. Hpprgm be downloaded?
Yes, that would be ideal.
If the VC cannot read hpprgm files on Android directly a website that can turn a hpprgm into text would suffice - Given the PPL text, it can be cut-and-pasted.
Of course, being able to import screenshots too would be good.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
05-26-2019, 05:15 PM
Post: #6
RE: Android: How can a. Hpprgm be downloaded?
(05-26-2019 01:36 PM)StephenG1CMZ Wrote:  Yes, that would be ideal.
If the VC cannot read hpprgm files on Android directly a website that can turn a hpprgm into text would suffice - Given the PPL text, it can be cut-and-pasted.
Of course, being able to import screenshots too would be good.

If your Android phone is on WiFi on the same network in your house (or office) as your PC, usually the virtual Prime on the device will immediately see the ConnKit running on your PC.

1. Start the Connkit
2. Goto [Edit] [Preferences] and make sure all 4 IP Networking options are checked, and that the Network Name field has a name (I think it defaults to "HP_Classroom" but any name will do).
3. On the vPrime, do [Shift] [Settings], go to page-4
4. Touch the drop down link at the top and you should see your Network to pick. Touch it (e.g. touch HP_Classroom if the default was used) and [Enter] to confirm it, then [Esc] to exit Settings.

You should now see your vPrime connected in the ConnKit window.

It can't get much easier. Big Grin

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
05-26-2019, 05:30 PM (This post was last modified: 05-26-2019 06:09 PM by StephenG1CMZ.)
Post: #7
RE: Android: How can a. Hpprgm be downloaded?
"it can't get much easier"

Unfortunately I cannot do
1 Start the Connkit, Until I do
0 Buy a PC (or Repair broken PC Sad)
(updated: )
Easier would be
1 Run Calculator
2 Open hppgrm
Similar to how you can
1 Run PDF Reader
2 open pdf

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
05-26-2019, 05:47 PM
Post: #8
RE: Android: How can a. Hpprgm be downloaded?
(05-26-2019 05:30 PM)StephenG1CMZ Wrote:  "it can't get much easier"

Unfortunately I cannot do
1 Start the Connkit, Until I do
0 Buy a PC (or Repair broken PC Sad)

I could access a library PC to move files to the Android if that helps (though I already downloaded the hpprgm to the Android) but that PC is unlikely to have a Connkit.

You're quite right, step 0 is essential, I missed that comment in your earlier post. Once you've got your PC back into service, the simple method noted will let you easily move files/programs in and out.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
05-26-2019, 07:08 PM
Post: #9
RE: Android: How can a. Hpprgm be downloaded?
The PC is essential? That Virtual Calculator just got much heavier!

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
06-15-2019, 03:37 PM (This post was last modified: 06-15-2019 10:32 PM by Stevetuc.)
Post: #10
RE: Android: How can a. Hpprgm be downloaded?
(05-25-2019 09:44 PM)StephenG1CMZ Wrote:  I seem to recall that connectivity has been improved in a recent update.
Is it now possible to download a. Hpprgm into the Android VC?
If so, can someone remind me how? I usually cut-and-paste the source instead.
So far, I have the. Hpprgm in Android's download folder.

Ive found a way to do this on Android using a UTF capable editor called Quickedit by Rhythm Software. Free but with ads.

* Rename the .hpprgm to .txt

* Open in Quickedit

* Click on the 3 dots, select Encoding and select UTF-16LE

Now all characters should be correctly handled, select all but the first and last lines which are header and footer of the hpprgm file which we can discard, and paste into a new blank program in the Prime app.

Do a syntax check, it should be good!
Edit: This will work with any text editor that allows to select UTF-16LE encoding. Notepad++ works fine, as does the default texteditor invoked by My Files browser on my Samsung S8
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)