Re-register AlarmManager events on upgrades

by Dianne Hackborn » Wed, 18 Mar 2009 10:36:37 GMT


Sponsored Links
 Fwiw, cupcake will add a new field to PACKAGE_ADDED to tell you if this was
due to an update, and allow this broadcast to be received by the app to
restart itself.

On Tue, Mar 17, 2009 at 3:44 PM, daniel.benedykt






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Re-register AlarmManager events on upgrades

by Stoyan Damov » Wed, 18 Mar 2009 18:47:52 GMT


 


This cupcake thing very much reminds me of Duke Nukem Forever...

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Re-register AlarmManager events on upgrades

by Marco Nelissen » Thu, 19 Mar 2009 00:53:07 GMT


 



Really? You think Cupcake is not going to ship in the next 12 years?

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Can't find file with OpenFile

Hi,
I've a problem with method openFileOutput(), I can't find the file or
the directory where the file is stored..the code is:
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;

import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;
import java.io.*;
import java.net.*;
import java.util.NoSuchElementException;
import java.util.Scanner;

public class C extends Activity {
    /** Called when the activity is first created. */
        private PrintWriter savedpoint;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        try{

        savedpoint = new PrintWriter(openFileOutput
("Data.dat",MODE_APPEND));


        for(int i=0;i<20;i++)
        {
                savedpoint.println(-78.443221+"i"+" "+120.344423+"i");

        }

        }catch (FileNotFoundException e) {
                        e.printStackTrace();
                }
    }
}

and the manifest is:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="prova.client"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".C"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    <uses-sdk android:minSdkVersion="3" />
</manifest>

Any idea?where can I find the directory where is stored the file?
thanks
--~--~---------~--~----~------------~-------~--~----~

2. Spent 3 weeks building 'Launcher'(Home) application. Please help. T_T

Hi. Thank you for the fast reply.

build the Android source tree from where I got Launcher's source ?

I assume that can't be done in Windows, correct? according to this
message from http://source.android.com/download

:

"To build the Android source files, you will need to use Linux or Mac
OS. Building under Windows is not currently supported."



--~--~---------~--~----~------------~-------~--~----~

3. Spent 3 weeks building 'Launcher'(Home) application. Please help. T_T

4. Spent 3 weeks building 'Launcher'(Home) application. Please help. T_T

5. Sqlite problem, urgent request!

6. how to disable Android Keyboard (by default)

7. MediaScannerConnection cant connect!