application-lifecycle

Android: Task or application equivalent of onPause

My application uses a remote service to play audio. I do this so that no activity owns the playback of the audio - the user can trigger some audio to be played from one Activity, and the audio will continue to play as they navigate around the app. I do, however, want to tell the service to pause or stop playing audio when the user "unl...

Overriding the Activity/Task behavior in Android

I'm writing a simple Android app, and I'd like better control over the navigation/relationship between the activities. I don't want my activities to act like android activities...I don't want them to stack up within the Task. I want one activity (let's call it MainActivity) to be the landing point and always be at the bottom of the sta...

what happens to asp.net web application (asmx ws) on IIS 6.0 when it's idle for hours or so?

I have an asmx web service and I load bunch of system data to internal data structures. This system data is used to check the validity of requests. However when there is no requests for say 3 hours (maybe less) the initializations are done again. The object that serves the requests has private static bool _initOk variable that contro...

Updated values of JSF UIComponents

Hi, I have a page with a radio selection with 3 options and a inputTextArea. When i press the submit button on my page, then i need to do some validations... In order to do so, i put a validator on the radio. The problem is that when the validator is executed, i need the values of the inputTextArea and of the radio, but they come with ol...

Looking for an Application Lifecycle Management tool

I'm looking for an Application Lifecycle Management tool for a team with about 15 employees. It should provide the following features: General Multi-user network system dashboard for each user should be suitable for Scrum multiple projects Issue tracker separation of bugs, enhancements and new features Issues should have: category...

Sinatra/Rails: Persisting custom class instances during app lifetime

Can I assert rails/sinatra apps are initialized only once and all requests share the same app instance? or do new requests spawn new app instances? Is it possible to instance custom classes and persist them during app lifetime without using sessions, database storages or third party services? If so, what are the implications from a thr...

Development life-cycle for making an application?

I have an idea that I want to make into an application (I have a C/C++, C#, and Java programming background so I will be developing in QT Creator for cross-compilation's sake). So now I am asking you senior developers, what should I do next? I know that all good programs come from an idea. Then what should I do? Prototype the UI? Then de...

What are the options in open source world for application lifecycle, fault and performance monitoring for .Net applications?

Hello. 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? ...

How to handle activity life cycle involving sockets in Android?

Hello all, I have an Android activity which in turn starts a thread. In the thread I open a persistent TCP socket connection. When the socket connects to the server dynamic data is downloaded. The thread sends messages using Handler-class to the activity when data has been received. Now if the user happens to switch from portrait to...

Application Lifecycle Event Not Fired when Server.Transfer

I have a custom rewrite module and when specific query string parameters are passed i need to be able to call a server.transfer and not a response.redirect due to adserve software and tracking in the Init Event of the RewriteModule i register the events: BeginRequest PreRequestHandlerExecute ReleaseRequestState when a Response.Redirec...

Process management: To be killed or Not to be killed

An observation: While I was developing my app on android, I noticed following two lines in LogCat. These occurred because of too much memory requirements of my own app. I have read that Android can decide when to get rid of a process that are not needed or because of memory requirements. Does it mean the alarm will not trigger at all (w...

Android live wallpaper doesn't seem to quit?

I've tried running a variety of live wallpapers. When I set a different one to be live, the old one still shows up in the adb shell when I type 'ps': app_37 12107 1870 125356 16932 ffffffff afe0da04 S fishnoodle.aquarium_free app_50 12196 1870 109620 16804 ffffffff afe0da04 S com.geekyouup.android.snowpaper My own one that I...

Slickest way to use BroadcastReceiver in a singleton and more

I have a singleton which stores some prudent information about the user of my application. At the moment, it stores the user's login and the user's location. 1) The location is found via a Service. At the moment, the Service references my singleton directly to stuff the longitude and latitude into it. I would like to use a BroadcastR...

Android Activity Testing Example Has Confusing OnPause Expectations

I'm trying to understand the Activity Testing tutorial on the Android site. One of the tests sets a spinner in the SpinnerActivity example, forces a pause, then resets the spinner, forces a resume, and then verifies that the application properly restored the state. I pasted the relevant code at the bottom of this question for reference...