I formed preference using XML, but I don't know how can I open other view using XML tag intent...

by Scent » Thu, 30 Apr 2009 02:05:50 GMT

Sponsored Links
 Hi, all.

I formed preference view using XML codes..
in here, I wonder that how can I show other View at click this item
using <intent> tag.

if not available, could you give me some advice about this...
I want to implement using XML tag


            android:data="android.app.MoneyAgent" />


Other Threads

1. Get Latitude/Longitude informations of an image


I'm trying to retrieve Latitude/Longitude informations of an image,
but I always get 0.0 for lat/lon.
But I know the image has this information inside, because I tried it
with exiftools. When I use exiftools I can see the lat/lon values.

My Source:
   Intent intent = new Intent(Intent.ACTION_PICK);
   startActivityForResult(intent, 1);

and onActivtiyResult
                Uri photoUri = data.getData();
                ContentResolver cr = getContentResolver();
                Cursor cursor = cr.query(photoUri, new String[] {
                                MediaStore.Images.ImageColumns.LONGITUDE }, 
null, null, null);

                int fnamecol = cursor.getColumnIndexOrThrow
                int latcol = cursor.getColumnIndexOrThrow
                int loncol = cursor

                String fname = cursor.getString(fnamecol);
                Float lat = cursor.getFloat(latcol);
                Float lon = cursor.getFloat(loncol);

This should work, because I get the filename,  or is this a total
wrong approach?

Regards Georg


2. Hello World Tutorial Error Message

I receive the following error on screen 2 of the Hello World Tutorial:
"Error: Error loading the SDK"
I am running Eclipse version 3.4-2 Build Id: M200-0211-1700
I have installed the ADT plugin
I am running Windows Vista

The screen I get is also different from the screen shown in the

Thanks for your help


3. Handling key events in a paused Activity

4. Petitions to Google Android Team

5. use long field in sqlite

6. Camera Puzzle - play a different puzzle every time from camera

7. Chess With Devices - play chess across 2 devices