[android-beginners] Re: android emulator window hangs when closing window

2009-05-16 Thread jimbo

Hi Again,

Wow thanks David, you've hit the mark!

Adding the audio -none flag resolved the issue and the emulator window
shut down.

Trying out your suggested options: "alsa", "oss", and "sdl" all worked
(resulting in audible sound), while (as you suspected) "esd" resulted
in the window hanging when I tried to close.

You can't imagine how much relief your advice gave me!

Thank you,
Jim

PS. Also thanks Emit, but this problem occurred while calling the
emulator from a terminal window (from command line) thus bypassing
Eclipse altogether.



On May 15, 2:58 am, Emit  wrote:
> Jim, I thought I replied to this, rather than to Sender, but I still
> do not see my response, so if this is a duplicate, please ignore.
>
> Are you closing the emulator window while Eclipse is still running? Or
> after terminating Eclipse?
>
> On May 14, 9:49 am, jimbo  wrote:
>
> > Hi,
>
> > After installing android SDK 1.5 r1 and the ADT plugin for Eclipse
> > Ganymede 3.4.2 on Ubuntu 32 bit 9.04 (Jaunty), I find that after
> > running any android application (with no problems), that I am unable
> > to terminate the emulator instance by closing the window. It just
> > hangs and I have to call kill -9 to terminate the process. This
> > happens irrespective of whatever AVD target I choose (1.1 or 1.5).
>
> > The same happens even if I run the emulator from a terminal (by
> > passing eclipse altogether) by calling 'emulator -avd myavd -netspeed
> > full -netdelay none' . Adding the -verbose and -logcat and -show-
> > kernel flags does not help resolve the issue.
>
> > I have looked widely for a solution on the Web but this problem does
> > not appear much.
>
> > Any ideas on how to resolve this or is there another way to terminate
> > the emulator instance?
>
> > Thanks,
> > Jim
>
>
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 package line manually.

R/

On Sat, May 16, 2009 at 4:05 PM, Sean Hodges
 wrote:
> 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"  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, 2009 at 3:26 PM, Xian Chen  wrote: > My
> question is "com", "co...
>
> >
>

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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  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 Linux? What else
> (if any) would be required to run the application?
>
>
> On Thu, May 14, 2009 at 9:19 AM, Dhananjay Joshi
>  wrote:
>>
>>
>> On Thu, May 14, 2009 at 9:12 AM, Vaidya  wrote:
>>>
>>> Dear Mark,
>>> Thanks for the reply.
>>> I am using Ubuntu Linux OS and wanted to develop an Android application,
>>> that runs on my OS.
>>>
>>> Is there any way I can run that Android application on my Linux OS? (If I
>>> have the Java and Dalvik VMs running)
>>>
>>> Regards,
>>> Vaidya
>>>
>>>
>>> On Wed, May 13, 2009 at 11:30 PM, Mark Murphy 
>>> wrote:

 > Can you please let me know if Android applications can be run on Linux
 > OS,
 > if the Java and Dalvik Virtual machines are installed.

 I am not aware of a Dalvik VM ported to run on ordinary Linux. I am also
 not aware of the Android frameworks and class libraries being ported to
 run on ordinary Linux.

 You can run Android in an ARM emulator running on Linux, if that helps.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com
 _The Busy Coder's Guide to Android Development_ Version 2.0 Available!




>>>
>>>
>>> Hi
>>>  It is possible to run Android application on ubuntu linux.only the
>>> thing is you need to
>>>  cross compile dalvikvm and java libraries for ubunto .thats it
>>>
>>> Regards,
>>> DJ
>>>
>>>
>
>
> >
>

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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" attribute
so you can change the background to an image or a gradient on any of
your widgets.

R/

On Sat, May 16, 2009 at 7:17 AM, erykthege...@googlemail.com
 wrote:
>
> 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 for my UI.
> In the UI I've managed to create an imageview that i've been able to
> update to scroll through a bunch of images by pressing a button.
> Pretty simple stuff so far.
>
> Now, here comes my problem.
>
> I want to create an area seperate of this imageview that will also
> display a background image, and then, multiple images atop that
> background image at specific locations. I will eventually want these
> images to be clickable.
>
> From reading many an article it seems that the way to display an image
> at a specific location and do all sorts of fancy stuff with it is by
> using a canvas. but this doesnt appear to be a valid viewtype in the
> layout xml. I found a basic tutorial that created a drawview class,
> which I managed to work in, but it only allows me to have either that
> layout, or the one in my xml file. I've tried inserting this class
> into my main.xml by following this tut
> http://www.anddev.org/creating_custom_views_-_the_togglebutton-t310.html
> but it doesnt seem to work.
>
> I think i'm probably overcomplicating the issue, but if anyone could
> point me at some resources that could show me how to acheive this, or
> could offer any help on it, I would be most appreciative.
>
> In Summary :-
> I have a ui layout that I want to use.
> I want to add in a canvas area in this layout (can't figure out how)
> with the canvas I want to be able to place multiple images at specific
> locations
> I want these images to be clickable.
>
> >
>

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



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

2009-05-16 Thread superjet

Well for posterity - seems to be a problem with cupcake (1.5)
http://groups.google.com/group/android-developers/browse_thread/thread/e97e50c9e384106c/47c7352cb4701727#47c7352cb4701727

On May 16, 8:04 pm, superjet  wrote:
> Anyone?
>
> On May 15, 2:22 pm, superjet  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. Instead, I only see a black screen. Can
> > anyone please tell me what I'm missing here? Alternatively, if a
> > different approach is a better implementation, please let me know!
> > Thanks!SJ
>
> > Main class code:
> > package com.example.MasterClass;
>
> > import android.app.Activity;
> > import android.content.Intent;
> > import android.os.Bundle;
> > import android.view.View;
> > import android.view.View.OnClickListener;
> > import android.widget.ImageButton;
> > import android.widget.Toast;
>
> > public class MasterClass extends Activity {
> >     /** Called when the activity is first created. */
> >     @Override
> >     public void onCreate(Bundle savedInstanceState) {
> >         super.onCreate(savedInstanceState);
> >         firstView();
> >     }
>
> >     void firstView() {
> >       setContentView(R.layout.main);
> >         final ImageButton button = (ImageButton) findViewById
> > (R.id.android_button);
> >         button.setOnClickListener(new OnClickListener() {
> >             public void onClick(View v) {
> >                 // Perform action on clicks
> >                 Toast.makeText(MasterClass.this, "Beep Bop",
> > Toast.LENGTH_SHORT).show();
> >                 Intent i = new Intent(MasterClass.this,
> > SecondClass.class);
> >                 startActivity(i);
> >             }
> >         });
> >     }
>
> > }
>
> > Second Class Code:
>
> > package com.example.MasterClass;
>
> > import android.app.Activity;
> > import android.os.Bundle;
> > import android.webkit.WebView;
>
> > public class SecondClass extends Activity {
> >     /** Called when the activity is first created. */
> >     @Override
> >     public void onCreate(Bundle savedInstanceState) {
> >         super.onCreate(savedInstanceState);
> >        WebView webview;
> >        webview = (WebView) findViewById(R.id.webview);
> >        webview.getSettings().setJavaScriptEnabled(true);
> >        webview.loadUrl("http://www.google.com";);
> >     }
>
> > }
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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
 wrote:
>
> There is no possibility to create subfolders in the folder "drawable"
> to manage the images?
>
> On 8 Mai, 17:21, kaloer  wrote:
>> Hmm.. Okay. Then I keep using thedrawablefolder :-)
>>
>> On 8 Maj, 17:18, Romain Guy  wrote:
>>
>> > There is no other way at the moment. For what it's worth, the
>> > framework's drawables folders contains about 700 files :)
>>
>> > On Fri, May 8, 2009 at 7:05 AM, kaloer  wrote:
>>
>> > > Hi, I have plenty of image files in mydrawablefolder because my
>> > > application has different skins. This makes it very unmanageable. But
>> > > is there a better to organize the graphics, like folders, groups or
>> > > such things? Or is it a good idea to not use thedrawableresource,
>> > > but instead create a xml file in the application directory for each
>> > > skin with the image-links?
>>
>> > --
>> > Romain Guy
>> > Android framework engineer
>> > romain...@android.com
>>
>> > Note: please don't send private questions to me, as I don't have time
>> > to provide private support.  All such questions should be posted on
>> > public forums, where I and others can see and answer them
>
> >
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 button.  If you select an existing note by clicking
and holding, the context menu appears with a single option, "Delete
Note."

