[android-beginners] Re: android

2009-05-26 Thread Josh Dobbs
Check out android.com. There are a lot of good examples there. Also a very good place to start would be The Busy Coder's Guide to Android Development by Mark Murphy. I held off on purchasing these and boy do I regret it. This book should be the starting po

[android-beginners] Re: dynamic control creation

2008-12-06 Thread Josh Dobbs
Thanks Mark, I am completely new to java so please bare with me. This is what i have that seems to work but i have to create a new listener for each button(currently i only have one as you see below) I couldnt get your method to work. can you tell me what im doing wrong? package com.joshuadobbs.t

[android-beginners] Re: button names - where are they stored?

2008-12-07 Thread Josh Dobbs
Thanks. That clears it up. I just assumed that it was a variable name stored somewhere...the @ threw me off. On Sat, Dec 6, 2008 at 11:17 PM, Peter <[EMAIL PROTECTED]> wrote: > > Well I'm not sure what you mean by where are they stored, they are > stored in R.layout.main / the main.xml file. An

[android-beginners] Re: dynamic control creation

2008-12-07 Thread Josh Dobbs
Thanks Mark. That clears up everything. On Sat, Dec 6, 2008 at 8:55 AM, Mark Murphy <[EMAIL PROTECTED]> wrote: > > Josh Dobbs wrote: > > This is what i have > > that seems to work but i have to create a new listener for each > > button(currently i only have one a

[android-beginners] Re: how to determine the current backgroundResource of an imagebutton

2008-12-07 Thread Josh Dobbs
Yes. I understand that but i am not sure which property to check. On Sun, Dec 7, 2008 at 5:54 PM, Mark Murphy <[EMAIL PROTECTED]> wrote: > > Josh wrote: > > I have 5 imagebuttons and one click handler for all of them. How can I > > tell what the name of the current image being displayed on the bu

[android-beginners] Re: access a widget by a variable storing it's name

2008-12-10 Thread Josh Dobbs
Hi Mark, Can you elaborate on building a map or point me to the correct documentation. I looked at the class index and their are several maps and im not quite sure what you mean. What advantaged does a map have over an array? On Wed, Dec 10, 2008 at 4:58 AM, Mark Murphy <[EMAIL PROTECTED]>wrot

[android-beginners] Re: center the tablelayout

2008-12-12 Thread Josh Dobbs
Can anyone anyone point me in the right direction? On Thu, Dec 11, 2008 at 6:44 AM, Josh wrote: > > my view is comprised of a tablelayout. How can I set the table in the > center of the screen? by default it looks to be left alligned. > > > --~--~-~--~~~---~--~~

[android-beginners] Re: center the tablelayout

2008-12-12 Thread Josh Dobbs
Nevermind :) I fixed my problem by using android:stretchColumns On Fri, Dec 12, 2008 at 10:09 PM, Josh Dobbs wrote: > Can anyone anyone point me in the right direction? > > > On Thu, Dec 11, 2008 at 6:44 AM, Josh wrote: > >> >> my view is comprised of a tablelayout.

[android-beginners] Re: I broke my project

2008-12-13 Thread Josh Dobbs
I still cannot resolve this issue. Whenever i try to access something in my layout folder like this R.Layout.somelayout None of my layouts are suggested by autocomplete. Its as if my application lost reference to the layout folder. any suggestions would be appreciated ** ** btnGo =(Button) findVi

[android-beginners] Re: I broke my project

2008-12-13 Thread Josh Dobbs
I got it! I don't know how this got in my activity but once i removed the following import everything went back to normal. import *android*.R; Thanks! On Sat, Dec 13, 2008 at 8:27 AM, Josh Dobbs wrote: > I still cannot resolve this issue. Whenever i try to access something in >

[android-beginners] Re: keeping an application in portrait mode

2008-12-13 Thread Josh Dobbs
Thanks Mark! Is there a way to run the emulator in landscape mode to test? On Sat, Dec 13, 2008 at 8:38 AM, Mark Murphy wrote: > > Josh wrote: > > How can I ensure that my application is always displayed in portrait > > orientation? > > http://androidguys.com/?p=2891 > > That post covers the use

[android-beginners] Re: keeping an application in portrait mode

