[android-beginners] Re: SDK Setup on Windows

2009-10-28 Thread Matt Raffel

maybe try deleting/uninstalling the old sdks first?

mellery451 wrote:
 I'm refreshing my android SDKs as I had some very old versions on my
 Windows XP machine.
 
 I grabbed the latest package for the windows tools - specifically:
 
 http://developer.android.com/sdk/download.html?v=android-sdk_r3-windows.zip
 
 I unpack it and put the tools directory in my path. When I try to run
 SDK Setup.exe, it does nothing. No output, nothing.
 
 Anyone else had this problem? How should I start diagnosing the issue?
 
  
 


--~--~-~--~~~---~--~~
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: new'ing an Intent

2009-10-28 Thread Matt Raffel

Mark Murphy wrote:
 
 btw, I have class called RootGameScreen in my workspace, namespace
 
 button.setOnClickListener(new View.OnClickListener()
 {
 public void onClick(View v)
 {
 Intent startGameIntent = new Intent(this,
 RootGameScreen.class);
 
 In Java, this refers to the narrowest possible scope by default. So, in
 your Intent constructor, this is the View.OnClickListener anonymous
 inner class you are defining.
 
 Change your code to:
 
 Intent startGameIntent = new Intent(WelcomeScreen.this,
 RootGameScreen.class);
 
 and you may have better luck.
 

yes that was it.  A newbie error. :)  Thnx

Matt

--~--~-~--~~~---~--~~
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: Visual Studio Android Development

2009-10-27 Thread Matt Raffel

I have to ditto what RichardC says.   Same experiences.  Eclipse its 
very mature and robust.  Yes, the UI is a little bit different. 
Wording/Terms different, so it will take a little time getting used to 
the differences.

Matt

RichardC wrote:
 BermudaLamb wrote:
 one of the largest communities of non-Java
 developers is probably the Visual Studio developers.
 
 As you say non-Java - but Andoid development is Java (with the option
 of excursions to native C/C++) so starting with Visual Studio is like
 taking a spade to drill a hole.  More than templates would be needed a
 complete VS-plugin would be required (this would also rule out VS
 Express users).
 
 As a long time VS user (back to the days of 1.4 and 16bit Windows) I
 have had no trouble picking up Eclipse and the getting start
 instructions worked 1st time for me.  However I might switch to Ant
 (XML based make equivalent) as I have not yet found a way to automate
 the checkout, build, release cycle in Eclipse for larger multi-project
 applications.
 
 --
 RichardC
 
 On Oct 27, 2:51 pm, BermudaLamb thoml...@gmail.com wrote:
 I spend my entire day in Visual Studio 2005 and 2008.  I want to
 develop Android applications as well.  I have taken a look at
 Eclipse.  I am Windows, not Mac, and not Linux.

 With that said ... Eclipse is not Visual Studio.  They may both be
 IDEs but they are so different.  I am looking for a step-by-step guide
 to gearing my Visual Studio environment for Android development.  I
 know that thishttp://developer.android.com/guide/developing/other-ide.html
 talks about other IDEs.

 Lets be honest though, one of the largest communities of non-Java
 developers is probably the Visual Studio developers.  Why not just
 recognize that and provide the necessary templates and steps to
 embrace this group, and kick the android market place into high gear.
 Anything is better that the i... world.

 Most of you may not remember, or even know the 70s and 80s.  But
 Microsoft did it when they released Basic on the first PCs, and
 Borland did it again in the 80s when thye came out with the 29.95
 Turbo Pascal.  This is akin to the same thought ... Sure I can
 restructure my thinking, and learn yet another way to develop my
 applications, but in this day and age why should I.  Since the the
 advent of the first GUI operating system I have been avidly waiting
 the developers panacea of point, click, drag and drop aplication
 development.  We are not there yet, but everytime someone comes out
 with yet another IDE we seem to all sigh in relief while taking two
 steps backward in productivity.

 So, please, please, please ... provide a step by step visual guide
 (with templates) for Android Development in Visual Studio.  Including,
 if necessary, steps for downloading and installing the various
 supporting stuff.  I admit I'm spoiled by the VS development
 environment.  I click on one EXE installation, answer a few simple
 questions, and in a few minutes my entire development environment is
 ready for me.  I don't have to download this, then download that, and
 don't forget to get some of those, and a few of these.

 It is like the bad old days of Linux, when it would weeks to get the
 environment set up just right.  However, don't breath on it because
 then Linux might think you installed something new and you would have
 to start all over again.
  
 


--~--~-~--~~~---~--~~
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 begin with android

2009-10-27 Thread Matt Raffel

Windows works too.  :)  I happen to be old school XP for my windows box.

I dl/install android sdk, Eclipse, the adroid plug-in, etc...

I found the information somewhere at this site:
http://developer.android.com/guide/developing/eclipse-adt.html

Matt

neha wrote:
 Hi,
 
 I am new to android. I want to get the android source code,compile it
 and run it.
 I have read the instructions on the website http://source.android.com/download
 but there a big list of requirements is mentioned.
 
 I dont have any experience to work with Ubantu rather I use windows.
 Can anyone please let me know with all the details how to build and
 run android source code using both Windows XP and Linux.
 
 I also wanted to know about android browser.How to get its source
 code,how to compile it and run it and what are its prerequisites.
 
 It will be helpful to me if anyone can give me the list of good books
 or documentation to which i can refer and understand easily so that I
 can proceed.
 
 Please make it as soon as possible as I am stuck up.
 
 Thanks and Regards,
 Neha.
 
  
 


--~--~-~--~~~---~--~~
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 2.0 SDK is here!

2009-10-27 Thread Matt Raffel

how does this apply if my phone is currently 1.5 and I wanted my app to 
work on it?  Do I stick to 1.5?

Matt

Xavier Ducrohet wrote:
 Hello everyone!
 
 We've just announced the Android 2.0 SDK
 http://android-developers.blogspot.com/2009/10/announcing-android-20-support-in-sdk.html
 
 If you already have the 1.6 SDK, note that you can simply use the SDK
 Manager to add Android 2.0 to your SDK. Make sure you also get the new
 SDK Tools (revision 3), as the SDK Manager in revision 2 (the one that
 shipped with 1.6) doesn't enforce dependencies between platforms and
 Tools (fixed in rev 3)
 
 For more information about using the SDK Manager, see:
 http://developer.android.com/sdk/adding-components.html
 
 Have fun!
 Xav


--~--~-~--~~~---~--~~
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 Align button to button of screen???

2009-10-27 Thread Matt Raffel

So that does not put my button at the bottom of the screen.  Is that 
because I am using a LinearLayout?

?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
 android:orientation=vertical
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:background=@drawable/blankscreen
 
TextView
 android:layout_width=fill_parent
 android:layout_height=wrap_content
 android:text=@string/hello
 /

Button
 android:layout_width=fill_parent
 android:layout_height=wrap_content
 android:gravity=bottom
 android:text=@string/btn_start_game
/

/LinearLayout




brucko wrote:
 Matt,
 
 The second text view cannot have height = fill parent
 
 On Oct 27, 6:23 am, Matt Raffel matt.raf...@gmail.com wrote:
 I tried that :)  I created a second textview control.  It ends up
 pushing the button off the bottom of the screen.

 TextView
  android:layout_width=fill_parent
  android:layout_height=wrap_content
  android:text=@string/hello
  /
 TextView
  android:layout_width=fill_parent
  android:layout_height=fill_parent  -- this will fill 
 screen and leave no room for Button
  android:text=@string/empty_string
  /
 Button
  android:layout_width=fill_parent
  android:layout_height=wrap_content
  android:gravity=bottom
  android:text=@string/btn_start_game
 /
 
 Use a Relative Layout instead as recommended by paul. Something like
 this may work ( I haven't checked - but you get the idea)
 
 ?xml version=1.0 encoding=utf-8?
 RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
 android
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:background=@drawable/blankscreen
 
 TextView
 android:layout_width=fill_parent
 android:layout_height=wrap_content
 android:text=@string/hello
 /
 
 Button
 android:layout_width=fill_parent
 android:layout_height=wrap_content
 android:layout_alignParentBottom =true
 android:text=@string/btn_start_game
 /
 
 /RelativeLayout
 
  
 


--~--~-~--~~~---~--~~
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 Align button to button of screen???

2009-10-26 Thread Matt Raffel

I tried that :)  I created a second textview control.  It ends up 
pushing the button off the bottom of the screen.


