suppose b(return of a ) and a is a function . B function takes argument of A(FUNCTION POINTER ),
Wednesday, March 31, 2021
Tuesday, March 30, 2021
Broadcasts in android
Broadcasts listens to any type of event like touch or walk or sms recieve and then do something on recieving the broadcast .via OnRecieve method . LIKE FOR EXAMPLE
If we want to do something when an sms is recieved in mobile then first declaring broadcast and intentfilter inside the manifest then creating a class extending broadcastReciever . we can do what we want in OnResponse method.
Monday, March 15, 2021
JsonObject==null condition doesnt work and Formater doesnt format the null jsonobject like this {};
solution is
using .isnull method for the if condition and
excecuting the formating only when not null condition and it Works yoo!!
Saturday, March 13, 2021
Friday, March 12, 2021
Bluetooth scan stopped in app due to permission not asked by user
bluetooth scanner connects and disconnects in runtime when uses the permission
permissions.add(Manifest.permission.ACCESS_BACKGROUND_LOCATION)
Google changes it policy to first ask and then if user accept only then it will be executed
Solution is simply remove this or follow instructions for more clearity .
Thursday, March 11, 2021
Wednesday, March 10, 2021
CGPA CALCULATOR IN NEUMORPHSTYLE
KeyPoints-Series-1
The Android architecture has the Main Thread AKA UI thread, which updates the UI after every 16ms frame.
-
package com.mafaz.csvcreatefile ; import androidx.appcompat.app.AppCompatActivity ; import android.os.Bundle ; import android.os.Environme...