Great idea!

Hmm one feature: a service (or activity) that automatically checks all
installed apps versions :)

On 1 Lis, 10:33, friedger <[EMAIL PROTECTED]> wrote:
> Hi,
>
> we are preparing the OI Updater that checks a given info file for new
> updates as described in the Android documentation.
>
> You can find the current build (rev 1284) 
> athttp://openintents.googlecode.com/files/UpdateChecker.apk
>
> In order to initiate the update check you just have to add the
> following code:
>
>                 Intent service = new Intent();
>                 service.setAction(ACTION_CHECK_VERSION);
>                 String uri= "http://uri-to-update-file.txt";
>
>                 service.setData(Uri.parse(link));
>                 service.putExtra("package_name", context.getPackageName());
>                 service.putExtra("app_name",
> context.getString(org.openintents.notepad.R.string.app_name));
>
>                 int currentVersion = -1;
>                         PackageInfo pi = 
> context.getPackageManager().getPackageInfo(
>                                         context.getPackageName(), 0);
>                         currentVersion = pi.versionCode;
>                 service.putExtra("current_version", currentVersion);
>                 context.startService(service );
>
> You can also put current_version_name if you check against the
> veecheck url at AndAppStore.
>
> It is still alpha, but we would appreciate early feedback.
> How do you like it? Would you include it in your code? More/other
> features?...
>
> Cheers,
> Friedger
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to