开发者

this code is not work properly in another android emulator

// Create the array list of to do items final ArrayList todoItems = new ArrayList(); // Create the array adapter to bind the array to the listview final A开发者_如何转开发rrayAdapter aa; aa = new ArrayAdapter(this, android.R.layout.simple_list_item_1, todoItems); // Bind the array adapter to the listview. myListView.setAdapter(aa); }


when you are using another android then you have to create proper AVD for that application.

if you create highr version application and you run in the liver version android os then it will not give proper output of application.

the start way to use your application in all the android os version, you have create little change in AndroidMenifest.xml file is :

hear minsdkVersion = 2 means your can work in lowest Android OS and maxSdkVersion = 12 means your application is working in latest Android OS version 2.3.3 and another

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