[android-beginners] Re: eclipse help cant find canvas?

2010-02-09 Thread BobG
Man this java stuff is doggin me. I ask if there is a pdf file with all the classes and methods, and some cat says 'its all in the online help' and I search for a class or a method in the online help and nuthin pops up and some other cat says 'why you lookin there?'. If it was c I'd just grep fer i

[android-beginners] GridView for Buttons, not images

2010-02-09 Thread Anthony Westover
I am trying to create a grid of buttons. I started with a TableLayout and TableRows, but that left a large amount of space between the buttons, I want the buttons to be condensed so that each button is touching its neighboring button, just like you would get with the GridLayout in traditional Java.

Re: [android-beginners] All combinations of os and res ok?

2010-02-09 Thread Walt Armour
An error? You'll need to post more details (like the actual error) or else no one will be able to help. Here's a shot in the dark (since some folks at work hit this today): when you create the AVD you can target (for example) "Android 1.6 - API Level 4" or "Google APIs (Google Inc.) - API Level 4

Re: [android-beginners] eclipse help cant find canvas?

2010-02-09 Thread Walt Armour
Why would Eclipse help know anything about that? Use the docs. Either download them via the SDK tool or hit them online at http://developer.android.com/intl/zh-TW/reference/packages.html When I search for Canvas there I can get right to http://developer.android.com/intl/zh-TW/reference/android/g

Re: [android-beginners] Null Pointer Exception when using a button to change layouts

2010-02-09 Thread Walt Armour
I would guess that button is null. The view is probably not being found. You should try debugging into it to verify that. If you can't resolve it then you'll need to post your layout XML as well. On Sun, Feb 7, 2010 at 20:33, Anthony Westover wrote: > I am new to android development, experien

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work "again"

2010-02-09 Thread Pankaj
In the TRACEVIEW.BAT replace the last line call java -Djava.ext.dirs=%javaextdirs% -jar %jarpath% %* with call java -Xmx1024m -Djava.ext.dirs=%javaextdirs% -jar %jarpath% %* On Feb 10, 2:55 am, M wrote: > Ok let's try this again. I vented out my initial frustration, now I'm > back on my seat

[android-beginners] All combinations of os and res ok?

2010-02-09 Thread BobG
I created an AVD with os level 2.1 and WVGA, but I get an error when I try to run the app on an AVD created with 2.1 and HVGA. Any illegal combos? All os levels do all resolutions? -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try as

[android-beginners] eclipse help cant find canvas?

2010-02-09 Thread BobG
It cant find Canvas either. I'd say that's pretty useless. How do you search for methods? classes? -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/quest

[android-beginners] Re: Moderated list??

2010-02-09 Thread Bruce Bergman
On Feb 9, 6:36 am, "Mr. Baseball 34" wrote: > On Mon, Feb 8, 2010 at 8:31 PM, Kitzy wrote: > > I don't think I have seen that many spam messages, or at leeast not > > enough to be anoying. > > Guess you haven't been a member long enough. Hoo boy! It's been much better the last week or two, but

답장: [android-beginners] Null Pointer Exception w hen using a button to change layouts

2010-02-09 Thread 안드로이드카이로
You write setcontentview before setonclicklistener. Http://www.androidside.com 2010. 2. 10. 오전 7:46에 "Anthony Westover" 님이 작성: I am new to android development, experienced with Java. I am trying, basically, to play around with OnClick events, using a button click to change Layouts. I started by

Re: [android-beginners] ADB problem on Windows 7 / Eclipse / Android

2010-02-09 Thread Ed Holley
Can u explain this? It is generally a bad practice to install programs thus. sent on location from my Motorola Droid On Feb 9, 2010 5:46 PM, "Stephan Bo" wrote: You must lay the whole Android folder in "My Documents" -- You received this message because you are subscribed to the Google Groups

Re: [android-beginners] Hello World in eclipse - shutting down the emulator

2010-02-09 Thread Temitope Akinwande
When you are on the lock screen, double click and you should get the device open, just as you would an adroid phone. -Tope On Sun, Feb 7, 2010 at 12:23 PM, lenb wrote: > Hi > I'm using eclipse Version: 3.5.1 with ADT on debian.  I've built Hello > World.  No problem; however, I can't shut down t

