[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
AndroidGreece.gr - View topic - Αποστολή δεδομένων σε βάση δεδομένων.
View unanswered posts | View active topics It is currently 20 Apr 2024, 04:12



Reply to topic  [ 24 posts ]  Go to page Previous  1, 2, 3  Next
 Αποστολή δεδομένων σε βάση δεδομένων. 
Author Message
Site Admin
User avatar

Joined: 24 May 2008, 23:50
Posts: 626
Location: Athens
Post Re: Αποστολή δεδομένων σε βάση δεδομένων.
τι εννοείς;;;

θέλεις να περάσεις json μήνυμα ώστε να το πάρει ο server και να το κάνει parse;

εγώ θα το έβαζα ολόκληρο σε μια τιμή πχ ?json=lalala και θα το τραβούσα όπως ακριβώς κάνεις και πριν.

θα σου πρότεινα να προτιμήσεις το post αλλά εαν δεν σε ενδιαφέρει τόσο η ασφάλεια και το url δεν φαίνεται κάπου αλλού δεν έχει ιδιαίτερες διαφορές.

_________________
Chief Software Engineer @ PinApps.com
Κωνσταντίνος Πολυχρόνης
Πρόσθεσε την εφαρμογή σου:


03 Nov 2010, 14:31
Profile WWW

Joined: 15 Jun 2009, 00:01
Posts: 60
Post Re: Αποστολή δεδομένων σε βάση δεδομένων.
ακριβώς!
πως θα φτιάξω ένα json που να είναι της μορφής ?param=value&param2=value2 για να το κολήσω στην url. το πρόβλημα μου είναι ότι json δεν τα παράγει με αυτή τη μορφή.?


03 Nov 2010, 22:43
Profile
Site Admin
User avatar

Joined: 24 May 2008, 23:50
Posts: 626
Location: Athens
Post Re: Αποστολή δεδομένων σε βάση δεδομένων.
Θα περάσεις όλο το παραγόμενο json σαν value σε ενα πεδίο...

_________________
Chief Software Engineer @ PinApps.com
Κωνσταντίνος Πολυχρόνης
Πρόσθεσε την εφαρμογή σου:


04 Nov 2010, 21:13
Profile WWW

Joined: 15 Jun 2009, 00:01
Posts: 60
Post Re: Αποστολή δεδομένων σε βάση δεδομένων.
ventrix σε ευχαριστώ πολύ!με βοήθησες πάρα πολύ!

έχω όμως μια ακόμα γρήγορη (για εσένα) ερώτηση.
το servlet κανονικά κάνει κάποια πράγματα print και τα βλέπει ο χρήστης. πως μπορώ να τα κάνω και στο κινητό αυτά;


15 Dec 2010, 01:01
Profile
Site Admin
User avatar

Joined: 24 May 2008, 23:50
Posts: 626
Location: Athens
Post Re: Αποστολή δεδομένων σε βάση δεδομένων.
δεν σε κατάλαβα, προσπάθησε να μου εξηγήσεις λίγο πιο αναλυτικά!

_________________
Chief Software Engineer @ PinApps.com
Κωνσταντίνος Πολυχρόνης
Πρόσθεσε την εφαρμογή σου:


15 Dec 2010, 16:16
Profile WWW

Joined: 15 Jun 2009, 00:01
Posts: 60
Post Re: Αποστολή δεδομένων σε βάση δεδομένων.
Αν κάποιος χρήστης προσπαθήσει να καλέσει το servlet από τον υπολογιστή θα βάλει τα στοιχεία του και θα του επιστραφεί ένα μήνυμα στον browser ότι έγινε αποθήκευση. το ερώτημα μου είναι , πως θα το κάνω αυτό να φαίνεται και στο Android?


15 Dec 2010, 19:48
Profile
Site Admin
User avatar

Joined: 24 May 2008, 23:50
Posts: 626
Location: Athens
Post Re: Αποστολή δεδομένων σε βάση δεδομένων.
θα πρέπει να διαβάσεις αυτό που επιστρέφει το servlet και να το δείξεις στον χρήστη.

_________________
Chief Software Engineer @ PinApps.com
Κωνσταντίνος Πολυχρόνης
Πρόσθεσε την εφαρμογή σου:


15 Dec 2010, 20:32
Profile WWW

Joined: 15 Jun 2009, 00:01
Posts: 60
Post Re: Αποστολή δεδομένων σε βάση δεδομένων.
Πως θα γινει ιμως να διαβασει τα out.print("something"); ?? Υπαρχει καποιος οδηγος που θα μπορουσε να με βοηθησει;


15 Dec 2010, 22:37
Profile
Site Admin
User avatar

Joined: 24 May 2008, 23:50
Posts: 626
Location: Athens
Post Re: Αποστολή δεδομένων σε βάση δεδομένων.

_________________
Chief Software Engineer @ PinApps.com
Κωνσταντίνος Πολυχρόνης
Πρόσθεσε την εφαρμογή σου:


15 Dec 2010, 23:12
Profile WWW

Joined: 15 Jun 2009, 00:01
Posts: 60
Post Re: Αποστολή δεδομένων σε βάση δεδομένων.
Ναι αυτό το γνωρίζω αν και σκεφτόμουν να τα εμφάνιζε σε ένα dialog box, το πρόβλημα μου είναι πως θα εμφανίσει την απάντηση του servlet, δηλαδή αυτό που θα εμφανίσει ο servlet.


15 Dec 2010, 23:56
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 24 posts ]  Go to page Previous  1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.