diff --git a/app/src/main/java/com/example/cosmosclient/views/AddMemberActivity.java b/app/src/main/java/com/example/cosmosclient/views/AddMemberActivity.java index f9a5a05..ccabdbb 100644 --- a/app/src/main/java/com/example/cosmosclient/views/AddMemberActivity.java +++ b/app/src/main/java/com/example/cosmosclient/views/AddMemberActivity.java @@ -2,6 +2,7 @@ import android.content.Intent; import android.graphics.BitmapFactory; +import android.net.Uri; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; @@ -66,7 +67,9 @@ }else if(selectedText.contains("ID")==true){ intent = new Intent(this.getApplicationContext(), DisplayQRActivity.class); }else{ - intent = new Intent(this.getApplicationContext(), DisplayQRActivity.class); +// intent = new Intent(this.getApplicationContext(), DisplayQRActivity.class); + Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse("line://msg/text/?GroupID")); + startActivity(i); } // Intent intent = new Intent(this.getApplicationContext(), DisplayQRActivity.class);