[android-developers] Re: AliasActivity: Two Questions

2008-10-16 Thread jtaylor
Well, what exactly is the difference between the two to understand them better? - Juan T. On Oct 15, 10:29 pm, Romain Guy [EMAIL PROTECTED] wrote: Photostream uses an activity-alias, not an AliasActivity (they are different :) On Wed, Oct 15, 2008 at 7:24 PM, jtaylor [EMAIL PROTECTED]

[android-developers] Re: AliasActivity: Two Questions

2008-10-16 Thread hackbod
The activity-alias tag can only be used to link to another activity implement in the same manifest as the tag appears, and when this alias is launched by the system it just directly launches the target activity so there is no actual implementation behind it. The AliasActivity class is just a

[android-developers] Re: AliasActivity: Two Questions

2008-10-16 Thread jtaylor
The activity-alias tag appears to enable different manifest attributes for the same activity. AliasActivity is something I'd have to see in an example to really understand it. At least it sounds uncommon. - Juan T. On Oct 16, 4:44 pm, hackbod [EMAIL PROTECTED] wrote: The activity-alias tag

[android-developers] Re: AliasActivity: Two Questions

2008-10-15 Thread jtaylor
I noticed the Photostream app has alias activities. (This comment is in androidmanifest.xml) !-- Alias activity used to set the wallpaper on Home. The alias is used simply to have a different label. -- http://code.google.com/p/apps-for-android/source/browse/trunk/#trunk/Photostream

[android-developers] Re: AliasActivity: Two Questions

2008-10-15 Thread Romain Guy
Photostream uses an activity-alias, not an AliasActivity (they are different :) On Wed, Oct 15, 2008 at 7:24 PM, jtaylor [EMAIL PROTECTED] wrote: I noticed the Photostream app has alias activities. (This comment is in androidmanifest.xml) !-- Alias activity used to set the wallpaper on

[android-developers] Re: AliasActivity: Two Questions

2008-10-13 Thread Anm
Hmmm.. I tested it again and the startActivity()/finish() seems to be working now. It may have been an issue with an exception that was thrown in the child activity during initialization. I would launch the app, briefly see the entry-point activity, get a first draw of the child, and then a

[android-developers] Re: AliasActivity: Two Questions

2008-10-13 Thread hackbod
You may need to give more information on what you are doing. If the flicker you are seeing is happening when you launch your app from the home screen, this is not atually your app but a preview of it based on its theme and such in the manifest. If you can't make this match what will ultimately

[android-developers] Re: AliasActivity: Two Questions

2008-10-12 Thread hackbod
It looks like the sample code for AliasActivity isn't currently being included in the SDK, I'll get that changed. For what it's worth, though, the main utility of it is if you want to create an .apk that doesn't include any code but just resource definitions to launch other things. For you it's