发送电子邮件后如何使吐司弹出

时间:2019-06-10 18:24:45

标签: email get send android-toast

发送电子邮件后敬酒,对此我很抱歉

ive尝试通过onACtivityResult发送

protected void onActivityResult(int requestCode,int resultCode,Intent data) {
    // TODO Auto-generated method stub
    super.onActivityResult (requestCode,resultCode,data);

    if (resultCode == RESULT_OK) {
        switch (requestCode) {
            case RQS_LOADIMAGE:
                Uri imageUri = data.getData ( );
                arrayUri.add (imageUri);
                myFileListAdapter.notifyDataSetChanged ( );
                break;
            case RQS_SENDEMAIL:
                break;



        }if (resultCode == RQS_SENDEMAIL) {


       Toast.makeText (getApplicationContext ( ),"HelloJavatpoint",
                                Toast.LENGTH_LONG).show ( );


            }
        }

}

发送电子邮件后不执行任何操作

0 个答案:

没有答案