Skip to content Skip to sidebar Skip to footer

How To Log A Method In Android?

I am trying to see a log of my publishProgress() call in the Asyncktask class below. To see if it actually is calculating anything while it progresses. As it stands I have a progre

Solution 1:

Try to match the variable types between publishProgress & onProgressUpdate parameters

protected void onProgressUpdate(float... values)

or

publishProgress((Integer)(nTotalSize/nUploadSize)*100); 

Post a Comment for "How To Log A Method In Android?"