waasilzamri / mixare

Automatically exported from code.google.com/p/mixare
0 stars 0 forks source link

Markers not getting displayed for customized own url #146

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 

I'm new to Mixare customization. I have been successfully able to 
compile and load the apk file to my phone. I customized the own url to 
fetch json from  my php webservice. While debugging, I can see the 
markers are getting initialized with the json data and a message too 
"received data from own url" but unable to see the markers getting 
displayed 

This is my json 

{ 
  "status":"OK", 
  "num_results":4, 
  "results":[ 
    { 
      "id":"1", 
      "lat":"13.0089932161", 
      "lng":"80.0000000000", 
      "elevation":"0", 
      "title":"RoomA", 
      "has_detail_page":"0", 
      "webpage":"" 
    }, 
    { 
      "id":"2", 
      "lat":"12.9999998371", 
      "lng":"80.0092297746", 
      "elevation":"0", 
      "title":"Room-B", 
      "has_detail_page":"1", 
      "webpage":"http%3A%2F%2Fwww.google.com" 
    }, 
    { 
      "id":"3", 
      "lat":"12.9910067839", 
      "lng":"80.0000000000", 
      "elevation":"0", 
      "title":"RoomC", 
      "has_detail_page":"1", 
      "webpage":"http%3A%2F%2Fwww.yahoo.com" 
    }, 
    { 
      "id":"4", 
      "lat":"12.9999998371", 
      "lng":"79.9907702254", 
      "elevation":"0", 
      "title":"Room-D", 
      "has_detail_page":"0", 
      "webpage":"" 
    } 
  ] 

} 

The "geo-location" mock data is stored in a MySQL table. The content- 
type is text/plain. I have also tried application/json. 

Please help me out. 

Thanks, 
-Gnansu 

Original issue reported on code.google.com by gna...@gmail.com on 24 Oct 2012 at 7:21

GoogleCodeExporter commented 9 years ago
Is it possible that those markers are not within your radius? Try to check your 
gps location. And check if the markers are on the list of markers.

Original comment by klemens....@gmail.com on 12 Jan 2013 at 10:13

GoogleCodeExporter commented 9 years ago
It is possible that youve already started the app and it copied the url-data 
into the shared preferences. So it will not recognize your new urls. remove the 
app completly from your smartphone and try again.

Original comment by LeonardF...@googlemail.com on 4 Feb 2013 at 9:53