Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. ...
  2. //Creating an instance of some service that your app relays on,
  3. //Twitter, Facebook, Google, etc
  4. //This service costs money to use
  5. return new ExpensiveServiceThatMyAppUses.Builder()
  6. .initWithKey("s3cr3t_k3y_f0r_hackz0rz"); // DON'T HARDCODE THE VALUE
  7. .someConfig(true)
  8. .build();
  9.  
  10. ...
  11. //AndroidManifest.xml
  12.  
  13. //We want to use google maps in our app
  14. <meta-data
  15. android:name="com.google.android.geo.API_KEY"
  16. android:value="kx23x234x4x234kjfd9845n" /> // DON'T HARDCODE THE VALUE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement