[sword-devel] BibleZ HD Beta - webOS Bible Reader App for the HP TouchPad
Stephan Tetzel
stephan.tetzel at online.de
Sat Jul 23 12:35:09 MST 2011
Troy,
First off all: Thank you for your suggestions. This help me a lot to get
deeper into the SWORD library!
> So webOS programming is pretty much all javascript with hooks to call
> native library? That's pretty cool.
Yes, it is =)
> ___________________
> PDL_bool readConfs(PDL_JSParameters *parms) {
> ...
> SWMgr confReader("/media/internal/.sword/install");
> for (it = confReader.Modules.begin(); it != library.Modules.end(); it++) {
> SWModule *module = it->second;
> module.getConfigEntry("Lang");
> module.getConfigEntry("DataPath");
> module.getConfigEntry("Description");
> }
I've tried to implement this code, but I have some encoding issues. Some
conf files arn't encoded in UTF8 (e.g. gerlut1545.conf, it has ISO
8859-15 encoding). If I try to read the description I get "broken"
character (e.g. for the german "Ü"). That's bad for my JSON parser,
because it can't handle these characters. Is there a way to escape these
non-unicode characters?
> _______________________
>
> InstallMgr class (and sword/utilities/installmgr.cpp as an example)
> might be useful for remote and local installation of modules.
Currently I download the raw zip (in Javascript over HTTP) and unzip it
for myself. Is it possible to install a local file with InstallMgr?
> Hope this helps.
Yes, thanks again!
Stephan
>
> On 23/07/11 14:24, Stephan Tetzel wrote:
>>
>>
>> Am 23.07.2011 11:31, schrieb Peter von Kaehne:
>>> On 21/07/11 08:09, Stephan Tetzel wrote:
>>>> Hi,
>>>>
>>>> BibleZ HD is a port of one of my current webOS Apps
>>>> (http://zefanjas.de/apps/biblez/) to the new webOS framework (enyo). The
>>>> SWORD engine is now the new backend for this app.
>>>
>>> Where is the source? I see on your site nothing re GPL licensing
>>
>> BibleZ Pro (the current webOS (phone) App) doesn't use the SWORD Engine
>> and isn't licensed under GPL.
>>
>> The new port (BibleZ HD) will be licensed under GPL. You can find the
>> sources here[1]. (Sry that I haven't upload the sources immediately.) If
>> you look at the sources you'll maybe notice, that I'm (very) new to the
>> sword and c++ world =)
>>
>> Stephan
>>
>> [1]https://github.com/zefanja/biblez
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list