java - Measure Firebase bandwidth in Android -


my app sending 5mb day, calculations of should closer less 100kb. somewhere going wrong or misunderstanding something. there way log size of firebase data going in , out happens? otherwise, other debugging ideas?

every 2 mins fires:

 long nowmili = now.gettimeinmillis();  double lat = location.getlatitude();  double lng = location.getlongitude();  map<string, string> locationrec = new hashmap<>();  locationrec.put("time", string.valueof(nowmili));  locationrec.put("lat", string.valueof(lat));  locationrec.put("lng", string.valueof(lng));  firebase locationrecref = new firebase(fb.fbref + "/locator/" + user.currentgroup + "/"  + fb.uid);  locationrecref.setvalue(locationrec); 

what data typically looks like:

"locations":{   [groupname]:{     [user]:{       lat: "175.48598907719583",       lng: "-37.99470968516994",       time: "1454707169089"      },   }, } 


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -