ve an error that occur when I try to fix it but it doesn't fix.
JSONArray application_band =jsonResponse.getJSONArray("banda");String [] list =
new String[application_band.length()];for(int i = 0;
i<application_band.length(); i++){
list[i] = application_band.getString(i);}
And this when I create the intent:
if (hurado_section ==1) {Intent intent = new Intent(LoginActivity.this,
CategoryOneActivity.class);
intent.putExtra("hurado_name", hurado_name);
intent.putExtra("hurado_id", hurado_id);
intent.putExtra("hurado_section", hurado_section);
intent.putExtra("application_band",list);LoginActivity.this.startActivity(intent);}
Error:
07-20 16:47:10.781 27808-27808/com.example.cursoft.scoringsystemseu
W/System.err: org.json.JSONException: No value for banda
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/65e1661f-582e-42b8-8a24-a811f87dc296%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.