RE: Ringer directory

"Simon C" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <002c01c669ca$5f32e8c0$0201a8c0@HOME>
> > One problem that exists today on phones with multiple 
> ringer sources 
> > is that if a file with the same name is in different 
> sources things go 
> > wrong because bitpim stores all the files in the same 
> directory. I'd 
> > like to fix this by creating sub-directories named after 
> the source in the ringer storage.
> 
> There are two "correct" ways to fix this.  One is to store 
> the ringtones in the database.  That would allow multiple 
> ones to have the same name etc.  The other is to use random 
> file names on the host and reference the filename from the 
> database.  In both cases there will be the real filename as 
> used on the phone presented to the user.  That way it is 
> trivial to have multiple files with the same names in 
> different origins. 

Personally I prefer the database option and will go with this unless anyone
shouts. 
This will result in only 2 bitpim files, settings/preferences and the
database. This will make adding a feature to load multiple phone databases
and/or switching databases much easier.
I think (windows) users have gotten used to being able to go to the
filesystem to copy the files, adding a file export feature to work on all
ringers/wallpaper (kind of like the export feature on other widgets) should
make up for this.

Simon



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.