App development on the Prime
|
09-30-2024, 07:45 PM
Post: #9
|
|||
|
|||
RE: App development on the Prime
More interesting discoveries today. I've worked out how to use the INPUT command to display a complex input form with multiple fields of different data types (numbers, choice fields, and checkboxes). This is straightforward in principle, but in practice you end up with an immensely long command with multiply-nested lists as parameters, and it's really easy to get confused as to what's what. If you get something wrong you either get a cryptic "Syntax Error" if the code is wrong, or the input form simply doesn't appear if the code is syntactically correct but logically wrong, for example if the number of help prompts that doesn't match the number of input fields. I'll probably find it easier next time. An interactive visual input form builder such as the one in Microsoft Visual Studio for Windows would be an extremely useful tool. Something I might consider for the future! This took most of my evening to get working, but I'm pleased that I persevered.
Another useful thing I discovered: I was wondering why the text I entered on my app's "Info" page (displayed by pressing SHIFT+APP) kept vanishing. I eventually realised that you have to use the "ANote" command to store it permanently. This writes it to a file called "appname.hpappnote" in the app directory and once there it no longer vanishes . Finally, my Prime was frequently hanging up and requiring a reboot if I either shutdown my laptop with the Prime connected to the USB port, or simply disconnected the USB cable with the HP Connectivity Kit program running. I've now discovered that the "safe" way to disconnect is to close the HCK app on the PC and then disconnect the USB cable before shutting down the laptop. The Prime is happy with that. Another useful few hours of exploration! Hope I'm not boring people with these ramblings... Chris |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
App development on the Prime - CheshireChris - 09-29-2024, 12:30 PM
RE: App development on the Prime - CheshireChris - 09-29-2024, 01:11 PM
RE: App development on the Prime - toml_12953 - 09-29-2024, 10:57 PM
RE: App development on the Prime - CheshireChris - 09-29-2024, 04:42 PM
RE: App development on the Prime - Jase - 09-29-2024, 05:29 PM
RE: App development on the Prim - CheshireChris - 09-29-2024, 05:36 PM
RE: App development on the Prime - glfiedler - 09-29-2024, 11:52 PM
RE: App development on the Prime - CheshireChris - 09-30-2024, 06:13 AM
RE: App development on the Prime - CheshireChris - 09-30-2024 07:45 PM
RE: App development on the Prime - Tyann - 10-01-2024, 06:40 PM
RE: App development on the Prime - Jase - 10-01-2024, 10:54 PM
RE: App development on the Prime - komame - 10-02-2024, 04:46 AM
RE: App development on the Prime - CheshireChris - 10-02-2024, 01:57 PM
RE: App development on the Prime - CheshireChris - 10-01-2024, 06:42 PM
|
User(s) browsing this thread: 9 Guest(s)