Back to project page Antares.
The source code is released under:
Apache License
If you think the Android project Antares listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.takac_j30.antares; /* ww w .ja v a 2s. c o m*/ import twitter4j.User; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import com.loopj.android.image.SmartImageView; public class Account extends Activity { TextView name, scName, tweets, follows, followers, favorites; SmartImageView icon, header; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.account); User user = MainActivity.user; name =(TextView) findViewById(R.id.ProfName); scName =(TextView) findViewById(R.id.ProfScreenName); icon =(SmartImageView) findViewById(R.id.ProfIcon); header =(SmartImageView) findViewById(R.id.ProfHeader); tweets =(TextView) findViewById(R.id.ProfTweets); follows =(TextView) findViewById(R.id.ProfFollows); followers =(TextView) findViewById(R.id.ProfFollowers); favorites =(TextView) findViewById(R.id.ProfFavorites); name.setText(user.getName()); scName.setText(user.getScreenName()); icon.setImageUrl(user.getOriginalProfileImageURL()); header.setImageUrl(user.getProfileBannerURL()); tweets.setText(String.valueOf(user.getStatusesCount())); follows.setText(String.valueOf(user.getFriendsCount())); followers.setText(String.valueOf(user.getFollowersCount())); favorites.setText(String.valueOf(user.getFavouritesCount())); } }