What would an intent URI look like for numeric data?

by Edward Falk » Fri, 06 Mar 2009 07:18:08 GMT


Sponsored Links
 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 like "data:3.14159"?  Or just don't include the scheme at
all, "3.14159"?

In fact, is there a list of standard schemes anywhere?

  -ed falk
--~--~---------~--~----~------------~-------~--~----~



What would an intent URI look like for numeric data?

by Edward Falk » Sat, 07 Mar 2009 05:15:21 GMT


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


Sponsored Links


Other Threads

1. Using WiFi Manager

hello,

I am trying to use following:

WifiManager wm = (WifiManager) getSystemService
(Context.WIFI_SERVICE);

but whenever i use following it throws an error

wm.setWifiEnabled(true);

at the same time
wm.isWiFiEnabled() returns false.

I have added <uses-permission> for accessing wifi state into manifest
file.

Can i use wifi of underlying machine using emulator as emulator dont
have dedicated wifi adapter?

if yes, it is possible use underlying systems wifi adapter through
emulator, can you tell me how to do it?
I want to obtain IP address in the emulator, assigned to wifi adapter
assigned by dhcp server after i connect to Wifi AP.


--~--~---------~--~----~------------~-------~--~----~

2. Possibility of changing the graphic used for a radio button?

Hi,

I'm wondering if it is possible to replace the image used for the
option buttons to something else. I'm not worried if it's just a
permanent image (with no indication if the option button is checked or
not).

Basically I want 6 images with the same behaviour as a radiogroup (if
you click the same one twice nothing happens, but if you select a
different one you get a checkchanged event).

Thanks.

Redders.

--~--~---------~--~----~------------~-------~--~----~

3. Text-To-Speech

4. Marketplace html error - cannot administrate my downloads or create new applications. Will someone in google please read !

5. problem in implementing Http 4 classes for sdk1.0

6. Base Adapter View and OnClick Lister

7. Disable the screen lock?