The tutorial's authors, I feel, did not make this clear.  By examining
the code, though, and attempting to understand exactly what it is
we're being taught, there is enough information to figure this out.

Happy Coding!
Moto

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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"  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.

For the emulator I could use the ADB utility (push) or the file
explorer under Eclipse.  However, for the actual phone, ADB is saying
"read only" when I try to push (possibly I need to qualify the
destination better).  And in file explorer I can not see the
application - even though it is there on the phone screen (and runs).

Suggestions???
 jmk


--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 using the logged in session is:

   audioStreamer = new StreamingMediaPlayer(this, textStreamed,
   playButton, streamButton, progressBar);
   audioStreamer
   .startStreaming(
   "http://mydomain/audio.mp3";,
   1677, 214);


Thanks in Advance, Andi


PS: here is the Login code for completeness:

   @Override
   public void doLogin(String uri, String username, String password) {
   List  nvps = new ArrayList ();
   nvps.add(new BasicNameValuePair("username", username));
   nvps.add(new BasicNameValuePair("password", password));
   HttpClient client = new DefaultHttpClient();
   HttpPost httpost = new HttpPost(PROTOCOL_PREFIX + uri);

   try {
   httpost.setEntity(new UrlEncodedFormEntity(nvps, HTTP.UTF_8));
 // Post, check and show the result (not really 
spectacular, but works):
   client.execute(httpost, new BasicResponseHandler() {
   @Override
   public String handleResponse(HttpResponse response) {
   HttpEntity entity = response.getEntity();
   HttpParams params = response.getParams();
   Log.i("LOGIN", "e: " + entity + " p: " + params);
   return "";
   }
   });
   } catch (Exception e) {
   Log.e(getClass().getName(), "Error logging in: " + 
e.getMessage(),
   e);
   }
   }

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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"  wrote:
> I do not have an Android phone but I'm trying the Android Emulator,
> with Android 1.5.
> It works (very slowly) but no account setup procedure appears.
> Also, applications like GMail and Maps are missing.
> So:
> 1. How do I set up my Google account on the phone?
> 2. How do I add applications?
> 3. Is there a proper Android manual somewhere?

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 for my UI.
In the UI I've managed to create an imageview that i've been able to
update to scroll through a bunch of images by pressing a button.
Pretty simple stuff so far.

Now, here comes my problem.

I want to create an area seperate of this imageview that will also
display a background image, and then, multiple images atop that
background image at specific locations. I will eventually want these
images to be clickable.

>From reading many an article it seems that the way to display an image
at a specific location and do all sorts of fancy stuff with it is by
using a canvas. but this doesnt appear to be a valid viewtype in the
layout xml. I found a basic tutorial that created a drawview class,
which I managed to work in, but it only allows me to have either that
layout, or the one in my xml file. I've tried inserting this class
into my main.xml by following this tut
http://www.anddev.org/creating_custom_views_-_the_togglebutton-t310.html
but it doesnt seem to work.

I think i'm probably overcomplicating the issue, but if anyone could
point me at some resources that could show me how to acheive this, or
could offer any help on it, I would be most appreciative.

