Your ROOT_URL in app.ini is https://bdgit.educoder.net/ but you are visiting http://bdgit.educoder.net/p9vt2p3ui/AdvancedMiNotes/commit/9a11bfcafdf153c4ad65e07df51af10051f14eb5?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
6 additions and
1 deletions
@ -27,9 +27,13 @@ import android.database.Cursor;
import net.micode.notes.data.Notes ;
import net.micode.notes.data.Notes ;
import net.micode.notes.data.Notes.NoteColumns ;
import net.micode.notes.data.Notes.NoteColumns ;
/ * *
* 闹 钟 传 回 信 息 接 收 者
* 在 设 置 闹 钟 之 后 该 活 动 类 会 接 受 来 自 闹 钟 系 统 传 回 的 消 息 并 进 行 相 关 处 理
* /
public class AlarmInitReceiver extends BroadcastReceiver {
public class AlarmInitReceiver extends BroadcastReceiver {
// 数据格式封包
private static final String [ ] PROJECTION = new String [ ] {
private static final String [ ] PROJECTION = new String [ ] {
NoteColumns . ID ,
NoteColumns . ID ,
NoteColumns . ALERTED_DATE
NoteColumns . ALERTED_DATE
@ -38,6 +42,7 @@ public class AlarmInitReceiver extends BroadcastReceiver {
private static final int COLUMN_ID = 0 ;
private static final int COLUMN_ID = 0 ;
private static final int COLUMN_ALERTED_DATE = 1 ;
private static final int COLUMN_ALERTED_DATE = 1 ;
// 接收到闹钟应用的广播后执行该方法
@Override
@Override
public void onReceive ( Context context , Intent intent ) {
public void onReceive ( Context context , Intent intent ) {
long currentDate = System . currentTimeMillis ( ) ;
long currentDate = System . currentTimeMillis ( ) ;