[android-beginners] Re: to design a new game

2009-05-16 Thread Gavin Aiken
One option would be to go ahead and design a new game in Android. http://www.rbgrn.net/content/54-getting-started-android-game-development On Fri, May 15, 2009 at 11:36 AM, kavita solanki k.solank...@gmail.comwrote: what if wanted to design a new game in andriod

[android-beginners] Re: ADT Plugin

2009-05-16 Thread Sean Hodges
I can confirm, the ADT plugin site appears to be down for me as well. On May 15, 2009 5:39 PM, medelin mede...@gmail.com wrote: Hi, I coudn't fetch the ADT Eclipse plugin using the address provided by doc: https://dl-ssl.google.com/android/eclipse/ Someone confirm this? Regards

[android-beginners] Re: Animation help

2009-05-16 Thread Cass Surek
This is just a suggestion because I've never done it, but you could try to use a ViewGroup and fiddle with the addView and removeViewAt methods which will provide you with an index to reorder things. More details at http://developer.android.com/reference/android/view/ViewGroup.html Good

[android-beginners] Re: ADT Plugin

2009-05-16 Thread Michaël Gerber
Hi, Try : http://dl-ssl.google.com/android/eclipse/ It should work. Michaël 2009/5/15 medelin mede...@gmail.com Hi, I coudn't fetch the ADT Eclipse plugin using the address provided by doc: https://dl-ssl.google.com/android/eclipse/ Someone confirm this? Regards

[android-beginners] pseudotarget of android build

