我想知道如何通过点击按钮将图像保存到用户的SD卡.有人可以告诉我该怎么做.Image为.png格式,存储在drawable目录中.我想编写一个按钮将该图像保存到用户的SD卡.
我想创建一个按钮,引导用户直接回到没有android name ="com.example.example"的主要活动.
它有android.intent.etc ... 
如何引用我的按钮返回此活动?
我正在寻找一个带滑动gesute源代码的turoial,我不想要一个视图寻呼机,我想要一个滑动手势教程.这是我发现的一个例子,但对我不起作用
http://www.eridem.net/android-tip-010-left-and-right-swipe-gesture-events
我想要这样的东西,谢谢请不要查看寻呼机
我将制作我的应用程序的平板电脑特定版本,我想阻止我的手机应用程序与平板电脑兼容.
我尝试用maxSdkVersion 10制作我的应用程序,我也试过支持屏幕xlarge false等...
有人能告诉我如何让我的应用程序与平板电脑不兼容吗?
当我运行我的应用程序时,对话框没有弹出,我错过了什么?
这是我的代码:
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage("This is a test!")
   .setCancelable(false)
   .setPositiveButton("I Agree", new DialogInterface.OnClickListener() {
       public void onClick(DialogInterface dialog, int id) {
            MainScreen.this.finish();
       }
   })
   .setNegativeButton("I Disagree", new DialogInterface.OnClickListener() {
       public void onClick(DialogInterface dialog, int id) {
            dialog.cancel();
       }
   })
   //Set your icon here
   .setTitle("Alert!")
   .setIcon(R.drawable.ic_launcher);
AlertDialog alert = builder.create();
所有帮助表示赞赏.