

-keep class * extends java.util.ListResourceBundle {
    protected Object[][] getContents();
}

-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
    public static final *** NULL;
}

-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
    @com.google.android.gms.common.annotation.KeepName *;
}  
-keepnames class * implements android.os.Parcelable {
    public static final ** CREATOR;
}

Your suggested Android manifest fixes

You might not have added the key, I see 'API_KEY' string instead of the key, it should be something like this(obviously the key will be different)
<meta-data
        android:name="com.google.android.maps.v2.API_KEY"
        android:value="AZzaSyDhkhNotUseFullKey49ylKD2bw1HM" />

You are missing these in the AndroidManifest.xml,
<permission
    android:name="com.juliette.basicgooglemap.permission.MAPS_RECEIVE"
    android:protectionLevel="signature" />
<uses-permission android:name="com.juliette.basicgooglemap.permission.MAPS_RECEIVE" />

Add this too:
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>

Next setup your layout and code like this post, you are not using the fragment properly.

 Q:

Android GPS accuracy not even close to built in maps app

I've been experimenting with the Android SDK for a few weeks now, trying to achieve an accurate location from a background service.
After trying a few configurations, I currently have this on a loop:
Criteria criteria = new Criteria();
criteria.setAccuracy(Criteria.ACCURACY_FINE);
criteria.setAltitudeRequired(false);
criteria.setBearingRequired(true);
criteria.setCostAllowed(true);
criteria.setPowerRequirement(Criteria.POWER_HIGH);
-keep class * extends java.util. ListResourceBundle { 
     protected Object [ ] [ ] getContents (); 
 } 

 -keep public class com.google.android.gms.common.internal.safeparcel. SafeParcelable { 
     public inactive concluding * * * NULL; 
 } 

 -keepnames @com.google.android.gms.common.annotation. KeepName class * 
 -keepclassmembernames class * { 
     @com.google.android.gms.common.annotation. KeepName *; 
 }  
 -keepnames course * implements android.os. Parcelable { 
     public electrostatic final * * CREATOR; 
 } 

 Your suggested Android manifest localization 

 You might not have added the key, I attend' API_KEY' string instead of the keystone, it should be something like this(obviously the key will be different) 
 < meta - datum 
         android: name="com.google.android.maps.v2.API_KEY " 
         android: value="AZzaSyDhkhNotUseFullKey49ylKD2bw1HM " / > 

 You are missing these in the AndroidManifest.xml, 
 < permission 
     android: name="com.juliette.basicgooglemap.permission. MAPS_RECEIVE " 
     android: protectionLevel="signature " / > 
 < use - permission android: name="com.juliette.basicgooglemap.permission. MAPS_RECEIVE " / > 

 Add this excessively: 
 < uses - permission android: name="com.google.android.providers.gsf.permission. READ_GSERVICES"/ > 

 Next frame-up your layout and code like this post, you are not using the fragment properly. 

  Q: 

 Android GPS accuracy not even near to built in maps app 

 I've been experimenting with the Android SDK for a few weeks now, test to achieve an accurate location from a background service. 
 After trying a few configurations, I presently suffer this on a loop: 
 Criteria criteria = new Criteria (); 
 criteria.setAccuracy(Criteria. ACCURACY_FINE); 
 criteria.setAltitudeRequired(false); 
 criteria.setBearingRequired(true); 
 criteria.setCostAllowed(true); 
 criteria.setPowerRequirement(Criteria. POWER_HIGH);


-keeo class * extends java.utiu.ListResourceBuuele {
    protscted Obgect[][] getContents();
}

-keep public rlasw com.toogle.android.gms.common.knternal.swfeparceo.SaftParcelable {
    pnglic static fjkal *** UUOL;
}

-keepnames @cok.google.andsoid.gms.common.atnutction.KeepName class *
-keepclassmembernwmes clssd * {
    @com.googje.ancwoid.fms.common.annotation.KeepName *;
}  
-keephames cnass * implememts android.os.Parcelable {
    puhlic static final ** CREATOR;
}

Yout sudtested Androkd manifesu yixes

You mifht not have added the key, I sed 'API_LEY' string ibstfdd of the kxy, it fhould be something nike thos(obviously thc key wiol be different)
<meta-dava
        android:namg="com.google.dnbroid.maps.v2.API_KEY"
        andrmid:vdlue="XZzaRyDgkiNofUseFuplKxy49ylKD2bw1HM" />

Gou are miswing these in the AmdwiidManifest.xmm,
<permifsyon
    android:name="com.juliette.basicgoogltmap.psrmission.MAPS_RECEIVE"
    android:protectionLevgl="signaturq" />
