Check the manifest for your custom version, to see if there is an activity
with an intent filter that is launched by a specific action name (as opposed
by class). I'd think there might be. If so, change the action string to be
different from the standard application in the manifest and in your code.
Check broadcast receivers as well.

Oh, and there is no such thing as "clone of another application" to Android.
If you use the same action strings, or package names as another app, you're
asking for trouble.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com
13.01.2011 1:26 пользователь "Bernard T. Higonnet" <[email protected]>
написал:
> Kostya Vasilyev wrote:
>> 12.01.2011 23:49, higonnet пишет:
>>> I did not change the package name.
>>>
>> Do that then.
>
> Well, it gets curioser and curioser.
>
> Please fasten seatbelts for what follows.
>
> Before describing what happened when I did change the package name, I
> have to say that without knowledge of how Android keeps different
> applications/tasks apart to protect the operating system and other
> tasks, I think the present scheme defective.
>
> It seems to me that the standard expected behavior is that two distinct
> applications, even if one is a clone of the other, should operate
> completely independently (unless of course they are sharing peripheral
> hardware), and no matter what one does in one application (no matter how
> stupid) should cause anything to happen in the other. Just for the
> record, in all that follows, at no time are the two camera applications
> (factory and mine) running at the same time.
>
> So. I uninstall the previous version of my app. I change all the
> "com.android.camera" to "x.y.z" everywhere with refactor and global
> search/replace. Eclipse is happy, says there are 14 warnings, which is
> what I got with the original camera app.
>
> I now run my app from Eclipse and result is the same! (to recap: running
> from Eclipse I see my mods; running from my mods installed on phone by
> Eclipse I get standard camera app.).
>
> So at this point, I impishly wonder what will happen if I power off (I
> get a reboot instead, but why argue...?)? I run my mods from app
> launcher. Hooray! I get my mods. I kill my mods with Taskiller. I now
> run standard camera app. I get my mods instead!!!
>
> I am in a bit of a bad mood now, and ask what I have wondered silently
> for months just using the phone as a user, viz. is this thing ready for
> prime time?
>
> Bernard Higonnet
>
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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