diff --git a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/adapter/BgPicGridAdapter.java b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/adapter/BgPicGridAdapter.java index 5ef30bc..764b347 100644 --- a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/adapter/BgPicGridAdapter.java +++ b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/adapter/BgPicGridAdapter.java @@ -35,26 +35,22 @@ public class BgPicGridAdapter extends BaseAdapter { @Override public int getCount() { - // TODO Auto-generated method stub return bgList.size(); } @Override public Object getItem(int position) { - // TODO Auto-generated method stub return bgList.get(position); } @Override public long getItemId(int position) { - // TODO Auto-generated method stub return position; } @Override public View getView(int position, View convertView, ViewGroup parent) { - // TODO Auto-generated method stub ViewHolder viewHolder; if (convertView == null) { viewHolder = new ViewHolder(); diff --git a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/ui/AlarmAlertActivity.java b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/ui/AlarmAlertActivity.java index 56e9be9..54b3348 100644 --- a/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/ui/AlarmAlertActivity.java +++ b/src/MyApplication/app/src/main/java/com/example/administrator/myapplication/ui/AlarmAlertActivity.java @@ -104,16 +104,12 @@ public class AlarmAlertActivity extends Activity implements OnClickListener, OnD mPlayer.setLooping(true); mPlayer.start(); } catch (IllegalArgumentException e) { - // TODO Auto-generated catch block e.printStackTrace(); } catch (SecurityException e) { - // TODO Auto-generated catch block e.printStackTrace(); } catch (IllegalStateException e) { - // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { - // TODO Auto-generated catch block e.printStackTrace(); } }