> > Hi, > > I am struck with an interesting problem. > > Problem: > I create and putExtras into the intent and try to receive on the receiving > Activity(getBundle). The Receiving activity receives NULL for some of the > Strings that I had put inside the intent > > On debugging I found, that intent is not able to accept more than 5 values > via putExtra. Is there any limit on intent.putExtras? > > Intent intent = new Intent(screen3time.this, screen5confirm.class); > intent.putExtra(screen1.WHEN, choosenWhen); > //intent.mExtras.mMap.elementcount Value is 1 > intent.putExtra(screen1.WHAT, choosenWhat); > //intent.mExtras.mMap.elementcount Value is 2 > intent.putExtra(screen1.DD, dateDatePicker.getDayOfMonth()); > //intent.mExtras.mMap.elementcount Value is 3 > intent.putExtra(screen1.MM, dateDatePicker.getMonth() + 1); > //intent.mExtras.mMap.elementcount Value is 4 > intent.putExtra(screen1.YYYY, dateDatePicker.getYear()); > //intent.mExtras.mMap.elementcount Value is 5 > intent.putExtra(screen1.HH, timePicker.getCurrentHour().intValue()); > //intent.mExtras.mMap.elementcount Value remains 5 instead of 6 > intent.putExtra(screen1.MIN, timePicker.getCurrentMinute().intValue()); > //intent.mExtras.mMap.elementcount Value remains 5 instead of 7 > intent.putExtra(screen1.REPEAT_IN_SECONDS, repeat_in_seconds); > //intent.mExtras.mMap.elementcount Value remains 5 instead of 8 > > Last 3 putExtra doesn't update the intent with values. > > Can someone help me understand if there are limits on putExtra? > > Thanking in advance, > -vignesh >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

