[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/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 - Android και Gougle Places / Maps
View unanswered posts | View active topics It is currently 16 Apr 2024, 13:57



Reply to topic  [ 7 posts ] 
 Android και Gougle Places / Maps 
Author Message

Joined: 01 Feb 2013, 17:19
Posts: 5
Post Android και Gougle Places / Maps
Γεια σε όλους!!

Χαίρομαι που βρήκα ένα forum ελληνικό για τον προγραμματισμό σε Android και εύχομαι να ανταλλάσσουμε απόψεις και να γινόμαστε καλύτεροι. Αυτό που προσπαθώ εγώ να φτιάξω, είναι μια εφαρμογή που λειτουργεί όπως αυτή που παρουσιάζεται σε αυτό το tutorial: . Ουσιαστικά θέλω για αρχή, να εντοπίζει τη θέση μου μέσω gps και στη συνέχεια να βρίσκει τα κοντινά μέρη σε συνεργασία με τα google places. Το πρόβλημα είναι το εξής...το gps δεν λειτουργεί! Δεν ξέρω τι φταίει, αλλά μόλις βάλω μόνη μου τις ακριβής συντεταγμένες, μου εμφανίζει τα κοντινά μου μέρη. Απο μόνο του δεν εντοπίζει τη θέση. Και ένα δεύτερο πρόβλημα είναι πως δεν εμφανίζεται ο χάρτης, αλλά ένα γκρι πλέγμα με τις "πινέζες" επάνω. Εχει ασχοληθεί κανείς με αυτό;


01 Feb 2013, 19:20
Profile

Joined: 09 Aug 2012, 13:03
Posts: 17
Post Re: Android και Gougle Places / Maps
Καλησπέρα και καλώς ήρθες!

Κατ'αρχ'ας το τεστάρεις στον emulator ή σε κανονική συσκευή;
API Key για τον map έχεις πάρει υποθέτω; Κάποιος κώδικας θα βοηθούσε.. Ή το LogCat την στιγμή που υποτίθεται θα έπαιρνε data από το gps και εμφανίζει τον χάρτη.


15 Feb 2013, 21:54
Profile

Joined: 01 Feb 2013, 17:19
Posts: 5
Post Re: Android και Gougle Places / Maps
Ευχαριστώ για το καλωσόρισμα!

Τελικά όλα καλά με το GPS. Δουλεύω σε κανονική συσκευή και έχω πάρει key για τον χάρτη. Το πρόβλημα που παραμένει είναι πως δεν εμφανίζεται ο χάρτης στην εφαρμογή του link που έχω παραθέσει και αυτό συμβαίνει επειδή το παράδειγμα είναι outdated από οτι κατάλαβα (δεν έχει την νέα έκδοση v2 των google maps).

Κατάφερα πάντως να κάνω μια πολύ απλή εφαρμογή, που να εμφανίζει μόνο τους χάρτες Google και να δείχνει την τοποθεσία μου στο κινητό μου.

Το πρόβλημα που αντιμετωπίζω τώρα, είναι στο πως θα συνδυάσω αυτά τα δυο. Δηλαδή να έχω μια εφαρμογή όπως αυτή του link και να αλλάξω οτι πρέπει στον κώδικα για να τρέχει με την νέα έκδοση των χαρτών. Δυστυχώς για την ώρα δεν τα έχω καταφέρει λόγω απειρίας (το παράδειγμα έχει πολλές κλάσεις και δεν ξέρω τι να αλλάξω ακριβώς).

Και ψάχνω κάποιο σύγχρονο tutorial που να περιγράφει βήμα προς βήμα, την υλοποίηση Google maps android v2 και Places μαζί, αλλά παρατηρώ πως δεν υπάρχει κάτι ολοκληρωμένο.


16 Feb 2013, 11:25
Profile

Joined: 09 Aug 2012, 13:03
Posts: 17
Post Re: Android και Gougle Places / Maps
Καλημέρα σου! Είδα το tutorial και απ'οτι βλέπω είναι για κάπως πιο προσωρημένους. Πρέπει να έχεις κατανοήσει τι είναι τα services τα fragments και τα json αντικείμενα και πώς δουλεύουν.
Οι χάρτες που έχει είναι οι παλιοί και σου συνιστώ να χρησιμοποιήσεις το google maps api v2.
Για αρχή φτιάξε μια εφαρμογή που απλά να δείχνει ένα χάρτη διαβάζοντας τις οδηγίες
Ύστερα διάβασε το tutorial για τα google places το οποίο το βρίσκω πιο επεξηγηματικό.
Επίσης δες .


16 Feb 2013, 13:21
Profile

Joined: 01 Feb 2013, 17:19
Posts: 5
Post Re: Android και Gougle Places / Maps
Σ΄ευχαριστώ για το ενδιαφέρον. Αυτό που λες με τους χάρτες το έχω ήδη φτιάξει. Μπορώ να τους εμφανίσω στο κινητό μου. Με τα Places δυσκολεύομαι και γι' αυτό χρειαζόμουν ένα tutorial βήμα προς βήμα.


19 Feb 2013, 18:08
Profile

Joined: 09 Aug 2012, 13:03
Posts: 17
Post Re: Android και Gougle Places / Maps
Μια χαρά! Σε βοήθησε ο οδηγός για τα Google Places? Προσωπικά δεν έχω υλοποιήσει κάτι σχετικό ακόμη, γι'αυτό σε παρέπεμψα σε tutorial.


19 Feb 2013, 20:05
Profile

Joined: 01 Feb 2013, 17:19
Posts: 5
Post Re: Android και Gougle Places / Maps
Η αλήθεια είναι πως δεν βρήκα το χρόνο να το μελετήσω προσεκτικά. Όμως με μια ματιά που έριξα, είναι αυτά που είχα βρει και σε άλλα sites. Προφανώς έχεις δίκιο, πρέπει να κατανοήσω αρκετά πράγματα για να φτάσω στην υλοποίηση μιας εφαρμογής, όπως αυτή που έχω δείξει παραπάνω. Και ίσως να βγουν και κάποια tutorials που περιγράφουν σταδιακά τις διαδικασίες αυτές. Το μόνο σίγουρο είναι πως χρειάζεται διάβασμα και πολύ προσπάθεια!


19 Feb 2013, 21:24
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 11 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.