Author Topic: Suggestion For Doctab  (Read 3472 times)

Snappy

  • Hero Member
  • *****
  • Posts: 793
    • View Profile
    • http://
Suggestion For Doctab
« on: June 25, 2006, 07:49:51 am »
Currently: DocTab in oz/opie currently thrawls a few known locations and also external media (if selected) for certain documents and displays them in a list

Advantage: The upside is that users do not need to search for the documents as they sometimes may be saved to disparate locations depending on the apps.

Disadvantage: The downside is that the thrawling can be rather timeconsuming as it thrawls through the external media ... this is especially so, with the media cards going into the gigabyte region.

Possible solutions:
1. Adopt the Cacko approach, ie just show an folder list of the internal flash and media cards and let users browse through the different locations.

2. Modify the existing thrawling code to be directory specific. That way, users can select to show only files from certain directories.

Approach 2 can reduce the thrawling time only if the selected directories do not contain deeply nested directories and files. But if users do have that many documents or data files, then the DocTab should show them ... but showing too many items in a flat list defeats the usability of it.

I'm keen on adopting the Cacko approach as gives users the most flexibility. I'm also inclined to show the DocTab in a Tree=List view instead of a simple list view. The Tree Portion can then show the directories in the internal flash, media cards and a number of user-defined 'favorite' directories. These list of user-defined directories can come pre-defined with a list of standard directories that are commonly used to contain document files etc.

I'm hoping to use this as a learning project for myself into OE/OZ/OPIE development.

I code in C/C++ for win32, wince (PPC and HPC), Palm and other platforms.

Comments, ideas and suggestions strongly welcome and wanted!
Snappy!
------------------------
Akita (Daily use)
<span style='font-size:8pt;line-height:100%'>SL-C1000 with Cacko 1.23 full
Accessories: Wifi XI-825 CF  |  16GB (6) SDHC (Transcend) | 1GB 80x CF (RiDATA PRO-2) </span>

Collie (Sandbox)
<span style='font-size:8pt;line-height:100%'>SL-5500 with OZ/GPE 3.5.4.1 alpha3 build 2006-04-27
Accessories: 512MB A-Data SD | 64MB Toshiba SD</span>

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Suggestion For Doctab
« Reply #1 on: June 25, 2006, 09:01:07 am »
Cacko == SharpROM == closed source fork of Qtopia.

Anyway feel free to write such improvments - patches are welcome.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Suggestion For Doctab
« Reply #2 on: June 25, 2006, 01:54:39 pm »
Most Opie members and almost all users I've talked with would really appreciate a SharpROM-style DocTab. You're right, it would make a perfect learning project to catch up with Opie.

The Opie core developers are on opie-devel@handhelds.org and sometimes on #opie @ freenode, if you have specific questions, fire away
« Last Edit: June 25, 2006, 01:55:58 pm by Mickeyl »
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Snappy

  • Hero Member
  • *****
  • Posts: 793
    • View Profile
    • http://
Suggestion For Doctab
« Reply #3 on: June 25, 2006, 06:55:30 pm »
Thanks Hrw and Mike for the heads up and comments.  ... let me look for that thread about the location of the source code ...

btw, incremental build/make is possible with OE right? That way I just need to compile and link the relevant files and not the whole src.
Snappy!
------------------------
Akita (Daily use)
<span style='font-size:8pt;line-height:100%'>SL-C1000 with Cacko 1.23 full
Accessories: Wifi XI-825 CF  |  16GB (6) SDHC (Transcend) | 1GB 80x CF (RiDATA PRO-2) </span>

Collie (Sandbox)
<span style='font-size:8pt;line-height:100%'>SL-5500 with OZ/GPE 3.5.4.1 alpha3 build 2006-04-27
Accessories: 512MB A-Data SD | 64MB Toshiba SD</span>

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Suggestion For Doctab
« Reply #4 on: June 28, 2006, 10:43:51 am »
http://opie.handhelds.org/

You might want to setup OE properly though, then you can create flashable images and ipks to test your alterations.

If you chose the latter, the opie code will be available in you tmp/work directory once it's been built.
Then you'll need to make alterations and delete the 'stamp' files so that bitbake knows to rebuild the files. You'll have to delete:
tmp/stamps/*/<packagename>.do_compile
tmp/stamps/*/<packagename>.do_package

and possibly

tmp/stamps/*/<packagename>.do_build

It may be easier, if you're new to bitbake/OpenEmbedded to use a pre-built toolchain. Mickeyl, hrw is there a recent Opie one available?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Suggestion For Doctab
« Reply #5 on: June 28, 2006, 10:52:06 am »
Code: [Select]
bitbake -b recipe -f -ccompile
bitbake -b recipe -f -cinstall
bitbake -b recipe -f -cpackage
are nicer then removing stamps
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

Snappy

  • Hero Member
  • *****
  • Posts: 793
    • View Profile
    • http://
Suggestion For Doctab
« Reply #7 on: June 28, 2006, 08:54:28 pm »
Thanks guys ... fiddling ... fiddling ...
Snappy!
------------------------
Akita (Daily use)
<span style='font-size:8pt;line-height:100%'>SL-C1000 with Cacko 1.23 full
Accessories: Wifi XI-825 CF  |  16GB (6) SDHC (Transcend) | 1GB 80x CF (RiDATA PRO-2) </span>

Collie (Sandbox)
<span style='font-size:8pt;line-height:100%'>SL-5500 with OZ/GPE 3.5.4.1 alpha3 build 2006-04-27
Accessories: 512MB A-Data SD | 64MB Toshiba SD</span>