cleaned layout
added testing info
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package de.joel.zoomhelper;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.ClipData;
|
||||
import android.content.ClipboardManager;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
@@ -270,8 +272,15 @@ public class MainActivity extends AppCompatActivity {
|
||||
if (intent.resolveActivity(getPackageManager()) != null) {
|
||||
startActivity(intent);
|
||||
}
|
||||
//For Debugging: Show URL in Alert
|
||||
AlertDialog.Builder dialog=new AlertDialog.Builder(this);
|
||||
dialog.setMessage(url);
|
||||
dialog.setTitle("Zoom URL (for testing)");
|
||||
AlertDialog alertDialog=dialog.create();
|
||||
alertDialog.show();
|
||||
}
|
||||
|
||||
|
||||
private String buildZoomURL(String confno, String pwd, String name, String attendees) {
|
||||
if (!Objects.equals(attendees, "")) {
|
||||
return "zoomus://zoom.us/join?confno=" + confno.replace(" ", "") + "&pwd=" + pwd + "&uname=" + name + " (" + attendees + ")";
|
||||
@@ -440,6 +449,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
}
|
||||
saveMeetingList(listMeetings);
|
||||
fillDropdownMeetingName();
|
||||
fillDropdownAttendeeName(getLastMeeting());
|
||||
Toast.makeText(getApplicationContext(),"Meeting gespeichert",Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user