Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Talking Reminder
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
RAUSHAN RAJ
Talking Reminder
Commits
520ed45a
Commit
520ed45a
authored
Nov 04, 2019
by
PANKAJ KUMAR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reference for Parsing Reminder
parent
2b030c7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
app/src/main/java/com/blanyal/remindme/ReminderEditActivity.java
.../main/java/com/blanyal/remindme/ReminderEditActivity.java
+10
-1
app/src/main/java/com/blanyal/remindme/ReminderReceiveActivity.java
...in/java/com/blanyal/remindme/ReminderReceiveActivity.java
+5
-0
No files found.
app/src/main/java/com/blanyal/remindme/ReminderEditActivity.java
View file @
520ed45a
...
@@ -132,7 +132,16 @@ public class ReminderEditActivity extends AppCompatActivity {
...
@@ -132,7 +132,16 @@ public class ReminderEditActivity extends AppCompatActivity {
// Get reminder using reminder id
// Get reminder using reminder id
rb
=
new
ReminderDatabase
(
this
);
rb
=
new
ReminderDatabase
(
this
);
mReceivedReminder
=
rb
.
getReminder
(
mReceivedID
);
Intent
intent
=
getIntent
();
if
(
intent
.
getType
().
equals
(
"text/"
+
Utility
.
FILE_EXTENSION
)){
mReceivedReminder
.
setTitle
(
intent
.
getStringExtra
(
"mTitle"
));
System
.
out
.
println
(
"**********************************"
);
System
.
out
.
println
(
mReceivedReminder
.
getTitle
());
System
.
out
.
println
(
"**********************************"
);
}
else
{
mReceivedReminder
=
rb
.
getReminder
(
mReceivedID
);
}
// Get values from reminder
// Get values from reminder
mTitle
=
mReceivedReminder
.
getTitle
();
mTitle
=
mReceivedReminder
.
getTitle
();
...
...
app/src/main/java/com/blanyal/remindme/ReminderReceiveActivity.java
View file @
520ed45a
...
@@ -41,6 +41,11 @@ public class ReminderReceiveActivity extends AppCompatActivity {
...
@@ -41,6 +41,11 @@ public class ReminderReceiveActivity extends AppCompatActivity {
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
Intent
senderIntent
=
new
Intent
(
context
,
ReminderEditActivity
.
class
);
senderIntent
.
putExtra
(
"received"
,
true
);
senderIntent
.
putExtra
(
"mTitle"
,
"First Receive Reminder test"
);
startActivity
(
senderIntent
);
}
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment