[android-beginners] How can I style a button widget.

2009-06-13 Thread Josh
I want to create a style to apply to all of my buttons. I want to know how to style a button with a green border and red background. how would i do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginne

[android-beginners] Re: How can I style a button widget.

2009-06-15 Thread Josh
Is it possible to add a border to a button or do i need to use drawables? On Jun 13, 5:38 pm, Josh wrote: > I want to create a style to apply to all of my buttons. I want to know > how to style a button with a green border and red background. how > would

[android-beginners] adb cannot get devices on Mac

2009-06-24 Thread Josh
devices attached [24/06 19:19] j...@beaver:~ ! I also tried enabled USB debuging mode on the HTC Magic, but still adb shows no devices attached. anyone can help me with this. Thanks in advanced Josh --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Using adb on Mac and HTC Magic

2009-06-24 Thread Josh
:40] j...@beaver:~ ! adb devices List of devices attached Thanks Josh --~--~-~--~~~---~--~~ 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@google

[android-beginners] Re: Using adb on Mac and HTC Magic

2009-06-24 Thread Josh
Could this be the reason? http://code.google.com/p/android/issues/detail?id=3096 On Jun 24, 10:46 pm, Joshua Lim wrote: > Repost : apologies but posting from the web page doesn't seem to go > through-- Forwarded message -- > From: Josh > Date: 2009/6/24

[android-beginners] How Do I Install Market Apps on the Emulator, and other questions about Intents

2009-07-17 Thread Josh
I like the promise of Android Intents, where I do not have to re- invent a tool that someone else has already developed. Practically, however, I have not been able to use this feature very much. The first problem I have run into is the lack of a comprehensive list of intent filters available for

Re: [android-beginners] Replace Old DB file

2009-11-11 Thread Josh
Use File Explorer to delete that old db file and push new file into might do. -- Liu, Yen-Liang (Josh) Marie von Ebner-Eschenbach  - "Even a stopped clock is right twice a day." On Tue, Nov 10, 2009 at 3:04 AM, TJ <tjmcdev...@gmail.com> wrote: Hi, I am having a hard time in D

[android-beginners] Re: what can I make for Android?

2010-03-06 Thread josh
How about a FTP client that talks over tcpip or bluetooth? or maybe a hyperterminal look alile complete with upload and download file capability that talks over tcpip (with selectabe ports), bluetooth SPP (Serial Port Profile) or the cell phone modem (making outgoing calls)? -- You received this

[android-beginners] Re: what can I make for Android?

2010-03-06 Thread josh
On Mar 2, 1:29 am, The Alchemist wrote: > Hello everyone. > > I'm interested in doing something for Android for part of my Master's > work in Computer Science. > > I've thought about everything from an HTML compression algorithm > designed for mobile devices to some JIT work on Dalvik. > > Thoug

[android-beginners] Re: what can I make for Android?

2010-03-06 Thread josh
How about a FTP client program that talks on bluetooth and tcpip? On Mar 4, 12:06 am, BobG wrote: > Sheesh. Just scan thru the market. It takes a while, but after a > while, you get the idea... we never saw things like AK47 and Ruger > programs/applets on PCs, because I guess they didnt have touc

[android-beginners] where do control id's get defined.

