So it seems like a lot of people are playing the blame game around where I work, and it brings up an interesting question.
Knowns:
Requirements team writes requirements for product.
Developers create their own unit tests out of requirements.
Testing team creates their general tests out of requirements and past customer issues.
Produc...
How can I test all of the following methods code? I want to play scenarios when all of them are happening to see if my code works for save/restore process of an activity. So what should I do in the Emulator to get all methods tested?
public class Activity extends ApplicationContext {
protected void onCreate(Bundle savedInstanceStat...
I have a page containing a control called PhoneInfo.ascx. PhoneInfo is dynamically created using LoadControl() and then the initControl() function is called passing in an initialization object to set some initial textbox values within PhoneInfo.
The user then changes these values and hits a submit button on the page which is wired up t...
Can anyone point to a maven tutorial / how-to that covers everything that is normally required during an OSS project: project creation, sources, build, test, integration in SCM, etc, deployment to one's own repository, release creation and upload?
I have been able to gather all this information from ten different sources, but it is not ...
how can i programmatically restart page lifecycle? i do some stuff in controls events which affects these controls. to see changes i have to draw page again. how can i do it?
...
I have a Table and a Button. Table's cells have controls LiteralControl and CheckBox. I check some fields and then by click on button i remove these fields from database. On event Page_PreRender i clear Table and then fill it with updated data. Then it shows me Table with updated data. But if i check fields of table again and do a click ...
If changing the orientation of my phone or the emulator I get the following output in LogCat:
04-09 11:55:26.290: INFO/WindowManager(52): Setting rotation to 1, animFlags=0
04-09 11:55:26.300: INFO/ActivityManager(52): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/1 nav=3/1 orien=2 layout=18}
04-09 11:55:26.460: IN...
NHibernate_reference.pdf, page 26:
Note that ILifecycle.OnUpdate() is not called every time the object's persistent state is updated. It is called only when a
transient object is passed to ISession.Update().
Why it design link that?
...
Behavior seems consistent in Android 1.5 to 2.1
Short version is this, it appears that when my (android search facility) search activity is fired from the android QSR due to either a suggestion or search, UNLESS my search activity in turn fires off a VISIBLE activity that is not the parent of the search, the search parents life cycle c...
I added TextToSpeech to my app, following the guidelines in the following post:
http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html
and now my onDestroy is no longer called when the back button is pressed.
I filed a bug report regarding this: http://code.google.com/p/android/issues/detail?id=7674
Figu...
Hy guys,
I am currently trying to implement some custom ILifecycles for StructureMap.
Depending on events the lifecycle is associated with all object should be removed from the lifecycle.
Here is the registration for an object.
I get a lifecycle from my manager for a plugintype and concretetype using a scope to determine the lifecycle....
Hi
I've read similar questions regarding that but still feel the need to ask a question.
I have scenario where we have lots of tiny "features" pending for approval. I generally see two approaches.
1.Keep trunk solid and have tons of branches for each tiny "feature". Basically every new thingy is a branch.
Cons:
- Might become nightmar...
When inheriting a control in Silverlight, how do I find out if its template has already been applied?
I.e., can I reliably get rid of my cumbersome _hasTemplateBeenApplied field?
public class AwesomeControl : Control
{
private bool _hasTemplateBeenApplied = false;
public override void OnApplyTemplate()
{
base.OnApp...
So within my application is a form for creating a new user, with relevant details and information about the user. There's no problems there, it's just what happens when the user leaves the activity without pressing the confirm button.
Here's what I want to do:
If the user presses the back button, attempt to save all the data to the d...
Hi,
I have an SMS broadcast receiver in my application with a static boolean value to make the receiver active or not.
public class SmsListener extends BroadcastReceiver {
public static boolean activated = false;
@Override
public void onReceive(Context context, Intent intent)
if (activated){ //...
Hi,
I am trying to use an alarm to set my widget layout after some minutes. Everything works correctly in normal situation but, if I try to delete the process of my application ( simulating a system kill) after the alarm is set, then no alarm is executed. Why? From documentation it seems that alarms are executed by AlarmManager service....
Hi,
I'm developing a web service with ASP.NET, is not an .asmx or WCF, it's a custom one, so I'm working with the Http classes (context, request, response, etc..). Session is disabled. I'm working with my own handler and module.
I'd like to keep a object alive and accessible for the time the connection is alive. I mean, a request enter...
Hi All,
does anybody know where to get documentation about Spring request lifecycle for portlet App (Spring's annotation based controller?
I need to know the order of calling methods by Spring and parameters (request, model, ...) available on each stage of request handling.
Main question is: when @ModelAttribute methods are called (I ...
Hi All
I've been searching all over the internet for days.
Does anybody have, or know of, and can share sample Feature Driven Development documents? I keep coming across gazillions of "samples" with absolutely no useful information whatsoever.
Thank you
jt
...
Hi in Flex one can easily define the remote class alias like the following:
package samples.portfolio
{
[RemoteClass(alias="flex.samples.marketdata.Stock")]
[Bindable]
public class Stock
{
public var symbol:String;
public var name:String;
public var low:Number;
}
}
But my question is how do you do it in AIR since
the ...