Closed GoogleCodeExporter closed 9 years ago
intent.putExtra(LockPatternActivity.EXTRA_INTENT_ACTIVITY_FORGOT_PATTERN, );
i have added this line and am now getting the forgot button displayed. but i do
not know what to pass as the second parameter. is it my class which is used to
retrive the pattern back? i just put my class name as a string but i keep
getting this in the logcat
12-17 23:54:30.046: W/Bundle(32162): Key
com.haibison.android.lockpattern.LockPatternActivity.intent_activity_forgot_patt
ern expected Parcelable but value was a java.lang.String. The default value
<null> was returned.
Original comment by clinto...@gmail.com
on 17 Dec 2014 at 6:27
Hello @clinto...,
The value of EXTRA_INTENT_ACTIVITY_FORGOT_PATTERN is an Intent. For example:
Intent intentActivityForgotPattern = new Intent(...);
intentLockPatternActivity.putExtra(
LockPatternActivity.EXTRA_INTENT_ACTIVITY_FORGOT_PATTERN,
intentActivityForgotPattern);
And it will work.
(From within your Eclipse, if you point the mouse at the name
EXTRA_INTENT_ACTIVITY_FORGOT_PATTERN, a popup window with Javadocs with appear.
It might help...)
Original comment by haibison...@gmail.com
on 17 Dec 2014 at 8:04
Thank you so much..it worked
Original comment by clinto...@gmail.com
on 17 Dec 2014 at 9:48
You're welcome.
Have a nice day :-)
Original comment by haibison...@gmail.com
on 17 Dec 2014 at 9:52
Original issue reported on code.google.com by
clinto...@gmail.com
on 17 Dec 2014 at 5:34