[Solved] How can I get image’s name?


if your image is a file like ‘aaa.jpg/png..’

try to use the APIs of String such as subString().indexOf()

and your code may be like this:

int index = name.indexOf(".");

String name = name.subString(name,0,index);

solved How can I get image’s name?