[android-beginners] Re: MediaPlayer video playback problem

2008-10-27 Thread [EMAIL PROTECTED]
Hi, yup I tried adding the call back (did nothing important in the call back methods though, would like to know what should I do there?) I also set the type of the holder to getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); still the same problem my last try used the asynchronous vers

[android-beginners] Re: problems installing the sample NotePad application from the web

2008-10-27 Thread Sunit Katkar
Another user has found a solution.. his email --> fromEd <[EMAIL PROTECTED]>[EMAIL PROTECTED] toAndroid Beginners dateMon, Oct 27, 2008 at 9:33 AMsubject[android-beginners] Re: NotePad sample app fails to install over the webmailing list< android-beginners.googlegroups.com> Filter messages from th

[android-beginners] Re: Android application stopped unexpected ly

2008-10-27 Thread Sunit Katkar
Unless you post your code its difficult to tell you why its behaving as you observed. On Mon, Oct 27, 2008 at 1:50 PM, Shuvo <[EMAIL PROTECTED]> wrote: > > Hi I am Rejwan , new in the world of Android. > > I use Eclipse Ganymede to write Android code . > > In a particular application , It compile

[android-beginners] Re: NotePad sample app fails to install over the web

2008-10-27 Thread Sunit Katkar
Shameless self promotion :-) http://sunitkatkar.blogspot.com/ - Android OS Tutorials On Mon, Oct 27, 2008 at 1:24 PM, Ro9u3 <[EMAIL PROTECTED]> wrote: > > Where's a good place to start learning to write apps? > > On Oct 26, 9:43 pm, jsera <[EMAIL PROTECTED]> wrote: > > It installs fine on my G1 u

[android-beginners] Re: MediaPlayer video playback problem

2008-10-27 Thread guna
Hi, Did you included addcallback method of the holder? Try setType of holder too... Thanks, Guna On Oct 26, 12:13 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I've been trying to play videos obtained as a raw resource, here is > what I did > MediaPlayer mp = new MediaPlayer(); >

[android-beginners] Re: SimpleCursorAdapter questions

2008-10-27 Thread jtaylor
Look at the main notepad tutorial. http://code.google.com/android/intro/tutorial-ex1.html So it's FROM the DB columns TO the visual TextView. - Juan On Oct 25, 7:17 am, Frew <[EMAIL PROTECTED]> wrote: > Hi! > > Let me explain what I am trying to do before I explain my problem. > I'd like to ha

[android-beginners] proxy settings for emulator

2008-10-27 Thread Chihau Chau
I want to set a proxy server for my android emulator but the setting doesn't work. I have tried with "./emulator -http-proxy proxy.ucv.cl:8080" but I don't have access to internet -- Chihau Chau --~--~-~--~~~---~--~~ You received this message because you are s

[android-beginners] Re: https://dl-ssl.google.com/android/eclipse/ not found

2008-10-27 Thread Sheida S.
Thanks Sunit, I tried that and it didn't work. But then I tried the following instruction and it worked. Basically I downloaded the plugin and then did an "install" from the archive.   Here is the steps:   If you are still unable to use Eclipse to download the ADT plugin, follow these steps to d

[android-beginners] Re: https://dl-ssl.google.com/android/eclipse/ not found

2008-10-27 Thread Sunit Katkar
Try same URL without the https. Just use http. On Mon, Oct 27, 2008 at 2:21 PM, Sheida <[EMAIL PROTECTED]> wrote: > > Hi there, > > Can someone tell me where I can find the android plug in for Eclipse. > This site is not available anymore and I can't find a more newer site > anywhere. > > Thank y

[android-beginners] Re: displaying a simple MessageBox

2008-10-27 Thread Sunit Katkar
Please look here http://code.google.com/android/reference/android/app/AlertDialog.html Just navigate this URL and you will get the help on the entire SDK - Sunit http://sunitkatkar.blogspot.com/ - Android Tutorials On Mon, Oct 27, 2008 at 6:02 AM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: >

[android-beginners] Re: exception OutOfMemoryError

2008-10-27 Thread AaronBC
Got help from IRC. I need to unregister the sensor when the activity is exited. That fixed the problem. On Oct 27, 1:17 pm, AaronBC <[EMAIL PROTECTED]> wrote: > I have 2 Activities, one is a main menu which will eventually have a > list of multiple items (it currently only has 1 item).  When I

[android-beginners] Re: Thread - Runnable interface OR object

