private GoogleMap mMap; // Create a LatLngBounds that includes Australia. privateLatLngBoundsAUSTRALIA=newLatLngBounds( newLatLng(-44, 113), newLatLng(-10, 154));
// Set the camera to the greatest possible zoom level that includes the // bounds mMap.moveCamera(CameraUpdateFactory.newLatLngBounds(AUSTRALIA, 0));
publicclassUserGlobalAppextendsApplication{ privatestatic UserGlobalApp application; privatefinalstaticStringdbName="HiJia"; //数据库名字 /** A flag to show how easily you can switch from standard SQLite to the encrypted SQLCipher. */ publicstaticfinalbooleanENCRYPTED=false; //改为true需要加入包compile 'net.zetetic:android-database-sqlcipher:3.5.1' private DaoSession daoSession; @Override publicvoidonCreate() { super.onCreate(); application=this; initDb(); }