I have these things, in a activity i set a onTouchListener to my ImageDraw, that extends the ImageView class, with this listener I perform actions like zoom and pan with gestures
My program is immediately crashing on my Android Emulator and I receive this in the Eclipse Console: java.lang.NullPointerException
I am trying to build a simple Java GUI (I\'ve been learning for only a week). I have made a Textfield, in which the user has to enter a number. I want to do something with the number, but the problem
I\'m trying to develop a small Stripes project that allows the user to uoload files, the basic implementation of the ActionBean looks like so:
I wrote two Methods Fil开发者_开发问答e name Login.java: public int multiply(int x, int y) { return x * y;
I\'m trying to get a multicast socket working on a \'server\' app, which will spit info at a bunch of android phones.The code snippet responsible for setting up the socket and sending a some data is a
I have a simple ChatClient that sends data to a Server. In order for Chat Client to send data, I make a Socket, make a PrintWriter to the socket.getOutputStream(), then do writer.println(\"\"). For so
Is it possible to change PD\'s style, message and title on the fly (and not from UI thread)? I want to do the following. Fist time PD shows in STYLE_SPINNER as it looks like endless progress and show
Hey guys, I am working on a final project in my computer science class. Its a going to be a very simple real time simulation of an airline system. I just started, so most of this is still place holder
I do get a NullPointerException from a synchronized method in the codesnip below. mElements is an arrayList of Enemies looking like this: