[android-beginners] Re: connection to a distant socket server

2008-09-05 Thread v3n3
Thx megha it's working fine now ! On 5 sep, 11:30, Megha Joshi [EMAIL PROTECTED] wrote: 2008/9/4 v3n3 [EMAIL PROTECTED] thank for your reply, i can connect to internet without anyproblem and without any proxy. when i set the android.permision.INTERNET,  i've got those line in the

[android-beginners] How to upload files to Android emulator? How to prepare MediaPlayer?

2008-09-05 Thread Urakagi
Hi, I've spent 5 hours but still can't find out. My situation is: I want to play a video file, so I use VideoView. Then VideoView requires a file name or an URI, but I have no idea what it is. I have a local video file, but I don't know how to make it visible by VideoView. I tried DDMS, but it

[android-beginners] How to upload files to Android emulator? How to prepare MediaPlayer?

2008-09-05 Thread Urakagi
Hi, I've spent 5 hours but still can't find out. My situation is: I want to play a video file, so I use VideoView. Then VideoView requires a file name or an URI, but I have no idea what it is. I have a local video file, but I don't know how to make it visible by VideoView. I tried DDMS, but it

[android-beginners] When dexing the classes to apk format file, it is said out of memory error

2008-09-05 Thread [EMAIL PROTECTED]
Hi, experts I ever wrote a project using android, the whole package includes about 500 java files. With last android version, I ran it successfully and got the right result. Now, I change to use the latest version: android-sdk- windows-0.9_beta.zip. I don't make any changes in the

[android-beginners] Re: How to upload files to Android emulator? How to prepare MediaPlayer?

2008-09-05 Thread Romain Guy
Have you tried pushing the file in /data? On Fri, Sep 5, 2008 at 12:27 AM, Urakagi [EMAIL PROTECTED] wrote: Hi, I've spent 5 hours but still can't find out. My situation is: I want to play a video file, so I use VideoView. Then VideoView requires a file name or an URI, but I have no idea

[android-beginners] Re: adding Scroll bar

2008-09-05 Thread Mark Murphy
Imran wrote: Hi How to add Scroll Bar to TextView. ? android:singleLine=false in your layout XML will allow for multi-line entry, which should allow for scrolling automatically if I remember correctly. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide

[android-beginners] Re: When dexing the classes to apk format file, it is said out of memory error

2008-09-05 Thread Mark Murphy
[EMAIL PROTECTED] wrote: Do I need to make the heap space larger? If so, how can I make it larger? Thanks! In the tools/ directory of the SDK distribution is dx (on Linux) or dx.bat (on Windows), which I believe is the program that is giving you grief. My BASH-fu is weak, but it would

[android-beginners] Re: OpenGL sample code

2008-09-05 Thread Ed Burnette
There's also an OpenGL example at http://www.pragprog.com/titles/eband/source_code . It draws a rotating cube with the Android robot textured on each face. -- Ed Burnette http://www.pragprog.com/titles/eband/hello-android Hello, Android: Introducing Google's Mobile Development Platform -- now

[android-beginners] Re: porting from m5 to 0.9: app fails to start Activity

2008-09-05 Thread Megha Joshi
Did you launch emulator with -wipe-data? Can you provide the logcat output? You are also missing the uses-library tag for maps Api in your AndroidManifest.xml. 2008/9/4 [EMAIL PROTECTED] [EMAIL PROTECTED] Hi all, I'm porting an app which runs well under m5 to 0.9 using Eclipse with ADT on

[android-beginners] findViewById() returns NULL

2008-09-05 Thread DavidN
I was getting a null exception in my onCreate() until I found that I had to move that method call _after_ the setContentView(R.layout.main), just in case anyone else has this same problem. Don't understand the reason why, but just in case anyone gets this (and then googles for it), this is a

[android-beginners] Re: Android in Canada

2008-09-05 Thread DavidN
I'm not aware of any actual Android devices for sale as of yet. Everyone is eagerly awaiting the release of the HTC Dream which is rumored to become available in Oct, but then second half of this year but then there were other rumors that not till Q1 next year. So who knows. Until then, you can

[android-beginners] Re: findViewById() returns NULL

2008-09-05 Thread Mark Murphy
DavidN wrote: I was getting a null exception in my onCreate() until I found that I had to move that method call _after_ the setContentView(R.layout.main), just in case anyone else has this same problem. Don't understand the reason why, but just in case anyone gets this (and then googles for

[android-beginners] Android email client

2008-09-05 Thread Christine
There's a messaging client on the Android, is the source available? Or else, is it possible to write a plugin for that messaging client? Where do I find an API? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Re: porting from m5 to 0.9: app fails to start Activity

2008-09-05 Thread Mark Murphy
[EMAIL PROTECTED] wrote: A) I tried adding (no luck) the following for the uses-library tag. Is this anywhere near correct? uses-librarycom.google.android.maps/uses-library Try: uses-library android:name=com.google.android.maps / It should appear inside your application element. --

[android-beginners] Re: Android email client

2008-09-05 Thread Christine
How does this email client work? I can type a subject, but that's about all. I see the To: line, but I can't type there, nor in the message box. The box below says open the keyboard to compose message, but the keyboard is already displayed. Is there a hidden key?

[android-beginners] Re: porting from m5 to 0.9: app fails to start Activity

2008-09-05 Thread Megha Joshi
Add uses-permission android:name=android.permission.INTERNET / above the application tag. 2008/9/5 [EMAIL PROTECTED] [EMAIL PROTECTED] Ok, that makes a /major/ difference: The app actually gets started, and a centerpoint for the map appears. However, no map actually is shown. A diagonal

[android-beginners] Re: findViewById() returns NULL

2008-09-05 Thread DavidN
Ok, makes sense. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to

[android-beginners] Re: porting from m5 to 0.9: app fails to start Activity

2008-09-05 Thread [EMAIL PROTECTED]
Great! That brings up the map. Should all of my uses-permision tags be above the application tag?? --Ken On Sep 5, 7:24 pm, Megha Joshi [EMAIL PROTECTED] wrote: Add  uses-permission android:name=android.permission.INTERNET / above the application tag. 2008/9/5 [EMAIL PROTECTED] [EMAIL

[android-beginners] Re: porting from m5 to 0.9: app fails to start Activity

2008-09-05 Thread Megha Joshi
2008/9/5 [EMAIL PROTECTED] [EMAIL PROTECTED] Great! That brings up the map. Should all of my uses-permision tags be above the application tag?? They should be outside the application tag and inside manifest tag. The AndroidManifest editor adds them below the application tag. --Ken On

[android-beginners] Re: porting from m5 to 0.9: app fails to start Activity

2008-09-05 Thread [EMAIL PROTECTED]
Megha.thanks. Is there any sample code for handling Overlays in the new SDK? I previously used OverlayController, which is now gone. I now add my QuesterOverlay (extends Overlay) as follows: QuesterOverlay qOverlay = new QuesterOverlay(this, _mapView); ListOverlay overlays

[android-beginners] emulator help

2008-09-05 Thread seanyborny123
I tried to test a program in the emulator from eclipse and it starts up i see the picture of the phone everything seems fine except it just says android on the screen and does not boot the program. I was trying to boot the hello android tutorial program.