David Lakatos

Greenhorn
+ Follow
since Aug 28, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by David Lakatos

today my avast updated the my java and now i cant do anything with my web service. the localhost:9999 is showing the pic but if i click on the services i got this error:

type Exception report



please help me because i'm stucked here!

Thank you!
4 years ago
hi

i have this gps method:


...


the addGPSListener()



so the question is how can i manage that the gps listener (store in the database the coordinnates...) olny starts when the gps fixed? thanks for your answers!
5 years ago

Ulf Dittmer wrote:Your code is incomplete - it would take anyone of us a long time to make an app out of it to install on the phone. Nobody is going to do that. But I already told you what to look for.

Also, I'm certain that Eclipse can connect to your phone. And even if it can't for some reason, the command line version of adb can, so you can proceed on your own.



got the error log: android.os.NetworkOnMainThreadException

any idea?
5 years ago

Ulf Dittmer wrote:Why not? That's what "adb logcat" is for if you connect your phone via USB to your computer.


because i cant connect the phone to eclipse.
Thats why i ask for test it to me and give me a log :) please
5 years ago

Paul Clapham wrote:When you say "doesn't work", what does that mean? Read our FAQ entry ItDoesntWorkIsUseless, which should tell you what kind of information would be useful to somebody who wanted to help you out.

(And in particular, does this line of code run:



and what does it output?)



update my post...please try it on phonecause i cant have log from phone
5 years ago
i wrote this ftp upload method...it works great on the emulator but doesnt on my phone...

can someone tell me why not?









i wrote this ftp upload method...it works great on the emulator but doesnt on my telephone...my phone feeze when it runs. I cant have log from the phone sorry that's why i ask to try it please!

can someone tell me why not?

please help i'm trying to do this ftp almost 3 days:S
5 years ago
FTPClient client = new FTPClient();
FileInputStream fis = null;

try {
client.connect("ftp.atw.hu");
client.login("festivale", "festivale12");
Log.d("TravellerLog :: ", "Csatlakozva: ftp.atw.hu");

//
// Create an InputStream of the file to be uploaded
//
client.setFileType(FTP.BINARY_FILE_TYPE);
client.enterLocalPassiveMode();
String substr = globalconstant.path.substring(4, globalconstant.path.length());
String filename = substr + "/Festivale.db";
Log.e("TravellerLog :: ", substr + "/Festivale.db");
fis = new FileInputStream(filename);

//
// Store file to server
//
client.storeFile("Festivale.db", fis);
Log.d("TravellerLog :: ", "Feltöltve");
client.logout();
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
if (fis != null) {
fis.close();
}
client.disconnect();
} catch (IOException e) {
e.printStackTrace();
}
}
Hi I wrote this method which works great on emulator but on my sgs2 android 4.0.3 freezer the phone.
please help i'm trying to do this ftp almost 3hours ago :S
I can't get a log file from the phone, but can someone rry it? Thanks
5 years ago