Hi , i would like to show data from my database onto a spinner. how would that be possible?
As there is an null error in my logcat.
Booking.java
public class Booking extends Activity
{
private DBAdapter db;
private Spinner colourSpinner;
private String txtArrival;
/** Called when the activity is first created. */
...
I am just starting to learn Android development using the Android SDK and Eclipse. I can get my HelloWorld starting app to run in the device emulator, but not on my Verizon Droid handset. I have downloaded the drivers for Windows 7 and I can see the files on the handset in Windows Explorer, so I'm assuming I have the drivers working. I h...
Here is my class:
import java.sql.Connection;
import java.sql.Statement;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
public class DisplayAuthors {
static final String JDBC_DRIVER = "com.mysql.jdbc.driver";
static final String DATABASE_URL = "jdbc:mysql://loc...
Hello. I'm having problem compiling a project in Eclipse.
The import com.sun.javadoc cannot be resolved
I added tools.jar as an external jar, changed default compiler to use jdk instead of jre, did Project -> Clean afterwards. But nothing of this helped. What am I missing here?
UPD: this is how it looks like (packages exist on the le...
Is it possible to use a font size of 10.5 in Eclipse? 10 is too small and 11 is too large, but I am unable to enter 10.5 in the font size dialog, as it requires an integer. Could this setting be changed somewhere else?
...
Hi,
we are using an eclipse formatting profile, that states that line width is 125 characters and that the method parameters should be wrapped when necessary. Now this line does not get broken in two:
public FeaturePart(final Long fooBarBarBarBar, final String foo, final int sequenceNumber, final boolean fooBarBarBazBar) {
Note t...
Anyone know how I can get eclipse/CDT in Windows to recognise all of the system calls and standard library of a linux environment? As in, show them in the right colour.. etc.
...
In Eclipse Standard Installation the editor marks all occurrences of a variable if you click on it with a cursor.
e.g. Setting the cursor somewhere on the 'foo' Variables it highlights all other foo's too.
public void printString(String foo){
System.out.println(foo); }
Any ideas where to switch this behavior on again...
Is there a way how I can access gdb's console in eclipse? I would like to just be able to set breakpoints with the mouse and then use the console for debugging.
...
Say you have a C project with tons of files, and tons of configurations managed by usign the -D option in GCC to define some flags.
In my particular case, I have loads of files with that kind of stuff:
void foo( sometype *x)
{
do_stuff_with_x(x);
#ifdef MY_FLAG
do_additional_stuff(x);
#endif
#ifdef OTHER_FLAG
do_some_other_s...
This seems like it should be fairly straight-forward, but I can't see anything obvious. What I basically want to do it to point at a method and refactor->extract class. This would take the method in question to a new class with that method as top level public API. The refactoring would also drag any required methods and variables alon...
I am trying to set up Eclipse 3.5 with the Android plugin. I followed all the steps and everything installed fine. However, running the SDK and AVD Manger throws a connection refused error. I am behind a firewall at work and can not bypass it.
How can I install the Android platforms without using the manager?
...
Hi,
In my cspex I have action that creates product
<public name="create.product" actor="ant">
<actorProperties>
<property key="buildFile" value="build/product.ant" />
<property key="targets" value="create.product" />
</actorProperties>
<properties>
<property key="profile" valu...
This is a simple executable snippet that shows the issue.
When using the ExpandBar the desired outcome is to resize the window when there is a collapse or expand. It works properly on Mac but does not on Linux.
It looks like the ExpandListener is called before the collapse/expand actually occurs and therefore the pack() resizes inco...
Android Question: I want to select a contact and get the number of the contact when I select that person. It should then place the number in an EditText field, I have tried doing this numerous ways but they don't work for me.
Any help will be greatly appreciated.
...
I have both Eclipse 3.5 and 3.6 on ubuntu 10.04. I am trying, actually attempting to install Spring IDE.
As usual, I install plug-ins on my galileo first before doing it on helios in case things break, since I actually use helios while galileos mostly languishes unused on my workstations. Which, in hind-sight (don't know why some people...
I use an "anonproxy" to bypass network restrictions in some public networks, and somehow eclipse managed to configure itself to use it. Even after I disabled the proxy settings in firefox, eclipse still uses it. When I try to stop the proxy service, eclipse simply pops a message saying the proxy refused connections. How do I remove any p...
I'm using ANT to build the WAR file for my Java web app. However, when I look inside the WAR file I see every file appear twice (not the folders, just the files). When I extract the WAR file there are no errors and the file structure appears to be correct, no double files. If I then compess the extracted file back into a ZIP file the arc...
Hi guys,
Can any one post some links that help me in learning WebObjects with eclipse...
Thanks on advance...
~Raviraja
...
Hi,
I found this question from over a year ago, but I wonder if there's anthing new under the sun. Spedifically, I do not get along with Emacs so well...
p.s.
I use eclipse for java and perl programming.
...