715 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
61
views
UI freeze after app brought from background leading to WaitingInMainSignalCatcherLoop: reacting to signal 3
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
cordova method to add app to Androids battery "never auto sleep apps"?
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
android : Should we call onPause & onResume in onHiddenChanged function?
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
Flutter webview showing blank screen onResume()
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
How to get a callback which triggers if the app goes into background or the user locks the screen and then comes back to the app
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
FloatingActionButton is visible when calling getVisibility in onResume although it should not
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 ...
0
votes
1
answer
27
views
Chromebook. How do I know if my onResume is being called from the "emoji popup"?
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
Problem of being unable to use other apps when calling intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
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
Slow start onResume the application from the navigation button on real device?
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
How to call a method in a Fragment when backstack change
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
Is there a way to refresh a fragment in the onResume method?
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
Xamarin Android - Is OnResume() method work differently on multiple devices
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
How to refresh fragment from activity in KOTLIN
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
APIs to handle the app resume in RecyclerView in android
I have a RecyclerView :
class MyCustomRecyclerView @JvmOverloads constructor(...) : RecyclerView(...)
{
override fun onSaveInstanceState(): Parcelable? {
Log.i("MY_TAG", "...
1
vote
2
answers
71
views
MediaPlayer not playing after reopening the app
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
user18105926