the user data image is used by another emulator. aborting

by Siva » Mon, 03 Aug 2009 17:25:15 GMT


Sponsored Links
 Hi all when im running my emulator i getting this error " the user
data image is used by another emulator. aborting " and emulator not
opening any time .What is the problem? pls help it is urgent .


Thanks& Regarding

siva.
--~--~---------~--~----~------------~-------~--~----~



the user data image is used by another emulator. aborting

by Siva » Tue, 04 Aug 2009 17:17:45 GMT


 I run any simple program it will show same like previous .Im not using
any AVDs .
what is the problem im not getting .




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


Sponsored Links


the user data image is used by another emulator. aborting

by Siva » Tue, 04 Aug 2009 17:19:23 GMT


 Hi im not running any emulator but it will show like previous.

On Aug 3, 2:55am, Sujay Krishna Suresh <sujay.coold...@gmail.com>



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



Other Threads

1. "adb devices" command produced device serial number contains no <consolePort> field

According to Dev Guide (http://developer.android.com/guide/developing/
tools/adb.html#devicestatus):

- "adb devices" command was expected to print out connected devices
each identified by a unique serial number in format of <type>-
<consolePort>, eg. emulator-5554

In reality:

1 - the serial numbers are not in that format
2 - the serial numbers are identical to each other when I have more
than one device of the same model connected, thus further adb commands
to a specific device with -s <serialNumber> option are impossible

My questions:

1 - is there any solution to this problem, or did I miss anything?
2 - is adb source code publicly available (so I could fix it myself)?

-
 v4

-- 

2. Inflating views in a ListAdapter

Hello!

I'm trying to write my own custom ListAdapter. In getView() I want to 
inflate the views from an XML file. To do this I have the following code:

    public View getView(int position, View convertView, ViewGroup parent) {
        LayoutInflater inflater = LayoutInflater.from(ctx);
        TextView view = (TextView)inflater.inflate(R.layout.notes_row, 
parent);
        view.setText(data[position]);
        return view;
    }

However I get an exception in the call to inflate():

E/AndroidRuntime(  209): java.lang.UnsupportedOperationException: 
addView(View, LayoutParams) is not supported in AdapterView
E/AndroidRuntime(  209): at 
android.widget.AdapterView.addView(AdapterView.java:461)
E/AndroidRuntime(  209): at 
android.view.LayoutInflater.inflate(LayoutInflater.java:415)
E/AndroidRuntime(  209): at 
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
E/AndroidRuntime(  209): at 
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroidRuntime(  209): at 
com.github.simplenotes.MyAdapter.getView(MyAdapter.java:59)

I guess that this means that addView is not supported int the parent object 
sent to getView(). I just want to double check that I'm not supposed to try 
to attach my views to the parent ViewGroup in this case. If that is the 
case, won't I loose out on inheriting layout parameter and such if I use a 
call like this?

        TextView view = (TextView)inflater.inflate(R.layout.notes_row, 
null);

Basically, what is the correct way to inflate views in a ListAdapter?

:.:: mattias

-- 

3. Custom preference

4. Porting gingerbread on 2.6.31

5. input event in gingerbread

6. NFC Smart poster and Tag reader

7. OOT: Paging Om Tony Piter