Field Test App - How does it get its data?

by Ne0 » Tue, 16 Jun 2009 18:52:33 GMT


Sponsored Links
 Hi All,

I am interested in finding out how the field test app gets hold of its
information, i have the android source, but the field test app does
not appear to part of it ( If i'm being blind, please guide me ;-) ).

Does anyone know how to get access to the sort of information that
field test app displays ( ARFCN, cell selection parameters, periodic
location update time etc etc...)

I see there is an API in the pipeline for the ( issue 700 ) though
there must currently be a way of doing it if the Field Test App can.

Hope someone has some info on this,

Cheers,

Liam.
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Switching orientation crashes app with larger image.

I have an application that works fine with smaller images (say
1024x768 or so) but when you rotate the phone into a different
orientation (say landscape to portrait) mode with a larger image on
the screen, and then call ImageView.setImageUri() it goes into the
BitmapFactory.class and never returns!

So the app eventually times out. Never throws an exception, just never
returns.

My code looks like this

        ImageView image1 = (ImageView)
findViewById(R.id.ImageView_HeaderPlay1);
        ImageView image2 = (ImageView)
findViewById(R.id.ImageView_HeaderPlay2);

        image1.setAdjustViewBounds(true);
        image2.setAdjustViewBounds(true);

        //Get the max size of the device
        Display display = ((WindowManager)
getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
        int width  = display.getWidth();
        int height = display.getHeight();
        int max = width > height ? height : width;

        max = max / 10;

        image1.setMaxHeight(max);
        image1.setMaxWidth(max);
        image1.setImageURI(selectedImageUri);

        image2.setMaxHeight(max);
        image2.setMaxWidth(max);

                try
                {
                        image2.setImageURI(selectedImageUri);  <-----DIES
with this call

                        TextView textView = (TextView) 
findViewById(R.id.lblEnterText);
        
textView.setText(getResources().getString(R.string.image_instructions));
                }
                catch(Exception e)
                {
                        Log.i("ERROR", "Exception caught trying to set text: " 
+ e);
                }
        }

Has anyone else seen this? Sounds like a bug in the Android code more
than something I am doing since it works fine for smaller images.

-- 

2. Changes to library doesn't restart the activity

I'm developing an application that uses a library project to store
much of the functionality and content. When I edit the code and/or
content in the library and then run the app, it doesn't properly
restart the activity with the changes, giving the warning:

Warning: Activity not started, its current task has been brought to
the front

I understand that this warning comes from the SK not thinking that
there were any changes to the app, but there were (to the library, not
to the app itself).

The only way that I've found to force the app to recompile with the
library changes is to do Project->Clean. While this is effective, it's
a bit annoying to have to do this every time a make a change. Does
anyone know of a way to force the SDK to recognize that a library
change should result in reloading the application?

Thanks.

-- 

3. REST JSON

4. scroll refresh

5. native playlist format

6. process is bad

7. subscribe