Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mime Type for a Content Provider

 
zoheb hassan
Ranch Hand
Posts: 154
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys,

Why is it required to define a MIME Type for a content provider, What does a MIME Type Signify?? I Know that for a single item you define Item and for directory you say Dir.Suppose you are creating a database for Library how do you define a MIME Type for it and Why?? Can you please explain this??

Thanks
Zoheb.
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A MIME type is to a browser what a file extension is to Windows - it is a way of identifying the contents of the file and optionally allowing an executable to be assigned to the file (where the executable understands the file contents). For more details: http://en.wikipedia.org/wiki/Internet_media_type

But the rest of your question confuses me - where did you read that you need a MIME type for a "database for Library". And what do you mean by "Library"? There is no class by that name...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic