Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
61 views

My app uses Services (client and server) to handle Bluetooth communication between peer instances of itself in separate phones. These services each create a separate thread to handle the socket ...
0 votes
0 answers
62 views

On Android, is there any config.xml or androidManifest.xml setting that allows my app to automatically be added to Androids Battery "never auto sleep apps" section? I can't seem to find any ...
0 votes
1 answer
91 views

We are using the fragment without viewpage, just simply press the button to hide fragment A show fragment B or show A hide B, it will trigger the onHiddenChanged() function But we have a argument here,...
2 votes
0 answers
795 views

In my flutter application which is a webview there is a button to share details from app to whatsapp and whenever the share icon is clicked the whatsapp screen opens but when user clicks the back ...
0 votes
1 answer
336 views

I need a callback which is fired whenever user either switches the app and comes back, or if they lock the device and then unlock it. I can't use onPause and onResume since it would be fired even if ...
0 votes
1 answer
21 views

I have the following situation. I have a FloatingActionButton which is not visible. When I put the App into background by minimizing it, onStop is called. When I bring it back my onResume method ...
Bernd's user avatar
  • 657
0 votes
1 answer
27 views

I have a chat app for chromebook. I am in the chat and I press Search + Shift + Enter -> which brings up the "emoji popup" This calls my apps "onPause" as the dialog is on top ...
0 votes
1 answer
44 views

In the GpsData app, GPS data is received from the server. The GPS data is received by a thread every second, and the InfoService class sends the number of received GPS data to MainActivity. When ...
1 vote
0 answers
98 views

While testing my application on a real device, it works fine onStart, but onPause application to open another one, the application doesn't react well on click to resume the application again, in the ...
0 votes
2 answers
57 views

I have 2 fragments FragmentA and FragmentB From FragmentA I open FragmentB val transaction = fragmentManager.beginTransaction() transaction.add(CONTAINER_VIEW_ID, FRAGMENT_B_INSTANCE, FRAGMENT_B_TAG) ...
0 votes
0 answers
160 views

My favourites fragment does not display the data given correctly unless the onCreateView function is called. This means that the fragment needs to be deleted and created again. Is there a way to ...
1 vote
2 answers
628 views

My question about the OnResume() method which is part of the Activity's lifecycle. I know that after the OnStart() method the OnResume() will be called and also if the application goes in background ...
0 votes
1 answer
402 views

In my kotlin project, I want to refresh fragments from an Actvity. When I finish Activity, it should refresh the fragment. I was thinking this would be done in onResume. So how to do refresh current ...
0 votes
0 answers
46 views

I have a RecyclerView : class MyCustomRecyclerView @JvmOverloads constructor(...) : RecyclerView(...) { override fun onSaveInstanceState(): Parcelable? { Log.i("MY_TAG", "...
1 vote
2 answers
71 views

When i add mediaplayer.start in onResume i was expecting to start the audio when i reopen the the app but it dindt start it public MediaPlayer mediaPlayer; int length = 0; @Override protected ...
user avatar

15 30 50 per page
1
2 3 4 5
...
48

AltStyle によって変換されたページ (->オリジナル) /