2009-05-16 Thread manjunatha
Hi It has been mentioned in the document, (build-system.html) of android source tree that the pseudotarget - make targets will list down all available LOCAL_MODULE. But on typing it I am getting the error below: make: *** No rule to make target `targets'. Stop. Please let me know how can I

[android-beginners] TabWidget problem

2009-05-16 Thread Michaël Gerber
Hi, I have implemented a tabWidget layout but when I launch it, I obtain those errors : ActivityManager: Warning: Activity not started, its current task has been brought to the front java.lang.NullPointerException at android.widget.TabWidget.dispatchDraw(TabWidget.java:105) at

[android-beginners] Re: Animation help

2009-05-16 Thread Sheepz
Thanks Cass, I'm still not sure I get it though, right now I have a pretty elaborate view structure ( http://3.bp.blogspot.com/_NiIT7LXuBv4/Sg7dQ48P2TI/CNk/q-LDoKhUkVk/s1600-h/layout.jpg ) Are you suggesting that I replace one of these views with a viewgroup? how would you integrate it

[android-beginners] Frame by frame animation issue

2009-05-16 Thread steve_macleod
Hi, I am attempting to animate an ImageView using frame-by-frame animation. I am using the following code: ImageView pacImageV = (ImageView) findViewById(R.id.pacAnim); pacImageV.setBackgroundResource(R.anim.pacanim); pacManCharAnim = (AnimationDrawable) pacImageV.getBackground();

[android-beginners] Download Webpage

2009-05-16 Thread Junior Einsfeld
Hi, How I can download a webpage and analyze it? Very tanks! --~--~-~--~~~---~--~~ 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

[android-beginners] Re: Download Webpage

2009-05-16 Thread Mark Murphy
How I can download a webpage and analyze it? http://exampledepot.com/egs/java.net/pkg.html http://hc.apache.org Both of those libraries are integrated into Android. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available!

[android-beginners] Re: Download Webpage

2009-05-16 Thread Junior Einsfeld
Hi Mark, Tanks! But I get an error : 05-16 17:51:23.262: ERROR/OSNetworkSystem(461): unknown socket error -1 The error occurs when execute BufferedReader. The code is: * private* String downloadPage(URL pageUrl) { *try* { // Open connection to URL for reading. BufferedReader reader =

[android-beginners] Re: Download Webpage

2009-05-16 Thread Mark Murphy
But I get an error : 05-16 17:51:23.262: ERROR/OSNetworkSystem(461): unknown socket error -1 Unknown socket error -1 usually means you are missing the android.permission.INTERNET permission from your AndroidManifest.xml file. http://developer.android.com/guide/topics/security/security.html

[android-beginners] Re: Download Webpage

2009-05-16 Thread Junior Einsfeld
Very tanks man! On Sat, May 16, 2009 at 3:01 PM, Mark Murphy mmur...@commonsware.comwrote: But I get an error : 05-16 17:51:23.262: ERROR/OSNetworkSystem(461): unknown socket error -1 Unknown socket error -1 usually means you are missing the android.permission.INTERNET permission from

[android-beginners] Re: Frame by frame animation issue

2009-05-16 Thread steve_macleod
OK, I have been looking into this some more, and it seems that the reference to my ImageView is null. My code is organised as follows: Activity onCreate sets an onClick event when the onClick event is activated, setContentView(layout_01) is executed (this is the xml file which contains the

[android-beginners] httpclient - http.client

2009-05-16 Thread Michaël Gerber
Hi, what is the equivalence for a HttpMethod (org.apache.commons.httpclient.HttpMethod) in android sdk? Thanks for your help. Michaël --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to

[android-beginners] XML file

2009-05-16 Thread Junior Einsfeld
Hi, I need to create an XML file via code. Any tips on how to do this? Tanks! --~--~-~--~~~---~--~~ 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] Start application when device is on power

2009-05-16 Thread kaloer
Hi, How do I start an application when the device runs on ac-power? It should start when the cable has been plugged in.. Is this possible? Thank you very much, //Kaloer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-beginners] Re: Android plugins not appearing in Eclipse (XP)

2009-05-16 Thread Raphael
On Thu, May 14, 2009 at 4:59 PM, khendar khen...@gmail.com wrote: Thanks Raphael. I was running Classic. I installed the Java version and that fixed it. Maybe that needs to be made clearer in the documentation ? :) It is in the system requirements:

[android-beginners] Re: import an existing project

2009-05-16 Thread Raphael
I fail to understand your point. Have directories as src/com/company/project is the right way to organize the sources. Am I missing something? R/ On Thu, May 14, 2009 at 7:40 PM, Xian Chen hoganx...@gmail.com wrote: Hello, This would be silly question... When I trying to import an existing

[android-beginners] Re: Emulator invalid command-line parameter: HVGA

2009-05-16 Thread Raphael
Check in your Run/Debug Launch Config in the Emulator tab if you have any extra options for the emulator. If you do, clear them. That can happen when you upgrade from SDK 1.1 Also check Window Prefs Android Launch extra emulator options. R/ On Thu, May 14, 2009 at 9:52 PM, yaocl

[android-beginners] Re: ADT Plugin

2009-05-16 Thread Raphael
On Fri, May 15, 2009 at 5:33 AM, medelin mede...@gmail.com wrote: I coudn't fetch the ADT Eclipse plugin using the address provided by doc: https://dl-ssl.google.com/android/eclipse/ Try with http (no s), lots of problem have https problems with Eclipse:

[android-beginners] Re: TabWidget problem

2009-05-16 Thread Raphael
This is a know issue in the layout editor. Test it on the emulator or a device. R/ On Sat, May 16, 2009 at 6:44 AM, Michaël Gerber mic.ger...@gmail.com wrote: Hi, I have implemented a tabWidget layout but when I launch it, I obtain those errors : ActivityManager: Warning: Activity not

[android-beginners] Re: import an existing project

2009-05-16 Thread Xian Chen
My question is com, com.company are also resolved as packages as shown in the attachment. How can I avoid this problem? Thanks, On Sat, May 16, 2009 at 5:45 PM, Raphael r...@android.com wrote: I fail to understand your point. Have directories as src/com/company/project is the right way to

[android-beginners] Re: import an existing project

2009-05-16 Thread Raphael
Oh I see. That's just how Eclipse displays it. Right on top of the tree find the little triangle icon, in the menu change the view to Package Representation Hierarchical. HTH R/ On Sat, May 16, 2009 at 3:26 PM, Xian Chen hoganx...@gmail.com wrote: My question is com, com.company are also

[android-beginners] Re: import an existing project

2009-05-16 Thread Sean Hodges
This confused me the first time I used eclipse, but yes, empty packages (including tld's) are shown in the package view. I believe this is partly to allow easy copy/move refactoring of classes across the entire namespace. On May 16, 2009 11:28 PM, Raphael r...@android.com wrote: Oh I see.

[android-beginners] Error Message

2009-05-16 Thread Julius Spencer
Hi, I am trying to render an OpenGL model and my Activity dies. I think it might be running out of memory or something. Can anyone help me understand the following error message? Thanks for any help. 05-17 10:23:58.436: INFO/DEBUG(539): *** *** *** *** *** *** *** *** *** *** *** *** ***

[android-beginners] Re: Error Message

2009-05-16 Thread Sean Hodges
Well there is really no way of telling from the error dump you've given, it essentially points to a memory fault of some kind, but more likely something like attempting to access a released resource. Can you post up some of the offending code? On May 17, 2009 12:15 AM, Julius Spencer

[android-beginners] Re: Error Message

2009-05-16 Thread Julius Spencer
Thanks for the quick response. I guess that's the trouble I'm having, with a smaller model (eg. cube or triangular based pyramid) I have no problems. I wouldn't know which part of the code to post as there is no Exception it just drops back to the previous Activity. Maybe I need to look

[android-beginners] Re: Loading new view with button press

2009-05-16 Thread superjet
Anyone? On May 15, 2:22 pm, superjet superje...@gmail.com wrote: I'm trying to load a new webview after I click a button on my main view, which loads on application start. My code compiles, and runs without error, but when I press the button, I see the expected toast message, but no webview.

[android-beginners] Re: Animation help

2009-05-16 Thread Cass Surek
Hi there, After a little more reading, I learnt that the ViewGroup is a super class of any of the Layouts you are using. I suppose that you get a reference to those Layouts and use the methods I've mentioned earlier, since they will already be present for you. I've also seen an overlayed

[android-beginners] AnimationDrawable help request

2009-05-16 Thread Cass Surek
Hi guys, I've created a separate class for an object I want to draw on a View with something like: public void Draw(Canvas canvas){ this.mImage.setBounds(this.coordX, this.coordY, this.coordX + this.mImageWidth, this.coordY + this.mImageHeight);

[android-beginners] ( problem for experts ) update/refresh list problem

2009-05-16 Thread Adem KARAKOLLU
I have two cursor, one of them from contact content provider, other one from database. id fields are sycnhorinzed.i want to show them in same column with two row in list. i m think that i have to use simpleCursorAdapter, because arrayadapter and other adapters can not show two cursor in a list.

[android-beginners] Re: Running Android applications on Linux

2009-05-16 Thread Vaidya
Hi.. Is there anybody who has tried running an Android application on any linux OS (without the emulator)? Is it enough if we cross-compile Dalvik VM and Java VM for Linux? What else (if any) would be required to run the application? On Thu, May 14, 2009 at 9:19 AM, Dhananjay Joshi

[android-beginners] Re: ADT Plugin

2009-05-16 Thread Jerret Halter
Use http instead of https On May 15, 2009 11:44 AM, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: There is ADT 0.9.1.zip available on net, its hase some more features than 0.9.0 use it with SDK 1.5... 0.8.0 does not support SDK 1.5.. if this 2 things are met its fine 2009/5/15 medelin

[android-beginners] Re: to design a new game

2009-05-16 Thread Aakash Patel
Eh...this is a very vague question...first of all, you would have to learn Java programming language... On May 15, 5:36 am, kavita solanki k.solank...@gmail.com wrote: what if wanted to design a new game in andriod --~--~-~--~~~---~--~~ You received this message

[android-beginners] WG111v3 Conflict with Android Dev phone

2009-05-16 Thread AshtonS
I'm developing on a machine with a Netgear WG111v3 USB Wifi adapter (http://kb.netgear.com/app/products/model/a_id/2558) . As soon as I plug the dev phone in, I lose wifi. The dev phone continues to work as expected, and I can debug without any problems. Until I remove the dev phone and reload

[android-beginners] Re: A lot of graphics in drawable-folder

2009-05-16 Thread AbsoluteBeginner
There is no possibility to create subfolders in the folder drawable to manage the images? On 8 Mai, 17:21, kaloer mkal...@gmail.com wrote: Hmm.. Okay. Then I keep using thedrawablefolder :-) On 8 Maj, 17:18, Romain Guy romain...@google.com wrote: There is no other way at the moment. For

[android-beginners] Re: Onscreen keyboard

2009-05-16 Thread Jerret Halter
That is part of the 1.5 build. You will have to download and install it on your phone. On May 15, 2009 5:22 PM, jknox jk...@trisoft.com wrote: My unlocked development phone arrived just about 2 weeks ago. It doesn't have the on-screen keyboard. I've got the program running on the emulator -

[android-beginners] Unable to get adb to work with my Htc Magic

2009-05-16 Thread Nicholas Radford
Hi guys, I'm wondering if any of you can help. I've followed the docs on setting up for development against a device, but haven't managed to get it to work. On windows Xp SP3 i couldn't get it to install the usb drivers. after googling and following various things on the interweb I could find I

[android-beginners] Re: Moving files to phone

2009-05-16 Thread Aakash Patel
Where are you trying to push the file? On May 15, 5:25 pm, jknox jk...@trisoft.com wrote: I have my app running under both the emulator and the newly arrived Android development phone.  The app works (except for a keyboard issue), but it is missing the files I need to move over to the phone.

[android-beginners] Re: Onscreen keyboard

2009-05-16 Thread Aakash Patel
You have to upgrade to Android 1.5... Follow the instructions on this page to flash your phone: http://www.htc.com/www/support/android/adp.html On May 15, 5:22 pm, jknox jk...@trisoft.com wrote: My unlocked development phone arrived just about 2 weeks ago.  It doesn't have the on-screen

[android-beginners] HTC Magic - Can't install driver on development PCs

2009-05-16 Thread John Burton
I have a new UK Vodafone HTC Magic phone. I've installed the developer SDK and eclipse and that works fine. But when I connect my real phone to the PC I can't installed the driver to communicate with it. It functions perfectly well as a mass storage device but it never asks me to install the usb

[android-beginners] kxml2

2009-05-16 Thread Elenice Peruchini
Hi! I generate an XML file in Android through my application with results from a search. I found that I can use in KXml2 Android. However, did not generate the XML file. Somebody help me? Thanks. -- Att, Elenice Peruchini --~--~-~--~~~---~--~~ You received

[android-beginners] Re: XML file

2009-05-16 Thread Jerret Halter
http://articles.techrepublic.com.com/5100-10878_11-1044810.html On May 16, 2009 2:25 PM, Junior Einsfeld junior.einsf...@gmail.com wrote: Hi, I need to create an XML file via code. Any tips on how to do this? Tanks! --~--~-~--~~~---~--~~ You received this

[android-beginners] Help with layout views and Canvas'

2009-05-16 Thread erykthege...@googlemail.com
Hi, I'm pretty new to the whole app developing scene and i've never coded in Java before, however it doesn't seem that different to c# so I figured i'd give it a go. I've been making reasonable process on the app I'm working on, I've figured out using the main.xml to create a relative layout

[android-beginners] Can I launch context menu with single click!

2009-05-16 Thread chaozh
I want to launch context menu with single click. But the default is long click, Is there another way to do? Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this

[android-beginners] Re: How to setup Android Emulator

2009-05-16 Thread Aakash Patel
The Android emulator will not include the google apps/sync services...so you will not have gmail, synced contacts, market, etc. On May 14, 2:04 pm, P.J. de Bruin pe...@peterdebruin.net wrote: I do not have an Android phone but I'm trying the Android Emulator, with Android 1.5. It works (very

[android-beginners] Re: ADT Plugin

2009-05-16 Thread John Burton
I coudn't fetch the ADT Eclipse plugin using the address provided by doc:https://dl-ssl.google.com/android/eclipse/ I changed the https to http and then it seemed to work for me at least, --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] how to use HTTP Session with StreamingMediaPlayer

2009-05-16 Thread Andi
Hello All, I'm trying to build a simple application that logs in to a web backend, using HTTPClient. Created a POST Request that sends some login credentials, which works well. My question is now: how can I use this opened Session for interaction with StreamingMediaPlayer? Code without

[android-beginners] Re: Moving files to phone

2009-05-16 Thread Jerret Halter
Are you trying to install an apk? If so the command is adb install file.apk. Use the -r flag to reinstall an app On May 15, 2009 5:25 PM, jknox jk...@trisoft.com wrote: I have my app running under both the emulator and the newly arrived Android development phone. The app works (except for a

[android-beginners] Re: NotePad tutorial, trouble removing notes

2009-05-16 Thread Moto Zarkov
I thought it was broken as well, but found that it is just a matter of confusion regarding the tutorial. If you examine the code, you'll find that we (beginning Android developers!) implemented the delete functionality in a CONTEXT menu. This refers to the 'click and hold' menu, not the menu

[android-beginners] Re: A lot of graphics in drawable-folder

2009-05-16 Thread Romain Guy
Like I already said, no. On Sat, May 16, 2009 at 7:21 AM, AbsoluteBeginner enormi...@googlemail.com wrote: There is no possibility to create subfolders in the folder drawable to manage the images? On 8 Mai, 17:21, kaloer mkal...@gmail.com wrote: Hmm.. Okay. Then I keep using

[android-beginners] Re: Help with layout views and Canvas'

2009-05-16 Thread Raphael
If you want a linear set of buttons use a LinearLayout. If you want a grid, simply put a TableLayout in your XML with several TableRow inside. You can use ImageButton to have a button with an image in the middle (use the src attribute). All the widgets derive from View, which has a background

[android-beginners] Re: Running Android applications on Linux

2009-05-16 Thread Raphael
You should read the android-porting mailing list. R/ On Sat, May 16, 2009 at 8:16 PM, Vaidya vaidya...@gmail.com wrote: Hi.. Is there anybody who has tried running an Android application on any linux OS (without the emulator)? Is it enough if we cross-compile Dalvik VM and Java VM for

[android-beginners] Re: import an existing project

2009-05-16 Thread Raphael
There's also an option in the little menu at the top of the tree to hide empty packages. However when you do that you can't anymore right click on an empty package to make a class in it. That's not too much of any issue though, just invoke the class wizard from another wizard and then change the