diff --git a/doc/实践模板-开源软件泛读、标注和维护报告文档.docx.LOCAL.docx b/doc/实践模板-开源软件泛读、标注和维护报告文档.docx.LOCAL.docx new file mode 100644 index 0000000..7548a3c Binary files /dev/null and b/doc/实践模板-开源软件泛读、标注和维护报告文档.docx.LOCAL.docx differ diff --git a/master/Notes-master/res/drawable-hdpi/edit_yellow.9.png b/master/Notes-master/res/drawable-hdpi/edit_yellow.9.png deleted file mode 100644 index 10cb642..0000000 Binary files a/master/Notes-master/res/drawable-hdpi/edit_yellow.9.png and /dev/null differ diff --git a/master/Notes-master/res/drawable-hdpi/font_large.png b/master/Notes-master/res/drawable-hdpi/font_large.png deleted file mode 100644 index 78cf2e6..0000000 Binary files a/master/Notes-master/res/drawable-hdpi/font_large.png and /dev/null differ diff --git a/master/Notes-master/res/values-zh-rCN/strings.xml b/master/Notes-master/res/values-zh-rCN/strings.xml deleted file mode 100644 index 09f75ed..0000000 --- a/master/Notes-master/res/values-zh-rCN/strings.xml +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - 便签 - 便签2x2 - 便签4x4 - 没有关联内容,点击新建便签。 - 访客模式下,便签内容不可见 - ... - 新建便签 - 成功删除提醒 - 创建提醒 - 已过期 - yyyyMMdd - MM月dd日 kk:mm - 知道了 - 查看 - 呼叫电话 - 发送邮件 - 浏览网页 - 打开地图 - - 新建文件夹 - 导出文本 - 同步 - 取消同步 - 设置 - 搜索 - 删除 - 移动到文件夹 - 选中了 %d 项 - 没有选中项,操作无效 - 全选 - 取消全选 - 文字大小 - - 正常 - - 超大 - 进入清单模式 - 退出清单模式 - 查看文件夹 - 刪除文件夹 - 修改文件夹名称 - 文件夹 %1$s 已存在,请重新命名 - 分享 - 发送到桌面 - 提醒我 - 删除提醒 - 选择文件夹 - 上一级文件夹 - 已添加到桌面 - 删除 - 确认要删除所选的 %d 条便签吗? - 确认要删除该条便签吗? - 确认删除文件夹及所包含的便签吗? - 已将所选 %1$d 条便签移到 %2$s 文件夹 - - SD卡被占用,不能操作 - 导出文本时发生错误,请检查SD卡 - 要查看的便签不存在 - 不能为空便签设置闹钟提醒 - 不能将空便签发送到桌面 - 导出成功 - 导出失败 - 已将文本文件(%1$s)输出至SD卡(%2$s)目录 - - 同步便签... - 同步成功 - 同步失败 - 同步已取消 - 与%1$s同步成功 - 同步失败,请检查网络和帐号设置 - 同步失败,发生内部错误 - 同步已取消 - 登录%1$s... - 正在获取服务器便签列表... - 正在同步本地便签... - - 设置 - 同步账号 - 与google task同步便签记录 - 上次同步于 %1$s - 添加账号 - 更换账号 - 删除账号 - 取消 - 立即同步 - 取消同步 - 当前帐号 %1$s - 如更换同步帐号,过去的帐号同步信息将被清空,再次切换的同时可能会造成数据重复 - 同步便签 - 请选择google帐号,便签将与该帐号的google task内容同步。 - 正在同步中,不能修改同步帐号 - 同步帐号已设置为%1$s - 新建便签背景颜色随机 - 删除 - 通话便签 - 请输入名称 - 正在搜索便签 - 搜索便签 - 便签中的文字 - 便签 - 设置 - 取消 - - %1$s 条符合“%2$s”的搜索结果 - - - diff --git a/master/Notes-master/res/values-zh-rTW/arrays.xml b/master/Notes-master/res/values-zh-rTW/arrays.xml deleted file mode 100644 index 5297209..0000000 --- a/master/Notes-master/res/values-zh-rTW/arrays.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - 短信 - 郵件 - - \ No newline at end of file diff --git a/master/Notes-master/src/net/micode/notes/data/Contact.java b/master/Notes-master/src/net/micode/notes/data/Contact.java deleted file mode 100644 index d97ac5d..0000000 --- a/master/Notes-master/src/net/micode/notes/data/Contact.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package net.micode.notes.data; - -import android.content.Context; -import android.database.Cursor; -import android.provider.ContactsContract.CommonDataKinds.Phone; -import android.provider.ContactsContract.Data; -import android.telephony.PhoneNumberUtils; -import android.util.Log; - -import java.util.HashMap; - -public class Contact { - private static HashMap sContactCache; - private static final String TAG = "Contact"; - - private static final String CALLER_ID_SELECTION = "PHONE_NUMBERS_EQUAL(" + Phone.NUMBER - + ",?) AND " + Data.MIMETYPE + "='" + Phone.CONTENT_ITEM_TYPE + "'" - + " AND " + Data.RAW_CONTACT_ID + " IN " - + "(SELECT raw_contact_id " - + " FROM phone_lookup" - + " WHERE min_match = '+')"; - - public static String getContact(Context context, String phoneNumber) { - if(sContactCache == null) { - sContactCache = new HashMap(); - } - - if(sContactCache.containsKey(phoneNumber)) { - return sContactCache.get(phoneNumber); - } - - String selection = CALLER_ID_SELECTION.replace("+", - PhoneNumberUtils.toCallerIDMinMatch(phoneNumber)); - Cursor cursor = context.getContentResolver().query( - Data.CONTENT_URI, - new String [] { Phone.DISPLAY_NAME }, - selection, - new String[] { phoneNumber }, - null); - - if (cursor != null && cursor.moveToFirst()) { - try { - String name = cursor.getString(0); - sContactCache.put(phoneNumber, name); - return name; - } catch (IndexOutOfBoundsException e) { - Log.e(TAG, " Cursor get string error " + e.toString()); - return null; - } finally { - cursor.close(); - } - } else { - Log.d(TAG, "No contact matched with number:" + phoneNumber); - return null; - } - } -}