Playing a video file is simple in android. This post will help you. Put your video in res/raw folder. If no raw folder present then create a new folder inside res. The main. xml file. Please leave your comments if this post was useful.
activity, ANDROID, File Xml, id, Lt Xml, MediaController, New Folder, Public Class Example, Public Void, Raw, Res, Resource Package, savedInstanceState, setContentView, setMediaController, setVideoURI, start, Utf 8, Vd, Video File, Video Uri, Videoview, Widget, Xml File
The following code helps you to do a drag and drop in ANDROID.
AbsoluteLayout, ACTION_MOVE, Activity Called, ANDROID, Canvas, dispatchTouchEvent, getIdentifier, getResources, LayoutParams, MotionEvent, onTouchEvent, savedInstanceState
By using the below code snippet you can uninstall an installed application on your ANDROID phone. Create an intent object with an action and data as the package name and start with the ACTION_DELETE.
Call this function to restart your application Note : PLease add this to your app.XML file inorder for the above code to work.
This sample code helps you to load html from a string and from a file into webview in ANDROID.
android_asset, Asset Test, Assets, Courier New, F00 Blue, Html Java, Java Html, Java String, Load html string into WebView in android, loadDataWithBaseURL, Loading Images, loadUrl, Photo, Quot Quot, String Str, Test Html, Text Html, text/html, Webview