I want to able to allow the user to take a picture and save it to parse as a ParseFile in a ParseObject, which I have done, but I also want to save it on my database as either a PasreFile or bitmap. I am unable to save it as a URI because I would have to query it from parse, which I cant when initially saving it.
Database
public class Note {
private String id;
private String title;
private String content;
Note(String noteId, String noteTitle, String noteContent) {
id = noteId;
title = noteTitle;
content = noteContent;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
@Override
public String toString() {
return this.getTitle();
}
}
Activityone
note = new Note(post.getObjectId(), postTitle, postContent);
and
note = new Note(intent.getStringExtra("noteId"), intent.getStringExtra("noteTitle"), intent.getStringExtra("noteContent"));