2008-12-13 Thread Josh Dobbs
nevermind i figured it out. On Sat, Dec 13, 2008 at 9:40 AM, Josh Dobbs wrote: > Thanks Mark! > > Is there a way to run the emulator in landscape mode to test? > > On Sat, Dec 13, 2008 at 8:38 AM, Mark Murphy wrote: > >> >> Josh wrote: >> > How can

[android-beginners] Re: keeping an application in portrait mode

2008-12-13 Thread Josh Dobbs
It doesnt seem to work. I am able to launch the emulator in landscape however the app is also displayed in landscape even though the following line is in AndroidManifest.xml android:screenOrientation="portrait" On Sat, Dec 13, 2008 at 9:43 AM, Josh Dobbs wrote: > nevermind i f

[android-beginners] Re: keeping an application in portrait mode

2008-12-13 Thread Josh Dobbs
that keeping it in portrait only will fix that issue however the app im working on is best suited for portrait only for other reasons as well. On Sat, Dec 13, 2008 at 10:51 AM, Mark Murphy wrote: > > Josh Dobbs wrote: > > When I run the RotationFourDemo in landscape and

[android-beginners] Re: center the tablelayout

2008-12-13 Thread Josh Dobbs
I did try that and i get the following error at design time... Description Resource Path Location Type ERROR Error: String types not allowed (at 'layout_gravity' with value 'centerHorizontal'). main.xml line 3 aapt Problem On Sat, Dec 13, 2008 at 8:37 AM, Mark Murphy wr

[android-beginners] Re: center the tablelayout

2008-12-13 Thread Josh Dobbs
I tried that as well with no luck On Sat, Dec 13, 2008 at 12:44 PM, Romain Guy wrote: > > "center_horizontal" not "centerHorizontal" :) > > On Sat, Dec 13, 2008 at 9:42 PM, Josh Dobbs wrote: > > I did try that and i get the following error at design

[android-beginners] Re: center the tablelayout

2008-12-13 Thread Josh Dobbs
al" not "centerHorizontal" :) > > On Sat, Dec 13, 2008 at 9:42 PM, Josh Dobbs wrote: > > I did try that and i get the following error at design time... > > Description Resource Path Location Type > > ERROR Error: String types not allowed (at 'l

[android-beginners] Re: center the tablelayout

2008-12-13 Thread Josh Dobbs
ok. Thanks! I got it to work ith wrap_content. On Sat, Dec 13, 2008 at 12:54 PM, Romain Guy wrote: > > It will work only if your TableLayout has a width set to wrap_content, > otherwise it will occupy the entire screen. > > On Sat, Dec 13, 2008 at 9:51 PM, Josh Dobbs wrote: >

[android-beginners] Re: keeping an application in portrait mode

2008-12-13 Thread Josh Dobbs
If i dont keep it in portrait mode it doesnt scroll automatically when in landscape mode. Do i need to hadle scrolling in code? On Sat, Dec 13, 2008 at 12:43 PM, Romain Guy wrote: > > Hi Josh, > > > I noticed while testing on it yeasterday prior to implementing portrait > only > > mode that when

[android-beginners] Re: I broke my project

2008-12-13 Thread Josh Dobbs
errors on references to items in the drawable folder. This morning i just deleted the import statement for R but i did it this time and no luck. Any ideas as to what im doing wrong? On Sat, Dec 13, 2008 at 8:33 AM, Josh Dobbs wrote: > I got it! I don't know how this got in my activity bu

[android-beginners] Re: I broke my project

2008-12-14 Thread Josh Dobbs
them before building/running the app. On Sat, Dec 13, 2008 at 6:22 PM, Josh Dobbs wrote: > ok this is wierd. It broke on me again. All i did was replace one of the > images in the drawable folder and now im getting the following error again. > > Description Resource Path Location Typ

[android-beginners] Re: access a widget by a variable storing it's name

2008-12-15 Thread Josh Dobbs
Can I use a hash map to save state? For instance if i save some values into a buttons tag property does the hash map know about it ? I guess what im trying to say is does the hash map have a current instance of the button(s) or do i have to programatically make it aware? On Thu, Dec 11, 2008 at 3:

[android-beginners] Re: Site is unavailable

2008-12-16 Thread Josh Dobbs
same here. On Tue, Dec 16, 2008 at 1:36 PM, Eng, Cary wrote: > > I experienced that issue too. However, I got around it by using HTTP > instead of HTTPS. > > -Original Message- > From: android-beginners@googlegroups.com [mailto: > android-beginn...@googlegroups.com] On Behalf Of narkis

