Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Ear recognition
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Boston University
Ear recognition
Commits
7d9985d7
Commit
7d9985d7
authored
Oct 08, 2015
by
Josejulio Martínez Magaña
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configures the Intent to return to CommCare the features.
parent
a0078ce9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
IntentTransferingFeatures.java
...com/aluxoft/earrecognition/IntentTransferingFeatures.java
+8
-1
No files found.
app/src/main/java/com/aluxoft/earrecognition/IntentTransferingFeatures.java
View file @
7d9985d7
...
...
@@ -5,6 +5,8 @@ import android.app.ProgressDialog;
import
android.content.Intent
;
import
android.os.Bundle
;
import
com.aluxoft.earrecognition.activities.SelectUserActivity
;
import
java.util.concurrent.Callable
;
import
bolts.Continuation
;
...
...
@@ -34,8 +36,13 @@ public class IntentTransferingFeatures extends Activity {
}).
continueWith
(
new
Continuation
<
Object
,
Object
>()
{
@Override
public
Object
then
(
Task
<
Object
>
task
)
throws
Exception
{
Intent
returningIntent
=
new
Intent
(
getIntent
());
returningIntent
.
putExtra
(
"odk_intent_data"
,
"The feature data should be here."
);
returningIntent
.
putExtra
(
"odk_intent_data"
,
//"Hello World"
SelectUserActivity
.
currentSerializedEar
);
IntentTransferingFeatures
.
this
.
setResult
(
Activity
.
RESULT_OK
,
returningIntent
);
finish
();
return
null
;
...
...
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