I wanted to create an application which can be a web service client on Android cell. Any recommendations how to do that. I can send SOAP requests to the server
Thanks cell
Hi,
I am developing an application in which i have to send an SMS from that application on the button click, can u please suggest me solution for that with code snippet.
help me out.
tanking u in advance.
greetings all
i have an app(spring+hibernate) that needs to send thousands of emails simultaneously
and i was told that the best solution here is to have a mail server
i don't have any idea where to start or if there's a framework or a service that is better
so please guys give me some info where to start, thank you.
I'm writing a program in which I want to terminate program by pressing any key(whether character or numbers), so I did a conversion from string to int using Integer.parseInt(variable) method and compare choices if it is not desired choice it should terminate the program but it show an error Exception in thread "main" java.lang.NumberFormatException: for input string: "d".
program code is as follows:-
public class mainClass
{
public static void main(String[]ar)
{
double res=0;
Scanner in = new Scanner(System.in);
Tdata td1 = new Tdata(); //another class object
System.out.println("*Temperature Conversion*");
System.out.println("------------------------------");
System.out.println("Press 1- C2F");
System.out.println("Press 2- F2C");
System.out.println("<- Press aNY kEY TO Exit -");
String choice = in.nextLine();
//====================================================================
int ch = Integer.parseInt(choice);
System.out.println("String has converted: " +ch); //verifying if converted into int
if(ch == 1 || ch == 2)
{
if(ch == 1)
{
td1.getVal(37.4);
res = td1.C2F();
System.out.println("Resulted Temperature: "+res);
}
else if(ch == 2)
{
td1.getVal(104.2);
res = td1.F2C();
System.out.println("Resulted Temperature: "+res);
}
else
{
System.out.println("mind your input plz");
}
}
else
{
System.out.println("<- You select to exit ->");
System.exit(0);
}
//=========================================================================================
}//end of main
}//end of public class
Now I think that I should convert undesired input to its previous state ie. String state.. is it right way or should Try another predefined method available in api.
-Thanks!
Niks
i have a login form, which is in login.php. after authorization i moove client to some.php file! so, from following two methods, which is better?
i can send information aboud user id e.t.c by GET
i can use SESSION - s for this
what is more preferred?
and two words about why i ask this question.
i hear somewhere that SESSIONs aren't good programing method, and it's not suggested to use them in such situations...
thanks
I'm doing an educational project in which 1) I record voice commands on a separate device and after appropriate processing etc... 2) I send 16-bit samples encapsulated in UDP packets over Ethernet to the PC.
After receiving the packets and "extracting" data (samples) from them, I need to assemble the samples to a WAV file.
Any example code? Any suggestions?
Hi,
I have 2.0 version of Contacts API.
But i am looking for newer version "Contacts API version 3.0" for .NET .
Can anyone sendme download like for it
thanx
for example:
When the MEM CTRLER wants a instruction register to be populated with the DATA which the next ADDR REGISTER points to.
Does it send a signal to the ADDR REGISTER to place the next ADDR on the ADDR bus or does the ADDR go to the MEM CTRLER and is placed on the BUS by the MEM CTRLER?
I'm using dojo.xhrPost to sent Ajax Requests
The call is wrapped by a function sendRequest()
I've now to continuously (every 3sec) send the same ajax Post to the server
How can I implement a Server Poll with Dojo? I basically need to call sendRequest() every 3 secs
I want to have some way of backing up the user defaults to a property list or XML, or some other appropriate file format that can be transfered over the net. How could I get a backup of these so that I can send them to a webserver and retrieve them back to the device and read them in to the user defaults database?
Hi!
I try to upload file, how can i check if file is upload
when i send empty input witch file upload i get
AttributeError: 'unicode' object has no attribute 'filename'
How can i check added file?
Hello.
I have been working on this application of mine and got this problem.
Running program through command line with different arguments opens different .exe process.
My question is how can i prevent from opening same file few times, and is it possible to send new command line arguments to already open instance of application.
Thanks.
I need to waste a single ink channel on my epson printer, anyone know how to do it?
I mean, there is no documented way to do that, but I could program a software that could do that, send RAW commands, or special colors.
I searched for some documentation, no luck.
I know that each recipient counts toward the Recipients Emailed (billable) quota and I can't send to more than is my daily quota.
But is there a limit how many recipients can a single email have?
For example can a single email created and sent through App engine Mail api have 8000 recipients?
According to the jQuery manual you can send extra parameters (as an array) when calling a trigger. I am using this at the moment:
$('#page0').trigger('click', [true]);
How would I pick up whether the paramter has come through or not when using this?
$('ul.pages li a').click(function() {
// Do stuff if true has been passed as an extra parameter
});
i want to make non-exsist file i mean its not exsist on the server
i want make it and send it the the broswer by php
i think using header function
but how i can do that
i have no idea
can any one tell me
Hi,
Not sure if I'll explain this properly but here goes. I having written an asp.net app using C# for the code behind. After the user makes some selection and hits the "run" button I pass off the processing to a dll written in C# but what I want is a way to periodically send information back to the client so they can see what's going on like how many records have been processed and things like that. How can I accomplish this?
thanks
All my previous projects have had this workflow on Contact pages
User submits form
Controller gets $_POST details
Controller validates details (and sets error messages if necessary)
Controller sends email
Controller redirects to thanks page
Is this the standard workflow?
I used to validate everything in controllers, and then did some more reading and they recommended against it. Therefore, should I send the $_POST details to a helper type object and let it do all the work (validation/sending)?
Hi Guys,
I have a trigger that sends an email once a value has been changed.
It works when i make any amendments but when the users make the changes it fails.
I have figured out the users havnt got permission to send mails in master.dbo.xp_sendmail
The way the DB was originally setup wis shocking!! (each user has a network login rather than being part of a network group)
Is there anyway i can allow a role in customerDb to access the xp_sendmail proc in the mater db?
Thanks
Sp
why sizeof(X) is 4 and sizeof(Y) is 8?
and another question, in class X, only the int(i) count as sizeof() 4? member function does take any memory space?
Plz tell me, thanks!
class X {
int i;
public:
X() { i = 0; }
void set(int ii) { i = ii; }
int read() const { return i; }
int permute() { return i = i * 47; }
};
class Y : public X {
int i; // Different from X's i
public:
Y() { i = 0; }
int change() {
i = permute(); // Different name call
return i;
}
void set(int ii) {
i = ii;
X::set(ii); // Same-name function call
}
};
cout << "sizeof(X) = " << sizeof(X) << endl;
cout << "sizeof(Y) = "
can any one suggest me how to rotate image view with respect to any point on the image in iphone os.it will be very useful for me if any any body sendme the sample code...
Hello, in my web page a user fill a form who send information to a MySql database. One of the data inputs sent is a date/time, in the format date('l jS \of F Y h:i:s A');
(I can change the format as needed)
So when the user submits the form i wanna check if the actual time/date is 30 seconds more than the sent time/date in order to allow or not the submission of the form. Thanks!
I'm looking to make a Contact/Query form, wherein the end user can send an email to the webmaster. The form has a 'textarea' field, which captures long strings from the user, if I use AJAX to submit the form using GET method, my params tend to break if their is a special character, specifically '&' in the textarea's string..
I'm stuck please help!