Posts

Showing posts from February, 2017

Splash Screen For Android Apps

Image
Tutorial on how to implement a splash screen in an Android app. Steps  Step 1 Create a new android app with an empty activity Step 2 Add another empty activity in the project and name it as "SplashScreen".  Generate the layout as well. Step 3 Go to AndroidManifest.xml and cut the XML tag <intent-filter> from the main activity to activity "SplashScreen". Whenever this app will start will will the the activity "SplashScreen" first Step 4 Right click on the folder "res" and from the context menu select new then select "Image asset". select an appropriate image which will appear on the splash screen In the "Activity_splash_screen.xml" add an "ImageView" control and select the uploaded image. Step 5 In the "SplashScreen.java" add the following code in the method "onCreate" the make the splash screen appear for 3 seconds Step 6

BMI calculator android app

Image
Simple user friendly BMI calculator android app with is compatible with most of  the android version, from API 17 to API 25. It is optimized to run on medium spec phone as well. Screen Shot Main screen Spinner to select measuring unit  Code to render Spinner String array in resource file values/strings.xml User input validation  Download Click here to download source code Please donate and support at https://www.paypal.me/Rajcoomar