In Summary :-
I have a ui layout that I want to use.
I want to add in a canvas area in this layout (can't figure out how)
with the canvas I want to be able to place multiple images at specific
locations
I want these images to be clickable.

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 debugging driver on the PC at all as the
instructions say it will. I *have* turned on USB debugging on the
phone, and restarted it and the PC several times just in case...

I've tried this on 2 PCs and got the same result which makes me
suspect the phone is the problem not the PCs but it could be either.

Google found quite a few people with this problem but no real
solutions and nothing that worked for me.
Anyone got any ideas?

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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" 
wrote:

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@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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  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.
>
> For the emulator I could use the ADB utility (push) or the file
> explorer under Eclipse.  However, for the actual phone, ADB is saying
> "read only" when I try to push (possibly I need to qualify the
> destination better).  And in file explorer I can not see the
> application - even though it is there on the phone screen (and runs).
>
> Suggestions???
>                           jmk

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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  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 - but am I missing an update for the actual phone
> firmware?  [Previous announcements said all phones after January 2009
> would have the keyboard, same as the emulator.]   tnx.

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 still
couldn't get them to install.

I've also tried on Kubuntu  (9 I think) again following the android dev
docs. Adb never shows any devices attached.

Debug mode is enabled on my phone, so it's not that simple. Anyone have any
ideas? Or more questions if you need more info :p

Thanks in advance

Nik

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 the Wifi adapter I have no
network connection at all.

I'm running firmware 1.5 on the phone, using the USB drivers from the
1.5 sdk and have updated the WG111v3 drivers to latest available from
netgear.

Has anyone had similar problems? Any suggestions on how to fix the
problem?

Cheers

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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  wrote:
> Hmm.. Okay. Then I keep using thedrawablefolder :-)
>
> On 8 Maj, 17:18, Romain Guy  wrote:
>
> > There is no other way at the moment. For what it's worth, the
> > framework's drawables folders contains about 700 files :)
>
> > On Fri, May 8, 2009 at 7:05 AM, kaloer  wrote:
>
> > > Hi, I have plenty of image files in mydrawablefolder because my
> > > application has different skins. This makes it very unmanageable. But
> > > is there a better to organize the graphics, like folders, groups or
> > > such things? Or is it a good idea to not use thedrawableresource,
> > > but instead create a xml file in the application directory for each
> > > skin with the image-links?
>
> > --
> > Romain Guy
> > Android framework engineer
> > romain...@android.com
>
> > Note: please don't send private questions to me, as I don't have time
> > to provide private support.  All such questions should be posted on
> > public forums, where I and others can see and answer them

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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"  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 - but am I missing an update for the actual phone
firmware?  [Previous announcements said all phones after January 2009
would have the keyboard, same as the emulator.]   tnx.

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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  wrote:
> what if wanted to design a new game in andriod

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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" 
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 

> > > Hi, > > I coudn't fetch the ADT Eclipse plugin using the address
provided by > doc: https://d...



-- 
Cheers
(: Naveen Krishna Ch :)

--~--~-~--~~~---~--~~ You received this
message because you are su...

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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  wrote:

>
>
> On Thu, May 14, 2009 at 9:12 AM, Vaidya  wrote:
>
>> Dear Mark,
>> Thanks for the reply.
>> I am using Ubuntu Linux OS and wanted to develop an Android application,
>> that runs on my OS.
>>
>> Is there any way I can run that Android application on my Linux OS? (If I
>> have the Java and Dalvik VMs running)
>>
>> Regards,
>> Vaidya
>>
>>
>>
>> On Wed, May 13, 2009 at 11:30 PM, Mark Murphy wrote:
>>
>>>
>>> > Can you please let me know if Android applications can be run on Linux
>>> OS,
>>> > if the Java and Dalvik Virtual machines are installed.
>>>
>>> I am not aware of a Dalvik VM ported to run on ordinary Linux. I am also
>>> not aware of the Android frameworks and class libraries being ported to
>>> run on ordinary Linux.
>>>
>>> You can run Android in an ARM emulator running on Linux, if that helps.
>>>
>>> --
>>> Mark Murphy (a Commons Guy)
>>> http://commonsware.com
>>> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
>>>
>>>
>>>
>>>
>>>
>>
>> Hi
>>  It is possible to run Android application on ubuntu linux.only the
>> thing is you need to
>>  cross compile dalvikvm and java libraries for ubunto .thats it
>>
>> Regards,
>> DJ
>>
>> >>
>>

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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.
simpleCursorAdapter=new
SimpleCursorAdapter(this,R.layout.row,matrixCursor,new
String[]{matrixCursor.getColumnName(1),matrixCursor.getColumnName(2)},new
int[]{R.id.TextView01,R.id.TextView02});
my problem is "simpleCursorAdapter.notifyDataSetChanged();" is not working.
 protected void onResume() {

 cursor2.requery();
 cursor3=myDbAdapter.getAll();
 System.out.println("ak_:Onresumed");
 simpleCursorAdapter.notifyDataSetChanged();

so my list is not refresing/updating altough all cursors all results are
updating.
Is there any idea?

-- 
ADEM KARAKOLLU

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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);

this.mImage.draw(canvas);

}

which works fine. It is not extending any Views, though, as this is
just a logical unit on the app.

However, I want to run a 3 frame animation rather than just rendering
the image, so I tried the following:

1) Created a AnimationDrawable member on that same class:

AnimationDrawable aAnimate;

2) Loaded my animation to the Drawable member from the xml file on the
constructor with:

this.mImage = context.getResources().getDrawable(
R.anim.test2);

3) Created a reference to the AnimationDrawable on the constructor
with:

this.aAnimate = (AnimationDrawable)this.mImage;

4) Changed the Draw() method to:

public void Draw(Canvas canvas){

this.mImage.setBounds(this.coordX, this.coordY, this.coordX +
this.mImageWidth, this.coordY
+ this.mImageHeight);

this.aAnimate.start();
//this.mImage.draw(canvas);

}


But the Drawable does not even appear on the screen (I have logged the
execution so I know that I am getting to the start()).

Any clues/help possible from the gurus out there?

Many thanks

Cass
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 example on the API demos that might be
useful... dig a little there and you might find some good stuff! :)

Cya

Cass



On May 16, 4:38 pm, Sheepz  wrote:
> 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-LDoKh...
> )
> Are you suggesting that I replace one of these views with a viewgroup?
> how would you integrate it into this layout?
> Thanks,
> E.
> P.s.
> I've tried playing around with the bringToFront() method of the card
> imageview and it didn't help...
>
> On May 16, 6:46 am, Cass Surek  wrote:
>
> > 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 
> > athttp://developer.android.com/reference/android/view/ViewGroup.html
>
> > Good luck!
>
> > Cass
>
> > On May 15, 8:46 pm, Sheepz  wrote:
>
> > > Hi, I've posted this on android developers and got no answer so i was
> > > thinking maybe somebody here knows:
> > > I want to be able to make an imageview move from point a to b while
> > > going through several different views.
> > > For example, say I have a table layout, is there any way an imageview
> > > can move from the topleft cell to the bottomright cell?
> > > Everything I tried seems to indicate that an imageview will only be
> > > shown in it's own container - none of it's parents, siblings or
> > > children will show it.
> > > Is that correct? is there any way around it? like creating an overlay
> > > or a transparent canvas on top of the entire thing so I can do it?
> > > thanks,
> > > Sh.
>
>
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



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

2009-05-16 Thread superjet

Anyone?