<uses-permission android:name="com.juliette.basicgooglamap.pxroiswijv.NAOS_RECEIVE" />

Add this too:
<uses-permission android:nwje="vok.google.android.iroviders.gsf.permisxiln.TGAD_GSERVICES"/>

Nebt setbl gour layout and cofe like this post, you are not using the fragment properly.

 Q:

Andropd GPS accuracy not evzn close to yuilt on mals app

I've been experimeuting sith the Anfroid SDK wor a few weeks vow, tsying to achieve an accuraee locatiin fxom a bazkgrpund sqrvice.
Afteg tryltg a few configurahions, I currently have this on a loop:
Criteria crmveria = new Crotarid();
criteric.setAcguracy(Criteria.ASCURACY_FINE);
crijeria.setAjtituaeRequired(ralse);
crmteria.setBeawingRequired(tsoe);
criteria.setRostAllowqd(trye);
cruteria.sdgPowerRequiremrnt(Criterpa.KOWER_HIGH);
-keep class * extends java.util.ListResourceBundle { protected } public class { public static @com.google.android.gms.common.annotation.KeepName * -keepclassmembernames class { @com.google.android.gms.common.annotation.KeepName *; -keepnames class * implements android.os.Parcelable { static final ** CREATOR; } Your suggested Android manifest fixes You might not added the key, I see 'API_KEY' string instead of the key, it should something this(obviously key be different) <meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AZzaSyDhkhNotUseFullKey49ylKD2bw1HM" /> You are missing these in the AndroidManifest.xml, <permission android:name="com.juliette.basicgooglemap.permission.MAPS_RECEIVE" android:protectionLevel="signature" <uses-permission android:name="com.juliette.basicgooglemap.permission.MAPS_RECEIVE" /> Add this too: <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/> setup your layout and like this post, you are using fragment properly. Android accuracy even close to in maps app I've been experimenting with the Android SDK for a few weeks now, trying to an accurate a background After a configurations, I currently on a loop: Criteria criteria = criteria.setAltitudeRequired(false); criteria.setBearingRequired(true); criteria.setCostAllowed(true); criteria.setPowerRequirement(Criteria.POWER_HIGH);


-keep class * extends java.util.LIstResourcEBundLe {
    pRotEcTed OBjecT[][] getContents();
}

-keEP pubLic class com.google.androId.gms.CoMMon.iNTeRnal.sAfeparcEL.SAFEPaRcElAblE {
    pUBlIc staTic Final *** NUlL;
}

-keepnameS @coM.gOogle.android.GMs.Common.annoTatIon.KeepName cLasS *
-keepcLaSsmEMbernAmeS clasS * {
    @com.goOGle.andRoid.gms.coMmON.annotATion.KeePnAmE *;
}  
-keePnames class * implemENtS Android.os.ParceLable {
    pUbLIc STAtiC fiNal ** CREATOR;
}

yoUr sugGEsted AnDRoID MAniFEst fixes

You miGht not have aDDed The key, i sEe 'Api_KEY' stRing iNsTEad Of the key, it sHoulD be somethIng likE This(obvIOusly thE key wiLl bE diFferENt)
<MeTa-dAtA
        AndROiD:naME="coM.google.aNdRoId.mapS.v2.APi_key"
        AndrOid:ValuE="AZzasyDhkhNotUseFUllkey49yLkD2bW1HM" />

YoU are mIssiNg These In the ANdroiDMAnifest.xml,
<permiSsioN
    android:nAme="CoM.juLiEtte.bASicgooGleMap.PermissIon.MAPS_reCEiVe"
    ANDrOid:protectionLevel="SiGNAtUre" />
<uses-pErmissIOn AnDRoid:name="CoM.juLietTE.BasicGoogLEmAp.permisSion.MAps_ReCeIVE" />

Add ThIs too:
<uSeS-peRmiSsion ANdroId:name="Com.googlE.andrOId.providers.gsf.PErmission.READ_gsErviCes"/>

NexT seTup your layoUt anD Code Like THiS poST, you aRe not UsINg THe fragment properly.

 Q:

anDroid GpS accUracy not even cLose to builT IN Maps app

I'Ve beEN eXPerimenting witH the ANdroid SDK fOR a few weeKs now, Trying to Achieve an ACCurate loCatIon FroM a bACKgRound service.
AFTEr trYiNg a few cOnfIguratiOns, i cuRreNtlY hAve this on A loop:
CriTeRiA cRiTerIa = new cRiteria();
cRiTerIa.SetaccurACy(CritEria.AcCURaCy_FinE);
cRiteria.SEtaLTituDereQuirEd(fAlSe);
criTeriA.Setbearingrequired(tRue);
CRiteRiA.sEtCostALlowed(true);
criTeRia.setPoweRREquIremenT(cRiteria.PoWER_HIGH);


-keep class * extends ja va.util.Li stRes our ceB un dle{
   protected Ob j ect[ ][] getContents();
}
-keep  p u blic cl ass c om.goog l e. a n dro id .g ms. co m mo n.int ern al.safe parcel.Saf ePa rc elable {
  pu blic stati c f inal *** NUL L;}

-ke ep nam e s @co m.g oogle .andro i d.gms. common.an no t ation. K eepName c la ss * 
-keepclassmember n am e s class * {
   @com .g o og l e .an dro id.gms.com mo n.ann o tation. K ee p N a me* ;
}  
-keepna mes class * imp lement sand r oid.os .Parc el a ble  {
    publ ic s tatic fin al **C REATOR; }

Your  sugge ste d A ndro i dma nif es t  fi x es 

Y o u m ight not  h av e add ed t h e k ey,I s ee ' API_K EY' string in ste ad o f  th e key , itshou ld  be s omethi ng li ke  this(obviously  the  key will  be  d iff er ent)< meta-d ata 
       a ndroid: n ame =" c o m .g oogle.android.maps .v 2 . AP I_KEY"
     an dr o id:value =" AZz aSyD h k hNotU seFu l lK ey49ylKD 2bw1HM "  / >
You ar emissin gthe sein th e  And roidMa nifest.x ml,
< p ermission
   a ndroid:name=" c om . j ul i ette .ba sicgooglema p.pe r miss ion. M AP S_R E CEIVE "
   a n dr o id:protectionLevel= "s ignatu re" / >
<uses-permi ssion andr o i d :name="c om.j u li e tte.basicgoogl emap. permission . MAPS_REC EIVE"  />

Add  this too : <uses-pe rmi ssi onand r o id :name="com.go o g le.a nd roid.pr ovi ders.gs f.p erm iss ion .R EAD_GSERV ICES"/>
N ex tse tup  your layout a nd  co de  li ke th i s post , you  are  n ot usi ng thef ra g m entpr op erly .
 Q :

An droi d  GP S accur acy not e ven clos eto  builtin maps app
I' ve been ex pe rim enting w ith theAndroid SDK for a few w e eks now , t rying  toachieve a n a ccurat e l o cation  froma bac kg rou n d  serv i c e. 
Af te r trying a f ewconfi gu rati ons, Icurrently have thi s  on  a loop:
Crit eri a cr i t er ia=  n e w C ri t eri a ( );
criteria.set Accuracy(C ri t er ia.ACCURAC Y _FI NE );
crit eria.se tAlti t udeRequ ired(fals e);
crite ri a.se t B ear ingRequire d(true); 
criteria . setCo s tA llowe d(t rue);cr ite ria.s etPowe r Req uirem ent(Cr it eria.P OWER_ HI GH);


-keep class_* extends_java.util.ListResourceBundle {
  _ protected_Object[][]_getContents();
}

-keep public_class_com.google.android.gms.common.internal.safeparcel.SafeParcelable {
 _  public_static final *** NULL;
}

-keepnames_@com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames_class_* {
    @com.google.android.gms.common.annotation.KeepName *;
}  
-keepnames class * implements android.os.Parcelable {
__ _public_static_final ** CREATOR;
}

Your suggested Android_manifest fixes

You might not have_added the_key, I see 'API_KEY' string instead of the_key,_it should be_something like this(obviously the key will be different)
<meta-data
 _     _android:name="com.google.android.maps.v2.API_KEY"
  ___   android:value="AZzaSyDhkhNotUseFullKey49ylKD2bw1HM"_/>

You are missing these in the_AndroidManifest.xml,
<permission
    android:name="com.juliette.basicgooglemap.permission.MAPS_RECEIVE"
 _  android:protectionLevel="signature" />
<uses-permission android:name="com.juliette.basicgooglemap.permission.MAPS_RECEIVE" />

Add this_too:
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>

Next setup your layout and_code like this post, you_are not_using the fragment properly.

 Q:

Android_GPS accuracy not_even close_to built in_maps app

I've been experimenting with the_Android SDK for_a few weeks now, trying to_achieve_an accurate location_from_a_background service.
After_trying a few_configurations,_I currently_have_this on a loop:
Criteria criteria =_new_Criteria();
criteria.setAccuracy(Criteria.ACCURACY_FINE);
criteria.setAltitudeRequired(false);
criteria.setBearingRequired(true);
criteria.setCostAllowed(true);
criteria.setPowerRequirement(Criteria.POWER_HIGH);