[android-beginners] Supporting new platforms

2010-02-09 Thread Ed
Hi, I've been messing around a bit with the android source. I'm not sure if this is better to ask in the android porting group, but it seems noobish so I thought I'd ask here. I was wondering if there's a comprehensive(ish) guide somewhere to adding new vendor configurations? It seems like there's

[android-beginners] Re: Can't create new class in Eclipse (Google Map View official tutorial)

2010-02-09 Thread GregBrannon
You didn't say which OS you're running Eclipse on, but Eclipse has known issue with responding to dialogue buttons on some Linux distributions and X environments. If this could apply to you, start Eclipse from a script file that includes the command: GDK_NATIVE_WINDOWS=true Good luck! -- You r

[android-beginners] Android Beginner Video Tutorials

2010-02-09 Thread ctrlnick
Hi , I am an experienced C# developer, but however I am beginner to the Android world. I would love to learn android by watching videos. Does anyone know where I can find very effective Android Video Tutorials. Thanks, ctrlnick -- You received this message because you are subscribed to the G

[android-beginners] Re: Can't create new class in Eclipse (Google Map View official tutorial)

2010-02-09 Thread GregBrannon
Sorry. I just reread your first post and saw that you're using Windows. Bad reading the first time. See if you can find a problem and solution similar to the one I described running Eclipse in the Windows environment by Googling variations of "Eclipse buttons don't work." I'm not aware of one,

[android-beginners] How to draw Text in a rectangle after onTouch

2010-02-09 Thread mithun
Below is part of the code of onTouch if(event.getAction() == MotionEvent.ACTION_DOWN){ for(int i = 0; i < 2; i++){ if(tiles[i].getBounds().contains(x, y) == true){

[android-beginners] Re: No way to merge Google and Phone contacts?

2010-02-09 Thread Eigo Ltd
There is a free application called "Merge Contact" that allows you to copy your phone number from a Phone contact to a Google contact on HTC Hero. You can download it from the Market or see details about it here : http://www.eigo.co.uk/News-Article.aspx?NewsArticleID=62 Hope that helps someone, I

[android-beginners] Ota update failed

2010-02-09 Thread IdanAndroid
Google has sent me the Nexus one ota update, but the checksum failed. Is there any way that I can resend the ota update to my nexus one again? -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stac

Re: [android-beginners] Moderated list??

2010-02-09 Thread C N
Yes, make it moderated. Cordially, Chacko sent from Google phone. On Feb 7, 2010 10:51 PM, "Mr. Baseball 34" wrote: Would you guys like this to be a moderated list so the spammers can't create users and send messages to the list? It looks like that is the direction we're going to have to take t

[android-beginners] Re: How to play sound file...

2010-02-09 Thread -DC-
You can try the AudioTrack class. On Jan 22, 5:35 am, Viral Brahmbhatt wrote: > Hello, > > Is there a way to paly sound file without using media player object? > > Is it compulsory to play the sound from activity class? what if i want to > play it from a class which is not extending activity? > >

Re: [android-beginners] connect 2 emulators over lan

2010-02-09 Thread ABTHUL RAZEETH
I have tried with two emulators running in same machine with tcp redirecting. I have also tried with two emulators running in two different machines, but it didn't work out since each emulator runs behind its own proxy. I am also looking for some solution. With regards abthul On Fri, Feb 5, 20

[android-beginners] Catching and changing a keycode.

2010-02-09 Thread Ryan Rogers
Hello all, I understand how to listen for a key press, but I was wondering if there was a way to catch it, and change it. for example, if I press the 's' key, and I wanted to change it to the 'g' key. Not for typing on the board, but for the system to think I pressed the 'g' button instead

[android-beginners] Emulator 5554 and system readonly state

2010-02-09 Thread Lazarus
Hi All, I use the Emulator for Nexus One development - level 7, system 2.1 I need to copy fonts to /system/fonts folder in the Emulator 5554, but got\ "Read Only File System" - nothing helps - no pushing, no DDMS in Eclipse, no mount or remount (These are bad ideas, I think). Also, root is not

[android-beginners] Null Pointer Exception when using a button to change layouts

2010-02-09 Thread Anthony Westover
I am new to android development, experienced with Java. I am trying, basically, to play around with OnClick events, using a button click to change Layouts. I started by making two .xml files in my Layouts folder of the project and just setting setContentView to the first xml in onCreate and to the

[android-beginners] widget or data on lock screen

2010-02-09 Thread Sam
is there a possibility to display a custom widget or data directly on the lock screen? greetz Sam -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/ques

[android-beginners] Re: Eclipse Galileo Build path 1.6 Win XP Newbie

2010-02-09 Thread fistful
it's all about build path. go to the build path and change the order. [from your description] " Java Build Path -> Order and Export : ensure Android 1.6 is checked(ticked) below the src and gen folders which have green boxes." you put Android 1.6 to the top. above src and gen folder --> I do no

[android-beginners] Re: ADB problem

2010-02-09 Thread Stephan Bo
You must lay the whole Android folder in "My Documents" On 30 Jan., 16:14, KitzyKitt wrote: > I use Windows 7 and eclipse and haven't had a problem with development > gand testing with the emulator.  However, I did try to hook up my > phone to try to test on it and haven't found the correct drive

[android-beginners] Mapview with tabview, I dont understand why it wont work.

2010-02-09 Thread Gunjack
Hiya, Ive been trying to get mapview to work within tabview, it displays the default map in its tab but zooming in doesnt work. Ive enabled the zoom controls, all they do is zoom in on the first map image that appears and this becomes pixelated and useless. I obviously want it to update the map i

[android-beginners] Hello World in eclipse - shutting down the emulator

2010-02-09 Thread lenb
Hi I'm using eclipse Version: 3.5.1 with ADT on debian. I've built Hello World. No problem; however, I can't shut down the emulated device. I press the power off button, which leads to a window with 4 choices. One is power off which I select. This gives a message saying: 'Your phone will shutdo

[android-beginners] ADB problem on Windows 7 / Eclipse / Android

2010-02-09 Thread Stephan Bo
You must lay the whole Android folder in "My Documents" -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from th

[android-beginners] setting up dev environment on Macintosh

2010-02-09 Thread alex
Hi! I am trying to get started with Android development on my Macintosh (Leopard 10.5.8, Intel chip). I have been trying to follow the instructions given at http://developer.android.com/sdk/installing.html http://developer.android.com/sdk/installing.html";>here but much is unclear. I have installe

[android-beginners] Re: How to rotate a bitmap?

2010-02-09 Thread Dan Liew
You sort of have the right idea but your numbers aren't quite right: Using points as (x,y) with (0,0) being the top left corner of images: Your clockface bitmap is 800x480 therefore the centre is at (400,240)(not (240,400) as you said) Your clock hand bitmap is 60x140 with your stated centre

[android-beginners] Re: Emulator takes too much time to show up - any solution?

2010-02-09 Thread Indicator Veritatis
Unfortunately, such a small setting for SD card size is not always an option. It has already been pointed out by others in this forum, for example, that to get the Google Maps examples (from the tutorial etc) to run, you need an SD card greater than 8M. I use 10M for each AVD intended for use with

[android-beginners] Re: Emulator takes too much time to show up - any solution?

2010-02-09 Thread Indicator Veritatis
2 seconds is not worth the extra effort. On Feb 8, 2:46 pm, Greg Donald wrote: > On Mon, Feb 8, 2010 at 4:25 PM, Peace_in_mind wrote: > > I'm using Eclipse (with android plugin, dalvik) to try out few android > > app development. But every time I try to run anything using emulator, > > it takes

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work "again"

2010-02-09 Thread M
Ok let's try this again. I vented out my initial frustration, now I'm back on my seat and trying to figure out this once again. :) So here goes. Here you can see my traceview.bat and eclipse.ini files: http://pastebin.com/m6537e1c8 They are the original ones "again". I'm absolutely clueless abo

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work "again"

2010-02-09 Thread M
Oh wow, even more confusing. The batch nor the init file has nothing even remotely related to "-Dcom.android.traceview..." ... I just cannot get this thing to work. Hmmh... Seriously, why did google provide such akward to use tools to accompany Android? Watching their speaks from youtube makes me

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work "again"

2010-02-09 Thread fadden
On Feb 9, 11:06 am, M wrote: > What confuses the living daylights out of me is that I'm running > TraceView via command line. Just using basic : > > "traceview.bat traceFile" > or > "traceview traceFile" traceview is not related to Eclipse (other than that they both use SWT for their GUI). On Li

[android-beginners] خدمة اشهار موقعك او منتداك او مدونتك مجانا

2010-02-09 Thread alagmy
خدمة اشهار موقعك او منتداك او مدونتك مجانا خدمة اشهار موقعك او مدونتك او منتداك معنا مجانا فقط سجل معنا وضع موقعك فى هذا القسم http://agd3as7ab.eb2a.com/vb/forumdisplay.php?f=34 وسيتم نشرها مجانا نحن اسرة المنتدى وهتشوف الفرق بإذن الله -- You received this message because you are subscribed to

[android-beginners] Re: Emulator takes too much time to show up - any solution?

2010-02-09 Thread Sayeem
Kitzy's suggestion works for me too. However, I was looking for any doc where I could find out how to change the SD setting for AVD. There is not much info. Can someone please provide any pointer? I can try to do that using command prompt or Eclipse. I believe changing the SD card setting is anoth

[android-beginners] Re: Can't create new class in Eclipse (Google Map View official tutorial)

2010-02-09 Thread yodaa
@Indicator Veritatis You"re right about the tutorial name I've followed the tutorial called "Google Map View": http://developer.android.com/resources/tutorials/views/hello-mapview.html There are some kown GUI issues under Linux (thanks @greg, I noticed this on the eclipse bug database, I also use

Re: [android-beginners] Re: Moderated list??

2010-02-09 Thread Mr. Baseball 34
So you are saying that little spam is OK? Listen, I've been doing this for a whole lot of years and if you don't wipe them out when it is little spam, it becomes REAL BIG SPAM. I say that ANY spam is too much, period! I just wished the W3C would get off their asses and modify the SMTP specs to r

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work "again"

2010-02-09 Thread M
I'm guessing the -xmx1024M is the one that tells the max amount if memory if I'm correct.. but uhh... I still don't see how it works. I'm just bogged about this. I tried all sorts of variations of the original one and this one but ... nope, nothing. -- You received this message because you are su

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work "again"

2010-02-09 Thread M
What confuses the living daylights out of me is that I'm running TraceView via command line. Just using basic : "traceview.bat traceFile" or "traceview traceFile" Am I supposed to give the parameters ... where again? I googled how to increase the heap size on Eclipse and it said that after the ec

Re: [android-beginners] Re: List of classes and methods?

2010-02-09 Thread Walt Armour
Just to be clear, the docs are available to download with the SDK. When you run the SDK Setup tool (after downloading the SDK and putting it in place), under available packages, there should be a checkbox for documentation. If you check it then the docs (in HTML) will be downloaded and put into t

[android-beginners] Re: Confusion with Preferences

2010-02-09 Thread katti
Hi, Thanks for the help. It worked. I had not set the default vale so it was giving null. Thanks again. Regards On Feb 6, 3:35 pm, katti wrote: > Thanks. I will check and let you know. Thanks again. > > On Feb 6, 1:45 pm, Mark Murphy wrote: > > > > > katti wrote: > > > Sorry I wasn't done but p

Re: [android-beginners] online seminar

2010-02-09 Thread Ed Holley
Anyone know of any video tutorials? I.e. not real-time. I looked at the ones on the Google dev site, they were to low level for me to get much out of it (most of my experience ia vbscript/and some vb). I am self taught and don't understand many od the terms, even for stuff I did (class etc). So b

[android-beginners] online seminar

2010-02-09 Thread David Fire
this link is a online realtime android seminar http://training.oreilly.com/androidapps-java/ start today 16:00 (GTM -3) -- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. -- You received this message because you are subscribed to t

[android-beginners] Re: Moderated list??

2010-02-09 Thread Kitzy
I get my messages in one e-mail a day. I have noticed that spammers have generated, at most, two messages per day. The past few days, on this thread, haven't generated anything. -Kitzy On Feb 9, 7:36 am, "Mr. Baseball 34" wrote: > On Mon, Feb 8, 2010 at 8:31 PM, Kitzy wrote: > > I don't think

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work "again"

2010-02-09 Thread Kitzy
Eclipse is only alotted a certain amout of memory, irrelevant of how much memory you have for Windows. To chance this you can add a command line parameter (search for it on goole because I'm not at my machine) but it is something like -xX5024 or -xS5024. When starting in windows you open up the p

Re: [android-beginners] Re: Emulator takes too much time to show up - any solution?

2010-02-09 Thread Ed Holley
Do you or anyone else have any optimization tips for the emulator? I am going to try everything u have suggested so far. sent on location from my Motorola Droid On Feb 9, 2010 11:03 AM, "Kitzy" wrote: Once I have the emulator running, I leave it running. All new tests on the emulator start with

[android-beginners] Re: Emulator takes too much time to show up - any solution?

2010-02-09 Thread Kitzy
Once I have the emulator running, I leave it running. All new tests on the emulator start within seconds after it is already running. I do start it from inside Eclipse. -Kitzy On Feb 9, 7:35 am, Ed Holley <8792...@gmail.com> wrote: > Thanks much for this suggestion I have a 16gb setting that may

Re: [android-beginners] How to fix errors in emulator

2010-02-09 Thread Ed Holley
Sorry for the misunderstanding I was more looking for resources and configuration information as I am at work. But I will give specific info when I get to code again. Again I am sorry for the misunderstanding. sent on location from my Motorola Droid On Feb 9, 2010 9:44 AM, "Justin Anderson" wrot

Re: [android-beginners] Re: Moderated list??

2010-02-09 Thread Jonas Petersson
Mr. Baseball 34 wrote: [...] This group is moderated for first-time posters. If you haven't posted here before, a moderator must approve you. Spammers can circumvent this, of course, but it has cut the noise down quite a bit. Google Groups also has some spam detection code running now that he

Re: [android-beginners] How to fix errors in emulator

2010-02-09 Thread Justin Anderson
Ummm.. until you tell us what the errors are we can't help you. -- There are only 10 types of people in the world... Those who know binary and those who don't. --

Re: [android-beginners] Re: Moderated list??

2010-02-09 Thread Mr. Baseball 34
On Mon, Feb 8, 2010 at 8:31 PM, Kitzy wrote: > I don't think I have seen that many spam messages, or at leeast not > enough to be anoying. > Guess you haven't been a member long enough. >> This group is moderated for first-time posters.  If you haven't posted >> here before, a moderator must app

Re: [android-beginners] Re: Emulator takes too much time to show up - any solution?

2010-02-09 Thread Ed Holley
Thanks much for this suggestion I have a 16gb setting that may be a solution to some of my emulation problems. sent on location from my Motorola Droid On Feb 8, 2010 8:20 PM, "BobG" wrote: Check the pagefile size in task manager. Once it starts getting bigger than the ram size everything slows

Re: [android-beginners] Re: List of classes and methods?

2010-02-09 Thread Mark Murphy
> On Feb 8, 4:09 pm, "Mark Murphy" wrote: >> The documentation is included in the SDK for offline reading. > == > Thanks for the response Mark, but I cant see anything about > downloading documentation anywhere on the android developer sdk page. Th

[android-beginners] How to fix errors in emulator

2010-02-09 Thread Ed Holley
I am getting a lot of errors when I start it. These errors occur before launch of my app. Any help greatly appreciated. I haven't looked yet as my programing time is limited, I am looking for best resources/experiences of other programers. sent on location from my Motorola Droid -- You received

[android-beginners] Traceview, OutOfMemoryError - How to make it work "again"

2010-02-09 Thread M
Hello everybody, I'm trying to profile my application and I'm running into interesting problems. I tried using the TraceView and it worked perfectly fine on a smaller piece of code, but when I let it run for like 5secs capturing the whole output of my game it just.. blows up so to say. The file i

[android-beginners] Re: List of classes and methods?

2010-02-09 Thread BobG
On Feb 8, 4:09 pm, "Mark Murphy" wrote: > The documentation is included in the SDK for offline reading. == Thanks for the response Mark, but I cant see anything about downloading documentation anywhere on the android developer sdk page. I'm a c progr

[android-beginners] Make a filter on an adapter which is not of String type...

2010-02-09 Thread Sephy
Hi everybody, I've found here : http://stackoverflow.com/questions/1737009/answer-to-making-a-nice-looking-listview-filter-on-android How to make a text filter on an arrayadapter, my problem as you can see on the post hereabove is that my adapter is not of String type, and then when I use methods