Re: Ringer directory
"Roger Binns" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <020f01c669c2$7a9bf190$3501a8c0@rogersqyvr14d3> |
> Possibly adding phone limits as well for reference, That should be done as documentation. > for instance the vx9800 > locks up totally dead if you put more than 3MB of ringtones on it, The code that copies the ringtones to the phone should impose this limit. For example the code that writes contacts to the phonebook already limits to the phone's capacity. > requires a visit to the store to fix. Wow, looks like LG wants to be the new Audiovox. > I also want to add the ability to move an item from one source to another. That was intended to be added all along ... > 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. They can even be different contents with the same name. eg when my VX4400 is selected I could see sunset.jpg at 100x100 but with a VX9800 selected there could be sunset.jpg at 200x200. The only other time a host filename is visible is if it is opened in an external app. The way most programs handle this is to create a temporary copy in $TMPDIR and invoke the external app on that. Roger ------------------------------------------------------- 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