【文件属性】:
文件名称:具有拖曳功能的Gallery
文件大小:727KB
文件格式:ZIP
更新时间:2014-11-30 09:23:50
android gallery
package seker.mygallery;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import seker.mygallery.R;
import seker.mygallery.view.GalleryAdapter;
import seker.mygallery.view.MyAdapterView;
import seker.mygallery.view.MyGallery;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import android.view.View;
import android.widget.SimpleAdapter;
public class MainActivity extends Activity implements Runnable
{
public static final String NAME = "name";
public static final String NUMBER = "number";
public static final String IMAGE = "image";
SimpleAdapter m_simpleadapter;
GalleryAdapter m_galleryadapter;
private List