|
Register •
FAQ
• Search • Login
|
Author |
Message |
Mydas
Joined: 18 Nov 2010, 16:19 Posts: 22
|
Lac & CellID
Last edited by Mydas on 02 Apr 2011, 16:16, edited 1 time in total.
|
22 Mar 2011, 16:41 |
|
|
sotcha
Joined: 21 May 2010, 14:11 Posts: 22 Location: Thessaloniki
|
Re: Lac & CellID
Νομίζω πως ο κώδικας σου είναι σωστός, επιπλέον το INTERNET permission έχω την εντύπωση πως είναι περιττό.
Το βάζεις στο τηλέφωνο και σου βγάζει κάποιο σφάλμα ; αν ναι το logcat μάλλον θα δείξει το λάθος, αν θες πόσταρε το.
Αν δεν σου δίνει location τότε σου επιστρέφει null και είναι το πιθανότερο να crasharei εκεί, οπότε βάλε έναν έλεγχο.
ps : Καλό είναι όταν ποστάρουμε κώδικα να το βάζουμε σε code tag ώστε να είναι ευανάγνωστος :)
_________________ Keep coding ....
|
22 Mar 2011, 19:19 |
|
|
Mydas
Joined: 18 Nov 2010, 16:19 Posts: 22
|
Re: Lac & CellID
δεν μου βγαζει καποιο error..παταω run αλλα δεν τρεχει στον emulator μου βγαζει force close...και απο οσο εχω ψαξει στο internet νομιζω δεν λειπει κατι..δεν ξερω τι συμβαινει
|
22 Mar 2011, 22:30 |
|
|
sotcha
Joined: 21 May 2010, 14:11 Posts: 22 Location: Thessaloniki
|
Re: Lac & CellID
_________________ Keep coding ....
|
23 Mar 2011, 02:26 |
|
|
ventrix
Site Admin
Joined: 24 May 2008, 23:50 Posts: 626 Location: Athens
|
Re: Lac & CellID
_________________ Chief Software Engineer @ PinApps.com Κωνσταντίνος Πολυχρόνης Πρόσθεσε την εφαρμογή σου:
|
31 Mar 2011, 16:39 |
|
|
Mydas
Joined: 18 Nov 2010, 16:19 Posts: 22
|
Re: Lac & CellID
το εχω κανει και αυτο :)
|
31 Mar 2011, 22:27 |
|
|
Mydas
Joined: 18 Nov 2010, 16:19 Posts: 22
|
Re: Lac & CellID
στο logcat παντως βγαζει αυτο:
Attachments:
logcat.JPG [ 142.11 KiB | Viewed 8373 times ]
|
02 Apr 2011, 15:29 |
|
|
sotcha
Joined: 21 May 2010, 14:11 Posts: 22 Location: Thessaloniki
|
Re: Lac & CellID
Και τι υπάρχει στην γραμμή 78 του Signal2.java που είναι η πηγή το κακού ???
_________________ Keep coding ....
|
02 Apr 2011, 23:04 |
|
|
Mydas
Joined: 18 Nov 2010, 16:19 Posts: 22
|
Re: Lac & CellID
|
03 Apr 2011, 11:36 |
|
|
sotcha
Joined: 21 May 2010, 14:11 Posts: 22 Location: Thessaloniki
|
Re: Lac & CellID
Μήπως το location είναι null ???
_________________ Keep coding ....
|
03 Apr 2011, 16:10 |
|
|
|
Who is online |
Users browsing this forum: No registered users and 54 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
|
|