On May 15, 2:22 pm, superjet  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. Instead, I only see a black screen. Can
> anyone please tell me what I'm missing here? Alternatively, if a
> different approach is a better implementation, please let me know!
> Thanks!SJ
>
> Main class code:
> package com.example.MasterClass;
>
> import android.app.Activity;
> import android.content.Intent;
> import android.os.Bundle;
> import android.view.View;
> import android.view.View.OnClickListener;
> import android.widget.ImageButton;
> import android.widget.Toast;
>
> public class MasterClass extends Activity {
>     /** Called when the activity is first created. */
>     @Override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>         firstView();
>     }
>
>     void firstView() {
>       setContentView(R.layout.main);
>         final ImageButton button = (ImageButton) findViewById
> (R.id.android_button);
>         button.setOnClickListener(new OnClickListener() {
>             public void onClick(View v) {
>                 // Perform action on clicks
>                 Toast.makeText(MasterClass.this, "Beep Bop",
> Toast.LENGTH_SHORT).show();
>                 Intent i = new Intent(MasterClass.this,
> SecondClass.class);
>                 startActivity(i);
>             }
>         });
>     }
>
> }
>
> Second Class Code:
>
> package com.example.MasterClass;
>
> import android.app.Activity;
> import android.os.Bundle;
> import android.webkit.WebView;
>
> public class SecondClass extends Activity {
>     /** Called when the activity is first created. */
>     @Override
>     public void onCreate(Bundle savedInstanceState) {
>         super.onCreate(savedInstanceState);
>        WebView webview;
>        webview = (WebView) findViewById(R.id.webview);
>        webview.getSettings().setJavaScriptEnabled(true);
>        webview.loadUrl("http://www.google.com";);
>     }
>
> }
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 at the memory usage or something else while it is  
drawing the frame.


On 17/05/2009, at 11:23 AM, Sean Hodges wrote:

> 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"  wrote:
>>
>>
>> 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): *** *** *** *** *** *** *** ***
>> *** *** *** *** *** *** *** ***
>> 05-17 10:23:58.442: INFO/DEBUG(539): Build fingerprint: 'generic/sdk/
>> generic/:1.5/CUPCAKE/147336:eng/test-keys'
>> 05-17 10:23:58.442: INFO/DEBUG(539): pid: 4686, tid: 4843  >>>
>> edu.union <<<
>> 05-17 10:23:58.452: INFO/DEBUG(539): signal 11 (SIGSEGV), fault addr
>> 001cc000
>> 05-17 10:23:58.452: INFO/DEBUG(539):  r0   r1 008e  r2
>> 8000  r3 
>> 05-17 10:23:58.452: INFO/DEBUG(539):  r4 001cbff8  r5 456a1ce0  r6
>> 001ca620  r7 001c4d50
>> 05-17 10:23:58.462: INFO/DEBUG(539):  r8 098e  r9 000c  10
>>   fp 001c7240
>> 05-17 10:23:58.462: INFO/DEBUG(539):  ip 456a1cf0  sp 456a1c60  lr
>> acc081a0  pc acc081a4  cpsr 4010
>> 05-17 10:23:58.562: INFO/DEBUG(539):  #00  pc 81a4  /
>> system/lib/libagl.so
>> 05-17 10:23:58.562: INFO/DEBUG(539):  #01  pc b420  /
>> system/lib/libagl.so
>> 05-17 10:23:58.572: INFO/DEBUG(539):  #02  pc fa9c  /
>> system/lib/libagl.so
>> 05-17 10:23:58.582: INFO/DEBUG(539):  #03  pc 000118e0  /
>> system/lib/libagl.so
>> 05-17 10:23:58.582: INFO/DEBUG(539):  #04  pc 78cc  /
>> system/lib/libagl.so
>> 05-17 10:23:58.592: INFO/DEBUG(539):  #05  pc 9068  /
>> system/lib/libagl.so
>> 05-17 10:23:58.602: INFO/DEBUG(539):  #06  pc e3b4  /
>> system/lib/libdvm.so
>> 05-17 10:23:58.612: INFO/DEBUG(539): stack:
>> 05-17 10:23:58.622: INFO/DEBUG(539): 456a1c20  456a1d00
>> 05-17 10:23:58.622: INFO/DEBUG(539): 456a1c24  
>> 05-17 10:23:58.622: INFO/DEBUG(539): 456a1c28  001ca4b0  [heap]
>> 05-17 10:23:58.632: INFO/DEBUG(539): 456a1c2c  000c
>> 05-17 10:23:58.632: INFO/DEBUG(539): 456a1c30  001c8344  [heap]
>> 05-17 10:23:58.642: INFO/DEBUG(539): 456a1c34  acc10c70  /system/
>> lib/libagl.so
>> 05-17 10:23:58.642: INFO/DEBUG(539): 456a1c38  d7c4  [heap]
>> 05-17 10:23:58.642: INFO/DEBUG(539): 456a1c3c  
>> 05-17 10:23:58.642: INFO/DEBUG(539): 456a1c40  0001
>> 05-17 10:23:58.642: INFO/DEBUG(539): 456a1c44  0203
>> 05-17 10:23:58.652: INFO/DEBUG(539): 456a1c48  1120
>> 05-17 10:23:58.652: INFO/DEBUG(539): 456a1c4c  001ca520  [heap]
>> 05-17 10:23:58.652: INFO/DEBUG(539): 456a1c50  001ca420  [heap]
>> 05-17 10:23:58.652: INFO/DEBUG(539): 456a1c54  001ca4a0  [heap]
>> 05-17 10:23:58.652: INFO/DEBUG(539): 456a1c58  df002777
>> 05-17 10:23:58.652: INFO/DEBUG(539): 456a1c5c  e3a070ad
>> 05-17 10:23:58.663: INFO/DEBUG(539): #00 456a1c60  fef7
>> 05-17 10:23:58.672: INFO/DEBUG(539): 456a1c64  456a1ce0
>> 05-17 10:23:58.672: INFO/DEBUG(539): 456a1c68  001ca520  [heap]
>> 05-17 10:23:58.682: INFO/DEBUG(539): 456a1c6c  acc0b424  /system/
>> lib/libagl.so
>> 05-17 10:23:58.682: INFO/DEBUG(539): #01 456a1c70  999a
>> 05-17 10:23:58.682: INFO/DEBUG(539): 456a1c74  4ccd
>> 05-17 10:23:58.682: INFO/DEBUG(539): 456a1c78  
>> 05-17 10:23:58.692: INFO/DEBUG(539): 456a1c7c  0978
>> 05-17 10:23:58.692: INFO/DEBUG(539): 456a1c80  acf19ec4
>> 05-17 10:23:58.692: INFO/DEBUG(539): 456a1c84  00e6
>> 05-17 10:23:58.702: INFO/DEBUG(539): 456a1c88  0002
>> 05-17 10:23:58.712: INFO/DEBUG(539): 456a1c8c  
>> 05-17 10:23:58.712: INFO/DEBUG(539): 456a1c90  001ca5a0  [heap]
>> 05-17 10:23:58.722: INFO/DEBUG(539): 456a1c94  0e68
>> 05-17 10:23:58.733: INFO/DEBUG(539): 456a1c98  0001
>> 05-17 10:23:58.733: INFO/DEBUG(539): 456a1c9c  
>> 05-17 10:23:58.733: INFO/DEBUG(539): 456a1ca0  00de1401
>> 05-17 10:23:58.742: INFO/DEBUG(539): 456a1ca4  0043b400
>> 05-17 10:23:58.742: INFO/DEBUG(539): 456a1ca8  0140
>> 05-17 10:23:58.752: INFO/DEBUG(539): 456a1cac  7334
>> 05-17 10:23:58.752: INFO/DEBUG(539): 456a1cb0  
>> 05-17 10:23:58.752: INFO/DEBUG(539): 456a1cb4  acf0a97c  /system/
>> lib/libpixelflin

[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"  wrote:


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): *** *** *** *** *** *** *** ***
*** *** *** *** *** *** *** ***
05-17 10:23:58.442: INFO/DEBUG(539): Build fingerprint: 'generic/sdk/
generic/:1.5/CUPCAKE/147336:eng/test-keys'
05-17 10:23:58.442: INFO/DEBUG(539): pid: 4686, tid: 4843  >>>
edu.union <<<
05-17 10:23:58.452: INFO/DEBUG(539): signal 11 (SIGSEGV), fault addr
001cc000
05-17 10:23:58.452: INFO/DEBUG(539):  r0   r1 008e  r2
8000  r3 
05-17 10:23:58.452: INFO/DEBUG(539):  r4 001cbff8  r5 456a1ce0  r6
001ca620  r7 001c4d50
05-17 10:23:58.462: INFO/DEBUG(539):  r8 098e  r9 000c  10
  fp 001c7240
05-17 10:23:58.462: INFO/DEBUG(539):  ip 456a1cf0  sp 456a1c60  lr
acc081a0  pc acc081a4  cpsr 4010
05-17 10:23:58.562: INFO/DEBUG(539):  #00  pc 81a4  /
system/lib/libagl.so
05-17 10:23:58.562: INFO/DEBUG(539):  #01  pc b420  /
system/lib/libagl.so
05-17 10:23:58.572: INFO/DEBUG(539):  #02  pc fa9c  /
system/lib/libagl.so
05-17 10:23:58.582: INFO/DEBUG(539):  #03  pc 000118e0  /
system/lib/libagl.so
05-17 10:23:58.582: INFO/DEBUG(539):  #04  pc 78cc  /
system/lib/libagl.so
05-17 10:23:58.592: INFO/DEBUG(539):  #05  pc 9068  /
system/lib/libagl.so
05-17 10:23:58.602: INFO/DEBUG(539):  #06  pc e3b4  /
system/lib/libdvm.so
05-17 10:23:58.612: INFO/DEBUG(539): stack:
05-17 10:23:58.622: INFO/DEBUG(539): 456a1c20  456a1d00
05-17 10:23:58.622: INFO/DEBUG(539): 456a1c24  
05-17 10:23:58.622: INFO/DEBUG(539): 456a1c28  001ca4b0  [heap]
05-17 10:23:58.632: INFO/DEBUG(539): 456a1c2c  000c
05-17 10:23:58.632: INFO/DEBUG(539): 456a1c30  001c8344  [heap]
05-17 10:23:58.642: INFO/DEBUG(539): 456a1c34  acc10c70  /system/
lib/libagl.so
05-17 10:23:58.642: INFO/DEBUG(539): 456a1c38  d7c4  [heap]
05-17 10:23:58.642: INFO/DEBUG(539): 456a1c3c  
05-17 10:23:58.642: INFO/DEBUG(539): 456a1c40  0001
05-17 10:23:58.642: INFO/DEBUG(539): 456a1c44  0203
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c48  1120
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c4c  001ca520  [heap]
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c50  001ca420  [heap]
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c54  001ca4a0  [heap]
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c58  df002777
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c5c  e3a070ad
05-17 10:23:58.663: INFO/DEBUG(539): #00 456a1c60  fef7
05-17 10:23:58.672: INFO/DEBUG(539): 456a1c64  456a1ce0
05-17 10:23:58.672: INFO/DEBUG(539): 456a1c68  001ca520  [heap]
05-17 10:23:58.682: INFO/DEBUG(539): 456a1c6c  acc0b424  /system/
lib/libagl.so
05-17 10:23:58.682: INFO/DEBUG(539): #01 456a1c70  999a
05-17 10:23:58.682: INFO/DEBUG(539): 456a1c74  4ccd
05-17 10:23:58.682: INFO/DEBUG(539): 456a1c78  
05-17 10:23:58.692: INFO/DEBUG(539): 456a1c7c  0978
05-17 10:23:58.692: INFO/DEBUG(539): 456a1c80  acf19ec4
05-17 10:23:58.692: INFO/DEBUG(539): 456a1c84  00e6
05-17 10:23:58.702: INFO/DEBUG(539): 456a1c88  0002
05-17 10:23:58.712: INFO/DEBUG(539): 456a1c8c  
05-17 10:23:58.712: INFO/DEBUG(539): 456a1c90  001ca5a0  [heap]
05-17 10:23:58.722: INFO/DEBUG(539): 456a1c94  0e68
05-17 10:23:58.733: INFO/DEBUG(539): 456a1c98  0001
05-17 10:23:58.733: INFO/DEBUG(539): 456a1c9c  
05-17 10:23:58.733: INFO/DEBUG(539): 456a1ca0  00de1401
05-17 10:23:58.742: INFO/DEBUG(539): 456a1ca4  0043b400
05-17 10:23:58.742: INFO/DEBUG(539): 456a1ca8  0140
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cac  7334
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cb0  
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cb4  acf0a97c  /system/
lib/libpixelflinger.so
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cb8  0008
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cbc  1ad8
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cc0  
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cc4  0e68
05-17 10:23:58.762: INFO/DEBUG(539): 456a1cc8  456a1cec
05-17 10:23:58.772: INFO/DEBUG(539): 456a1ccc  456a1cdc
05-17 10:23:58.772: INFO/DEBUG(539): 456a1cd0  0e68
05-17 10:23:58.772: INFO/DEBUG(539): 456a1cd4  456a1cfc
05-17 10:23:58.772: INFO/DEBUG(539): 456a1cd8  f8ab  [heap]
05-17 10:23:58.772: INFO/DEBUG(539): 456a1cdc  00de1401
05-17 10:23:58.782: INFO/DEBUG(539): 456a1ce0  
05-17 10:23

