[android-developers] Re: Call out to the community about the poor quality of Android's error messaging
Thanks Anil. I was hoping to get the Java source code for classes like the MediaPlayer, LinearLayout, such. Much appreciate the pointer to the Emulator code though. Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Call out to the community about the poor quality of Android's error messaging
Sadly the source isn't located at that page, but if someone has access to the source code, then please send me the link to it. We won't have to worry about poor error messaging if we can go directly into the Android source code to track down the root of the problem. The best way for us to learn how to better program in Android will be having access to the design philosophy coding logic that the Android team is following. Of course, someday we'll have a library of books written on Android's design philosophy, but until then, we need to discover it ourselves by reading through the code. Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Call out to the community about the poor quality of Android's error messaging
Hi ank, Good question. My m5-RC14 version of the SDK doesn't include an APIDemos.apk file so you may need to create it using Eclipse and then push it using the info outlined here. On the other hand, I did accidentally delete my APIDemos from the Emulator and simply deleted my Android folder and started over again. To fully delete the Android install, you'll need to delete one of the other directories it creates outside the install folder. See this thread: http://groups.google.com/group/android-beginners/browse_thread/thread/f846f460bf26c983/a3d0cea219a298d8?lnk=stq=appdata+local+android#a3d0cea219a298d8 Lastly, if you have found the apiDemos.apk and simply want to push it to the Emulator, then do this: 1) Quit out of any running app by clicking the home button. 2) run this command: adb install path-to-apk/apiDemos.apk 3) Note: Seeing the new applications sometimes requires restarting the Emulator as app manager sometimes only reads manifests on start. Best, Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: MediaPlayer example: Has anyone been able to stream an .mp4 file yet?
Got a solution here...I was able to successfully stream a .mp4 file. Turns out my .mp4 file was not contain progressive streamable content. I'm still trying to determine how to convert all my .mp3 files so they contain progressive streamable content. Even anyone has a software conversion recommendation, then please email to me using the Reply to Author button below. Megha Joshi discusses this req in more detail here: http://groups.google.com/group/android-challenge/msg/114f11e31351840d Here's a .mp4 files that is : path = http://kosmaj.sakura.ne.jp/vids/cm/copy_cm.mp4;; Kosmaj posted the link above and talks a little more about it here: http://groups.google.com/group/android-developers/browse_thread/thread/6162d55b73916083/3c3d4479be7f7ca0#3c3d4479be7f7ca0 Cheers, Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to setup a server for streaming audio files
Thanks very much for the link to your .mp4 file. I was able to use it to get the MediaPlayer example working. I still need to convert my .mp3 files into .mp4 compatible files though. Any idea how to do this? I was using Easy CD/DA Extractor but that doesn't produce files in the correct format. Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: MediaPlayer example: Has anyone been able to stream an .mp4 file yet?
I decided to take matters into my own hands and to write my own streaming utility for the MediaPlayer. I created a tutorial on my solution and posted everything including source code onto my blog: blog.pocketjourney.com. Please check it out leave a comment on my blog if you have questions. Best of luck, Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Any one tried uisng mediaplayer example ,I ma unable to play video file from local directory
Hi guys, I decided to write my own streaming utility for the MediaPlayer. My solution is now documented as a tutorial on my blog including including source code: blog.pocketjourney.com. Please check it out leave a comment on my blog if you have questions. Best of luck, Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to setup a server for streaming audio files
Still no luck streaming the audio using the built-in MediaPlayer functionality so I decided to write my own streaming utility for the MediaPlayer. My solution is now documented as a tutorial on my blog including including source code: blog.pocketjourney.com. Please check it out leave a comment on my blog if you have questions. Best of luck, Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Call out to the community about the poor quality of Android's error messaging
Yeah...the Challenge deadline is growing closer, so I needed to spread a a little feedback to the Android team about the many days I've just spent working around issues in the API. OK...first off...some of those issues were mine but my biggest waste of time has been tracking down error messaging like Null, IOException, The error messaging on the MediaPlayer in particular has been killing me these last few days but the error messaging throughout the entire API in general is AWFUL. I would like the Google team to please realize that..while yes this is a pre-alpha release...many of us are wasting many precious hours of our spare time on this project and do not have the benefit of the source code that will someday be available. SO it woudl be great if they would please update their error messaging to give us a clearer idea of just what has happened rather than blank messages or simple null statements. If you feel the same way, then please echo your thoughts on Android's error messaging. Biosopher --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Quality of audio sound in MediaPlayer
I couldn't get a .ogg file to play, but from what I've heard, the quality is fairly low. Does anyone know how to setup a streaming server? I've looked for info on adding streaming functionality to my Tomcat server but can't find any info Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to setup a server for streaming audio files
I've spent over an hour looking for a way to add an .mp4 streaming web service to my Tomcat server but can't find any information. Could someone explain to me how we're supposed to setup such a server as streaming .mp4 files seems to be Android's only fully supported audio function. Also...has anyone successfully streamed .mp4 files to Android? What is the quality like? If it's not better than playing my .mp3 files off the local drive then I'll just wait until the performance improves. Nonetheless though, I would greatly appreciate ANY info on how to setup a streaming web service for my Tomcat server? Thanks, Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: How to setup a server for streaming audio files
Thanks...I was able to access the .mp4 I created using IE FireFox but still cannot get the MediaPlayer to stream the .mp4 file. I'm even using the example MediaPlayer files provide by the Google team but STILL NO LUCK. Has anyone got the MediaPlayer examples to stream .mp4 files I currently get this error: ERROR/MediaPlayer(596): error: null ERROR/MediaPlayer(596): java.io.IOException ERROR/MediaPlayer(596): at android.media.MediaPlayer.prepare(Native Method) ERROR/MediaPlayer(596): at com.google.android.samples.media.MediaPlayer_Video.playVideo(MediaPlayer_Video.java: 87) ERROR/MediaPlayer(596): at com.google.android.samples.media.MediaPlayer_Video.access $1(MediaPlayer_Video.java:58) ERROR/MediaPlayer(596): at com.google.android.samples.media.MediaPlayer_Video $1.onClick(MediaPlayer_Video.java:101) ERROR/MediaPlayer(596): at android.view.View.performClick(View.java:1857) ERROR/MediaPlayer(596): at android.view.View.onTouchEvent(View.java:2966) ERROR/MediaPlayer(596): at android.widget.TextView.onTouchEvent(TextView.java:2850) ERROR/MediaPlayer(596): at android.view.View.dispatchTouchEvent(View.java:2706) Curiously, the MediaPlayer example doesn't even seem capable of streaming an mp4 file out of the box as the url is sets for the MediaPlayer is just : path = http://;; I updated it to point to my file here: path = http://www.pocketjourney.com/audio.mp4;; But still NO SUCCESSyes the capital letters indicate that this lack of even basic audio support has been the biggest waste of my time for my Android project. Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: MapView inside ScrollView doesn't move right
I don't use a MapView within a ScrollView. My understanding is that the MapView handles its own scrolling. You can see working examples of MapViews in my tutorials here: blog.pocketjourney.com Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: MediaPlayer example: Has anyone been able to stream an .mp4 file yet?
Please feel free to test your working code against my .mp4 file if your code works. It's possible there's something wrong with my .mp4 file, but I doubt it. Thanks...again! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Developers Challenge!
Example: Humanitarian aid workers could use an Android-enabled to: 1) Better coordinate track the delivery of food/medicine. 2) Document humanitarian crises genocide like Darfur 3) I.e. the people living on $2/day could indirectly benefit from other's having Android phones. Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Layout_Weight wierdness with ListView and Buttons (within vertical orientation LinearLayout)
OKbut... (a) how are we supposed to know when to use layout_height=0dip and (b) why does setting layout_height=0dip magically solve the problem? Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Quality of audio sound in MediaPlayer
Has anyone found a way to play high (even 'moderate') quality audio through the MediaPlayer? MediaPlayer current plays my .mp3 files with incredibly low quality sounds (even though the file is not being streamed). Do any of the other formats sound better...MPEG 4...? Thanks, Anthony --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---