2008-12-05 Thread Josh
I know that strings should be stored in res/strings.xml but where do i store control names(ID's)? In this example the name of the id variable(im guessing that's what it's called) is list_item_title. Where would i define that value? android:id="@+id/list_item_title" Also is this the only way to n

[android-beginners] dynamic control creation

2008-12-05 Thread Josh
is there a way to create multiple button controls dynamically and to have the same listener handle all of them? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send em

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

2008-12-05 Thread Josh
age i have used you can usually do something like id="mywidget" thanks, Josh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android

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

2008-12-07 Thread Josh
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 button is? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" gro

[android-beginners] looping through controls

2008-12-08 Thread Josh
I have several buttons that i would like to loop through and set their background color. The buttons are all named numerically like so... btn1, btn2, btn3, btn4, etc . How can I evaluate "btn" + i (where i would be the iteration counter of my loop) as a button so that i can set the BackgroundReso

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

2008-12-09 Thread Josh
can i access a widget if i know it's id. For example if i have the following String myWidget = btn1; can i do something like this in order to get a reference to the widget and change it's background color? Button btnTmp = (Button) findViewById(R.id.myWidget) --~--~-~--~~

[android-beginners] center the tablelayout

2008-12-11 Thread Josh
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. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to

[android-beginners] keeping an application in portrait mode

2008-12-12 Thread Josh
How can I ensure that my application is always displayed in portrait orientation? --~--~-~--~~~---~--~~ 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@google

[android-beginners] I broke my project

2008-12-13 Thread Josh
Im not sure what i did but now every line of code that specifies a resource in the res folder is underlined in red. I tried to manually add the raw directory under res and ithe compiler could not resolve any of the items in the raw folder. i took one of eclipses suggestions to fix the problem(can'

[android-beginners] how do I close a dialog box?

2008-12-18 Thread Josh
I have the following code that works fine to display a dialog box using an xml layout file. dialog = new Dialog(this); dialog.setContentView(R.layout.settings); dialog.show(); How do i add event listeners to the button widgets that i placed in the xml layout? Is there a default button or eve

[android-beginners] ImageView question

2008-12-22 Thread Josh
I have an ImageView that I define in xml. When i try to set the image resource the activity crashes. this is the syntax im using... imgColorSelector.setImageResource(R.drawable.colorselector); any ideas as to what im doing wrong? --~--~-~--~~~---~--~~ You receive

[android-beginners] Re: ImageView question

2008-12-22 Thread Josh
I forgot to mention that setting the image in xml be fine for what im doing but I couldnt figure out how to do that either :(. Can someone point me to an example of an imageview with the image set in xml? I looked at the docs but I just dont get it. On Dec 22, 11:44 am, Josh wrote: > I h

[android-beginners] Re: findViewById return null

2009-02-28 Thread josh
Don't know if my case is the same with you. I put setContentView() call after calling of findViewById() which makes it return null. After moving setContentView() after findViewById(), it returns the right value. Regards, On Feb 27, 2:15 pm, cg76 wrote: > Hi, > > When I tried to return my image

[android-beginners] Xtify Platform for Push Notifications to Android

2010-06-23 Thread Josh@Xtify
o you can download our sample app and SDK (for fast and easy integration) and start PUSHING GEO-TRIGGERED NOTIFICATIONS directly to your users’ devices. We look forward to joining you live at one of your next Meetups. If any of you make your way to NYC, look us up for a beer! Josh and the Xtify

[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] Hello World Help

2009-07-30 Thread Josh Melrose
ator-5554 [2009-07-30 15:20:02 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched... If anyone has any ideas, they would be much appreciated. Thanks Josh --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Re: dynamic control creation

2008-12-06 Thread Josh Dobbs
); btn1.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { } }); } } Thanks, Josh On Sat, Dec 6, 2008 at 5:15 AM, Mark Murphy <[EMAIL PROTECTED]> wrote: > > Josh wrote: > > is there a way to create multip

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

2008-12-07 Thread Josh Dobbs
/ the main.xml file. And no you can name them > what ever you would like in the format android:id="@+id/namegoeshere" > > On Dec 5, 9:29 am, Josh <[EMAIL PROTECTED]> wrote: > > I notice in all of the code examples that when a widget has an id it > > is usually s

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

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

2008-12-10 Thread Josh Dobbs
TED]>wrote: > > Josh wrote: > > can i access a widget if i know it's id. For example if i have the > > following > > > > String myWidget = btn1; > > FWIW, R.id.btn1 would be an int, not a String. > > > can i do something like this in order to get

[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

[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
) findViewById(*R.id.btnGo*); On Sat, Dec 13, 2008 at 12:43 AM, Josh wrote: > > Im not sure what i did but now every line of code that specifies a > resource in the res folder is underlined in red. I tried to manually > add the raw directory under res and ithe compiler could not resolve

[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

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

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

[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
n offer is to set screenOrientation for each > activity. I've tested this and it works. Someone may be able to > suggest a cleaner implementation, as in some generic activity tag > property that would apply to all activities. > > On Dec 13 2008, 12:18 am, Josh wrote: >

[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