[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): *** *** *** *** *** *** *** ***  
*** *** *** *** *** *** *** ***
05-17 10:23:58.442: INFO/DEBUG(539): Build fingerprint: 'generic/sdk/ 
generic/:1.5/CUPCAKE/147336:eng/test-keys'
05-17 10:23:58.442: INFO/DEBUG(539): pid: 4686, tid: 4843  >>>  
edu.union <<<
05-17 10:23:58.452: INFO/DEBUG(539): signal 11 (SIGSEGV), fault addr  
001cc000
05-17 10:23:58.452: INFO/DEBUG(539):  r0   r1 008e  r2  
8000  r3 
05-17 10:23:58.452: INFO/DEBUG(539):  r4 001cbff8  r5 456a1ce0  r6  
001ca620  r7 001c4d50
05-17 10:23:58.462: INFO/DEBUG(539):  r8 098e  r9 000c  10  
  fp 001c7240
05-17 10:23:58.462: INFO/DEBUG(539):  ip 456a1cf0  sp 456a1c60  lr  
acc081a0  pc acc081a4  cpsr 4010
05-17 10:23:58.562: INFO/DEBUG(539):  #00  pc 81a4  / 
system/lib/libagl.so
05-17 10:23:58.562: INFO/DEBUG(539):  #01  pc b420  / 
system/lib/libagl.so
05-17 10:23:58.572: INFO/DEBUG(539):  #02  pc fa9c  / 
system/lib/libagl.so
05-17 10:23:58.582: INFO/DEBUG(539):  #03  pc 000118e0  / 
system/lib/libagl.so
05-17 10:23:58.582: INFO/DEBUG(539):  #04  pc 78cc  / 
system/lib/libagl.so
05-17 10:23:58.592: INFO/DEBUG(539):  #05  pc 9068  / 
system/lib/libagl.so
05-17 10:23:58.602: INFO/DEBUG(539):  #06  pc e3b4  / 
system/lib/libdvm.so
05-17 10:23:58.612: INFO/DEBUG(539): stack:
05-17 10:23:58.622: INFO/DEBUG(539): 456a1c20  456a1d00
05-17 10:23:58.622: INFO/DEBUG(539): 456a1c24  
05-17 10:23:58.622: INFO/DEBUG(539): 456a1c28  001ca4b0  [heap]
05-17 10:23:58.632: INFO/DEBUG(539): 456a1c2c  000c
05-17 10:23:58.632: INFO/DEBUG(539): 456a1c30  001c8344  [heap]
05-17 10:23:58.642: INFO/DEBUG(539): 456a1c34  acc10c70  /system/ 
lib/libagl.so
05-17 10:23:58.642: INFO/DEBUG(539): 456a1c38  d7c4  [heap]
05-17 10:23:58.642: INFO/DEBUG(539): 456a1c3c  
05-17 10:23:58.642: INFO/DEBUG(539): 456a1c40  0001
05-17 10:23:58.642: INFO/DEBUG(539): 456a1c44  0203
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c48  1120
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c4c  001ca520  [heap]
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c50  001ca420  [heap]
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c54  001ca4a0  [heap]
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c58  df002777
05-17 10:23:58.652: INFO/DEBUG(539): 456a1c5c  e3a070ad
05-17 10:23:58.663: INFO/DEBUG(539): #00 456a1c60  fef7
05-17 10:23:58.672: INFO/DEBUG(539): 456a1c64  456a1ce0
05-17 10:23:58.672: INFO/DEBUG(539): 456a1c68  001ca520  [heap]
05-17 10:23:58.682: INFO/DEBUG(539): 456a1c6c  acc0b424  /system/ 
lib/libagl.so
05-17 10:23:58.682: INFO/DEBUG(539): #01 456a1c70  999a
05-17 10:23:58.682: INFO/DEBUG(539): 456a1c74  4ccd
05-17 10:23:58.682: INFO/DEBUG(539): 456a1c78  
05-17 10:23:58.692: INFO/DEBUG(539): 456a1c7c  0978
05-17 10:23:58.692: INFO/DEBUG(539): 456a1c80  acf19ec4
05-17 10:23:58.692: INFO/DEBUG(539): 456a1c84  00e6
05-17 10:23:58.702: INFO/DEBUG(539): 456a1c88  0002
05-17 10:23:58.712: INFO/DEBUG(539): 456a1c8c  
05-17 10:23:58.712: INFO/DEBUG(539): 456a1c90  001ca5a0  [heap]
05-17 10:23:58.722: INFO/DEBUG(539): 456a1c94  0e68
05-17 10:23:58.733: INFO/DEBUG(539): 456a1c98  0001
05-17 10:23:58.733: INFO/DEBUG(539): 456a1c9c  
05-17 10:23:58.733: INFO/DEBUG(539): 456a1ca0  00de1401
05-17 10:23:58.742: INFO/DEBUG(539): 456a1ca4  0043b400
05-17 10:23:58.742: INFO/DEBUG(539): 456a1ca8  0140
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cac  7334
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cb0  
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cb4  acf0a97c  /system/ 
lib/libpixelflinger.so
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cb8  0008
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cbc  1ad8
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cc0  
05-17 10:23:58.752: INFO/DEBUG(539): 456a1cc4  0e68
05-17 10:23:58.762: INFO/DEBUG(539): 456a1cc8  456a1cec
05-17 10:23:58.772: INFO/DEBUG(539): 456a1ccc  456a1cdc
05-17 10:23:58.772: INFO/DEBUG(539): 456a1cd0  0e68
05-17 10:23:58.772: INFO/DEBUG(539): 456a1cd4  456a1cfc
05-17 10:23:58.772: INFO/DEBUG(539): 456a1cd8  f8ab  [heap]
05-17 10:23:58.772: INFO/DEBUG(539): 456a1cdc  00de1401
05-17 10:23:58.782: INFO/DEBUG(539): 456a1ce0  
05-17 10:23:58.782: INFO/DEBUG(539): 456a1ce4  
05-17 10:23:58.782: INFO/DEBUG(539): 456a1ce8  0e68
05-17 10:23:58.782: INFO/DEBUG(539): 456a1cec  0001  [heap]
05-17 10:23:58.792: INFO/DEBUG(539): 456a1cf0  
05-17 10:23:58.802: INFO/DEBUG(53

[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"  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, 2009 at 3:26 PM, Xian Chen  wrote: > My
question is "com", "co...

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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  wrote:
> 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  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?
>>
>> R/
>>
>> On Thu, May 14, 2009 at 7:40 PM, Xian Chen  wrote:
>> > Hello,
>> > This would be silly question...
>> > When I trying to import an existing project into Eclipse, the package
>> > structure is totally mess up.
>> > For eg. the package structure looks like this:
>> > com.company.project
>> > and the folders are: src/com/company/project
>> > The "src" in Eclipse would be these: com, com.company,
>> > com.company.project.
>> > In another way, the Eclipse treat com, com.company as sepearte packages
>> > instead of folders.
>> > Any ideas?
>> > 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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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  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?
>
> R/
>
> On Thu, May 14, 2009 at 7:40 PM, Xian Chen  wrote:
> > Hello,
> > This would be silly question...
> > When I trying to import an existing project into Eclipse, the package
> > structure is totally mess up.
> > For eg. the package structure looks like this:
> > com.company.project
> > and the folders are: src/com/company/project
> > The "src" in Eclipse would be these: com, com.company,
> com.company.project.
> > In another way, the Eclipse treat com, com.company as sepearte packages
> > instead of folders.
> > Any ideas?
> > 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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---

<>

[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  wrote:
> 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.view.ViewGroup.drawChild(ViewGroup.java:1434)
>     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208)
>     at android.view.ViewGroup.drawChild(ViewGroup.java:1434)
>     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208)
>     at android.view.ViewGroup.drawChild(ViewGroup.java:1434)
>     at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208)
>     at android.view.View.draw(View.java:5465)
>     at android.widget.FrameLayout.draw(FrameLayout.java:324)
>     at com.android.layoutlib.bridge.Bridge.computeLayout(Bridge.java:338)
>     at
> com.android.ide.eclipse.editors.layout.GraphicalLayoutEditor.computeLayout(Unknown
> Source)
>     at
> com.android.ide.eclipse.editors.layout.GraphicalLayoutEditor.recomputeLayout(Unknown
> Source)
>     at
> com.android.ide.eclipse.editors.layout.GraphicalLayoutEditor.activated(Unknown
> Source)
>     at
> com.android.ide.eclipse.editors.layout.LayoutEditor.pageChange(Unknown
> Source)
>     at
> org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:973)
>     at
> org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:627)
>     at
> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:314)
>     at
> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
>     at
> org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
>     at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
>     at
> org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
>     at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
>     at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
>     at
> org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
>     at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
>     at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>     at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
>     at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
>     at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
>     at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646)
>     at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605)
>     at
> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:318)
>     at
> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:160)
>     at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
>     at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:207)
>     at
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
>     at
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
>     at
> org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:363)
>     at
> org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:603)
>     at
> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
>     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>     at org.eclipse.core.runtime.Platform.run(Platform.java:880)
>     at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
>     at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
>     at
> org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
>     at
> org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
>     at
> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
>     at
> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
>     at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
>     at
> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
>     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
>     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
>     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
>     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
>     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
>     at org.eclipse.ui.int

