?
On Apr 1, 6:50 pm, Noam noam.ha...@gmail.com wrote:
Is my code worth anything?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Is my code worth anything?
--~--~-~--~~~---~--~~
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
Do you use onPreferenceTreeClick(PreferenceScreen, Preference)?
If not, it would probably help if you could post your code here.
Otherwise it is very difficult to see what you have already done and
what you are trying to do...
It really should not be difficult what you are trying to
Craig - None of your responses are valid because I am using the two
PreferenceScreens in the same .java file, so that wouldn't help.
Peli - No, I do not use onPreferenceTreeClick(PreferenceScreen,
Preference). This is my code:
@Override
public void onCreate(Bundle icicle) {
Anyone?
--~--~-~--~~~---~--~~
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
How do you know that i is equal to 1 on screen A and i equal to 2
on screen B? Where do you set it? Can't you check there directly?
Have you looked at the API demos for PreferenceActivity?
Peli
On Mar 30, 5:42 am, Noam noam.ha...@gmail.com wrote:
Thanks Peli for your contribution to my
How do you know that i is equal to 1 on screen A and i equal to 2
on screen B? Where do you set it? Can't you check there directly?
That is exactly what I want to find out - how to make i equal to 1
on screen A and how to make i equal to 2 on screen B. That is what I
want to do and haven't found
Have you tried to override the onResume() method of your
PreferenceActivity?
http://developer.android.com/reference/android/preference/PreferenceActivity.html
Peli
On Mar 31, 12:27 am, Noam noam.ha...@gmail.com wrote:
How do you know that i is equal to 1 on screen A and i equal to 2
on screen
Yes, I have tried that but it still doesn't work. I think it's because
both of the PreferenceScreens are in the same .java file, so it never
gets to the onResume() point.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Does anyone have a solution?
Thanks,
Noam.
--~--~-~--~~~---~--~~
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
Actually, Noam, I think you need to clarify where your problem is.
Here are some method names to become familiar with:
Activity.onCreate(Bundle)
Activity.onSaveInstanceState(Bundle)
The first time through onCreate, the Bundle parameter will be null.
Before pausing, your onSaveInstanceState
Whenever i = 2, I want to run a certain method.
Is there a way to get this to work?
if (i == 2) {
runCertainMethod();
}
I'm sure this is *not* what you wanted to know, but I have no idea
what your i is and who sets it...
Peli
www.openintents.org
On Mar 26, 12:49 am, Noam
Thanks Peli for your contribution to my problemo.
The default for the integer i will be 1.
I have two PreferenceScreens - A and B.
Whenever the user is on PreferenceScreen A, i will be equal to 1.
Whenever the user is on PreferenceScreen B, i will be equal to 2.
Basically, I want to know when the
Thanks Ralf.
Where in the documentation might I find a list of what override
methods I could use? For example onClick, onAttachedToActivity,
onCreateView, etc.?
Thanks,
Noam.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Did you consider simply subclassing PreferenceScreen and overriding
some of its methods? There are various methods such as onClick,
onAttachedToActivity, onCreateView, etc., that might give you the
behavior you're looking for.
R/
On Sun, Mar 29, 2009 at 8:42 PM, Noam noam.ha...@gmail.com wrote:
?
--~--~-~--~~~---~--~~
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
Anyone??
On Mar 25, 4:22 pm, Noam noam.ha...@gmail.com wrote:
Do I need to clarify?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Do I need to clarify?
--~--~-~--~~~---~--~~
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
18 matches
Mail list logo