Posts

Showing posts with the label Activity

How To Code a Wallpaper App in Android?

 How To Code a Wallpaper App in Android?    To create a wallpaper Android app, you will need to use the Android operating system and the Android Studio development environment. Here is a general outline of the steps you can follow to build your app:   Install Android Studio on your computer. This is the official Integrated Development Environment (IDE) for Android app development. Create a new project in Android Studio. Choose "Empty Activity" as the template for your project. Design the user interface (UI) of your app. You can use the XML-based layout files to define the UI for your app. You can also use the Graphical Layout tool in Android Studio to design your UI visually. Implement the functionality of your app. You can use Java or Kotlin to write the code for your app. Test your app on an emulator or a physical device to ensure that it works as expected. If you want to publish your app on the Google Play Store, you will need to sign up as a developer and pay a...

How to Handle Runtime Permissions in Android

Image
How to Handle Runtime Permissions in Android Google changed the way of permissions that applications handle from Android M or Marshmallow or Android 6.0. An Application needs permissions to use device's Hardware or Software Resources like Storage,Internet,Gallery,GPS or Network State etc. In the earlier Android versions till Android 5.1.1 Lollipop, we only mention the permissions in the AndroidManifest.xml file. At that time we don't need to check permissions  every time. But from Android Marshmallow, we need to check for permissions every time app runs. We declare all permissions in the AndroidManifest.xml file that need to access at runtime when the app runs. Permission Types:      1.Normal Permissions      2.Dangerous  Permissions Normal Permissions                              that do not affect user's privacy directly like changing timezone or ...

Basic Calculation App-Calculate

Image
Basic Calculation App-Calculate     ***Features*** *It takes two inputs. *It can:         * Add         * Subtract         * Multiply         * Divide