Passing Data Properly In Android?
I have this in my first activity: private AdapterView.OnItemClickListener _itemClickLis = new OnItemClickListener() { public void onItemClick(AdapterView pare
Solution 1:
You do not have to do it in the onCreate()
method, but why not? Where else would you put it?
If you are looking for any sort of documentation, I would recommend checking out the Android Developers Java(Android)Doc. The Android Developers have a great site in general, all about Android. I think a good place to start with Android Audio/Video is here.
Generally, you would set up the layout of your MediaPlayer interface (Play/Pause buttons and views) in onCreate()
and also setup your click/touch listeners to be executed when input is received.
For a first programming course, it looks like you are doing pretty well. Good Luck!
Post a Comment for "Passing Data Properly In Android?"