1

I want to create a image file in Android with specified Author name and other properties like,

  • Authors:
  • Title:
  • Subject:
  • Program name:
  • Copyright:
  • etc...

I created Image file. How can I specify these properties?

Anthon
  • 69,918
  • 32
  • 186
  • 246
MohammedYakub M.
  • 2,893
  • 5
  • 31
  • 42
  • You should create one `RelativeLayout` and put the image as background and then create textViews with custom styles and set all those at desired position in relative layout. – Apurva Mar 19 '15 at 07:22
  • Apurva, Your comment is irrelavent to my question. I want to create a file having Authors,Title,etc. So I can verify that this file is created by me by checking its properties by right click on that file. – MohammedYakub M. Mar 19 '15 at 07:31
  • @close voter...pls specify the reason for closing. – MohammedYakub M. Mar 19 '15 at 07:34
  • Have a look at this question: http://stackoverflow.com/questions/15906793/is-it-possible-to-set-custom-metadata-on-files-using-java I have no idea if it works on Android but it's worth a try. Or maybe try this one: http://stackoverflow.com/questions/18955475/add-custom-attribute-or-metadata-to-file-java which seems to be simpler. – kha Mar 19 '15 at 08:21
  • I tried it in java, but UserDefinedFileAttributeView is not available in Android.:( – MohammedYakub M. Mar 22 '15 at 06:23

0 Answers0