I'm not really understanding. When you say "I start my application from the launcher," do you mean you as a user pressing the app icon? If so, there is nothing you can add -- the launcher just starts you with a MAIN action intent. You can't modify what that will be.
If you are talking about adding a shortcut to the launcher, you should be able to put in extras and have them come back when the shortcut is executed. Make sure you are only using basic types, string and int, since I don't think we support a lot of types for storing shortcuts. On Tue, Mar 24, 2009 at 4:13 PM, me tun <[email protected]> wrote: > > Thanks Dianne, I'm not sure if I have been completely clear. When I > start my application from the launcher, I want to pass it some of my > own data (left or right for example) if I'm talking about > handedness... How do I go about doing this? I've tried passing it as > above but it doesn't seem to work. > > On Mar 24, 5:23 pm, Dianne Hackborn <[email protected]> wrote: > > http://developer.android.com/reference/android/content/Intent.html#pu.. > .) > > > > And all of the other overloaded methods for various types. > > > > > > > > On Mon, Mar 23, 2009 at 10:40 PM, me tun <[email protected]> wrote: > > > > > How can I do that? Is there a reference you can point me to? > > > > > On Mar 24, 4:35 pm, Dianne Hackborn <[email protected]> wrote: > > > > Please don't make up URI schemes. If you are passing app-private > data, > > > you > > > > should probably just put it in as extra fields of whatever type you > want. > > > > > > On Mon, Mar 23, 2009 at 10:20 PM, me tun <[email protected]> wrote: > > > > > > > Hello, > > > > > > > I've tried something similar to this, intent.setData(Uri.parse > > > > > ("screenmode://android.ds/ActivityType=MY_ACTIVITY")); > > > > > > > Can I just put anything, or is there a specific format I need to > > > > > follow i.e. screenmode: something else, something else etc... > > > > > > > Cheers guys. > > > > > > -- > > > > 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. > > > > -- > > 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. > > > -- 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 -~----------~----~----~----~------~----~------~--~---