[android-beginners] Re: ImageView question

2008-12-22 Thread Josh Dobbs
I figured out how to set the src in xml android:src="*...@drawable*/*colorselector*" I still have no idea why i cant set it at runtime though. On Mon, Dec 22, 2008 at 11:50 AM, Josh wrote: > > I forgot to mention that setting the image in xml be fine for what im > doing but I couldnt figure ou

[android-beginners] Re: creating UI elements

2008-12-27 Thread Josh Dobbs
right click on the layout file (xml file) and select open with -> Android layout editor . On Sat, Dec 27, 2008 at 8:13 AM, monmonja wrote: > > eclipse plugin? > > On Dec 24, 4:51 am, Jamie wrote: > > Is there a way to see the UI layout before compiling and debugging? I > > am thinking of somet

[android-beginners] Re: How to show alert message.

2008-12-30 Thread Josh Dobbs
Check out the Dialog Class. http://code.google.com/android/reference/android/app/Dialog.html On Mon, Dec 29, 2008 at 11:31 PM, java.webline wrote: > > Hi all, > > I am very new to the android platform. > > I have created an activity that makes a call on the number entered by > user. > > Now i w

[android-beginners] Re: keeping an application in portrait mode

2009-01-12 Thread Josh Dobbs
Thanks. it actually does work fine on the g1, i just couldnt get it to work in the emulator. On Mon, Jan 12, 2009 at 11:45 AM, Bryan.paul wrote: > > I assume you added the screenOrientation to the application tag. > Unfortunately, this is not an attribute of the application tag: > > > http://cod

[android-beginners] Re: AndroidSavvy.com

2009-01-13 Thread Josh Dobbs
This is very cool! thanks for sharing! On Tue, Jan 13, 2009 at 3:24 PM, Bobbrose wrote: > > Sorry for the double post, I didn't see it show up for some time and > thought it got lost. > > On Jan 13, 2:45 pm, Bobbrose wrote: > > Hey folks, I've been working with Android and using a G1 for a whil

[android-beginners] Re: ebook

2009-01-20 Thread Josh Dobbs
I'm quite sure they are not distributing free ebook versions. Thhat site is whack! they are giving away other peoples property and asking for donations!?!? >While I don't presume to speak on behalf of the authors of those books, >those links appear to point to illegal copies. I am not aware of an

[android-beginners] Re: Marketplace question

2009-01-22 Thread Josh Dobbs
Handango and mobihand also sell android applications. On Wed, Jan 21, 2009 at 11:48 AM, Mark Murphy wrote: > > Ivan Soto wrote: > > 1) Does the marketplace currently allow developers to charge for > their > > apps? > > Not yet. Sometime this quarter, reportedly. There are a plethora -- na

[android-beginners] Re: Apps

2009-01-28 Thread Josh Dobbs
Have you downloaded the sdk and checked out the tutorials like Hello Android? That's where I would start. On Wed, Jan 28, 2009 at 7:52 AM, jcl15...@gmail.com wrote: > > How do I make an application? > > > > --~--~-~--~~~---~--~~ You received this message because

[android-beginners] Re: Office package

2009-02-06 Thread Josh Dobbs
can you be a little more specific? you should be able to download via http or transfer them via usb. On Fri, Feb 6, 2009 at 6:58 AM, Izzy6770 wrote: > > Can somebody help, how do I download attachments of word, excel, ppt > etc from the email on the phone? > > > > --~--~-~--~~---

[android-beginners] Re: Flash Embed?

2009-02-22 Thread Josh Dobbs
There is no flash player for the android os at this time. I do not know if adobe is working on this or not...maybe someon that knows for sure can chime in. On Sat, Feb 21, 2009 at 4:31 AM, cron wrote: > > Hi Is it possible to embed a swf in an android App? If so, how do I go > about it? > Che

[android-beginners] Re: Flash Embed?

2009-02-23 Thread Josh Dobbs
im guessing due to the fact that they never released a decent player for windows mobile that we wont see one anytime soon for android. If they do make one i hope that it can at least support flex and as3. On Sun, Feb 22, 2009 at 1:49 PM, Akap wrote: > > I could be completely wrong, but you canno