How to make Gradient Background in Android Studio Gradient is an effect in which one color fades into another.We will make gradient for background of screen.It can be made for different purposes like for buttons or any other widgets in android.So we will make it using xml drawable resource file. Step 1. Let's create new project in android studio. Step 2. Now Right click on drawable folder under res directory then click new and then select Drawable resource file. Step 3. Now write name gradient, choose root element "shape" and click OK . It will look like this. Step 4. Now write code to make gradient.Take shape attribute in Root Element shape tag then write gradient tag between...
Blood Donors Using Firebase Blood Donors android app using firebase realtime database.This app used firebase as backend. Blood Donors is Android based project.Mobile is a portable device, so far it can move easily from one place to another place easily. So Mobile is the best choice for communication.By using of this application people who want to donate their blood can register in this application by providing their details. And Persons who needs blood, they can search and found the blood which group they need. After searching list of donors will be displayed. Then user can communicate with them easily. Framework used: Firebase. This app contains functionalities like: Register as Donor or as Searcher. Login as Donor or Admin. Search Donors. Manage Donors. Add new Donors as admin. Delete Donors. Password reset. Password Change. GitHub: Source Code Download
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 ...
Comments
Post a Comment