Why in the world are you wanting to do this?  There is no way you can
possibly provide a replacement for the update mechanism that ships on any
phone your app happens to be running on.

On Tue, Feb 10, 2009 at 8:28 AM, Sergi Velez <[email protected]> wrote:

>
> Hi,
>
> I'm trying to write an Activity to replace system's update activity.
>
> In the manifest I have the following entry:
>
> <activity android:name=".UpdateProcessActivity"
> android:launchMode="singleTask">
>             <intent-filter>
>                 <action android:name="android.intent.action.MAIN" />
>                 <category android:name="android.intent.category.LAUNCHER"
> />
>             </intent-filter>
>             <intent-filter>
>                 <action
> android:name="android.settings.SYSTEM_UPDATE_SETTINGS" />
>                 <category android:name="android.intent.category.DEFAULT" />
>             </intent-filter>
> </activity>
>
>
> On the emulator, if I go to Settings > About Phone > System updates, my
> activity is launched, but on my ADP1, if I follow the very same steps, the
> default activy appears (the one that shows 'Your system is currently up to
> date').
>
> Does anyone know why is this happening and how to solve it?
>
> Thanks,
> ---
> [email protected]
> ["In theory, theory and practice are the same. In practice, they are not."]
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

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.

--~--~---------~--~----~------------~-------~--~----~
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