-
Don't blindly accept that Google's approach to Android development is always the right way. Judge for yourself what the right approach is (often times it is Google's approach) based on your requirements and solution.
-
Be comfortable with examining the Android source code. It's not magic, there's always an answer. Helps you solve problems that would otherwise show up on Stackoverflow.
-
Be multi-discipline. Android can be your focus, but develop for other platforms and use other languages.
-
Master the tools. Make it work for you.
-
Be resourceful. Know when and why a library is the right choice over writing your own solution.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.annotation.SuppressLint; | |
import android.media.MediaCodec; | |
import android.media.MediaExtractor; | |
import android.media.MediaFormat; | |
import android.media.MediaMetadataRetriever; | |
import android.media.MediaMuxer; | |
import android.util.Log; | |
import java.io.IOException; | |
import java.nio.ByteBuffer; |