Android Blog

Provides Information on Android

Wednesday, 11 September 2013

Android: get the MIME type from the URL


String name="image.png"
String nameType = URLConnection.guessContentTypeFromName(name);
Posted by Unknown at 07:39
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Android

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile

Pages

  • Home

Blog Archive

  • ►  2014 (1)
    • ►  May (1)
  • ▼  2013 (47)
    • ▼  September (5)
      • Android: Get the x and y values of a View.
      • Android: get the MIME type from the URL
      • Android: get the number of lines occupied by the t...
      • Android: Progress Image type loader using progress...
      • Android: get the Childs of ListView with ListViewId
    • ►  August (4)
    • ►  July (1)
    • ►  June (6)
    • ►  May (6)
    • ►  April (4)
    • ►  March (11)
    • ►  February (4)
    • ►  January (6)
  • ►  2012 (41)
    • ►  December (14)
    • ►  November (7)
    • ►  October (7)
    • ►  September (13)
Simple theme. Theme images by luoman. Powered by Blogger.