2008-10-27 Thread polo777
Ok Romain. Thanks a lot for your answer (really fast)! On Oct 27, 2:08 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote: > You are not instantiating it. By writing this piece of code, you are > creating an anonymous class that implements the Runnable interface. > That's why you see the run() method in

[android-beginners] https://dl-ssl.google.com/android/eclipse/ not found

2008-10-27 Thread Sheida
Hi there, Can someone tell me where I can find the android plug in for Eclipse. This site is not available anymore and I can't find a more newer site anywhere. Thank you Sheida. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[android-beginners] Re: Thread - Runnable interface OR object

2008-10-27 Thread Romain Guy
You are not instantiating it. By writing this piece of code, you are creating an anonymous class that implements the Runnable interface. That's why you see the run() method inside: you are implementing it. It's a very common pattern with interfaces in Java. On Mon, Oct 27, 2008 at 2:04 PM, polo77

[android-beginners] Thread - Runnable interface OR object

2008-10-27 Thread polo777
Hi, My question is regarding the Runnable interface. This "Runnable" stuff is described as an interface in the docs nevertheless it can be instantiated that is surprising for me. Runnable getAllClips = new Runnable() { public void run() { } }; As far as I am

[android-beginners] Android application stopped unexpected ly

2008-10-27 Thread Shuvo
Hi I am Rejwan , new in the world of Android. I use Eclipse Ganymede to write Android code . In a particular application , It compiles fine . But while I add some button actions (OnClickListener) it shows "Application xyz ( process abc.cda.dab ) stopped unexpectedly " . But when I remove those c

[android-beginners] exception OutOfMemoryError

2008-10-27 Thread AaronBC
I have 2 Activities, one is a main menu which will eventually have a list of multiple items (it currently only has 1 item). When I click on that item it starts a new Activity like this: i = new Intent(this,PlayActivity.class); startActivity(i); The new Activity shows and ImageView like this: p

[android-beginners] buggy Android phone (Tmobile g1)

2008-10-27 Thread solid
I have some issues with the android email client. 1) the SSL setup is not intuitive. I cannot get my client to accept my server's self signed cert unless I select "SSL when available" for the SSL security option. Otherwise I get "Not a trusted Certificate" error. I set my security setting as "S

[android-beginners] Android apps

2008-10-27 Thread [EMAIL PROTECTED]
I have a few questions for anyone regarding the Android platform: *How do I check my Comcast e-mail on the phone? I don't ever use Gmail. *Can I view PDF or *.lit files on this phone? *Can I click a contact and then get driving directions to his/her house? Suggestions: *Facebook app - similar t

[android-beginners] Need a clear Camera picture taking example

2008-10-27 Thread Alvin Yates
Pretty self explanatory. I'm just looking for a clean, simple example of making a preview frame and taking a picture on key-press using SDK 1.0. It's hard to figure out the Camera API when all the examples I find are out-dated and don't seem to work. Bonus for audio recording as well. --~--~---

[android-beginners] Re: NotePad sample app fails to install over the web

2008-10-27 Thread Ro9u3
Where's a good place to start learning to write apps? On Oct 26, 9:43 pm, jsera <[EMAIL PROTECTED]> wrote: > It installs fine on my G1 using adb, but even after compiling a > release version, and signing it properly, if I try downloading and > installing from my web server, it fails. > > The only

[android-beginners] setContent(intent) doesn't work in TabHost