TextView
 android:layout_width=fill_parent
 android:layout_height=wrap_content
 android:text=@string/hello
 /
TextView
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:text=@string/empty_string
 /
Button
 android:layout_width=fill_parent
 android:layout_height=wrap_content
 android:gravity=bottom
 android:text=@string/btn_start_game
/

Matt

Justin Anderson wrote:
 Depending on what you want to do, with the space in the middle, you 
 could create a view that acts as an empty space holder and set its 
 layout_height attribute to fill_parent.
 
 One simple way of doing this would be to use  a TextView that only 
 displays an empty string
 
 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --
 
 
 On Sun, Oct 25, 2009 at 7:59 PM, tatman matt.raf...@gmail.com 
 mailto:matt.raf...@gmail.com wrote:
 
 
 I have two elements:  I want the text at the top of the screen and the
 button at the bottom with space between the two controls.How can I
 get the button to appear at the bottom of the screen?
 
 ?xml version=1.0 encoding=utf-8?
 LinearLayout xmlns:android=http://schemas.android.com/apk/res/
 android
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent
android:background=@drawable/blankscreen

 TextView
android:layout_width=fill_parent
android:layout_height=wrap_content
android:text=@string/hello
/
 
 Button
android:layout_width=fill_parent
android:layout_height=wrap_content
android:gravity=bottom
android:text=@string/btn_start_game
 /
 
 /LinearLayout
 
 
 
 
  


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