|
I have an invokeworkflow activity inside a replicator activity. The workflow that I'm trying to invoke requires 2 parameters to be passed to it, an integer and a string parameters, and these should be passed to the workflow by the replicator activity....
Started by Sam on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
What events should I use to find....
You can declare two properties in the target workflow like this:
public static readonly, but my question was, how do I pass these values from the Replicator activity to the InvokeWorkflow activity.
|
|
Private class ExecuteLocations extends AsyncTask<String, Void, Void>{ private final ProgressDialog dialog = new ProgressDialog(ListProfiles.this); protected void onPreExecute() { //this.dialog.setMessage("Starting pre-execute..."); //this.dialog...
Started by alex on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
For this case, I'd probably go with a ....
Brake it into 3 steps:
Make whatever you want to work work w/o AsyncTask Make sure you've figured out AsyncTask, do a simple Log.e("haha", "gotcha") in doInBackground(...) and check that it shows Combine the two .
|
|
In android, I create my menu item like this?
public boolean onCreateOptionsMenu(Menu menu) { menu.add(0, 0, 0, "Menu1"); menu.add(0, 1, 0, "Menu2"); return true; }
How can I set all the menu item disabled programmically (in another part of the code in...
Started by hap497 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
MenuItem menu1; public boolean onCreateOptionsMenu(Menu menu) { menu1 = menu.add(0, 0, 0, "Menu1"); } public void someOtherMethod() { if(menu1 != null) { // if it's null, options menu added the items to group ....
Into a variable.
|
Ask your Facebook Friends
|
If I want to send an event, e.g. OnClick, to an activity from a thread? Thanks.
The expected work flow is below:
public class HelloAndroid extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView...
Answer Snippets (Read the full thread at stackoverflow):
Always send a message from a thread to the activity, like that:
//this should be in your Activity(); SomeHandler.sendEmptyMessage(0); } }
You can also create message, which will contain some values..
|
|
Hello,
I am looking for some C# code .. or .NET component to record the activity of a form on my screen (not the whole desktop) along with audio, similar to what programs like Camtasia allow to do.
Thanks
Started by GX on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
(); tVideo.Start(); }
int i = 0; private void tVideo_Tick(object sender, EventArgs e) { String lFile = String.Format("c:\\{0}.bmp", i); SaveAsBitmap(this, lFile); i++; } public void SaveAsBitmap(Control(lImage, new Rectangle(0, ....
|
|
I'm using Delphi 2007.
I am copying files to a remote drive. When the copying ends, I shutdown/standby the machine. It can happen that some files don't get copied from buffer to disk, and the remote disk gets disconnected, so the backup is not completed...
Started by Jlouro on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
In D2 // BOOL was defined as 0......
The language "Delphi" in-and-of itself only accepts values of // 0 and 1 as valid, rather than 0 and any non-0 value as it should.
It depends on the type of disk activity you want to detect.
|
|
Our customer would like to know who is online and currently using the custom application we wrote for them. I discussed it with them and this doesn't need to be exact , more of a guestimate will work.
So my thought were maybe a 15 minute time interval...
Started by mattruma on
, 12 posts
by 12 people.
Answer Snippets (Read the full thread at stackoverflow):
Logging session start and end to the database is the best option, and you calculate user activity = ctx.getAttribute("SESSION_COUNT"); if (count == null) { count = new Integer(0); } ctx.setAttribute("SESSION commands from your apps are ....
|
|
I have a tableView that loads an XML feed as follows:
- (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; if ([stories count] == 0) { NSString *path = @"http://myurl.com/file.xml"; [self parseXMLFileAtURL:path]; } }
I'd like to have...
Started by Cy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
[loginIndicator startAnimating the XML in the main thread, you are not allowing the screen to update, and that is why your activity:nil afterDelay:0];
In myXMLParsingMethod....
For that is like:
IBOutlet UIActiviyIndicatorView *loginIndicator; { ...
|
|
Posted 25 May 2012 - 07:54 AM
I have it back up, but still can't boot up in "Repair your Computer" mode. Will have to reinstall Norton as well to see the Activity messages, but I know they are not gone because computer is still redirecting and auto pulling...
Started by dalead on
, 3 posts
by 1 people.
Answer Snippets (Read the full thread at bleepingcomputer):
Initialize success
23:13:34.100 AVAST engine defs: 12052501
23:14:27.283 Disk 0 (boot) \Device\Harddisk0\DR0 -> \Device\Ide\IAAStorageDevice-1
23:14:27.286 Disk 0 Vendor: ST925031 0003 Size: 238475MB BusType: 3
23:14:27.305 Disk 0....
|
|
For some reason, when I use the call, the result is always returned as 0. All I am doing is popup the selection box and then once the selection is made, the user hits the back button. Does anyone know what mistake I could be doing?
CALLING ACTIVITY:
Intent...
Started by Legend on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It looks like that's only available with 2.0.
Data from the activity when the back button is pressed.
|