[android-developers] Re: What would an intent URI look like for numeric data?

2009-03-06 Thread Dianne Hackborn
There was a big reworking late in 1.0 of the result stuff that caused a lot of things that used to be returning things as raw strings to put them in the action field. It is generally not something I would recommend. And what you do with results is very very different than what you do with activit

[android-developers] Re: What would an intent URI look like for numeric data?

2009-03-06 Thread Edward Falk
Doesn't particularly need to be in the data field, I just thought that it was an obvious place put put, you know, data. I've actually seen examples of apps that put the result in the Action field. (C.f. app/SendResult.java in the sdk) --~--~-~--~~~---~--~~ You re

[android-developers] Re: What would an intent URI look like for numeric data?

2009-03-05 Thread Marco Nelissen
Does it need to be in the data field? Normally you'd use Intent.putExtra() for this. On Thu, Mar 5, 2009 at 3:17 PM, Edward Falk wrote: > > Suppose I want to include data right in an intent, e.g. pass a number > or string in the intent data field.  What should the uri look like? > Something li