Imountservice To Mount/unmount Volume Not Working On 4.4 Android
I have used reflection to mount/unmount external storage.it is working below 4.4 Api. code is below import android.os.IBinder; import android.os.RemoteException; import android.os.
Solution 1:
In order to use something with signature | system
permissions your package has to be signed by the platform's signing key. Unless you're creating your own custom ROM or have a rooted device, you won't be able to do this.
If your app is a regular 3rd party app (released in the Play store) then you should only use the public APIs and not depend on reflection. Only the public Android APIs are considered stable and exposed. Others are hidden because they are only intended to be used by the internals of the system.
Post a Comment for "Imountservice To Mount/unmount Volume Not Working On 4.4 Android"