activity tag

30 questions


1 answers
119 views
0
How do I re-run the activity after checking the GPS usage on the Android GPS settings screen and clicking the Back button?

After moving the GPS setting dialog screen from the source below, check the GPS usage, and then click the back buttonClick intent = new Intent(this, CurrentLocatinActivity.class); startActivity(inten...


4 answers
116 views
0
android - WI-FI and CameraPreview Integration Activity Error

I am a college student who is preparing for graduation.Recently, I used Android for the first time related to my graduation work.At school, the language system itself is unfamiliar because I use C lan...

2 years ago

1 answers
124 views
0
Activity not running (Android, Database) (Beginner)

public class DBHelperForSearched extends SQLiteOpenHelper {public static final String DATABASE_NAME = searched;public static final String TABLE_NAME = searched_table;public static final String COL1 = ...

2 years ago

1 answers
104 views
0
Null when calling getParent() in Activity class?

Activity A calls Activity B through int and B appears on the screen.In this state, getParent() results in a null value.I thought A would come, but can anyone explain why this is?,,,,

2 years ago

1 answers
108 views
0
I want to start a new activity when I click a button on Android, what should I do?

How do I display a new activity when I click the activity button on the Android app?Also, will it be possible to deliver data between these two activities then?


1 answers
79 views
0
(Android) To call a function of activity called B in a fragment of activity called A

MainActivity (B) has these methods. Therefore, MainActivity is using it to call another Fragment screen. ContentListActivity(A) has a ContentListFragment screen, and B to A's Fragment is called. Howev...


1 answers
119 views
0
Could it be a problem on memory to factor Activity? (Java object, address value transfer related)

I'm making a notepad as a practice, and I'm putting activity as a factor and delivering it to other classes and objects.public class MemoAdapter extends RecyclerView.Adapter<MemoAdapter.ViewHolder&...

2 years ago

1 answers
100 views
0
I have a question about delivering

In the main activity @Overrideprotected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (resultCode == RESULT_OK) { Str...


2 answers
111 views
0
(Android) GetActivity() in Fragment.StartActivityForResult to pass values to Activity

I put a fragment called B on top of the activity called A.In the fragment B getActivity().Use startActivityForResult() B(fragment)->A(activity)->B(fragment) again.There is a problem here, and ac...

2 years ago

1 answers
144 views
0
I want to pass the text from Maine to Fragment

I'm a beginner at coding. I made a tap layout using an adapter When I click the button on click, I want to hand over each character in Edittext to the tab page, but I don't know how. I found a way and...

2 years ago
« - 2 - »

© 2024 OneMinuteCode. All rights reserved.