Unable to see the update of my app

by Lukas Zapletal » Mon, 29 Jun 2009 22:19:00 GMT

Sponsored Links

a week ago I have updated my application (Weewar Alarm) to version
1.0.0. In the Android Market "publish console" I can see the properly
published version 1.0.0 but on my phone I am not able to do the
update. I have still version 0.9.2.

I tried to uninstall also without any luck.

Unable to see the update of my app

by Lukas Zapletal » Mon, 29 Jun 2009 22:20:21 GMT

 Oh I forgot to mention - I have changed the type of the deployment ->

But this should not affect anything, right?



Sponsored Links

Other Threads

1. Need help with Remote Views. Not updating anymore after the first update?

I have remote views that are updated during their configuration. So far so good.

When later on the state they should monitor changes I want to update
them again and I use the same code to alter the remote views, but
nothing happens. When looking at the remote views in the de{*filter*} I
can see that the remote views' mAction instance var does accumulate
all my changes (setTextViewText etc.), but the actual widgets don't

Any idea what might be wrong or where I can look at? I know it is
probably something stupid, but I don't see it and it's not for a lack
of trying.

I tried loads of different approaches, but here is the current code:

firing the update:

AppWidgetManager awm = AppWidgetManager.getInstance(ctx);
int[] appWidgetIds = awm.getAppWidgetIds(new ComponentName(ctx,
for (int appWidgetId : appWidgetIds) {
    System.out.println("EM.awm.updateWidget  appWidgetId=" + appWidgetId);
UnreadWidgetProvider.buildUpdate(ctx, appWidgetId));

create the remote views:

public static RemoteViews buildUpdate(Context context, int appWidgetId) {
        System.out.println("buildUpdate appWidgetId=" + appWidgetId);

        EntryManager entryManager = EntryManager.getInstance(context);
        WidgetPreferences wp = entryManager.getWidgetPreferences(appWidgetId);
        RemoteViews updateViews = new RemoteViews(context.getPackageName(),

        if (wp == null) {
                System.out.println("In configuration. Nothing stored yet for
appWidgetId=" + appWidgetId);
                return updateViews;

        System.out.println("using dbq=" + wp.getDBQuery() + " appWidgetId=" +

        int count = getCount(entryManager, wp.getDBQuery());

        System.out.println("count=" + count);
        System.out.println("label=" + wp.getLabel());
        updateViews.setViewVisibility(R.id.unread_count, count > 0 ?
        updateViews.setTextViewText(R.id.unread_count, String.valueOf(count));

        System.out.println("wp.getLabel()=" + wp.getLabel() + "!");

        // updateViews.setViewVisibility(R.id.label, wp.getLabel() !=
        // null ? View.VISIBLE : View.INVISIBLE);
        updateViews.setViewVisibility(R.id.label, View.VISIBLE);
        if (wp.getLabel() != null)
                updateViews.setTextViewText(R.id.label, wp.getLabel());

        Intent intent = new Intent(context, ArticleListActivity.class);
        PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, 
intent, 0);

        updateViews.setOnClickPendingIntent(R.id.unread_count, pendingIntent);
        System.out.println("After setOnClickPendingIntent");

        return updateViews;


2. Oot: aloo, aloo yg minat kumpul

Yg sekitaran sunter-gading-kemayoran-jiung....
Rencananya pd mau kumpul n share elmu bareng suhu Ntil a.k.a kerasakti &
suhu SA.
Yg minat nimbrung ajah...pede ajah...have fun
Jam 1 or 1.30 di Ohlala cafe Springhill
See yaaaa

sent from i-Robot

"Indonesian Android Community [id-android]" 

3. Tentang App2SD Mileston

4. application to run first time device is turned on

5. application searchability

6. Xperia x10 isat

7. Be carefull