2008-10-27 Thread Hw3699
I tried to use setContent() to get an activity in TabHost, but it failed. The detail codes are followed: import android.app.Activity; import android.os.Bundle; import android.widget.TabHost; import android.content.Intent; public class Test extends Activity { /** Called when the activity i

[android-beginners] Landscape mode event

2008-10-27 Thread MMAS
Hey All I'm sure this is covered somewhere but I can't quite find it in the documentation. Does anyone know what event is dispatched when the phone is put into landscape mode (on the G1, this seems to happen when I slide open the keyboard.) My game is being flipped but I want to prevent that from

[android-beginners] Re: Can someone with no programming experience learn to develop apps on Android?

2008-10-27 Thread naren
I got my G1 phone last week and then I downloaded the Android SDK and tools and within a few days I downloaded the basic "Hello Android!" app down to my phone. That was such a satisfying feeling. To know that I have that much control over my phone. I dont think I am going to be writing apps to s

[android-beginners] Re: Status of Jython, JRuby, Scala, etc Android development?

2008-10-27 Thread remi
Interest in this seems pretty high. I wonder ... does the official Android team have any interest in getting dynamic languages running on Dalvik? The ability to code in Python, Ruby, Groovy, Scala, etc seems like it could do *amazing* things for Android and multiple the number of Android develop

[android-beginners] Re: NotePad sample app fails to install over the web

2008-10-27 Thread Ed
A few folks have seen this problem (including me). Make sure that your web install happens either through 3G or through wireless. Installs over Edge network are weird sometimes, for some reason. Let me know if that works for you (it did for me). On Oct 26, 11:43 pm, jsera <[EMAIL PROTECTED]> wrot

[android-beginners] problems installing the sample NotePad application from the web

2008-10-27 Thread jsera
So I've got the development tools working, compiled the app, and installed it using adb, which all worked fine. Then I compiled a release version, signed it with jartool, put it on my server, and tried to install it from the web, which didn't work. The only message I got was "Install unsuccessfu

[android-beginners] Re: Can someone with no programming experience learn to develop apps on Android?

2008-10-27 Thread Sunit Katkar
You need to learn the following1) Java - follow the tutorial on Sun Microsystem's Java site which is free. Or get a good book which teaches the basics of programming using the Java language. 2) Learn GUI (Graphical User Interface) Programming in Java which is the SWING windowing toolkit. This will

[android-beginners] Re: Got problem while building the core of Android source

2008-10-27 Thread Kevin
I've encountered the same problem recently. I am using ubuntu 8.10 which is installed with vmware to compile the source code. I've solve it by expanding the memory from 512M to 1024M, and it works! Hope this helps! Kev On Oct 25, 6:40 am, Arcane <[EMAIL PROTECTED]> wrote: > Hi, > > Probably not

[android-beginners] Re: Can someone with no programming experience learn to develop apps on Android?

2008-10-27 Thread De San Nicolas Jean Philippe
I think it woud be very hard... take some Java courses for 5 or 6 months and it would be ok for a begining regards 2008/10/26 Markjm223 <[EMAIL PROTECTED]> > > I just picked up my G1 and I'm very interested in learning how to > develop applications. > > Is this a realistic goal? Can I learn t

[android-beginners] Re: Can someone with no programming experience learn to develop apps on Android?

2008-10-27 Thread [EMAIL PROTECTED]
You won't need a degree, but you will need to start to learn how to program. I suggest you take a beginning programming course in Java, maybe at your local Community College or if thats not possible, you might start at a site such as this one... http://www.javabeginner.com/ The abstractions use

[android-beginners] NotePad sample app fails to install over the web

2008-10-27 Thread jsera
It installs fine on my G1 using adb, but even after compiling a release version, and signing it properly, if I try downloading and installing from my web server, it fails. The only error message I get on my G1 is "Install unsuccessful." I've made sure to uninstall the app before trying to instal

[android-beginners] Can the app tell what key it was signed with?

2008-10-27 Thread Vince Castellano
I hate the idea of commenting out one line for debugging, and uncommenting it to build a package. It's error prone and annoying, but it's the only way I know to handle debug vs release keys for the map api. Is there any way at run-time to tell which key signed the package? --~--~-~--~---

[android-beginners] cant not run ant the default project generate by activitycreator.bat

2008-10-27 Thread cdxueq
windows XP sp2 android_sdk_windows_m3-rc37a apache-ant-1.7.1 jdk1.6.0_04 first, I open a command line and redirect to D:\test then, create a android app project with the activitycreator.bat next,redirect to D:\test\f2app, next, run ant I get a error : BUILD FAILED D:\test\f2app\build.xml:80: ex

[android-beginners] How to test new apps?

2008-10-27 Thread Marcus
Hi All, If there is a new application deployed on Android SDK, what is the best way to test it? ( Junit or android.test ) And can Python be used to test apps? Thanks, -Marcus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[android-beginners] what direction should i go in....

2008-10-27 Thread countzero
ive noticed that as these threads start to get around 250-400 messages long, htat it starts to freeze the messaging app. when i had my windows mobile phones i had various ways to extract my sms mssgs, as i dont like deleting them as alot of them contain information i need. how would i go about t

[android-beginners] displaying a simple MessageBox

2008-10-27 Thread [EMAIL PROTECTED]
Well I just want to display a simple messagebox this.showAlert(""); does not work for me how should I go about it I simply want a messagebox with singlebutton of whom I can set title and the text displayed something like this MessageBox("any stupid text "); thank you --~--~-~--~

[android-beginners] Error occurs when installing

2008-10-27 Thread mowamowa
Hi android-lovers, I tried to install Windows eclipse plugin for Android, and encountered the following error during the installation. -- An error occurred while collecting items to be installed No repository found containing: com.ibm.icu.base/osgi.bundle/ 3.8.1.v20080530 No repository found

[android-beginners] Cannot load apk compiled on different computers.

2008-10-27 Thread Alex
Hi all, I'm having some trouble getting my apk loaded to my G1. Here's what is happening: I started working on a simple app (Experiment1) on my laptop. It successfully loaded onto my phone. I continued working on it on my desktop. It worked on the Emulator but... When I compiled it and tried to

[android-beginners] Re: Can someone with no programming experience learn to develop apps on Android?

2008-10-27 Thread Mark Murphy
Markjm223 wrote: > But you need to learn Java to understand Android? Well, you need to learn Java to program in Android. At the moment, there is no other well-established programming language for use with Android. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to

[android-beginners] Re: Can someone with no programming experience learn to develop apps on Android?

2008-10-27 Thread Markjm223
IMHO, just start with Java. Not that Python is a bad language, but you > don't need to learn Python to learn Java. But you need to learn Java to understand Android? I know nothing about programming so my questions may seem a little elementary to you guys. All I have is an interest in learning bec

[android-beginners] Re: Android plugin page not available?

2008-10-27 Thread PorkChop
OK I solved this myself by removing the https:// and using http:// instead. On Oct 27, 11:57 am, PorkChop <[EMAIL PROTECTED]> wrote: > Anyone else having trouble accessing the update site: > > https://dl-ssl.google.com/android/eclipse/ > > It says site is not available, also typing this into a br

[android-beginners] Re: Can someone with no programming experience learn to develop apps on Android?

2008-10-27 Thread Mark Murphy
Markjm223 wrote: > I'm picking up a Java book at the library today. > > As far as a programming logic is concerned, I have read a little about > Python and that it is one of the easier programming language to learn. > Is that correct? Any suggestions other than Python? IMHO, just start with Java

[android-beginners] Re: browse localhost using android emulator

2008-10-27 Thread baba vali
On Mon, Oct 27, 2008 at 5:10 PM, Mark Murphy <[EMAIL PROTECTED]>wrote: > > mushimi wrote: > > I am using Apache server with port 80 as localhost. > > > > Google Chrome can access that localhost, but Android emulator failed > > (saying the web page might be temporarily down or moved). > > The Andro

[android-beginners] Android plugin page not available?

2008-10-27 Thread PorkChop
Anyone else having trouble accessing the update site: https://dl-ssl.google.com/android/eclipse/ It says site is not available, also typing this into a browser results in page not found. Has google changed the ADT plugin URL? --~--~-~--~~~---~--~~ You received th

[android-beginners] Re: Can someone with no programming experience learn to develop apps on Android?

2008-10-27 Thread Markjm223
I'm picking up a Java book at the library today. As far as a programming logic is concerned, I have read a little about Python and that it is one of the easier programming language to learn. Is that correct? Any suggestions other than Python? I am also trying to learn how to use Ubuntu and it ha

[android-beginners] Re: browse localhost using android emulator

2008-10-27 Thread Mark Murphy
mushimi wrote: > I am using Apache server with port 80 as localhost. > > Google Chrome can access that localhost, but Android emulator failed > (saying the web page might be temporarily down or moved). The Android emulator has its own localhost. Use the actual IP address of your development PC.

[android-beginners] Re: Can someone with no programming experience learn to develop apps on Android?

2008-10-27 Thread abiyasa
Yes, it's possible and realistic :-) First, you have to learn Java and basic programming logic. There's a lot of tutorials on the Internet. Or buy a book. You can learn by your own, no need a degree. Good luck! On Oct 26, 7:28 pm, Markjm223 <[EMAIL PROTECTED]> wrote: > I just picked up my G1 and

[android-beginners] browse localhost using android emulator

2008-10-27 Thread mushimi
Hi all, I am using Apache server with port 80 as localhost. Google Chrome can access that localhost, but Android emulator failed (saying the web page might be temporarily down or moved). Do I need to do some setting some where in order to make it work? TIA --~--~-~--~~~