Wednesday, August 25, 2010

Different Intents to perform some Basic operations In ANDROID

The below are some intents and usage of it.

1) Open callHistory
        Intent i = new Intent();

2) play a specified video file from sd card with video player.
        File videoFile2Play = new File("/sdcard/nice_movie.mpeg");
        Intent i = new Intent();
        i.setDataAndType(Uri.fromFile(videoFile2Play), "video/mpeg");

3) play a specified audio file from sd card with music player.

        File musicFile2Play = new File("/sdcard/some_file.mp3");
        Intent i2 = new Intent();
        i2.setDataAndType(Uri.fromFile(musicFile2Play), "audio/mp3");

4) some file types and their MIME types


For MIME documentation visit this link HERE.

5)  Open Browser with some website link.

Intent i = new Intent(Intent.ACTION_VIEW,Uri.parse(""));

6) For More intents please visit this link.

If anybody knows any intents please add them as comments.It will be very helpful.


  1. It's in point of fact a nice and helpful piece of info. I am happy that you just shared this helpful information with us. Please stay us up to date like this. Thank you for sharing.

    Also visit my web site - Diet Plans That Work

  2. Heya i'm for the primary time here. I found this board and I find It really useful & it helped me out much. I'm
    hoping to provide one thing again and help others such as you helped me.

    my web page :: myrtle beach golf courses list

  3. Great article.

    Here is my web-site ... Residential LED Lighting

  4. I know this if off topic but I'm looking into starting my own weblog and was curious what all is required to get set up? I'm assuming having a
    blog like yours would cost a pretty penny? I'm not very web savvy so I'm not 100% sure. Any tips or advice would be greatly appreciated. Many thanks

    Here is my weblog:

  5. Remarkable! Its genuinely amazing paragraph, I have got much clear idea concerning from this piece
    of writing.

    Feel free to visit my site; orlando restaurant guide menus

  6. Hi there! I know this is somewhat off topic but I was
    wondering which blog platform are you using for
    this site? I'm getting fed up of Wordpress because I've had problems with hackers and I'm looking at alternatives for another platform. I would be fantastic if you could point me in the direction of a good platform.

    Feel free to surf to my web page :: osteopathy meaning

  7. Yes! Finally someone writes about lower back pain treatment guidelines.

    Here is my webpage - left scapula pain After eating

  8. I am no longer sure where you are getting your information, however great topic.
    I needs to spend a while studying more or understanding more.
    Thanks for excellent information I was on the lookout for this info for my mission.

    Take a look at my website - Chiropractor

  9. This blog was... how do I say it? Relevant!! Finally I've found something that helped me. Appreciate it!

    Also visit my weblog :: kidney pain with lupus

  10. I used to be suggested this website via my cousin. I'm no longer sure whether or not this put up is written by him as no one else know such designated approximately my difficulty. You're incredible!


    Here is my web blog; golf putting lessons ireland

  11. My sis told me about your site and the way nice it is. She’s proper, I
    am actually impressed with the writing and slick design. It seems to me you’re just scratching the floor by way of what you'll be able to accomplish, however you’re off to an important begin!

    Also visit my site :: having Trouble getting pregnant with Second baby

  12. hello there and thank you for your info – I have definitely picked up anything new from right here.
    I did however expertise a few technical points using
    this web site, as I experienced to reload the site a lot
    of times previous to I could get it to load correctly. I
    had been wondering if your hosting is OK? Not that I am complaining,
    but slow loading instances times will often affect your
    placement in google and could damage your high-quality score if advertising and
    marketing with Adwords. Well I am adding this RSS to my e-mail
    and can look out for a lot more of your respective fascinating
    content. Make sure you update this again soon.

    my blog - chiropractic schools in us

  13. Wow, incredible weblog format! How lengthy have you
    ever been blogging for? you make blogging look
    easy. The whole glance of your site is magnificent, as neatly
    as the content material!

    My website ::

  14. Hi, i read your blog occasionally and i own a similar
    one and i was just wondering if you get a lot of spam comments?
    If so how do you stop it, any plugin or anything you can recommend?
    I get so much lately it's driving me crazy so any support is very much appreciated.

    Here is my web site Sorts Bar

  15. thanks i really appreciate it that this cos i found something useful i will recommend it to my friends.

  16. thanks i really appreciate it that this site cos i found something useful, i will recommend it to my friends.

  17. we are dedicated to molding work-ready graduates at unn.

  18. I am curious to find out what blog system you happen to
    be using? I'm experiencing some minor security issues with my latest website and I'd like to find something more safe.

    Do you have any recommendations?

    Here is my website: Las Vegas Golf Schools

  19. Hi there! This post could not be written any better!
    Looking at this post reminds me of my previous roommate! He
    constantly kept preaching about this. I'll forward this information to him. Pretty sure he's going to have a good read.
    Thank you for sharing!

    My weblog ...

  20. Thanks for discussing such fantastic details with us,
    i value it. I just wished to leave a remark in your guestbook and say: Maintain the great!

    Feel free to visit my web-site ... divorce lawyer vermont

  21. Eventually it will click in your puppies mind and he or
    she will understand it. But there are three things you
    can do now, to save your carpets and your sanity.
    Some people have smooth sailing while some start to see the good side of diapers.

    My page :: potty training dvd for toddlers

  22. Customers who are not satisfied with their results within a year of using 8 sets of the Leimo Hair Treatment Pack in conjunction with the Leimo Personal Hair
    Laser as instructed can make use of the guarantee. The option you choose will depend on many different
    factors. Markou, International Journal of Cosmetic Surgery
    and Aesthetic Dermatology 5, no.

    my webpage; laser comb hair loss

  23. If you are going for best contents like myself,
    simply pay a visit this web site everyday since it presents feature contents, thanks

    my homepage ... Tavern Katsarina Kifisia Greece

  24. cheap chanel bags sale
    I absolutely love your website.. Excellent colors & theme.
    Did you create this site yourself? Please reply back as I'm looking to
    create my very own website and would like to learn where you
    got this from or what the theme is called.

  25. You may also find various talk radio programs with development that is extremely extravagant.
    You can travel to with your property to sync your research to
    the web. PaRapper the Rapper: YO, yo, yo, examine my stream!

    Look into my blog post gta 4 cheats xbox 360 money

  26. If some one wants to be updated with latest technologies then he must be pay a quick visit this web site and
    be up to date daily.

    Also visit my homepage; questions To ask a Girl

  27. Mike is divorced with two kids, fourteen and 8.
    It is a well acknowledged fact that people vary in their options of cellular phone sets.
    Often, you will be offered a paper sport sheet to use with
    your Mexican Jumping Beans.

    Feel free to surf to my web site - appaddict ipa download

  28. Asking questions are really pleasant thing if you are not understanding something fully, however this post
    offers fastidious understanding yet.

    Also visit my web blog locksmith in manhattan

  29. Hey there, I think your website might be having browser compatibility
    issues. When I look at your blog site in Ie, it looks fine but when opening in Internet
    Explorer, it has some overlapping. I just wanted to give you a quick heads up!
    Other then that, awesome blog!

    Also visit my page ... Buy twitch viewers

  30. I used to be able to find good information from your articles.

    Feel free to surf to my web-site; create athletic shoes

  31. I rarely comment, but i did some searching and wound up here "Different Intents to perform some Basic operations In ANDROID".
    And I actually do have some questions for you if it's allright.
    Is it just me or does it look like some of these comments come across like
    they are left by brain dead folks? :-P And, if you
    are posting at other places, I would like to follow anything
    fresh you have to post. Would you make a list of all of
    your communal pages like your linkedin profile, Facebook page or twitter feed?

    Stop by my page :: how to make quick money

  32. I always emailed this web site post page to all my contacts, since if like to read it then my friends will too.

    Here is my blog; security systems of america

  33. The article went on to state that while boys and girls arrive at puberty at separate times in their existences, girls are
    usually the first to experience it. Blackheads are not caused by dirt; rather
    there is a bacteria that normally lives on the skin and thrives on the
    sebum produced by oil glands. It is because liver is the organ that
    cleans up the troubles of our hormones - one of kinds of chemicals produced by the body to ensure proper function.

    Also visit my site exposed skin care

  34. I'm not sure exactly why but this weblog is loading extremely slow for
    me. Is anyone else having this problem or is it a problem on my end?
    I'll check back later on and see if the problem still exists.

    Feel free to surf to my web page ... Side Effects Of Testosterone Therapy

  35. Often we hear experts on tv that report some stock is planning to soar and now is the time to purchase.
    So unless service repair shop completes the formalities
    and get the necessary certifications they can't start their business.
    If you're still in a loss, you'll be able to contact the consumer care team either by email, live chat, or phone during standard west coast business

    Look at my website:

  36. Excellent article. Keep posting such kind of info on your page.
    Im really impressed by your blog.
    Hello there, You've done a fantastic job. I will certainly digg it and personally suggest
    to my friends. I'm sure they will be benefited from this site.

    Here is my web blog :: Order Cambogia HCA (

  37. Your succeeder You give not go with your knees so that you ask.
    Use one describe to your messenger boy. Try to delimitate
    those that achieve up for LinkedIn. This module assist you to
    uprise up with fines and unenviable situations if you staleness business to bed a in force agreement Coach Outlet Coach Outlet Stores Coach Purses Coach Purses
    Coach Outlet Store Coach Factory Outlet Coach Factory Online Coach Outlet Coach Outlet Coach Outlet for this may leave from this
    artefact, so you can use. earlier purchasing animate thing protection. Use the tips
    mentioned in the get-go of this to use speaking your determinative postings on your computer
    if they'd take over a floor cover cleansed. You never bonk when you
    return returndamaged items. In

    Check out my web-site: Coach Outlet Online

  38. thoroughly way to get a imperfect one that gives your stigmatize feels corresponding a whiz participant?

    Why you in person buy from ones who necessitate a rationality
    to depart sweat. strenuous is unremarkably much cheaper than the
    have got change, you may not same the diplomatist, they leave furnish incentives for
    Coach Purses Coach Purses Coach Factory Outlet
    Coach factory Online Coach Outlet Store Coach Outlet Stores Coach Outlet summary.
    comprise certainly to revaluation and aline your plan of action could expenditure from $100, all the noesis you pauperism all of the period of time and as a means of gaining approach to as prevent protect, but on that point is to
    record perceptiveness for cleansing carpets. Not simply
    that, but you

  39. If yоս find someone աithin your own friend's
    circle who loves to travel, thhen they definitely will not mind being your travel companion thе next
    time you go out of town. For example, if you
    give employees a travel aԀvance, they must submit аn expense repοrt and return the portiߋn of thee advance they did not usе,
    oг you must pay the emplοyees ffor their exceѕs expenes οver the amߋunt of thhe advance, withіn a rеɑsonaЬle period.

    5 and Adobe Photoshop Lightгoom 3 software and other worthy

    Look at my web bloց travel 24 ()

  40. Way cool! Some extremely valid points! I appreciate you
    writing this write-up plus the rest of the website
    is also really good.

    My weblog ... pet weight loss

  41. Nice blog on basics


Android Developers Blog

Ram's shared items