View Code? Open in Web Editor
NEW
SCUT Baibuti Project - Biji
License: Apache License 2.0
biji_baibuti's Introduction
![GitHub Page](https://camo.githubusercontent.com/d8f65703d94b8758056913f00ef8253752af1c0dcf5e073b3f6f6dd1147c7918/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6f676f3d676974687562266c6162656c3d4769744875622b50616765266d6573736167653d416f692d686f73697a6f726126636f6c6f723d73756363657373)
- 👋 Hi! Here is AoiHosizora (青いほしぞら), majors in Intelligent Software and Robotics, Software Engineering.
- 📝 Speaking languages: Mandarin Chinese (Native), Teo-Swa-uê (Native), English (CET-6), Japanese (JLPT-N1).
- 🏢 Some owned GitHub organizations: ah-shellext & ah-forklib, my public email: [email protected].
- 🚀 Interest areas: distributed backend system development, desktop client and android client development.
- ⚡ Favorite programming languages: Go, Dart, C#, Kotlin, Rust, Typescript, etc.
![](https://camo.githubusercontent.com/9625331e8f5d78dcc4b46f9652351fc14fa69b38cfc6a2b834bac8bcf2047be9/68747470733a2f2f6769746875622d726561646d652d73746174732d616f692d686f73697a6f72612e76657263656c2e6170702f6170693f757365726e616d653d416f692d686f73697a6f7261267468656d653d7472616e73706172656e742673686f775f69636f6e733d747275652672616e6b5f69636f6e3d70657263656e74696c6526636f756e745f707269766174653d7472756526696e636c7564655f616c6c5f636f6d6d6974733d7472756526686964653d636f6e74726962732673686f773d7072735f6d657267656426637573746f6d5f7469746c653d416f69486f73697a6f72612532377325323047697448756225323053746174757326636172645f77696474683d343030)
![](https://camo.githubusercontent.com/32afcd9575661b8dae4ec4818ec4d982a508077c927703a9d7437188d90db591/68747470733a2f2f6769746875622d726561646d652d73746174732d616f692d686f73697a6f72612e76657263656c2e6170702f6170692f746f702d6c616e67733f757365726e616d653d416f692d686f73697a6f7261267468656d653d7472616e73706172656e74266c61796f75743d636f6d70616374266c616e67735f636f756e743d3826686964653d4a7570797465722532304e6f7465626f6f6b2c4a534f4e2c4d61726b646f776e2c48544d4c2c4326637573746f6d5f7469746c653d5468652532304d6f7374253230557365642532304c616e67756167657326636172645f77696474683d333530)
biji_baibuti's People
Stargazers
biji_baibuti's Issues
一些图片正常不过无法显示,View Modify Activity #229
![Screenshot_20190323-215217](https://user-images.githubusercontent.com/31433480/54866958-01237b80-4db6-11e9-9d17-0e1edeb43f58.jpg)
![Screenshot_20190323-215224](https://user-images.githubusercontent.com/31433480/54866959-0254a880-4db6-11e9-904b-c1922a007680.jpg)
- 垃圾代码太多,Search 和 Grouping 功能冗杂臃肿
NoteList.remove(note);
noteAdapter.notifyDataSetChanged();
// TODO 一堆垃圾代码待改
if (IsSearching)
noteAdapter.setmNotes(search(SearchingStr));
else if (IsGrouping)
noteAdapter.setmNotes(getGroupOfNote(currGroup));
else
noteAdapter.setmNotes(NoteList);
noteAdapter.notifyDataSetChanged();
![image](https://user-images.githubusercontent.com/31433480/62011099-7ceb6580-b1a6-11e9-9d47-b6d0727fedd8.png)
- 全局
结巴分词初始化 GC OOM
- OnResume 待整理
ActionBar Overlap
添加 Launch Activity
添加 About Activity
- 认证
- 笔记
分组对话框无法输入
默认分组删除重复
删除分组后分组列表没有更新导致崩溃
笔记分组顺序调整无效
分组和搜索后修改笔记无效
插入笔记图片后rx无法跳转到编辑界面
Fab 蒙版延时问题
搜索和分组添加 ProgressDlg
- 搜索
- 百度搜索结果的链接没有转换
- 加载更多经常找不到内容
收藏的搜索出错
- 课表
当前周没有记录
课表查询登录后没有跳转
- 点击单元格的加号隐藏
- 教师信息显示
- 课表信息经常无法解析
- 资料
导入文件的Adapter没有setOnClick在view上
- 导入文件对话框允许从文件夹选择,和打开保存文件合并
按照分组共享和按照文件共享
打开文档错误
文档弹出菜单崩溃
搜索框未修改
- 分组信息的顺序
选择别的分组可以弹出ProgressDlg
文件上传和下载,显示进度
删除分组并移动默认分组崩溃
删除分组后没更新
- 重复添加文档
转移分组未写
刷新文档列表跳转到分组
- 无法下拉 EmptyView
文档文件名上传后被SecureCheck被修改
下载的搜索未写
action_all_share_documents 未实现
- 直接
canvas.drawRect
绘制结果特别粗糙,待改
@Override
protected void onDraw(Canvas canvas) {
// canvas.save();
mPaint.setColor(BorderColor);
mPaint.setStyle(Paint.Style.STROKE);
mPaint.setStrokeWidth(BorderWidth);
mPaint.setAntiAlias(true);
canvas.drawRect(0, 0, getWidth(), getHeight(), mPaint);
canvas.setDrawFilter(mPaintFlagsDrawFilter);
super.onDraw(canvas);
}
![AndroidScreenShot](https://raw.githubusercontent.com/Aoi-hosizora/CTPN_CRNN_BackEnd/master/assets/AndroidScreenShot.jpg)
- 更新完路径后,插入拍照图片无法转到编辑图片页面。
- 统一路径。
- 拍照图片及时清理。
分组更改后数据库更新延迟?添加了等待毫秒
![image](https://user-images.githubusercontent.com/31433480/57447945-da98a180-728a-11e9-8283-dc01605045cb.png)
-
C和S的数据同步问题
- PK 可能存在冲突
ServerErrorException
(不更新Log)
- 数据库PK不同步,每次操作都
ServerErrorException
- 初步文档 readme
-
目前查询和插入的初步架构
![image](https://user-images.githubusercontent.com/31433480/62445212-49a26b00-b792-11e9-952f-2229e90a7907.png)
![image](https://user-images.githubusercontent.com/31433480/62445219-4e671f00-b792-11e9-91ce-148b3d13b169.png)
- E/RecyclerView: No adapter attached; skipping layout
RecyclerViewEmptySupport 保留待更改
![image](https://user-images.githubusercontent.com/31433480/56443020-51deb380-6325-11e9-8819-6cf087240844.png)
重点
新建完笔记后还没返回主界面就进行更改,未能正常同步。
禁用横屏,显示报错。
更改分组中加入修改分组入口。
标题多行问题。
搜索完后在本页面加入文本提示。
空笔记未保存进入详细信息提醒保存后自动跳出本活动。
详细信息添加具体分类信息和保存前字样。
笔记信息隐藏img标签
/**
* 异步识别文字
* @param bitmap 图片路径
*/
private void idenWordsSync(final Bitmap bitmap) {
idenLoadingDialog = new ProgressDialog(ModifyNoteActivity.this);
idenLoadingDialog.setTitle(R.string.MNoteActivity_OCRSyncAlertTitle);
idenLoadingDialog.setMessage(getResources().getString(R.string.MNoteActivity_OCRSyncAlertMsg));
class HasDismiss {
private boolean dismiss = false;
HasDismiss() {}
void setDismiss() { this.dismiss = true; }
boolean getDismiss() { return this.dismiss; }
}
final HasDismiss isHasDismiss = new HasDismiss();
final Observable<String> mObservable = Observable.create(new ObservableOnSubscribe<String>() {
@Override
public void subscribe(ObservableEmitter<String> emitter) throws Exception {
// 识别 ExtractUtil.recognition <<< 异步
final String extaText = ExtractUtil.recognition(bitmap, ModifyNoteActivity.this);
emitter.onNext(extaText); // 处理识别后响应
emitter.onComplete(); // 完成
}
})
.subscribeOn(Schedulers.io()) //生产事件在io
.observeOn(AndroidSchedulers.mainThread()); //消费事件在UI线程
idenLoadingDialog.setOnCancelListener(new DialogInterface.OnCancelListener() {
@Override
public void onCancel(DialogInterface dialog) { ////////// 待改
// Toast.makeText(ModifyNoteActivity.this, "d", Toast.LENGTH_SHORT).show();
// ExtractUtil.tessBaseAPI.clear();
// mObservable.onTerminateDetach();
isHasDismiss.setDismiss();
}
});
idenLoadingDialog.show();
mObservable.subscribe(new Observer<String>() {
@Override
public void onComplete() {
}
@Override
public void onError(Throwable e) {
if (idenLoadingDialog != null && idenLoadingDialog.isShowing()) {
idenLoadingDialog.dismiss();
}
Toast.makeText(ModifyNoteActivity.this, R.string.MNoteActivity_OCRSyncAlertError, Toast.LENGTH_SHORT).show();
}
@Override
public void onSubscribe(Disposable d) {
subsInsert = d;
}
// 识别后的处理
@Override
public void onNext(final String extaText) {
// 关闭进度条
if (idenLoadingDialog != null && idenLoadingDialog.isShowing()) {
idenLoadingDialog.dismiss();
}
// 处理回显
ShowLogE("idenWordsSync.onNext()", isHasDismiss.getDismiss() + "");
if (!isHasDismiss.getDismiss()) // GOMI Code
idenWordsNextReturn(extaText);
}
});
}
![image](https://user-images.githubusercontent.com/31433480/56470359-d5101e80-6477-11e9-88fb-e2fea39dd3d3.png)
- 近期
笔记分组显示,分组管理的 AlertDialog
部分 Positive
写漏
加上 OnlineDataMgr
类和对应数据库表,记录同步信息
登录活动和提醒登录的 View
设置
OCRAct
的 BoderlessButton
颜色不一致
- 远期
NoteFrag
的 FloatingButton
实现看尽可能修改
尽量将缩进菜单的功能减少,尽可能用浮动菜单
搜索部分标题更改,加上其他搜索引擎支持,并查找解析百度 Url 的更好方法
整理笔记部分一堆的垃圾代码