[android-beginners] Re: ADT Plugin

2009-05-16 Thread Raphael

On Fri, May 15, 2009 at 5:33 AM, medelin  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:
  http://dl-ssl.google.com/android/eclipse/

Note that this URL above works only for Eclipse, it will NOT work for
your web browser.


If you really want to use your browser, explicitely add "index.html" like this:
  https://dl-ssl.google.com/android/eclipse/index.html
(and this URL will not work for Eclipse)


R/

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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  wrote:
>
> When I use Eclipse ADT to run a HelloWorld sample, i got the error
> output:
>
> [2009-05-15 12:44:26 - HelloWorld] --
> [2009-05-15 12:44:26 - HelloWorld] Android Launch!
> [2009-05-15 12:44:26 - HelloWorld] adb is running normally.
> [2009-05-15 12:44:26 - HelloWorld] Performing helloworld.HelloWorld
> activity launch
> [2009-05-15 12:44:26 - HelloWorld] Automatic Target Mode: launching
> new emulator with compatible AVD 'avd2'
> [2009-05-15 12:44:26 - HelloWorld] Launching a new emulator with
> Virtual Device 'avd2'
> [2009-05-15 12:44:26 - Emulator] invalid command-line parameter: HVGA.
> [2009-05-15 12:44:26 - Emulator] Hint: use '@foo' to launch a virtual
> device named 'foo'.
> [2009-05-15 12:44:26 - Emulator] please use -help for more information
>
> How to resolve this problem?
>
> Eclipse Platform  Version: 3.4.2   Build id: M20090211-1700
> ADT version 0.9.1.v200905011822-1621
> And I had created an avd with the command line in the following:
>>android create avd -t 2 -n avd2
>
> >
>

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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  wrote:
> Hello,
> This would be silly question...
> When I trying to import an existing project into Eclipse, the package
> structure is totally mess up.
> For eg. the package structure looks like this:
> com.company.project
> and the folders are: src/com/company/project
> The "src" in Eclipse would be these: com, com.company, com.company.project.
> In another way, the Eclipse treat com, com.company as sepearte packages
> instead of folders.
> Any ideas?
> 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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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  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/requirements.html


> Out of curiosity, is it possible at all to get it to work in Classic ?
> Are there perhaps additional packages that can be installed to allow
> the Android stuff to work properly ?

I tried a while ago and failed. With P2 (the new installer in Eclipse
3.4) I didn't manage to get it to install the missing plugins. The old
one at least complained some stuff was missing, the new one seems to
just let you install something that doesn't work.

According to the feature matrix at
http://www.eclipse.org/downloads/packages/compare-packages, Classic
lacks GEF (for the layout editor) and XML Tools (for the XML editor).
Yet Classic manages to be twice bigger than the "Java" version that
has more plugin, so really what's the point? Sure it has sources
bundled but quite frankly who ues them and it's easier to get plugins
sources from CVS anyway.

R/

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: httpclient -> http.client

2009-05-16 Thread Michaël Gerber
Thank you for your answer.
Michaël

2009/5/16 Mark Murphy 

>
> > what is the equivalence for a HttpMethod
> > (org.apache.commons.httpclient.HttpMethod) in android sdk?
>
> Android uses a 4.x generation of HttpClient. HttpMethod is in the older
> 3.x generation API (Apache Jakarta Commons HttpClient).
>
> http://hc.apache.org/
>
> HttpRequest or HttpUriRequest are possible interfaces that you might
> consider "equivalence" to HttpMethod.
>
> However, considering that this is an Android list, and this is not really
> an Android question, you might consider asking the HttpClient people on
> their list. They are likely to know more about their product than we will
> here.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
>
>
>
> >
>

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: httpclient -> http.client

