| View previous topic :: View next topic |
| Author |
Message |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Mon Mar 24, 2008 6:51 am Post subject: [SOLVED]File manager open source? |
|
|
Excuse me,
i'm writing a file manager, but i don't know some function, there are a File Manager open source? Or a programm that show the current file in a directory and you can select one of them!
I've try too much but all the function will be slow
Last edited by ne0h on Wed Mar 26, 2008 12:19 am; edited 1 time in total |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Mar 24, 2008 7:17 am Post subject: |
|
|
The PSP can use posix functions. There are also sce functions as well. There's plenty of source code out there that uses both. For example, Doom for the PSP has a file requester that fetches all the files and directories in a particular directory and displays them. You can then select a file, or navigate into another directory. You'll find all the file requester code in the reqfile.c file. It uses some functions for printing that are in psp_main.c as well.
http://groups.google.com/group/chilly-willys-ice-flow/web/psp-doom-v1.4.zip?hl=en
There are many other programs with source you can look at as well. Just try some programs and see if you like their file requester, then check out the code. |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Mon Mar 24, 2008 9:29 pm Post subject: |
|
|
I'haven't resolved! :(
Can anyone give me another example? |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Tue Mar 25, 2008 1:28 am Post subject: |
|
|
| Please.. |
|
| Back to top |
|
 |
fungos
Joined: 31 Oct 2007 Posts: 41 Location: cwb br
|
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Tue Mar 25, 2008 3:00 am Post subject: |
|
|
| ??? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Tue Mar 25, 2008 3:54 am Post subject: |
|
|
| ne0h wrote: | I'haven't resolved! :(
Can anyone give me another example? |
There's plenty of open source programs for the PSP out there. Now is the time when you do RESEARCH and collect the info YOURSELF. Then you do your own code, and if you have a problem with something specific, THEN we help some more. We aren't here to teach you the basics, and simple file lists are pretty basic. |
|
| Back to top |
|
 |
pegasus2000
Joined: 12 Jul 2006 Posts: 160
|
Posted: Tue Mar 25, 2008 5:00 am Post subject: Re: File manager open source? |
|
|
| ne0h wrote: | Excuse me,
i'm writing a file manager, but i don't know some function, there are a File Manager open source? Or a programm that show the current file in a directory and you can select one of them!
I've try too much but all the function will be slow |
Nanodesktop has 2 open source file managers ready for you.
So, you could download Nanodesktop source code and you'll
find the informations that you need.
I've a propose for you. If you write a good file manager, I'd
incorporate it in the next version of nd. What do you think about ?
Last edited by pegasus2000 on Tue Mar 25, 2008 5:03 am; edited 1 time in total |
|
| Back to top |
|
 |
pegasus2000
Joined: 12 Jul 2006 Posts: 160
|
Posted: Tue Mar 25, 2008 5:01 am Post subject: Re: File manager open source? |
|
|
| I've post two time the same message. Sorry. |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Wed Mar 26, 2008 12:18 am Post subject: |
|
|
Thanks, but i've just writed a my function, so i don't need any src...
Probably i've don't understand the question, Nanodesktop is not a "compiler"?
You wan't the source of my File Manager? |
|
| Back to top |
|
 |
pegasus2000
Joined: 12 Jul 2006 Posts: 160
|
Posted: Wed Mar 26, 2008 1:19 am Post subject: |
|
|
| ne0h wrote: | Thanks, but i've just writed a my function, so i don't need any src...
Probably i've don't understand the question, Nanodesktop is not a "compiler"?
You wan't the source of my File Manager? |
Nanodesktop is a free library. Internally, it provides different
functions and, of course, some file managers.
The actual nd has already 2 file managers that are working, but
the API allows the adding of new file managers, at condition that
these are compliant with some specifications.
So, if you like about it, we could integrate the code of your file
manager in nd source code. So, all nd applications can utilize
your file manager internally. |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Wed Mar 26, 2008 1:41 am Post subject: |
|
|
Maybe in the next relase, i'm learning programming...
Excuse me for my english! |
|
| Back to top |
|
 |
|