No Network access in Android 1.5 Emulator using 1.1 target

by Abdul Mateen » Wed, 29 Apr 2009 10:17:20 GMT


Sponsored Links
 Asslam-u-Alikum and Hi,

Is there is no network access in Android 1.5 emulator using 1.1 target I am
using the Android 1.5SDKr1 not the preview release. If there is any then how
to access that.

Thank You,
Abdul Mateen
Android Developer.

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



Other Threads

1. Receiving text from a remote source and pasting into the current application

> My concern is that the

This is not possible for security reasons, as you suggest later in your
message.

You can offer this feature for your own applications, or make a JAR or
remote service available that other applications can use to fetch the text
(though they would need to "paste" it themselves).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



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

2. Toggling clicked item icon in gridView

Hi all,
I have a gridView where I want to be able to toggle the item icons
when clicking them. So, when I click an item it gets "selected" which
is indicated by, say, bitmap B and when I click it again it should be
"unselected" and the item changes back to bitmap A.

The problem is that I cannot get the grid to redraw after I have
clicked one of the items so the clicked item never changes icon. I
have tried to call requestLayout() but for some reason it only results
in a two successive calls to the adaptor's getView(), both with
position zero regardless of which item I clicked. What am I missing
here?

Here are some code snippets:

...
final GridView myGrid = (GridView) findViewById(...);
...
myGrid.setOnItemClickListener(new AdapterView.OnItemClickListener()
        {
            @Override
            public void onItemClick(AdapterView<?> parent,
                    View view,
                    int position,
                    long id)
            {
                // Toggle icon.
                toggleIconState(position);

               myGrid.requestLayout();
            }
        });


 @Override
    public View getView(int position, View convertView, ViewGroup
parent)
    {
        ImageView imageView;

        if (convertView == null)
        {
            // Create the image view if we aren't recycling an old
view.
            imageView = new ImageView(context);
            imageView.setScaleType(ImageView.ScaleType.FIT_XY);
        }
        else
        {
            imageView = (ImageView) (convertView);
        }

        // Use this position's asset group icon as the image view
contents.
        imageView.setImageBitmap(getIcon(position));
        return imageView;
    }


Any ideas are most welcome.

Thanks,
Rickard

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

3. Nanya Android Handset

4. Can an application get event that it is installed?

5. Why My application could play http but not rtsp?

6. Apn Switching to default

7. Problem with Dialog theme when launching from another activity