[android-developers] Update EditText Fields With Spinner Select
Any tutorial where spinner have the (set) same value, and updated as an edittext in a database, and by select from the items from the spinner; the edittext fields (7 edittext) is updated (loaded). -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] convert
Is there any good tut. on converting dec-bin-hex-oct where inputs are in textview?. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Change/replace an Image in an ImageView from the start of new Activity by Intent
I have an Activity with several Buttons. All Buttons starts an AlertDialog with the Ok and No Button. Pressing No returns to the main Activity, the Ok Button have some info (in the AlertDialog) and if the user want more info, he/she press the Ok Button and this Button starts an new Activity by Intent and in this new Activity there is a ImageView where I want to put an new Image(from drawable). Starting the new Activity is no problem, but where to put the Image change I dont know. I have tryed several option but none works. A Toast works but the time it is displayed is to short. The Image change/replacement, within or outside the Intent? Thank you! Code: Intent i = new Intent(CAUTIONLT.this, COMCAUTION.class); startActivity(i); finish();} //this works ok ImageView view = (ImageView) findViewById(R.id.IV); view.setImageResource(R.drawable.lacbus); //where to put this? if this is to be used -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Activity By Intent with image changes
I want to start a new Activity by Intent with a Button and replace the Image in an ImageView in the new Activity. Where, in the Intent (if its there it should be) do I put the replacement of the Image (the new one) when starting the Activity. The Image is in the drawable. Code: alertbox.setPositiveButton(OK, SHOW ME, new DialogInterface.OnClickListener(){ public void onClick(DialogInterface dialog, int which) { Intent i = new Intent(); i.setClassName(com.MaintOnPhone, com.MaintOnPhone.COMCAUTION); startActivity(i); view=(ImageView)findViewById(R.id.IV); view.setImageResource(R.drawable.priinv); finish();} -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en