How to make apps
|
07-03-2020, 11:33 AM
Post: #1
|
|||
|
|||
How to make apps
Hi all,
How can you create apps for the Prime, including the icons? I know it is possible, because you can download several from http://www.hpcalc.org. What documentation, tools and equipment do you need to do this? I would like to have more clarity on this. I hope for a response from this forum. Sincerely, Karel. I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2. |
|||
07-03-2020, 12:47 PM
Post: #2
|
|||
|
|||
RE: How to make apps
A good place to start is page 620 in the Prime User Guide, "App programs", especially the section starting on the next page called "Customizing an app". It even gives a step-by-step example.
Also see page 658, bottom, "AFiles": "Each HP Prime app can have any number of files associated with it. These files are sent with the app. For example, if there is a file named icon.png associated with the app, then this file is used for the app icon in the Application Library." <0|ɸ|0> -Joe- |
|||
07-03-2020, 01:28 PM
Post: #3
|
|||
|
|||
RE: How to make apps
(07-03-2020 12:47 PM)Joe Horn Wrote: A good place to start is page 620 in the Prime User Guide, "App programs", especially the section starting on the next page called "Customizing an app". It even gives a step-by-step example. Dear Mr. Horn, This is actually not what I meant. I know about this possibility, but I mean create a new app from scratch. Examples include: Straight Line Kit (https://www.hpcalc.org/details/7575), EEC Solver (https://www.hpcalc.org/details/8930) and Touch Periodic Table (https: // www. hpcalc.org/details/7457). How were these apps created? Sincerely, Karel. I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2. |
|||
07-03-2020, 03:35 PM
Post: #4
|
|||
|
|||
RE: How to make apps
Hello,
i started the way John is explaining. When the Prime came out there were no other documentation and the guide had this chapter which is still valid. I personally - years laters - studied other people very simple applications to understand how to do it like the one you indicated in your thread. i usually consider simpler application just to understand the logic like games or other apps like this. one i remember i studied for example was GEOGAME by Bernard Michaud. the code in pretty small, simple and it shows how to handle the graphic. i hope it helps, giancarlo |
|||
07-03-2020, 04:21 PM
Post: #5
|
|||
|
|||
RE: How to make apps
If you want to start with an entirely blank app and roll out your own views etc. then on the Apps screen, tap on "Save".
Then give your app a name and select "None" from the Base App drop-down list. Tap on "OK" and you're done. There are only 10 types of people in this world. Those who understand binary and those who don't. |
|||
07-04-2020, 12:50 AM
Post: #6
|
|||
|
|||
RE: How to make apps
(07-03-2020 12:47 PM)Joe Horn Wrote: A good place to start is page 620 in the Prime User Guide, "App programs", especially the section starting on the next page called "Customizing an app". It even gives a step-by-step example. Dear Mr. Horn, How do you associate files, such as an icon, to an app? And how do you make an icon? Sincerely, Karel. I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2. |
|||
07-04-2020, 01:19 AM
Post: #7
|
|||
|
|||
RE: How to make apps
(07-03-2020 03:35 PM)Giancarlo Wrote: Hello, Dear Mr. Giancarlo, Where do I start? The apps I have installed on my Prime are not visible in the Program catalog, and have the extension .hpappprgm, while programs have the extension .hpprgm. So for every app I install I can't see the source code. So how am I supposed to learn how to make an app? Sincerely, Karel. I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2. |
|||
07-04-2020, 01:28 AM
Post: #8
|
|||
|
|||
RE: How to make apps
(07-04-2020 01:19 AM)cahlucas Wrote: Where do I start? The apps I have installed on my Prime are not visible in the Program catalog, and have the extension .hpappprgm, while programs have the extension .hpprgm. So for every app I install I can't see the source code. So how am I supposed to learn how to make an app? Sincerely, Karel. The source code (and icon files, etc.) are included in the .zip files you downloaded from hpcalc.org. Extract those files and you can examine/study them and compare with the results running the Apps. --Bob Prosperi |
|||
07-04-2020, 02:36 PM
Post: #9
|
|||
|
|||
RE: How to make apps
Quote:How do you associate files, such as an icon, to an app? And how do you make an icon? Sincerely, Karel. Bonjour Une icône d'application est une image au format PNG de taille 38*38 pixels. Vous pouvez créér celle ci avec PAINT par exemple. Après avoir créér vôtre application sur la calculatrice, raccordez celle ci au PC et lancer le connectivity kit. Clicker sur le symbole ">" devant le nom de vôtre application, vous devriez voir 2 dossiers : un nommé fichiers et l'autre nommé variables. Faîtes un click droit sur le dossier nommé fichier et charger vôtre image puis clickez sur l'icône de disquette pour enregister vers la calculatrice. Si l'icône n'apparait pas immédiatement, éteignez puis rallumez la calculatrice. Hello An application icon is a PNG file with a size of 38*38 pixels. You can create this one with PAINT for example. After creating your application on the calculator, connect it to the PC and launch the connectivity kit. Click on the ">" symbol in front of the name of your application, you should see 2 folders: one named files and the other named variables. Right click on the folder named file and load your image then click on the floppy disk icon to save to the calculator. If the icon does not appear immediately, turn the calculator off and then back on again. Translated with http://www.DeepL.com/Translator (free version) Sorry for my english |
|||
07-05-2020, 09:38 AM
Post: #10
|
|||
|
|||
RE: How to make apps
Bonjour Tyann,
Thanks for the link. I'll be able to write in English properly! La preuve... Bon dimanche. Gérard. |
|||
07-05-2020, 10:57 AM
Post: #11
|
|||
|
|||
RE: How to make apps
(07-04-2020 01:19 AM)cahlucas Wrote: Where do I start? The apps I have installed on my Prime are not visible in the Program catalog, and have the extension .hpappprgm, while programs have the extension .hpprgm. So for every app I install I can't see the source code. So how am I supposed to learn how to make an app? Sincerely, Karel. The currently active application is what shows in the top position in the program catalog. So start the app you want to look at, and then open the program catalog and select the top item. TW Although I work for HP, the views and opinions I post here are my own. |
|||
07-05-2020, 06:41 PM
Post: #12
|
|||
|
|||
RE: How to make apps
(07-05-2020 10:57 AM)Tim Wessman Wrote: The currently active application is what shows in the top position in the program catalog. So start the app you want to look at, and then open the program catalog and select the top item. Dear Mr. Wessman, Does this also apply to the buildin apps? Sincerely, Karel. I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2. |
|||
07-05-2020, 07:15 PM
Post: #13
|
|||
|
|||
RE: How to make apps
(07-03-2020 03:35 PM)Giancarlo Wrote: i usually consider simpler application just to understand the logic like games or other apps like this. one i remember i studied for example was GEOGAME by Bernard Michaud. Small error here: I cannot take credit for the App GEOGAME since I did not write it. The App was produced by Michael Nicotera and resides on the hpcalc.org site, see the link below. https://www.hpcalc.org/details/7899 Bernard Michaud |
|||
07-07-2020, 02:01 AM
Post: #14
|
|||
|
|||
RE: How to make apps
Ops, sorry my mistake.
I apologize with the author of the app and with you. Thanks for the correction. Giancarlo |
|||
07-07-2020, 03:14 AM
Post: #15
|
|||
|
|||
RE: How to make apps
You can examine these links that explain the process of making an application a little more:
https://www.youtube.com/watch?v=hv-MMwfzwwA https://www.youtube.com/watch?v=nhaIo8PhD_k https://www.youtube.com/watch?v=K4bQOmZwXFI The manual brings very little information and few examples to create a slightly more elaborate application. |
|||
07-07-2020, 05:29 AM
Post: #16
|
|||
|
|||
RE: How to make apps
Hello,
(07-05-2020 06:41 PM)cahlucas Wrote:(07-05-2020 10:57 AM)Tim Wessman Wrote: The currently active application is what shows in the top position in the program catalog. So start the app you want to look at, and then open the program catalog and select the top item.Dear Mr. Wessman, Yes, BUT.... The build in apps can have programs associated with them, but all the basic functionalities are hard codded in C/C++ and not visible to the user. Their functionalities CAN be extended through PPL program which ARE visible in the program catalog. This is how you create an app. You take an existing app and you modify it. If you want to keep nothing of the build in functions, then you need to hide them by overriding the various views. Cyrille Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)