如何使用J2ME将图像保存到照片库 [英] How to save an image into photo gallery using j2me

查看:82
本文介绍了如何使用J2ME将图像保存到照片库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用j2me申请诺基亚,三星,LG ets. 我想将图像保存到手机相册中.但是我不知道该使用哪种路径保存图像?

I am making an application for nokia, samsung, lg ets using j2me. I want to save an image into photo gallery of mobile. But i didn't have any idea what path i use to save image?

推荐答案

String initDir = System.getProperty("fileconn.dir.photos");

如果移动电话的内存有限,则可能会出现问题.因此,您应该使用存储卡保存图像.

Mobile's Internal Memory can make issue if it is limited. So You should use Memory card to save the images.

您可以在存储卡中创建一个文件夹,然后使用E:/<folder-name>访问J2ME代码.

You can create a folder in Memory card and access it using E:/<folder-name> in to your J2ME code.

这篇关于如何使用J2ME将图像保存到照片库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