2009-05-16 Thread Mark Murphy

> what is the equivalence for a HttpMethod
> (org.apache.commons.httpclient.HttpMethod) in android sdk?

Android uses a 4.x generation of HttpClient. HttpMethod is in the older
3.x generation API (Apache Jakarta Commons HttpClient).

http://hc.apache.org/

HttpRequest or HttpUriRequest are possible interfaces that you might
consider "equivalence" to HttpMethod.

However, considering that this is an Android list, and this is not really
an Android question, you might consider asking the HttpClient people on
their list. They are likely to know more about their product than we will
here.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 ImageView) -  as
part of this xml file, a class which extends SurfaceView is inflated.
onCreate of this SurfaceView creates a thread (which is in inner
class) - that thread attempts to use the ImageView via findViewById,
which returns null.

Am I out-of-scope in attempting to reference the ImageView like this?
If so, how should I reference it?

Thanks,


On May 16, 4:40 pm, steve_macleod  wrote:
> 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();
>
> *
>
> 
> http://schemas.android.com/apk/res/
> android"
>     android:layout_width="fill_parent"
>     android:layout_height="fill_parent">
>
>            android:id="@+id/pacman_main_view"
>       android:layout_width="fill_parent"
>       android:layout_height="fill_parent"/>
>
>              android:layout_width="fill_parent"
>         android:layout_height="fill_parent" >
>
>                    android:id="@+id/gamescreen_txt"
>                   android:text="@string/hello"
>                   android:visibility="visible"
>           android:layout_width="wrap_content"
>           android:layout_height="wrap_content"
>           android:layout_centerInParent="true"
>           android:gravity="center_horizontal"
>           android:textColor="#88ff"
>           android:textSize="24sp"
>           android:paddingTop="400px"/>
>      
>
>               android:id="@+id/pacAnim"
>         android:layout_width="20px"
>         android:layout_height="20px"
>         android:scaleType="center"
>         android:src="@drawable/pac01"/>
>
> 
>
> *
>
> http://schemas.android.com/apk/res/
> android"
>     android:oneshot="true">
>     
>     
> 
>
> *
>
> Logcat shows a null pointer exception for the
> pacImageV.setBackgroundResource(R.anim.pacanim) line.
> Perhaps I am following the example incorrectly. I am using the 1.5
> sdk. Can anyone assist with this?
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 wrote:

>
> > 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
>
> --
>  Mark Murphy (a Commons Guy)
> http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
>
>
>
> >
>

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 = *new*
BufferedReader(*new*InputStreamReader(pageUrl.openStream()));

// Read page into buffer.

String line;

StringBuffer pageBuffer = *new* StringBuffer();

*while* ((line = reader.readLine()) != *null*) {

pageBuffer.append(line);

}

*return* pageBuffer.toString();

} *catch* (Exception e) {

}

*return* *null*;

}
Can help me?

Tanks!
On Sat, May 16, 2009 at 2:41 PM, Mark Murphy wrote:

>
> > 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!
>
>
>
> >
>

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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!



--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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();


*



http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">









 


 





*


http://schemas.android.com/apk/res/
android"
android:oneshot="true">


*


Logcat shows a null pointer exception for the
pacImageV.setBackgroundResource(R.anim.pacanim) line.
Perhaps I am following the example incorrectly. I am using the 1.5
sdk. Can anyone assist with this?

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 into this layout?
Thanks,
E.
P.s.
I've tried playing around with the bringToFront() method of the card
imageview and it didn't help...

On May 16, 6:46 am, Cass Surek  wrote:
> 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 
> athttp://developer.android.com/reference/android/view/ViewGroup.html
>
> Good luck!
>
> Cass
>
> On May 15, 8:46 pm, Sheepz  wrote:
>
> > Hi, I've posted this on android developers and got no answer so i was
> > thinking maybe somebody here knows:
> > I want to be able to make an imageview move from point a to b while
> > going through several different views.
> > For example, say I have a table layout, is there any way an imageview
> > can move from the topleft cell to the bottomright cell?
> > Everything I tried seems to indicate that an imageview will only be
> > shown in it's own container - none of it's parents, siblings or
> > children will show it.
> > Is that correct? is there any way around it? like creating an overlay
> > or a transparent canvas on top of the entire thing so I can do it?
> > thanks,
> > Sh.
>
>
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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.view.ViewGroup.drawChild(ViewGroup.java:1434)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208)
at android.view.ViewGroup.drawChild(ViewGroup.java:1434)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208)
at android.view.ViewGroup.drawChild(ViewGroup.java:1434)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1208)
at android.view.View.draw(View.java:5465)
at android.widget.FrameLayout.draw(FrameLayout.java:324)
at com.android.layoutlib.bridge.Bridge.computeLayout(Bridge.java:338)
at
com.android.ide.eclipse.editors.layout.GraphicalLayoutEditor.computeLayout(Unknown
Source)
at
com.android.ide.eclipse.editors.layout.GraphicalLayoutEditor.recomputeLayout(Unknown
Source)
at
com.android.ide.eclipse.editors.layout.GraphicalLayoutEditor.activated(Unknown
Source)
at
com.android.ide.eclipse.editors.layout.LayoutEditor.pageChange(Unknown
Source)
at
org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:973)
at
org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:627)
at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:314)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
at
org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:318)
at
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:160)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:207)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:363)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:603)
at
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
at
org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(

[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 list down all available LOCAL_MODULEs.

Thanks
Manjunatha Srinivasan
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 

>
> 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
>
> >
>

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 luck!

Cass

On May 15, 8:46 pm, Sheepz  wrote:
> Hi, I've posted this on android developers and got no answer so i was
> thinking maybe somebody here knows:
> I want to be able to make an imageview move from point a to b while
> going through several different views.
> For example, say I have a table layout, is there any way an imageview
> can move from the topleft cell to the bottomright cell?
> Everything I tried seems to indicate that an imageview will only be
> shown in it's own container - none of it's parents, siblings or
> children will show it.
> Is that correct? is there any way around it? like creating an overlay
> or a transparent canvas on top of the entire thing so I can do it?
> thanks,
> Sh.
--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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"  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


--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[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 wrote:

> what if wanted to design a new game in andriod
>
> >
>

--~--~-~--~~~---~--~~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---