Update and Install automatically

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

Your device needs to be rooted, is it?

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?

Because of Google…“for your safety”…

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

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.