11-13-2010 03:33 PM
How about this...is there a way to invoke the Address Book application (e.g. Invoke.invokeApplication(Invoke.APP_TYPE_ADD
If this were possible, then this, along with a Journal Listener would probably do the trick. Cross application communication doesn't seem possible though for obvious reasons.
I will keep digging.
11-13-2010 06:03 PM
I have to admit, I am baffled. I can write a web app, place an <input type="file"... /> element on the form, and get support for a file/image list (picker) dialog, but Java developers cannot get access to this basic control? I really do not get it. So our only option is to create our own? I honestly would not mind writing one, but if parsing the BBThumbs.dat file is our only option for an efficient implementation, I will have to submit to defeat. I simply do not have the time.
This is unfortunate. If someone has any other ideas, I'd be appreciative.
I think my only other fallback will be to simply invoke the Camera app to get a pic in real-time without support for allowing the user to pick and existing image on the device.
01-16-2012 04:49 AM
I worked in revese on this. Instead of finding every image on the device and then finding its thumbnail image in thumbs96x96.dat etc I instead parsed the thumbnail file and extracted all the thumbnails with their paths and filenames directly from the file. I then checked if a file already exists before I displayed it to the user.
09-22-2012 07:31 AM
Could you pass on the work for the gallery picture selector ? I implemented it nasty way, reading and scaling all images in gallery and converting them to thumbnail. Yours implementation sounds good.