mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-22 00:42:16 -05:00
Cleanup
This commit is contained in:
parent
66e5f0f51a
commit
d1f8e414f1
@ -22,11 +22,7 @@ package org.yaaic.client;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.ListActivity;
|
||||
import android.app.Notification;
|
||||
import android.app.NotificationManager;
|
||||
import android.app.PendingIntent;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.content.ServiceConnection;
|
||||
@ -87,14 +83,6 @@ public class ServerList extends ListActivity implements OnItemLongClickListener,
|
||||
|
||||
setContentView(R.layout.main);
|
||||
|
||||
/*
|
||||
NotificationManager manager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
Notification notification = new Notification(R.drawable.icon, "#pocmo <Henna> Hallo Pocmo", System.currentTimeMillis());
|
||||
PendingIntent contentIntent = PendingIntent.getActivity(this, 123, new Intent(this, ServerAdd.class), 0);
|
||||
notification.setLatestEventInfo(this, "#pocmo", "<Henna> Hallo Pocmo", contentIntent);
|
||||
manager.notify(1234, notification);
|
||||
*/
|
||||
|
||||
db = new ServerDatabase(this);
|
||||
|
||||
cursor = db.getServers();
|
||||
@ -155,8 +143,6 @@ public class ServerList extends ListActivity implements OnItemLongClickListener,
|
||||
Intent serverIntent = new Intent(this, ServerWindow.class);
|
||||
serverIntent.putExtra("server_title", tv.getText());
|
||||
startActivity(serverIntent);
|
||||
//Toast.makeText(this, tv.getText().toString(), Toast.LENGTH_SHORT).show();
|
||||
//db.removeServer(tv.getText().toString());
|
||||
//cursor.requery();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user