Tencent Weibo Xiaoqingxin client source code download

Tencent Weibo Xiaoqingxin client source code download

Functional category: Social

Supported platforms: Android

Operating environment: Eclipse

Development language: Java

Development tool: Eclipse

Source code size: 7.16MB

Source code download address: http://down..com/data/1975234

Source code introduction

Tencent Weibo Small Fresh Client

Source code running screenshot

  • Run screenshot
  • Run screenshot

Source code snippet

  1. @Override  
  2. public   void onClick(View v) {
  3. if (v.getId() == R.id.button1) {
  4. Builder dialog= new AlertDialog.Builder(homeActivity);
  5. dialog.setTitle( "About" );
  6. dialog.setMessage( "Stupid Weibo, thanks for your support" );
  7. dialog.setNegativeButton( "Cancel" , null );
  8. dialog.show();
  9. } else   if (v.getId() == R.id.button2) {
  10. ImageLoader imageLoader = ImageLoader.getInstance();
  11. imageLoader.clearMemoryCache();
  12. imageLoader.clearDiscCache();
  13. Toast.makeText(homeActivity, "Cleared successfully" , Toast.LENGTH_SHORT).show();
  14. } else   if (v.getId() == R.id.button3) {
  15. // Clear authorization information  
  16. Util.clearSharePersistent(homeActivity.getApplicationContext());
  17. // Jump to LoginActivity  
  18. startActivity( new Intent(homeActivity, LoginActivity. class ));
  19. homeActivity.overridePendingTransition(R.anim.in_from_left,
  20. R.anim.out_to_right);
  21. homeActivity.finish();
  22. } else   if (v.getId() == R.id.button4) {
  23. System.exit( 0 );
  24. }
  25. }

Source code download address: http://down..com/data/1975234

<<:  Google Chrome Remote Desktop is now available on iOS

>>:  Novel Reading Network: How does Tingyun Server ensure the performance of a high-concurrency website with tens of millions of users?

Recommend

Are you a seventh-stage programmer?

[[130300]] Preface A programmer's programming...

How did two tech novices sell their e-commerce startup for millions of dollars?

[[145849]] In October 2013, my partner and I were...

Did you know that glasses cloth is not used to clean glasses?

I believe that many friends who wear glasses do t...

Anemia, what are the misunderstandings about iron supplementation

Iron is an important essential trace element for ...

What is 404 not found? How to solve 404 not found?

For many novice website builders, when building a...

How do new media operators choose promotion channels?

Recently, I saw a very thought-provoking question...