Bonjour,

je suis en train de développer une application sous android je débute seulement..

je récupère ma position courante via le GPS

et voudrait la comparer avec les latitude et longitude en base de donnée de mon application mobile..

mais mon application plante et impossible de continuer

voici mon logcat:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
05-19 17:44:47.260 4638-4638/com.myphone.mute.mutemyphone5 I/Database: success response json
05-19 17:44:47.270 4638-4638/com.myphone.mute.mutemyphone5 I/Database: success created database
05-19 17:44:47.300 4638-4638/com.myphone.mute.mutemyphone5 I/Database: success created table
05-19 17:45:28.680 4638-4658/com.myphone.mute.mutemyphone5 I/art: Background sticky concurrent mark sweep GC freed 267703(9MB) AllocSpace objects, 0(0B) LOS objects, 32% free, 16MB/24MB, paused 1.378ms total 126.665ms
05-19 17:45:45.440 4638-4653/com.myphone.mute.mutemyphone5 W/art: Suspending all threads took: 46.205ms
05-19 17:45:46.410 4638-4653/com.myphone.mute.mutemyphone5 W/art: Suspending all threads took: 10.514ms
05-19 17:45:52.440 4638-4658/com.myphone.mute.mutemyphone5 W/art: Suspending all threads took: 5.011ms
05-19 17:45:52.480 4638-4658/com.myphone.mute.mutemyphone5 I/art: Background sticky concurrent mark sweep GC freed 200772(7MB) AllocSpace objects, 0(0B) LOS objects, 30% free, 16MB/24MB, paused 5.802ms total 52.446ms
05-19 17:46:06.530 4638-4653/com.myphone.mute.mutemyphone5 W/art: Suspending all threads took: 16.555ms
05-19 17:46:10.550 4638-4653/com.myphone.mute.mutemyphone5 W/art: Suspending all threads took: 19.963ms
05-19 17:46:36.650 4638-4658/com.myphone.mute.mutemyphone5 W/art: Suspending all threads took: 5.178ms
05-19 17:46:36.680 4638-4658/com.myphone.mute.mutemyphone5 I/art: Background sticky concurrent mark sweep GC freed 197922(7MB) AllocSpace objects, 0(0B) LOS objects, 30% free, 16MB/24MB, paused 6.121ms total 52.975ms
05-19 17:46:46.130 4638-4652/com.myphone.mute.mutemyphone5 I/art: Thread[9,tid=4652,WaitingInMainSignalCatcherLoop,Thread*=0x55ac619a40,peer=0x12c00080,"Signal Catcher"]: reacting to signal 3
05-19 17:46:46.570 4638-4652/com.myphone.mute.mutemyphone5 I/art: Wrote stack traces to '/data/anr/traces.txt'
05-19 17:46:50.230 4638-4653/com.myphone.mute.mutemyphone5 W/art: Suspending all threads took: 23.455ms
05-19 17:46:50.230 4638-4658/com.myphone.mute.mutemyphone5 W/art: Suspending all threads took: 5.451ms
05-19 17:46:50.280 4638-4658/com.myphone.mute.mutemyphone5 I/art: Background partial concurrent mark sweep GC freed 233304(8MB) AllocSpace objects, 0(0B) LOS objects, 39% free, 15MB/25MB, paused 6.328ms total 79.285ms
05-19 17:46:57.740 4638-4653/com.myphone.mute.mutemyphone5 W/art: Suspending all threads took: 8.969ms
05-19 17:46:57.740 4638-4658/com.myphone.mute.mutemyphone5 W/art: Suspending all threads took: 5.132ms
05-19 17:46:57.770 4638-4658/com.myphone.mute.mutemyphone5 I/art: Background sticky concurrent mark sweep GC freed 113520(4MB) AllocSpace objects, 0(0B) LOS objects, 17% free, 20MB/24MB, paused 6.190ms total 41.484ms
merci.