Android4.4 or later, how to synchronize system data? - android

If not using root in android 4.4 or after, how to record the screen and synchronize it to computers? Can anyone provide an idea or an open-source software? The old method that using root to gain access to system data is no longer working after android 4.4.. Thanks a lot.

If not using root in android 4.4 or after, how to record the screen and synchronize it to computers?
Fortunately, this is not possible, for blindingly obvious privacy and security reasons. SDK apps cannot read the screen, except perhaps on rooted devices.

Related

Android use System app without root to write to file

I am currently developing an AOSP ROM and I need to make a system app which is able to write data to CPU text files. The thing is I am able to do it while I have root access but the ROM needs to be flashed and provided to a non-root phone which should still be able to use that system app.
Could someone with prior experience please provide some guidance ?

BlobCache.UserAccount cloud syncronize on Android

I am trying to understand BlobCache.UserAccount option using akavache. So far I could successfully implemented BlobCache.LocalMachine which works only offline.
Accoridng to akavache documentation;
Xamarin.iOS will may remove data, stored in BlobCache.LocalMachine, to free up disk space (only if your app is not running). The locations BlobCache.UserAccount and BlobCache.Secure will be backed up to iCloud and iTunes.
Windows 10 (UWP) will replicate BlobCache.UserAccount and BlobCache.Secure to the cloud and synchronize it to all user devices on which the app is installed
I guess this is something done automatically by the OS when you place the data into the certain folders, it is being backed up and this is what akavache is doing. Is that correct?
If yes, Is there a way to have something similar with Android. Nothing is described for Android. Is there some backup happening on google drive or we can implement easily?
I think this is iOS specific indeed. I tried to look it up into the code, but couldn't find something specific for the UserAccount. So, I think your assumption is correct. It might be for a different reason though, but I honestly think its iOS specific.
It looks like with android it doesn't store into google drive
https://github.com/akavache/Akavache/blob/master/src/Akavache/Android/AndroidFilesystemProvider.cs#L40
I haven't done that much with saving files into google drive but it doesn't seem quite as straight forward as it is on Windows or iOS. On Windows just save into a Roaming Folder and run with it. Where as with Android it seems less plug and play
https://developers.google.com/drive/android/get-started
Creating a new Android application that uses the Google Drive
Android API requires several steps.
I think in theory you could register your own IFileSystemHandler into Splat if you want to wire that connection up.

Android App monitor

I would like to create an app to monitor the communication between applications on my android. for example app A access my contacts 10 times; my app should be able to give me that info.
any idea what I should use? the permissions? what android class will be good to look into ?
Fortunately, what you want is not possible in general, for bindlingly obvious privacy and security reasons.
In the specific case of wanting to monitor other apps' use of ContactsContract, you are welcome to download the Android source code, modify it to leak this information by one means or another (e.g., log it), and create a ROM mod from your revised version of Android. Installing that ROM mod on your device would then allow you monitor those communications. Outside of this, the most that you can do is set up a ContentObserver to see if apps change contact data, but you will not know what apps make those changes, let alone general read access to contacts.
Other aspects of Android app functionality might be monitorable on rooted devices without a custom ROM mod, and there is the occasional thing that can be monitored even without root.

ANDROID: is it possible to replace library file of Android OS through an application(.apk)?

We have made some changes in the "skia" library of Android OS (Froyo) and it works well in emulator.
It also worked when we pushed (replaced) the corresponding .so files in to a device.
Now we want to provide this service to the end users. Is it possible to make an application(apk) that people install to perform this task?
If not possible, then what is the best way we can provide the service to others?
If you have created a useful functionality that will be useful for a range of users you can submit your patch to Google code review (you can read how to do this here)
You cannot, unfortunately, unless
you are the device manufacturer (or Google)
you are developing a replacement system image, or target only rooted devices
I believe this would only be possible if the app has root access or you distributed a ROM to your users yourselves.

App restrict in android MDM

How can I restrict the android application installed in device using the MDM? Guide me to solve the problem? Thanks in advance.
While I'm not sure what the Mass360 app does under the hood, there is a Device Admin API that became available in 2.2.
http://developer.android.com/guide/topics/admin/device-admin.html
You will either need to write your application with Root permissions enabled, which will allow you to control the device a little more, or you will have to do some trickery to register yourself with the device when applications are launched. I am not even sure if the latter is possible, so I would advise you look down the Root path. I am afraid I cannot post any code samples as I have not done this before.

Categories

Resources