Reputation: 121
What should be the MIME type for vcf files for google drive api.
Upvotes: 0
Views: 671
Reputation: 159
try getting the mime type from file extension it worked for me. here is the code:
final MimeTypeMap mime = MimeTypeMap.getSingleton();
String tmptype = mime.getMimeTypeFromExtension("vcf");
Upvotes: 0
Reputation: 6755
Without knowing the specifics, here's a trick/hack I would use:
Good Luck
Upvotes: 1