Using MYSQL [message #895769] |
Sun, 15 July 2012 17:42  |
Eclipse User |
|
|
|
Hi,
I was able to run a Java program within Eclipse that accessed a MYSQL database over the internet. When I run the app on my Android simulator I get the exception: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver.
I also want to run this application on my Thunder Bolt. I can connect my phone to the PC and run that way, but I want to see if the phone will actually read the database on the server when it is not connected to the PC.
Can anybody please help me with these two questions?
Thanks,
Mike
|
|
|
|
|
Re: Using MYSQL [message #895969 is a reply to message #895963] |
Mon, 16 July 2012 12:53   |
Eclipse User |
|
|
|
On 7/16/2012 10:35 AM, Mike Masullo wrote:
> Hi,
> I am developing and testing the application in Eclispe.
>
> I am a new to all of this, so I do not know what the difference is
> between an Eclipse question and an Android question.
> Thanks,
> Mike
That's understandable. Google chose Eclipse for implementing Android
development tools which they created by writing plug-ins for Eclipse.
Basically, if it's just a problem with UI in Eclipse, it's an Eclipse
question, but if it's Android or UI in Android tools like the emulator,
then it's going to be Android and you'll find better forums elsewhere.
In the present case, I surmise that you've written a program that ran in
Eclipse, but you've then put the same functionality into an Android
application which you run on the emulator and where you have trouble
making it work. That's the smoking gun in this case: you're running the
Android emulator.
Also, I don't know what a Thunder Bolt is, but if it's a hand-held
device, again, it's a better question for other hand-held developers,
though someone who knows and cares in this forum may answer you anyway.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09812 seconds