From: Stephen W. <sa...@us...> - 2004-04-19 16:42:02
|
What does BitPim expect the getwallpapers and getringtones routines to return? I gather that it expects arrays of the actual contents of the files on the phone. But what is the index of this array, the filename of the file on the phone? That appears to be the case here: media[index[i]]=self.getfilecontents(location+"/"+index[i]) What about camera pictures such as here? media[index[i]['name']]=self.getfilecontents("cam/pic%02d.jpg" % (i,)) Some Sanyo phones can take short movies. Can I return the movies in the same structure as the wallpapers? What would be suggested for handing duplicate filenames? If one takes a picture with a Sanyo camera phone, then assigns it as a wallpaper to a phonebook entry, there will be two files on the phone with the same name. The large file is the picture and the small file is the picture sized properly to be a wallpaper. Stephen |