11-01-2016, 09:51 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Nov 2016
Device: Pocketbook 630
|
How to write an app for Pocketbook?
Hello,
I read some of the threads in here. And I search somethings via Google but I can't figure out how can I begin to write my app for Pocketbook. Can anyone write a roadmap for from scratch? I am a web developer, I know JS, PHP, PYTHON. So if its possible with that language. If it's not possible what should I learn? |
11-02-2016, 09:26 AM | #2 |
Addict
Posts: 352
Karma: 188498
Join Date: Jan 2015
Location: Romania
Device: Kobo Aura One
|
|
Advert | |
|
11-02-2016, 01:44 PM | #3 |
Wizard
Posts: 3,007
Karma: 18401861
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
In terms of a roadmap, there isn't anything official. Your best bet is to look at the inkview.h file in the SDK to see what the API functions are. Looking at the code of working applications is also a big help. There are some example applications within the SDK. There are also some third-party applications whose source code is available. Search this forum and you should be able to find some of those. If you have specific questions, you can ask them here, and someone may know the answer to it.
The PocketBook devices are linux systems. You can use the SDK to cross-compile software for those systems and then install it in internal memory or on the SD card. You could probably build python for it if you were so inclined. |
11-03-2016, 12:34 AM | #4 |
Addict
Posts: 352
Karma: 188498
Join Date: Jan 2015
Location: Romania
Device: Kobo Aura One
|
Python source: https://www.python.org/ftp/python/3....n-3.5.2.tar.xz
SDK: https://github.com/blchinezu/pocketbook-sdk Build instructions for Linux with SDK_481 (FW5): - Get the SDK and put it in your home dir ~/ - Get the python source, extract it and put the dir in ~/PBDEV/sources - Extract the attached pocketbook-build.sh.zip and put the script in ~/PBDEV/sources/Python-3.5.2 - run the script Or you could just try the build I attached. I didn't test it but I suppose it should work. |
12-01-2016, 04:30 PM | #5 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Oct 2012
Location: Germany
Device: Pro612
|
If you like to try without installing and configure you should take a look here: https://www.mobileread.com/forums/sho...d.php?t=224164
Greetings |
Advert | |
|
10-29-2020, 10:40 PM | #6 | |
Member
Posts: 13
Karma: 12
Join Date: Jun 2020
Device: pb740
|
issues on compilation
Quote:
arm-obreey-linux-gnueabi-gcc -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrap v -O3 -Wall -Wstrict-prototypes -Werror=declaration-after-statement -I. -IInclu de -I./Include -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c as: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_ty pe_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed. arm-obreey-linux-gnueabi-gcc: internal compiler error: Aborted (program as) Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make: *** [Makefile:773: Programs/python.o] Error 4 It's no priority for me to compile python especially, because I intended to compile mg, ssh and such, but I wanted to understand the procedure and I'm not sure how to do properly. Last edited by nomoi; 10-29-2020 at 10:42 PM. Reason: syntax |
|
01-10-2021, 01:53 PM | #7 | |
Junior Member
Posts: 5
Karma: 3160
Join Date: Jan 2021
Device: PB HD3
|
Quote:
Using C++ I got: collect2: error: ld terminated with signal 6 [Aborted], core dumped ld: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed. make[2]: *** [CMakeFiles/HelloWorld.app.dir/build.make:129: bin/HelloWorld.app] Error 1 make[2]: Leaving directory '/home/johann/Dokumente/Repo/Github/Pocketbook-HelloWorld' make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/HelloWorld.app.dir/all] Error 2 make[1]: Leaving directory '/home/johann/Dokumente/Repo/Github/Pocketbook-HelloWorld' make: *** [Makefile:130: all] Error 2 and fixed it setting LANG=/usr/lib/locale/en_US Might also help in your case. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Resizing Covers for PocketBook App? | dkplayaclub | Android Devices | 5 | 11-14-2018 04:46 AM |
[Write] Recommended simpe note taking app with strong offline import/export support? | avid01 | Android Devices | 5 | 01-26-2016 05:01 AM |
Weather web app for Pocketbook | transient | PocketBook | 0 | 05-24-2015 01:16 PM |
IQ Unzip app for PocketBook IQ | Ewitschka | PocketBook | 3 | 06-13-2011 03:05 AM |
903 microSD write fails on PocketBook 903 | LoneTech | PocketBook | 21 | 02-11-2011 08:36 AM |