Update and Install automatically

client

#1

I need to program my fdroid client to do the update and install de app automatically, where I can do it?


#2

Your device needs to be rooted, is it?


#3

Hum, nops…
But Can I do it just with rooted? Why?
If I to use:
< receiver android:name=“android.app.admin.DeviceAdminReceiver”>
< meta-data
android:name=“android.app.device_admin”
android:resource="@xml/device_admin" />
< intent-filter>
< action android:name=“android.app.action.DEVICE_ADMIN_ENABLED” />
< /intent-filter>
< /receiver>

Will it working?


#4

Because of Google…“for your safety”…


#5

Only system apps are allowed to install/update apps. For more details, see e.g. my article F-Droid for advanced users and developers.