oncreate tag

5 questions


1 answers
108 views
0
How to give parameters when you run an activity

Hello, I'm a beginner android developer. I'd like to run an activity that explains the game. I want to include the game ID in that information, but how do I deliver the game ID to the activity? If you...


1 answers
109 views
0
Null pointer exception occurs when you call findViewById() on Android.

Could you tell me what the problem is in the program below? In the onCreate() method, findViewById() is called, and the return value is null even if you try all the id.I don't know why, but does anyon...


1 answers
149 views
0
Screen freezes when using a Yilmun on Android fragment on Create

public void on Create (Bundle saved InstanceState) { super.onCreate(savedInstanceState); preferences = getActivity().getSharedPreferences(PreferencePutter.PREF_FILE_NAME, Activity.MODE_PRIVATE); i...

2 years ago

1 answers
117 views
0
This is an initialization question for Android Studio variables.

I am Corin who is studying hard because I am interested in making an application.It's hard to apply for a book When I looked up the onCreate() in question, it seemed like the first automatically decla...

2 years ago

1 answers
142 views
0
Please tell me the method for the life cycle of Android activities.

What is the life cycle of Android activities?I think onCreate(), onStart(), and onResume() are all similar methods, so please tell me the role of these methods.


© 2024 OneMinuteCode. All rights reserved.