public class test extends Activity {
ImageView imView;
ImageView imViewLine;
String imageUrl="http://www.web.com/app/";
String FileType = ".png";
int imageNum = 0;
Random r;
int count = 0;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
...
Hi,
I am developing a client-server based application for financial alerts, where the client can set a value as the alert for a chosen financial instrument , and when this value will be reached the monitoring server will somehow alert the client (email, sms ... not important) .The server will monitor updates that come from a data genera...
There is a project written in PHP that is just simply all procedural ... step by step calling DB functions, processing, and printing out the output. And then it is changed to totally object oriented -- there is a singleton for the App object, and various functions are invoked through the App object.
Someone claims that the memory usage...
I have 2 server programs that must be started with the use of GNU Screen. I'd like to harden these servers against crashes with a Python based program that kicks off each screen session then monitors the server process. If the server process crashes, I need the python code to kill the extraneous screen session and restart the server with...
We have bugzilla installed on a computer which we would like to act as a server. I have yet to install bugzilla on my computer, the client. Can you point me to some references which describes how Bugzilla works as a server? What I would like to do is file bugs from client computers and this will be reflected to the Bugzilla server. How d...
What are some factors that would drive me away from using Tomcat in production for an enterprise application. My company is not big, but a few departments, and it will be a dynamic site (db, web services).
I am not planning to use EJBs, but Spring and POJOs.
Beside EJBs, is there a technical reason about an application that would necessa...
i have tried VisualSVN server for the PC, and it seems pretty easy to install and use. The only catch is that my PC with Vista does crash, or can become not so responsive sometimes, so I am thinking of using an SVN server on the Mac instead.
is there one on the Mac that is easy to install and is reliable too?
...
I need to render a pdf while clicking a button.
i am using the following js code:
function RenderPDf() {
//for
window.open("/Resources/RenderPDF", "", 'toolbar=no,titlebar=no, directories=no, location=no,status=yes, menubar=no, resizable=yes, scrollbars=yes,width=1010, height=680,left=0,top=0');
ret...
I'm looking for a flash Actionscript 3 tutorial on how to create a whiteboard application with flash media server 3.5. Please anybody have any ideas where I can start looking for this information?
...
Ok, I am a n00b at web applications, databases, servers etc. However, I have been trying to learn by going through questions in stackoverflow and also everywhere else on the web. I have two related questions here.
My first question is, I often read about people using multiple dedicated servers to run their websites, and process queries...
I need to kill a process on a Windows 2000 production server, which was started by a windows service. However, doing that from the GUI just gives me "Access denied", so now I am considering to create a small application or script to do it. I only have occasionally access to the GUI, I do not have usernames, passwords etc. for the server....
I have a web page (XHTML 1.0 Transitional) which I want to convert to PDF on server and mail the same to an email id as attachment.
The web page is dynamically loaded with information that comes from 4 different table from MySQL. So it is not a static HTML page.
The solution should work on almost servers whether they are linux or windo...
Non-forking (aka single-threaded or select()-based) webservers like lighttpd or nginx are
gaining in popularity more and more.
While there is a multitude of documents explaining forking servers (at
various levels of detail), documentation for non-forking servers is sparse.
I am looking for a bird eyes view of how a non-forking web ser...
I am writing a server program with one producer and multiple consumers,
what confuses me is only the first task producer put into the queue gets
consumed, after which tasks enqueued no longer get consumed, they remain
in the queue forever.
from multiprocessing import Process, Queue, cpu_count
from http import httpserv
import time
def w...
I'd like to write an applet (or a java Web start application) calling its server (servlet?) to invoke some methods and to send/retrieve data. What would be the best way/technology to send and to retrieve those message ?
...
Hi guys,
I am on a very very slow Internet connection where downloading big packages like Eclipse or JBoss is next to impossible. I often have to buy books that come with CDs to install such things on my home PC. I recently could get Eclipse 3.2 with WTP and JBoss 4.2.2 (for EJB3). But sadly found that the JBoss server definitions in ec...
Hi
I have a server with an internal address of 192.168.1.100
I have moved to a new home and the IP Pool of the current router is 192.168.2.x
Is there a way I can make the router discover this server without having to change the internal IP address?
I dont have a KB or Mouse to get in and change the IP of the server at this time :)
A...
I'm making a http server that merely allows access to my folder, download the files in it and also uploading to a folder. So far I have already done most of it, the only thing left is the uploading of the files. Whenever I receive files from a client, they send chunked datas. Which I dont understand to decode. All I need is a function th...
This is about the design decision and understand the procs and cons for adopting another service. So we have two services with two unrelated servers, one listening on port 10000 and another is a xinetd server responding 3 different requests via 3 different ports (its client uses nc server port1|port2|port3 to retrieve data).
One day be...
I'm running Windows Vista on my development machine... tried four SMTP servers so far (2 crashed, 2 turned out to be trial ware after being promoted as "free"). So I don't have IIS6 SMTP available.
Do you know any simple, hassle-free SMTP server that I can use? I need absolutely no bells and whistles. All it needs to do is listen on por...