[android-beginners] Re: How to I use touch screen to draw a straight line

2009-04-13 Thread Raphael
A couple suggestions: - don't make your x/y fields static. - in onTouch, test that MotionEvent.getAction() is ACTION_DOWN. - to draw you should create a custom View class and override the onDraw method. See ApiDemos or the LunarLander samples for a start. R/ On Mon, Apr 13, 2009 at 5:14 PM,

[android-beginners] Re: this site in not available android plug in for Eclipse

2009-04-16 Thread Raphael
These URLs are not browsable directly. Trying to load them in a web browser will always say that the page does not exist. Try them solely from the Eclipse update UI. Note that only ADT 0.8 (for the SDK 1.1_r1) is available at these locations. R/ On Wed, Apr 15, 2009 at 11:03 AM, goodboyx

[android-beginners] Re: this site in not available android plug in for Eclipse

2009-04-16 Thread Raphael
Oh and btw I checed *from* Eclipse and http://dl-ssl.google.com/android/eclipse/ works fine (https doesn't work for me.) R/ On Thu, Apr 16, 2009 at 5:16 PM, Raphael r...@android.com wrote: These URLs are not browsable directly. Trying to load them in a web browser will always say

[android-beginners] Re: get speed

2009-04-23 Thread Raphael
On Wed, Apr 22, 2009 at 10:56 PM, gandor gand...@gmail.com wrote: If I want to simulate getspeed using emulator how do I do it. I used the  following code and it gives me 04-23 05:39:18.485: ERROR/AndroidRuntime(292): Caused by: java.lang.SecurityException: Requires ACCESS_FINE_LOCATION

[android-beginners] Re: get speed

2009-04-23 Thread Raphael
Actually I think the GPS uses the net to initialize data to find satellites, to provide faster start times. R/ On Wed, Apr 22, 2009 at 6:22 PM, Mark Murphy mmur...@commonsware.com wrote: gandor wrote: Hi, I want to getspeed of android device through Gps receiver. Not rely on

[android-beginners] Re: get speed

2009-04-23 Thread Raphael
On Wed, Apr 22, 2009 at 11:24 PM, Raphael r...@android.com wrote: On Wed, Apr 22, 2009 at 10:56 PM, gandor gand...@gmail.com wrote: If I want to simulate getspeed using emulator how do I do it. I used the  following code and it gives me 04-23 05:39:18.485: ERROR/AndroidRuntime(292): Caused

[android-beginners] Re: Eclipse android setup, cannot for the life of me!

2009-04-28 Thread Raphael
Could you start by telling us: - what OS are you using? - which version of Eclipse? - which exact version is your JDK? To install ADT in Eclipse, you check the download site URL in the Available Software tab and click Install on the upper left. When the install complete, does Eclipse ask you to

[android-beginners] Re: Could not find AVD file

2009-05-02 Thread Raphael
Can you give us some more details, which might help us to help you? - the output of android list avds from the command line - the android target you selected for your android project (e.g. 1.1, 1.5 or maps?) - how did you create your Android JUnit Test project? Thanks in advance, R/ On Wed, Apr

[android-beginners] Re: Downloading Android

2009-05-02 Thread Raphael
Actually as indicated in http://developer.android.com/sdk/1.5_r1/installing.html : A Java or RCP version of Eclipse is recommended. But you make a good point. When looking at the feature matrix at http://www.eclipse.org/downloads/packages/compare-packages I see that Classic lacks GEF (needed

[android-beginners] Re: java.net.UnknownHostException

2009-05-02 Thread Raphael
Do you have uses-permission android:name=android.permission.INTERNET in the application that tries to bind to your service too? What does its manifest look like? R/ On Wed, Apr 29, 2009 at 2:14 AM, Explore Android explore.andr...@googlemail.com wrote: Hi, I am working on a implementing IM

[android-beginners] Re: Problem running emulator on SDK 1.5

2009-05-02 Thread Raphael
Could you run the emulator manually in verbose mode, like this: $ emulator @my_avd -debug all and post the result? R/ On Tue, Apr 28, 2009 at 10:49 PM, alexmat alex...@gmail.com wrote: I get the following error from eclipse 3.4, with adt 0.9 and sdk 1.5: Launching a new emulator with

[android-beginners] Re: distributing an app packaged with just emulator

2009-05-02 Thread Raphael
Are you using the final 1.5 SDK or the 1.5 preview one? I just tried installing an app on the emulator using the web browser and it installed fine. R/ 2009/4/28 tansaku tans...@gmail.com: Hi Jack, Many thanks for that suggestion, however even after sudo killall adb the emulator does not

[android-beginners] Re: Adding onClickListener and OnTouchListener to a Button

2009-05-02 Thread Raphael
When you override methods, make sure to call their super. Anyway, why do you want to use a touch listener on a button? You're going to get tons of motion events each time the user touches the button or simply slide its finger on it. R/ On Sat, May 2, 2009 at 4:12 AM, Mariam Rady

[android-beginners] Re: android.bat - NullPointerException for making AVD file !

2009-05-02 Thread Raphael
Thanks, this is fixed and will be in the next version (and no, I do not know when that is.) R/ On Tue, Apr 28, 2009 at 11:56 PM, notox merci...@gmail.com wrote: Hello, I used to be able to properly make AVD files using android.bat file Now, I don't really know what I've changed, but I

[android-beginners] Re: Snake on Image

2009-05-02 Thread Raphael
Simply use android:background=@drawable/some_image and put your image in res/drawable. R/ On Tue, Apr 28, 2009 at 9:46 PM, Ragavendra ragavendra...@gmail.com wrote: Hi Folks,    I am new here. I need to add a background image of the Snake sample game. I could change the color by adding

[android-beginners] Re: Porting 1.5 to Nokia N810

2009-05-02 Thread Raphael
You should use the android-porting mailing list for that kind of purpose. And if you browse the archives you'll probably find your answer. http://groups.google.com/group/android-porting/ R/ On Mon, Apr 27, 2009 at 7:36 PM, SliSparky slispa...@gmail.com wrote: Everyone please forgive me, as i

[android-beginners] Re: problem installing ADT 0.9.0

2009-05-04 Thread Raphael
Are you using Eclipse Classic version? If so please install Eclipse IDE for Java Developers or Eclipse RCP instead from http://www.eclipse.org/downloads/ R/ On Sun, May 3, 2009 at 10:54 PM, Ragavendra ragavendra...@gmail.com wrote: Me too getting Cannot complete the request.  See the

[android-beginners] Re: Fullscreen in Custom View

2009-05-04 Thread Raphael
On Sun, May 3, 2009 at 11:19 PM, ayush ayushv2...@gmail.com wrote: is there any method by which a custom view (eg a game screen) can occupy the full screen of the device? i.e. the menu bar at the top showing the application title, battery level, network strength etc is covered? You mean

[android-beginners] Re: Snake on Image

2009-05-04 Thread Raphael
On Mon, May 4, 2009 at 12:45 AM, vineeth Desai vineeth.desa...@gmail.com wrote: Raphael,  This already I tried. It didnt work for me. I am trying this for smaple game snake in Android SDK. Please let us know the solution. I am blocked with other developments. I don't know about snake

[android-beginners] Re: Please Help! I Can't get the ADT Plugin to Install

2009-05-07 Thread Raphael
Are you using Eclipse Classic? It doesn't have all the libraries needed. Please use Eclipse for Java Developers or Eclipse RCP from http://eclipse.org. R/ On Tue, May 5, 2009 at 6:34 PM, J justinssh...@gmail.com wrote: I get this error no matter which of the 3 methods I try. What should I

[android-beginners] Update: new ADT Eclipse plugin 0.9.1 available

2009-05-07 Thread Raphael
Hope this helps, Raphael. --~--~-~--~~~---~--~~ 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

[android-beginners] Re: how to override onDraw of view.

2009-05-08 Thread Raphael
Please look at SDK/platform/android-1.5/samples/LunarLander -- it does that and should be easy to understand. There are also various custom View in the ApiDemoes sample code. R/ On Thu, May 7, 2009 at 11:31 AM, Vinay vinay@gmail.com wrote: Hi All, I want to override onDraw fuction of a

[android-beginners] Re: how to override onDraw of view.

2009-05-08 Thread Raphael
, 2009 at 9:30 PM, Raphael r...@android.com wrote: Please look at SDK/platform/android-1.5/samples/LunarLander -- it does that and should be easy to understand. There are also various custom View in the ApiDemoes sample code. R/ On Thu, May 7, 2009 at 11:31 AM, Vinay vinay@gmail.com wrote

[android-beginners] Re: Eclipse Project Wizard

2009-05-08 Thread Raphael
Doofus, did that solve your issue? If you have installed ADT via Eclipse and still don't see the Android Project wizard, try this: 1- File New Other. You should see a category Android Android Project 2- Window Customize Perspective. In the Shortcut tab, make sure Android is checked. On

[android-beginners] Re: Force alarm sound

2009-05-09 Thread Raphael
On Sat, May 9, 2009 at 12:31 PM, kaloer mkal...@gmail.com wrote: Hi, Is it possible to force the volume up? I have an alarm that should wake the user even if the phone is on silent mode.. Is that possible? AudioManager manager = (AudioManager)

[android-beginners] Re: Layout gravity - bug in portrait mode?

2009-05-10 Thread Raphael
On Sun, May 10, 2009 at 4:43 AM, Anna PS annapowellsm...@googlemail.com wrote: On May 10, 6:45 am, Romain Guy romain...@google.com wrote: fill_parent means be as big as your parent, not take the remaining space. Hi Romain - yes, but in this case the parent is a LinearLayout, which also has

[android-beginners] Re: Running as Android application in Eclipse

2009-05-14 Thread Raphael
What I generally do is use Windows Preference Run/Debug Launching and select the Always launch the previously launched application at the bottom. Once you do that, running will reuse the same launch configuration till you select another one. You can use the grenn icons debug and run in the

[android-beginners] Re: Error when setting the android preferences in eclipse.

2009-05-14 Thread Raphael
The structure of the SDK has changed to be able to handle multiple platforms. You must use the Android SDK 1.5 with ADT 0.9x. Note that this SDK includes an android 1.1 image which is *exactly* the same as the one you had in the SDK 1.1_r1. R/ On Tue, May 12, 2009 at 12:52 AM, andersg

[android-beginners] Re: Installing the android SDK on my new PC

2009-05-14 Thread Raphael
On Tue, May 12, 2009 at 2:38 PM, Johan Degraeve johan.degra...@gmail.com wrote: I'm having the same problem on a Mac : when trying to create a new android project there's an error message on top 'An SDK Target must be specified'. The project wizard should have a list with 3 SDK targets to

[android-beginners] Re: help compiling Android sourcecode apps

2009-05-14 Thread Raphael
The apps that come in the Android source code are not built using the SDK. They are built using the Android platform (e.g. the make files) and may or may not be using internal APIs which are not part of the SDK. Questions on building the platform should go to

[android-beginners] Re: XML : eclipse, layout problem

2009-05-14 Thread Raphael
Ah yeah, it's a known issue: the TabHost (or more exactly TabWidget) generates an internal NullPointerException when used in the layout editor. It should render fine on the emulator or a device though. Hopefully this should be fixed in the next version of android, whenever that is. R/ On Thu,

[android-beginners] Re: about .dex files

2009-05-14 Thread Raphael
On Thu, May 14, 2009 at 2:44 AM, ja...@work jamai5...@gmail.com wrote: Hi guys, I'm new to Android and i don't understand very well how dex files work. When I create an application, I do in in java (isn't it?). Then, with the eclipse adt, this file is converted in a dex file and the DVM

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

2009-05-14 Thread Raphael
Which version of Eclipse are you using? You need Eclipse RCP or Eclise for Java developers. The Classic version doesn't work. R/ On Thu, May 14, 2009 at 3:29 AM, khendar khen...@gmail.com wrote: I have followed the instructions on this page (http://

[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: http://d.android.com/sdk/1.5_r1

[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 Raphael
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 organize the sources. Am I missing something

[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
of classes across the entire namespace. On May 16, 2009 11:28 PM, Raphael r...@android.com wrote: 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

[android-beginners] Re: Problem with tutorials.

2009-05-17 Thread Raphael
If by W7 you mean Windows 7, it's not supported yet and nobody actually even tried so you're a bit on your own here. The first thing you should try is to change the preference Android Build to verbose to get a better idea of where things go wrong. The second thing is to file a bug at

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

2009-05-18 Thread Raphael
Hi there, We're trying to reproduce the issue. I have a few questions: - Which version of Windows are you using? XP, Vista, W7, 32 or 64bit. - Did you *ever* install an android USB driver before? SDK 1.0/1.1 had one and it has been updated in 1.5. - When you plug the device and go to the Device

[android-beginners] Re: What is Port Forwarding?

2009-05-18 Thread Raphael
On Mon, May 18, 2009 at 1:45 PM, jtaylor jatto@gmail.com wrote: ..port forwarding (so you can set up breakpoints in your code in your IDE) http://developer.android.com/guide/developing/debug-tasks.html http://lmgtfy.com/?q=Wikipedia+Port+Forwardingl=1 R/

[android-beginners] Re: Where is source code for Dev Tools?

2009-05-18 Thread Raphael
On Mon, May 18, 2009 at 11:39 AM, Lewis Z. lzh...@gmail.com wrote: Could someone please tell me where I can find the source code for Dev Tools (i.e., Sync, Media Browser, and etc)? Or are they under different names in the source code? iirc it's apps/Development in development.git

[android-beginners] Re: Cannot create AVD in window XP

2009-05-18 Thread Raphael
Thanks for catching this. I filed a bug for that: http://b.android.com/2697 R/ On Sun, May 17, 2009 at 6:44 AM, Steve steve.ma...@gmail.com wrote: This is because the Android HelloWorld example: http://developer.android.com/guide/tutorials/hello-world.html ...points to the download page of

[android-beginners] Re: Cannot create AVD in window XP

2009-05-18 Thread Raphael
If you are under Windows there should be SDK/tools/android.bat and android.sh for linux/mac. If SDK/tools is not on your path, add it. The only android.jar you can find is SDK/platforms/android-1.[15]/android.jar which is the API for ant/eclipse. It has nothing to do with the android

[android-beginners] Re: Corrupt XML binary file error when adding a PNG to res/drawable

2009-05-18 Thread Raphael
What is the name of the png you are adding and where and how are you referring it to? R/ On Sat, May 16, 2009 at 11:28 PM, Steve Smith tarkast...@gmail.com wrote: Hi, I'm seeing an odd error when adding a PNG file to the res/drawable directory in an otherwise working app:  

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

2009-05-18 Thread Raphael
On Sun, May 17, 2009 at 9:55 AM, Nicholas Radford nikradf...@googlemail.com wrote: Then you've hit the same problem as me. As I said, I dont think the phone is the problem, as I got it working on linux. Hi. I'm still investigating this. I'm trying to make it not work under Windows :-) Anyhow,

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

2009-05-18 Thread Raphael
for an unknown device? Nope, never. On Mon, May 18, 2009 at 8:14 PM, Raphael r...@android.com wrote: Hi there, We're trying to reproduce the issue. I have a few questions: - Which version of Windows are you using? XP, Vista, W7, 32 or 64bit. - Did you *ever* install an android USB driver before

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

2009-05-18 Thread Raphael
Debugging flag. You want to trash those entries so that Windows can prompt you. Please let me know if that works for you. On May 18, 2009 11:19 PM, Raphael r...@android.com wrote: On Sun, May 17, 2009 at 9:55 AM, Nicholas Radford nikradf...@googlemail.com wrote: Then you've ... Hi. I'm still

[android-beginners] How to solve G1/HTC Magic not recognized by ADB under Windows

2009-05-19 Thread Raphael
If you don't use Windows or adb has no problem with your device, please skip this. If your G1 or HTC Magic is not properly recognized by ADB under Windows, please read this. The bottom line: Please make sure to enable Home Settings Applications Development USB debugging on your G1 or HTC

[android-beginners] Re: How to start android emulator in landscape mode?

2009-05-19 Thread Raphael
Create an AVD with landscape skin. $ android create avd --name somename --skin HVGA-L (or use the AVD Manager in Eclise ADT 0.9.1) If you omit the parameter, --skin will display the valid choices. R/ On Tue, May 19, 2009 at 5:33 PM, lucius lucius.fo...@gmail.com wrote: I find this thread

[android-beginners] Re: Where is source code for Dev Tools?

2009-05-19 Thread Raphael
On Mon, May 18, 2009 at 2:53 PM, Lewis Z. lzh...@gmail.com wrote: Raphael, thanks for the link. Quickly browsing through the code, I didn't see code for Sync and Terminal Emulator tools. Are these tools deprecated? Sorry I don't know. Do the same than I did: download the git repos and grep

[android-beginners] Re: Corrupt XML binary file error when adding a PNG to res/drawable

2009-05-20 Thread Raphael
/androidmarker.png (taken from a tutorial). I'm not referring to it at all; I'm merely placing it in the drawable directory.  Removing it removes the error. Thanks, Steve 2009/5/19 Raphael r...@android.com: What is the name of the png you are adding and where and how are you referring

[android-beginners] Re: Cannot create AVD in window XP

2009-05-20 Thread Raphael
On Tue, May 19, 2009 at 3:22 PM, Norfeldt norfe...@gmail.com wrote: I still don't get it.. here is what I done.. downloaded the SDK zip. extracted it to the desktop opened the folder at moved to content to this dir: C:\Android opened run and typed cmd typed emulator and hit ENTER The

[android-beginners] Re: storing values of an array

2009-05-21 Thread Raphael
Simply serialize your ints to a string and write in a simple sqlite database. It's rather inexpensive and compact. You don't need a provider or things like that, just use the database helper (there's one in some sample) to create the db and a couple of query/select commands to store and restore.

[android-beginners] Re: Error when setting the android preferences in eclipse.

2009-05-23 Thread Raphael
the SDK. D:\Android\android-sdk-windows-1.1_r1/plartforms is missing While using 1.5 SDK! please help... :), thnx Byron On May 14, 5:59 pm, Raphael r...@android.com wrote: The structure of the SDK has changed to be able to handle multiple platforms. You must use the Android SDK 1.5

[android-beginners] Re: SDK USB driver for Vista SP1 won't install - Solution?

2009-05-23 Thread Raphael
What driver do you want to install? 1- For transfering files from the SD Card, you do not need any driver. 2- For using ADB to debug, you need the driver that comes with the SDK. If you have trouble with that one please read this thread first:

[android-beginners] Re: latest adt broken?

2009-05-26 Thread Raphael
Hi, I'm trying to reproduce this and hmm well I don't manage to get this error. Could you help me a bit? - Which version of Eclipse are you using? - Which OS platform? - Which SDK? - Does that happen on any XML file or just some of them? - Does it break anywhere in the XML file or in some

[android-beginners] Re: Android on Mac question

2009-05-26 Thread Raphael
Weird. Could you please look in your workspace directory, you will find a text file a workspace/.metdata/.log and at the bottom of the file you should see the full error matching the one you reported, with a stack trace. Please send it to us. Thanks in advance, R/ On Thu, May 21, 2009 at 2:34

[android-beginners] Re: Android SDK

2009-05-26 Thread Raphael
The list of targets in the New Android Project Wizard should be the same as in the Windows Pref Android. I mean really it's the same code. Are you sure that in the same session, you open the pref you see the 3 targets then close that, go to the project wizard and the list is empty? If that's

[android-beginners] Re:

2009-06-01 Thread Raphael
On Sun, May 31, 2009 at 2:31 AM, Jackie Singh jacqueline.si...@gmail.com wrote: Yeah, we don't want you either. Any idiot who can't RTFM is generally unwelcome in this type of community. HAVE A NICE DAY, ASSHOLE! There's no need to be rude. R/ On Sun, May 31, 2009 at 08:33, SONIH MANSOUR

[android-beginners] Re: Best way to add 100.000 words to database

2009-06-01 Thread Raphael
This begs to a different kind of question: do you really need to store this data in an sqlite3 database? There are other alternatives, it all depends on your data and how you want to use it so you might want to help us here. Example: you mention words, just not any string, so your data might be

[android-beginners] Re: Game Programming in Android Using LunarLander

2009-06-01 Thread Raphael
On Sun, May 31, 2009 at 1:29 PM, weird0 amiredi...@gmail.com wrote: Hi guys, I am interested in learning game programming and want to develop games using the Android Platform. I found LunarLander game as a resource. I would really like to know how to run the application in Debug Mode so I

[android-beginners] Re: How to solve G1/HTC Magic not recognized by ADB under Windows

2009-06-06 Thread Raphael
.  Is there something other than just checking the box by full control? I wonder if you could help me in this area and let me know what I might do that I'm missing. Thanks in advance, Adam On May 19, 2:57 pm, Raphael r...@android.com wrote: If you don't use Windows or adb has no problem with your

[android-beginners] Re: How to create AVD ?

2009-06-06 Thread Raphael
If you have the ADT 0.9.1 plugin for Eclipse, you can also create a new AVD using Window AVD Manager. R/ On Thu, Jun 4, 2009 at 6:21 AM, muhammadaliqa...@gmail.commuhammadaliqa...@gmail.com wrote: Hi, I am using Vista. I have installed android-sdk-windows-1.5_r2, inserted the path of sdk

[android-beginners] Re: Problem with Hello World

2009-06-08 Thread Raphael
On Sat, Jun 6, 2009 at 7:35 AM, maurizio.bellemomaurizio.bell...@gmail.com wrote: Hi all I'm rookie I tried to run the hello app in Android developers... (after having installed the SDK, Eclipse and the plugin for Android) There are two problems 1 - When creating a project it

[android-beginners] Re: TOOLS.JAR

2009-06-18 Thread Raphael
There's no tools.jar. What are you trying to achieve? R/ On Thu, Jun 18, 2009 at 4:14 PM, Rc3375rcobb3...@gmail.com wrote: I'm using winXP.  Installed Android 1.5 as well as Eclipse.  However, not sure if it's ANDROID or ECLIPSE that can't find the file TOOLS.JAR.  Searched the ENTIRE hd,

[android-beginners] Re: How to create an Eclipse Project for Apps-For-Android

2009-06-18 Thread Raphael
On Thu, Jun 18, 2009 at 7:39 AM, Balwinder Kaur (T-Mobile)balwinder.k...@t-mobile.com wrote: I would suggest you just create new Eclipse Projects for each of the apps.  [ I assume you are referring to  the source code downloaded from http://code.google.com/p/apps-for-android/source/checkout ]

[android-beginners] Re: TOOLS.JAR

2009-06-19 Thread Raphael
and effort for all help, Best Wishes and Regards, RCobb3375 On Jun 18, 10:53 pm, Raphael r...@android.com wrote: Please explain in more details what you're doing just before you get this error. R/ On Thu, Jun 18, 2009 at 9:37 PM, Rc3375rcobb3...@gmail.com wrote: I installed android

[android-beginners] Re: Please Help! I Can't get the ADT Plugin to Install

2009-06-19 Thread Raphael
that this issue has something to do with network connectivity/cache. Thought of trying after clearing Firefox cache. And yes, it worked (dont ask me how, why etc). Mridul On May 8, 12:27 am, Raphael r...@android.com wrote: Are you using Eclipse Classic? It doesn't have all the libraries needed

[android-beginners] Re: Please Help! I Can't get the ADT Plugin to Install

2009-06-26 Thread Raphael
On Wed, Jun 24, 2009 at 3:52 AM, Pamplemousse Mk2pamplemousse@gmail.com wrote: Hello, ADT 0.9.1 worked fine with Eclipse 3.4 until today. Eclipse asks me for updates. So I accept the updates and now ADT can't open the XML res files of my current projects. Is ADT not compatible with

[android-beginners] Re: Please Help! I Can't get the ADT Plugin to Install

2009-06-28 Thread Raphael
On Fri, Jun 26, 2009 at 8:53 PM, Jose Ayerdisjoseayer...@gmail.com wrote: Well i experience a problem creation Android XMl so i create just an XMl close it and Reopen and got it just fine. What is an XMI ? R/ 2009/6/26 Raphael r...@android.com On Wed, Jun 24, 2009 at 3:52 AM

[android-beginners] Re: Please Help! I Can't get the ADT Plugin to Install

2009-06-29 Thread Raphael
On Mon, Jun 29, 2009 at 1:44 AM, Pamplemousse Mk2pamplemousse@gmail.com wrote: Jose, you are right: ADT plugin works with Galileo. Mehdi, I think the plugin does not work with Eclipse Ganimede 3.4.2. The plugin *officially* works with Ganimede 3.4.2, there is no doubt about it :-) Make

[android-beginners] Re: Map Application is not running in emulator

2009-07-04 Thread Raphael
On Sat, Jun 27, 2009 at 2:00 AM, moonmoonmoon...@gmail.com wrote: I am working on a map application which can be access by android emulator in eclipse and java. please tell the code for the eclipse3.3 and android 1.5 and adt0.8 plz help me You need to update to the latest ADT (0.9.2) to

[android-beginners] Re: HTC Magic and Eclipse

2009-07-04 Thread Raphael
On Mon, Jun 29, 2009 at 3:31 AM, Crocoluciano.brous...@gmail.com wrote: Hi all, I've followed the procedure to install my HTC Magic to launch my apps on. the procedure seams went well since now i've this output when i prompt adb devices : List of devices attached HT93WKF03753    

[android-beginners] Re: Eclipse Project Wizard

2009-07-04 Thread Raphael
...@gmail.com wrote: This doesn't help, cause I don't have Android option in Window Customize Perspective :( On May 9, 4:36 am, Raphael r...@android.com wrote: Doofus, did that solve your issue? If you have installed ADT via Eclipse and still don't see the Android Project wizard, try this: 1

[android-beginners] Re: Android in Eclipse - package name problem - please help

2009-09-15 Thread Raphael
First check that you're not using the Navigator view instead (which shows files, not Java namespaces). In the package explorer, click on the View Menu (a little triangle just above the scrollbar in the explorer view. Select Package Presentation and change it from flat to hierarchical, or the

[android-beginners] Re: aapt is present - Hello, World application.

2009-09-15 Thread Raphael
Can you do a ls -l /home/haze/android/platforms/android-1.1/tools/ to see the file attributes? The old SDK used a zip for linux, and some unzip binaires sometimes did not preserve file attributes. If ls -l doesn't show the files as +x, you can try: chmod -v +x

[android-beginners] Re: help

2009-09-16 Thread Raphael
You're mixing a few things: - the id of a view (i.e. R.id.calculate_id) is just that: an identifier that lets you *find* the object in question. - you can't assign to that id, it's just a constant integer Instead you should do: - find the view based on the id: EditText myEditField =

[android-beginners] Re: When does one start to develop for 1.6?

2009-09-16 Thread Raphael
On Wed, Sep 16, 2009 at 5:59 PM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: that's fine if you want your app to not be available on most devices for some time. the date when 1.6 devices start appearing in one thing, the date when most devices will have been updated is another.

[android-beginners] Re: Android in Eclipse - package name problem - please help

2009-09-16 Thread Raphael
On Wed, Sep 16, 2009 at 6:31 AM, Mimi mimik...@gmail.com wrote: Thank you so much for your response and info, Raphael. How can I change the Navigotor view to Java namespaces? You can't. The navigator displays files from your disk. It doesn't know about namespaces. Under the package

[android-beginners] Re: Screen orientation

2009-09-16 Thread Raphael
On Wed, Sep 16, 2009 at 5:06 AM, Mark Murphy mmur...@commonsware.com wrote: Windows/Linux: Ctrl-F12 Mac with numeric keypad: 5 on the numeric keypad and $ ~/sdk/tools/emulator.exe -help-keys When running the emulator, use the following keypresses: HOMEHome button

[android-beginners] Re: Must have missed something...1.5-1.6

2009-09-16 Thread Raphael
Please send the workspace/.metadata/.log file to Xavier by private mail to help us understand the issue. R/ On Wed, Sep 16, 2009 at 8:47 AM, Xavier Ducrohet x...@android.com wrote: Hmm this shouldn't have been needed. I'll try to reproduce it here. Xav On Wed, Sep 16, 2009 at 8:43 AM,

[android-beginners] Re: Screen orientation

2009-09-17 Thread Raphael
On Wed, Sep 16, 2009 at 8:21 PM, kirti kaul kirti.k...@wipro.com wrote: You can also set the parameter in the manifest file as  activity  android:screenOrientation=landscape or portrait,which anyway is by default This will not help him test orientation changes. R/

[android-beginners] Re: AVD Not starting no Output

2009-09-17 Thread Raphael
Can you give us the output of the command: $ android list avds Thanks in advance, R/ On Thu, Sep 17, 2009 at 9:06 AM, praveen spraveenit...@gmail.com wrote: Hi I am getting the following error while trying to start the AVD via Eclipse. emulator: ERROR: unknown virtual device name:

[android-beginners] Re: Free and Paid apps with same code-base???

2009-09-17 Thread Raphael
Not yet. You can get around by extracting as much application logic as possible in a java lib, but you still need basically two projects for the android parts resources. If you're using Linux or a source control system like SVN you can share or symlink your res dir however. It's far from ideal

[android-beginners] Re: Error : No embedded stylesheet instruction for file

2009-09-20 Thread Raphael
You're not giving enough information to help you: are you using Eclipse? how did you build and run? That doesn't look like you're running an android app on an emulator at all. R/ On Mon, Sep 14, 2009 at 8:52 PM, Mabel mabelj.fin...@gmail.com wrote: Hi, I am trying to build a simple

[android-beginners] Re: Sockets with Android.

2009-10-04 Thread Raphael
Look for the actual error in the logcat view (Eclipse) or adb logcat (command line). Also make sure you declared the INTERNET permission in your manifest. R/ On Fri, Oct 2, 2009 at 8:58 AM, Android_n00b nikhil...@gmail.com wrote: Hi I'm implementing a program which uses sockets to communicate

[android-beginners] Re: Icon and text on button

2009-10-04 Thread Raphael
Try using this one: http://d.android.com/reference/android/widget/TextView.html#setCompoundDrawablesWithIntrinsicBounds(android.graphics.drawable.Drawable,%20android.graphics.drawable.Drawable,%20android.graphics.drawable.Drawable,%20android.graphics.drawable.Drawable) or directly in xml:

[android-beginners] Re: Problem Utilizing Already Existing Code

2009-10-12 Thread Raphael
What are your errors? R/ On Oct 11, 2009 11:48 AM, benjamin.grant.du benjamin.grant...@gmail.com wrote: http://code.google.com/p/jjil/source/checkout I want to use this code(the face detect part) in the emulator utilizing eclipse. I import the code as a new android project and get hundreds of

[android-beginners] Re: SDK Setup on Windows

2009-10-28 Thread Raphael
All SDK Setup does is execute tools\android.bat for you. Please help me understand what's going on by doing the following: - open a command prompt - cd to the android-sdk-windows folder - execute tools\android.bat from here - give me the output please :-) Also, an important question: Do you have

[android-beginners] Re: Android RSS Reader, Please Help

2009-10-28 Thread Raphael
I don't think posting up up every 2 hours is going to help any... M3 is a seriously obsolete release, which dates before Android had any kind of stable API in place. If you really want help porting your code, you might as well start by listing the compilation errors you get. I also noticed you

[android-beginners] Re: listen for when my app is installed

2009-10-28 Thread Raphael
Out of curiosity, why do you want to copy your assets on the sdcard anyway? They are already nicely zipped in your APK. R/ On Wed, Oct 28, 2009 at 9:45 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: i would like to copy some files from assets to the SD card when my app is installed.

[android-beginners] Re: Issue with Android Debug Bridge

2009-10-28 Thread Raphael
So you're trying to see an emulator, right, not a physical device? Can you tell us a bit more: - the version of adb: adb version - the version of your emulator: emulator -version (give the full first line, including build_id) - is the emulator fully booted when you try to see it in adb? does it

[android-beginners] Re: taking a screenshot...of whatever is drawn on the view

2009-10-28 Thread Raphael
I don't know about the DrawingCache. However if all you want is to draw your view to a bitmap, that's pretty easy: create a new bitmap, wrap it in a new Canvas(theBitmap) and call your view.onDraw with this canvas. R/ On Wed, Oct 28, 2009 at 3:04 AM, Samuh samuh.va...@gmail.com wrote: I am

Re: [android-beginners] Re: SDK Setup on Windows

2009-11-01 Thread Raphael
On Thu, Oct 29, 2009 at 10:20 AM, mellery451 mellery...@gmail.com wrote: sorry for the delay in responding. Here is the output: C:\android\android-sdk-windowstools\android.bat Starting Android SDK and AVD Manager Error: Error parsing the sdk. Error: C:\android\android-sdk-windows\platforms