parse.com - problems using Parse in my app android -


I used parse I am trying to parse. When I'm trying to run an APK, and click on the button I get this error: Unfortunately, Appname has been closed

What to do? What's my fault I tried and tried to hold up with the statement still does not work. What I want to send textview.getText () To do "foo" in ToString () database

Here is my code:

  TextView tv; Long ds; TextView td; Private static final integer CAMERA_REQUEST = 1888; View a private image view image; Create at the public zero () {Start the parsing (this, "id", "id"); } Creates protected void (interstensions saved from bundles) {super. Contents (Saved Instantstate); SetContentView (R.layout.activity_main); Button bx = (button) Find VVBID (RID. BCPTURE); Button BR = (button) Find VVBID (RID. Brefres); Button bs = (button) Find VVBID (RID.besubmit); Bs.setOnClickListener (see the new OnClickListener) {@Override Click Public Zero (see V) {Pars object test object = new pars object ("Test object"); TestObject.put ("foo", "td.getText (). ToString ()"); TestObject.saveInBackground ();}}}  

as far as I can Tell me, you have not started your text book. In addition, "td.gettext () .toString ()" should be td.getText (). ToString () .

If you still have problems, post logcat output in your question.

  TextView TV; Long ds; TextView TD; Private static final integer CAMERA_REQUEST = 1888; View a private image view image; // Not sure that you have ever said it either // consider taking it to the creation of the application http://www.devahead.com/blog/2011/06/extending-the-android-application-class -and-dealing-with-singleton / // Create a public void () {// Parse.in initialize (this, "id", "id"); //} Safe vs. Create (Bundle Saved InstantState) {super.onCreate (SavedInstanceState); Start parse.in (this, "id", "id"); SetContentView (R.layout.activity_main); Button bx = (button) Find VVBID (RID. BCPTURE); Button BR = (button) Find VVBID (RID. Brefres); Button bs = (button) Find VVBID (RID.besubmit); Td = (TextView) findViewById (R.id.your_textview); Bs.setOnClickListener (see the new OnClickListener) {@Override Click Public Zero (see V) {Pars object testObject = new pars object ("Test object"); TestObject.put ("foo", td.getText (). ToString ()); TestObject.saveInBackground ();}}}  

Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -