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

2009-04-28 Thread tansaku
Hi Jack, Many thanks for that suggestion, however even after "sudo killall adb" the emulator does not show up in the list of devices. The web download idea is also a good one, and I thought I had got it to work after creating an sdcard image for the emulator, but when I tried to run the download

[android-beginners] Re: How to add my application to the build process?

2009-04-28 Thread Chih-Wei
Thank you for the reply. Yes, I know how to use adb to install an application by hand. But I'm asking how to add an application to the build process. I'd like to create a customized image containing my application. Is that possible? I think I can copy the directory of an existing application and m

[android-beginners] SDK 1.5 - "Emulator Control" don ´t send GPS location

2009-04-28 Thread Ricardo
Hi all, I installed de SDK 1.5 with the ADT 0.9 plugin, but I can´t send the GPS location using the Emulator Control view as before.. But using telnet and the "geo fix" command it works. Any idea ? Anybody could get the Emulator Control view work with the new sdk/ plugin ? thank you --~--~--

[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

[android-beginners] Re: switch / if statement, efficiency question

2009-04-28 Thread fadden
On Apr 28, 4:33 am, asymmetric wrote: > by looking at the Notepad examples, i've noticed that the switch > statement is used even when there's only one case handled, as in: [...] > my question is, which is the most efficient statement? are there any > noticeable differences, enough to justify a r

[android-beginners] Re: ListView Activity, fill space

2009-04-28 Thread Romain Guy
Hi, Get rid of the LienarLayout around ListView, it's useless. Then simply add android:weight="1.0" to ListView and change its height to 0dip. On Tue, Apr 28, 2009 at 8:09 AM, Ventrix Kostis P. wrote: > > I have this xml layout for a ListActivity. > > ?xml version="1.0" encoding="utf-8"?> >  

[android-beginners] background.png adding to a snake game

2009-04-28 Thread Sunil Deshpande
Hi All, I am trying to learn android application development. For start I am trying to modify the snake game which is given in SDK samples. Could you please tell me how to change the background of snake game through code. I want to insert my image instead of black color background. Please tell me

[android-beginners] ListView Activity, fill space

2009-04-28 Thread Ventrix Kostis P.
I have this xml layout for a ListActivity. ?xml version="1.0" encoding="utf-8"?> http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical">

[android-beginners] Re: New SDK 1.5 issue

2009-04-28 Thread heyunh...@gmail.com
It need not removed ur old SDK and 0.8ADT plugin. u must download new SDK1.5 and 0.9ADT plugin. 1.u must have Eclipse 3.3 or 3.4. Eclipse 3.2 is no longer supported. 2.u need creat an AVD.u need use the android tools. u saied to a lots of errors? pls upload ur error messages,that we can help u so

[android-beginners] How to publish application to own device without Android Market?

2009-04-28 Thread swax.me
is it possible to develop an application, package it and publish it for testing with my local device? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to and

[android-beginners] Re: Problems with 1.5 SDK

2009-04-28 Thread DonB
I have the same problem on 64 bit FC9 Any clue?? [...@localhost tools]$ddms Error Loading Preferences 32:06 E/ddms: shutting down due to uncaught exception 32:06 E/ddms: java.lang.UnsatisfiedLinkError: /home/don/andriod/ android-sdk-linux_x86-1.5_r1/tools/lib/libswt-pi-gtk-3236.so: /home/ don/an

[android-beginners] Re: Problems with 1.5 SDK

2009-04-28 Thread DonB
I have the same problem with 1.5 SDK (1.1 worked fine) I am running vmlinuz-2.6.27.21-78.2.41.fc9.x86_64 [...@localhost tools]$ ddms Error Loading Preferences 32:06 E/ddms: shutting down due to uncaught exception 32:06 E/ddms: java.lang.UnsatisfiedLinkError: /home/don/andriod/ android-sdk-linux

[android-beginners] Re: How to add my application to the build process?

2009-04-28 Thread heyunh...@gmail.com
u maybe use "adb" tool. ex. #adb install ur-application.apk if u want to remove it,u can use #adb shell rm +appliction-name.apk On Apr 24, 10:44 am, Chih-Wei wrote: > Hi, > I'd like to know is it possible to add my application to the build > process? > I mean, building my application by invoking

[android-beginners] Re: Problems with 1.5 SDK

2009-04-28 Thread Jay
i too see this same behavior, on freshly installed amd64 ubuntu 9.04. literally the first thing i did after installing ubuntu was to start setting up android dev environment. are we missing some compatibility libs? installed ia32-libs and sun-java6-bin, eclipse for java from eclipse.org. any he

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

2009-04-28 Thread heyunh...@gmail.com
It's sound to trouble. Best regards On Apr 28, 10:36 am, SliSparky wrote: > Everyone please forgive me, as i know absolutley nothing about > programming, all i know is just a little tid-bits in the hardware and > graphics areas. I would like to port the Android 1.5 OS to my Nokia > N810. My ma

[android-beginners] Could not find MyApp.apk!

2009-04-28 Thread AntonioCV
Hello: Today I have installed Eclipse Ganymede + ADT plugin (DDMS 0.9.0 & ADT 0.9.0) + Android SDK 1.5 + JDK 1.5.0_6 in a Windows Vista and I have created a new project (MyApp). These logs are shown in the console: [2009-04-28 12:45:06 - MyApp] no classfiles specified [2009-04-28 12:45:0

[android-beginners] Re: Infinite Error: I fixed "Failed to find an AVD compatible", only to get "ERROR: unknown virtual device name"

2009-04-28 Thread borghild.hedda
sorry silly mistake of mine i had to create an avd with command line it works On Apr 25, 10:16 pm, Xavier Ducrohet wrote: > You can make it whatever you want, but yes, I would recomment you > point it to C:\Users\Public\ so that it reuse the already existing > .android/ folder. > (don't make it

[android-beginners] Re: Infinite Error: I fixed "Failed to find an AVD compatible", only to get "ERROR: unknown virtual device name"

2009-04-28 Thread borghild.hedda
Hi, I have a new computer installed a fresh vista on it, downloaded eclipse, google android sdk 1.5, and plugin for eclipse for android. When I try to run my project that worked before I get: "Failed to find an AVD compatible with target 'Android 1.1'. Launch aborted." I didn't change my home fo

[android-beginners] Sharing Objects between activities using Singleton ?

2009-04-28 Thread kungfuslippers
Hi, I have an application with N Activities that all need access to an 'engine' class. I've seen discussion that says that I'd have to implement the Engine using a Singleton pattern to allow the different activities to access the engine. Is this is the only/best/recommended way to do it in the

[android-beginners] Re: How to start the code? what should I do?

2009-04-28 Thread Arnaud Weber
Why did you modified buildspec.mk??? If you have ADT plug-in and sdk, you just need to select your project in eclipse and do a run with -> android app if your adt plugin is configured with the sdk path then it's going to launch the emulator and deploy it. Arnaud 2009/4/28 ja...@work > > I'm a

[android-beginners] How to start the code? what should I do?

2009-04-28 Thread ja...@work
I'm a beginner with android, so i'm following all the steps in the dev giude and so on. At the moment, I downloaded the sdk 1.5, installed ADT plug-in for eclipse, got the source code (repo sync), In the future I'd like to make android running on the desktop i'm using (x86, ubuntu 8.10), so i m

[android-beginners] switch / if statement, efficiency question

2009-04-28 Thread asymmetric
hi! by looking at the Notepad examples, i've noticed that the switch statement is used even when there's only one case handled, as in: public boolean onMenuItemSelected(int featureId, MenuItem item) { switch(item.getItemId()) { case INSERT_ID: createNote();

[android-beginners] Working on x86

2009-04-28 Thread ja...@work
Hi to everyone. I'm a beginner with android, so i'm following all the steps in the dev giude and so on. At the moment, I downloaded the sdk 1.5, installed ADT plug-in for eclipse, got the source code (repo sync), used "make" to build the code. NOW I'd like to make android running on the deskto