Skip to content

Conversation

@AdityaShirole
Copy link

No description provided.


public int len_all_sms = 0;
public int Count=0;
private static final String TAG = MainActivity.class.getSimpleName();
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you log anything, use TAGs to allows categorization and sorting and filtering later on.

eg-
Log.i("MainActivity","Some Msg"); will become Log.i(TAG,"Some Msg");

In each Activity, define the TAG string variable using private static final String TAG = MainActivity.class.getSimpleName();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant