Esempio n. 1
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(getLayout());
   InitializeViews();
   o =
       new DisplayImageOptions.Builder()
           .showStubImage(R.drawable.loading)
           .showImageForEmptyUri(R.drawable.widget_dface)
           .cacheInMemory()
           .cacheOnDisc()
           // .displayer(new RoundedBitmapDisplayer(5))
           .build();
   startReceiver();
   InitaializeData();
   // GetUserFollowingBuildings(Integer.valueOf(CurrentAccount.getId()), buildingsHandler);
 }
Esempio n. 2
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(getLayout());
   savePath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/21LINJU/Camera/";
   tmpImageFilePath = savePath + "avator" + System.currentTimeMillis() / 1000L + ".jpeg";
   o =
       new DisplayImageOptions.Builder()
           .showStubImage(R.drawable.loading)
           .showImageForEmptyUri(R.drawable.widget_dface)
           .cacheInMemory()
           .cacheOnDisc()
           // .displayer(new RoundedBitmapDisplayer(5))
           .build();
   InitializeViews();
   LocadLocalData();
   GetUserFollowingBuildings(Integer.valueOf(CurrentAccount.getId()), buildingsHandler);
 }