[android-developers] Re: Automatic silent update for corporative app

2012-05-09 Thread AlexD
> I will write results here. I think it will be interesting for someone.

So, this is the result:

1. We've made "Market-like" architecture: "Installer" and "Updater".
2. "Installer" has system permissions to install packages and reboot
device. It does only one work - installing prepared package and
rebooting device if it need.
3. "Updater" has no special permissions. It just connects to server
and gets needed packages according to its settings. And then it calls
"Installer".
4. We've talked with vendor and recieved agree to make special
firmware with integrated "Installer" and "Updater".


"Installer" is separate package because of "Updater" can't update
itself. But we want to have ability to change update logic.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Automatic silent update for corporative app

2012-04-12 Thread AlexD
> You will still want to find out what happens when you attempt an update
> while the application is running.

There are internal detailed logging in app. Every step will be written
in file.

Kostya, big-big thanks for so detailed answer. I think that dialog
with vendor is better way in this situation.-big thanks for so
detailed answer. I think that dialog with vendor is better way in this
situation.
{Еще раз огромное спасибо.}

I will write results here. I think it will be interesting for someone.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Automatic silent update for corporative app

2012-04-12 Thread AlexD
> How about "adb install -r" over adb/WiFi? I understand it requires
> rooting, but that's a hell of a lot easier than creating a custom
> firmware build.

Thank you very much! We'll try this. In another words there two ways:
1. Get root permissions. And than "adb install -r".
2. Ask vendor create firmware that will grant additional permissions
to our app.

Is it right?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Automatic silent update for corporative app

2012-04-12 Thread AlexD
> There's a user interaction required. Installing an APK is done by
> means of an activity, requiring user interaction.

Exactly! And this is the problem. We've trying to find solution...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en