What would an intent URI look like for numeric data?

by Marco Nelissen » Fri, 06 Mar 2009 07:38:03 GMT

Sponsored Links
 Does it need to be in the data field? Normally you'd use
Intent.putExtra() for this.


What would an intent URI look like for numeric data?

by Dianne Hackborn » Sat, 07 Mar 2009 05:28:02 GMT

 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 activity
intents and such, because an activity intent is something you are publishing
to the system, which it does intent filter matching on, etc.

I would recommend putting things like integers in to the extra data.  I
would certainly not recommend using the data field if you don't actually
have a reasonable scheme prefix that is part of your data.

Dianne Hackborn
Android framework engineer

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.


Sponsored Links

Other Threads

1. Database with Root Certificates in Android for HTC Magic needed


I need to know if the certificate of our exchange is on the Android OS
for HTC Magic.

I cant seem to connect with the server!


2. Android Developer Needed In Seattle

Hi All;

A mobile apps developer in Seattle is in need of a contract SDE with
the following experience to play a lead role in the design and
development of its flagship product for the Android Platform:

      Solid foundation in software architecture and software engineering
      5+ years experience in building software using OOP principles
      Experience developing for feature phones and smart phones, tablet
PCs, mobile internet devices, etc.
      1 year experience on Android, used in a commercial grade currently
shipping product/solution
      2+ years J2ME
      3+ years of Java
      3+ years of HTML/CSS/javascript
      2+ years experience in user interface design and development
      Excellent communication skills
      Experience collaborating among program/product managers and
      Ability to operate in a fast-growing, entrepreneurial start-up
      Experience with an agile development process
      Use of source control tools as part of your coding
      Strong problem-solving skills
      Superb attention to detail
      BS degree in Computer Science, Computer Engineering, or equivalent

Please respond to the email address above, thank you!


3. Simple Java Question

4. Running Android in the virtualization layer (e.g. VMware) possible?

5. Preventing Screen uto Lock while my application is running

6. AdSense & Android - A Disappointed Developer's Rant

7. How to launch VideoCamera Activity and then read tge file created?