[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
AndroidGreece.gr
https://androidgreece.gr/forum/

Android και Gougle Places / Maps
https://androidgreece.gr/forum/viewtopic.php?f=4&t=7341
Page 1 of 1

Author:  xristinap [ 01 Feb 2013, 19:20 ]
Post subject:  Android και Gougle Places / Maps

Γεια σε όλους!!

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

Author:  Ultimus [ 15 Feb 2013, 21:54 ]
Post subject:  Re: Android και Gougle Places / Maps

Καλησπέρα και καλώς ήρθες!

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

Author:  xristinap [ 16 Feb 2013, 11:25 ]
Post subject:  Re: Android και Gougle Places / Maps

Ευχαριστώ για το καλωσόρισμα!

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

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

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

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

Author:  Ultimus [ 16 Feb 2013, 13:21 ]
Post subject:  Re: Android και Gougle Places / Maps

Καλημέρα σου! Είδα το tutorial και απ'οτι βλέπω είναι για κάπως πιο προσωρημένους. Πρέπει να έχεις κατανοήσει τι είναι τα services τα fragments και τα json αντικείμενα και πώς δουλεύουν.
Οι χάρτες που έχει είναι οι παλιοί και σου συνιστώ να χρησιμοποιήσεις το google maps api v2.
Για αρχή φτιάξε μια εφαρμογή που απλά να δείχνει ένα χάρτη διαβάζοντας τις οδηγίες
Ύστερα διάβασε το tutorial για τα google places το οποίο το βρίσκω πιο επεξηγηματικό.
Επίσης δες .

Author:  xristinap [ 19 Feb 2013, 18:08 ]
Post subject:  Re: Android και Gougle Places / Maps

Σ΄ευχαριστώ για το ενδιαφέρον. Αυτό που λες με τους χάρτες το έχω ήδη φτιάξει. Μπορώ να τους εμφανίσω στο κινητό μου. Με τα Places δυσκολεύομαι και γι' αυτό χρειαζόμουν ένα tutorial βήμα προς βήμα.

Author:  Ultimus [ 19 Feb 2013, 20:05 ]
Post subject:  Re: Android και Gougle Places / Maps

Μια χαρά! Σε βοήθησε ο οδηγός για τα Google Places? Προσωπικά δεν έχω υλοποιήσει κάτι σχετικό ακόμη, γι'αυτό σε παρέπεμψα σε tutorial.

Author:  xristinap [ 19 Feb 2013, 21:24 ]
Post subject:  Re: Android και Gougle Places / Maps

Η αλήθεια είναι πως δεν βρήκα το χρόνο να το μελετήσω προσεκτικά. Όμως με μια ματιά που έριξα, είναι αυτά που είχα βρει και σε άλλα sites. Προφανώς έχεις δίκιο, πρέπει να κατανοήσω αρκετά πράγματα για να φτάσω στην υλοποίηση μιας εφαρμογής, όπως αυτή που έχω δείξει παραπάνω. Και ίσως να βγουν και κάποια tutorials που περιγράφουν σταδιακά τις διαδικασίες αυτές. Το μόνο σίγουρο είναι πως χρειάζεται διάβασμα και πολύ προσπάθεια!

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/