It is usually used in enterprise programming contexts where application, session and request scopes (lifecycles) can be distinguished. In this case specific objects (e.g. an EJB if speaking about Java EE) can have different lifecycles according to these scopes managed by the container infrastructure.
Questions tagged [application-lifecycle]
221 questions
0
votes
1 answer
Splash screen not relaunching when relaunching after Application memory collected
So in general the common approach to Splash Screen Activities is something like this:
public class SplashActivity extends Activity
@override
protected void onResume() {
//Create a thread
new Thread(new Runnable() {
…

Leo K
- 808
- 1
- 9
- 24
0
votes
2 answers
Why are the view*Disappear methods not being called in iOS?
I try to do something when the home button and power button has been clicked. I am developing in iOS.
This is the code I use:
- (void)viewDidDisappear:(BOOL)animated{
[super viewDidDisappear:animated];
NSLog(@"viewDidDisappear");
}
-…

Wun
- 6,211
- 11
- 56
- 101
0
votes
2 answers
What are the options in open source world for application lifecycle, fault and performance monitoring for .Net applications?
What are my options in open source world for application lifecycle, fault and performance monitoring for .Net applications? A good commercial benchmark for my need is Avicode (http://www.avicode.com)
So, is there an equivalent for Avicode?

Kabeer
- 4,138
- 7
- 40
- 62
0
votes
2 answers
Redmine and OTRS integration
Ticket Management: OTRS. (I can't change this tool but need to integrate everything to OTRS)
Project Management Tool: Actually I was looking for a good project management tool which can also contains Kanban. Redmine has a plugin for Kanban.…

uzay95
- 16,052
- 31
- 116
- 182
0
votes
1 answer
Asp Web Api Lifecycle issue
Im using web api 2
I have an authentication filter (implementing IAuthenticationFilter) that checks a token and sets a ClaimsPrinciple on both the Thread and the HttpContext. One such claim is the userId
I am using Windsor for Dependency Injection…

ChrisCa
- 10,876
- 22
- 81
- 118
0
votes
1 answer
Suspend Windows Phone 8.1 Silverlight App
How to suspend a Windows Phone 8.1 Silverlight App when user presses the back key?

Atif Shabeer
- 553
- 6
- 18
0
votes
1 answer
Is applicationWillEnterForeground always called after applicationDidEnterBackground?
I am trying to figure out some logic in my iOS application delegate. I want to perform some actions in applicationDidEnterBackground and undo them in applicationWillEnterForeground, as suggested. But I want to make sure that, unless the app is…

SAHM
- 4,078
- 7
- 41
- 77
0
votes
1 answer
App not suspending after long-running background task completes
Why doesn't my app suspend immediately after my long-running background task completes?
An app running on iOS 8 uses a long-running background task to avoid being suspended when it enters the background. All is well. When the task is complete, the…

Justin
- 20,509
- 6
- 47
- 58
0
votes
1 answer
mvvmcross app singleton lifecycle
I have a service (Foreground, STICKY), and an activity (LaunchMode.SingleTask) in the same app.
There are 2 mvvmcross setup scenarios:
Service is started from boot, mvvmcross is initialized with the 'setup.EnsureInitialized' method
Service is…

Roubachof
- 3,351
- 3
- 23
- 34
0
votes
0 answers
security exception thrown while testing WP8 app Life cycle?
I'm developing a WP 8 Application, and by testing the application life cycle i found that it throw exception when i activate the app. ( either by choosing from phone backStack or even by pressing back key),
By tracing i find that it enters…

Dalia Madkour
- 13
- 3
0
votes
1 answer
iOS7 how to programmatically show black screen for iPhone multitasking screen?
I'm working on a medical app and would like to prevent any information about the user from being saved onto the multitasking screen.
Some apps, like Bank of America show black screen for the app when the user toggles multitasking mode (double tap…

Alex Stone
- 46,408
- 55
- 231
- 407
0
votes
1 answer
Android 4.0+/Activities Life Cycles
I make easy app for test functions like onCreate(), onStart, etc. Each function make you own log. And start test.
a) When app is started - onCreate, then onStart and onResume.
b) When press collapse all window button - onPause and onStop.
c) When…

Gordey
- 33
- 5
0
votes
0 answers
Navigation Drawer Android Example: How to load a specific Fragment thats not the Fragment Frame Container upon Loading
I've implemented a multi view application with the Nav Drawer example on android developers, everything works fine and is implemented correctly. I'm using the dynamic way of loading fragments. I have one main activity that loads a fragment frame…

TheNyquistLimit
- 53
- 10
0
votes
0 answers
Complete an HTTP request while app closing
Currently I am working on a some kind of analytics sdk and we measure session lengths. But in WP when i send an http request inside PhoneApplicationService.Closing event handler, it is never completed even i await the asynchronuous operation.
I…

mehmet6parmak
- 4,777
- 16
- 50
- 71
0
votes
1 answer
TFS Lab Automation and Templates
I am not sure if this question belongs here in SO or over at ServerFault (or maybe even Programmers)...
I am testing out the features of TFS Lab Automation and its integration with System Center. In particular, and as a end-point goal, how the…

Jason
- 2,806
- 2
- 28
- 38