[android-beginners] Re: Problem putting a GridView in a TableRow

2008-12-22 Thread saurabh
I am trying to create a sudoku like look where instead of 9x9 the whole thing is 8x8 and instead of 9 subcubes of 3x3 i have 4 subcubes of 4x4. I could used a gridview of the whole thing but i wanted to make the boundaries separating the subcubes thicker. I was hoping to add the subcubes in rows

[android-beginners] Re: Connection Failure when starting to monitor device 'emulator-5554' : device (emulator-5554) request rejected: device offline

2008-12-22 Thread skyyrie
Same prob on my lap On Dec 15, 7:11 am, silverburgh.me...@gmail.com silverburgh.me...@gmail.com wrote: I am using android 1.0 SDK release 2. But i see this error in the console: [2008-12-14 16:16:16 - DeviceMonitor]Error reading jdwp list: EOF [2008-12-14 16:32:58 - DeviceMonitor]Error

[android-beginners] Problem with listview

2008-12-22 Thread baba vali
hi all i am not getting scrolling in listview can anyone help me 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] Re: Problem putting a GridView in a TableRow

2008-12-22 Thread Mark Murphy
saurabh wrote: I am trying to create a sudoku like look where instead of 9x9 the whole thing is 8x8 and instead of 9 subcubes of 3x3 i have 4 subcubes of 4x4. I could used a gridview of the whole thing but i wanted to make the boundaries separating the subcubes thicker. I was hoping to add

[android-beginners] ADP problem

2008-12-22 Thread cbowley...@gmail.com
When I try to run ADP.EXE I get an error saying This application has failed to start because AdpWinApi.dll was not found. Re-installing the application may fix this problem. AdpWinApi.dll is right below in the same folder (tools) Anyone know?

[android-beginners] emulator: ERROR: you must provide the name of a virtual machine to start the emulator.

2008-12-22 Thread moontain
Hi, I downloaded the platform source code and completed a build. When I trying to run the emulator with following command,error occurs. $ ./out/host/darwin-x86/bin/emulator -system ./out/target/product/generic -kernel ./prebuilt/android-arm/kernel/kernel-qemu -skindir

[android-beginners] Re: Android Dev Phone 1 Setup

2008-12-22 Thread cbowley...@gmail.com
So when I try to run ADB.EXE(using windows) it says This application has failed to start because adbwinapi.dll was not found. Re-installing the application may fix this problem. Any ideas will be very much appreciated. Thank you. --~--~-~--~~~---~--~~ You

[android-beginners] Best way to present a Loading.. screen

2008-12-22 Thread craiget
Hello, In my application there is a data structure that must be loaded from a file when the application starts. Until this structure is loaded, the application cannot be interacted with in any meaningful way. Loading this static structure typically takes 1-2 seconds on the G1. My concern is that

[android-beginners] ImageView with large picture crashes on orientation change

2008-12-22 Thread mattsm8
I am trying to create an application which will display an image which is larger than the screen of the device where the user can scroll around to see different parts of the picture. This all works fine until I open or close the keyboard on my G1 whereupon the application crashes. Funnily enough

[android-beginners] using the vi editor on android

2008-12-22 Thread Neal
i was hoping to use the vi editor on android, except that my phone is from tmobile and i dont have permissions to run it, is there anyway around this? my os version is rc30 so the loophole was fixed to get root. to be honest, i just need any text editor that can cut and paste a specific text

[android-beginners] hi, i'm new here.and i have a question about how to draw on the surfaceview

2008-12-22 Thread quill
anyone who can tell me when i draw on a surfaceview, how can i know when(which point) the pen touch on the screen, and when the pen has distouched. i 'm writing a program about storke collection,and i know how to draw strokes(with the APIdemo touchpaint.java).

[android-beginners] Android on Eclipse Error

2008-12-22 Thread Casey
Hello, I'm trying to get the Hello, World application up and running in Eclipse (3.4 Ganymede). It is a fresh installation of 3.4, and when I created the hello, world application, I got the following errors: Description ResourcePathLocationType The project was not

[android-beginners] Re: How to display an icon next to each radio button?

2008-12-22 Thread coderiver
Yes, You need to use a table layout. See http://code.google.com/android/reference/android/widget/TableLayout.html On Dec 19, 5:33 pm, Jaymee androidapp...@gmail.com wrote: Is it even possible? Thanks, J --~--~-~--~~~---~--~~ You received this message

[android-beginners] Re: No repository found at https://dl-ssl.google.com/android/eclipse/

2008-12-22 Thread EvanK
I'm having the same problem (No repository found), and it's certainly not filtering on the ISP side...I live in Texas, USA. Not sure why Google would be filtering traffic from Texas, but I used a UK proxy and it worked fine. --~--~-~--~~~---~--~~ You received

[android-beginners] Wifi -- 3G when the phone goes into stand-by mode

2008-12-22 Thread Sander
When my phone goes into standby mode, so when the screen blackens, Android switches from the WiFi network to the 3G network. This means that if I don't use my phone for 1 minute when for instance chatting, the connection switches to 3G and my connection to the Google Talk server gets

[android-beginners] Hello Android Doesn't Work For Me

2008-12-22 Thread marioca...@gmail.com
I've followed the tutorial step by step (on 2 different PC's): When I run the app, the emulator comes up and only says Android on it. None of the code I edit in the app affects the emulator's output. Any pointers on where I should start looking?

[android-beginners] Can I add new item in Android's context menu?

2008-12-22 Thread Kunny
Hello, Can I add item in android's context menu? like Windows' context menu have Add to WinZip... --~--~-~--~~~---~--~~ 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] Wrong code in beginner tutorials

2008-12-22 Thread erniejunior
Hi guys, in the Notepad Tutorial for Android in Exercise 1 (http:// code.google.com/intl/de/android/intro/tutorial-ex1.html), Step 4 there is a wrong code example: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android

[android-beginners] AlertDialog - How to get Focused Item?

2008-12-22 Thread coderiver
I have an AlertDialog with an OnKeyListener. I need to find the focused item when the Call key is pressed. This AlertDialog also has an OnClickListener that works great - I get the position of the item from my view when it is clicked. What I also want to do - is get the position of the currently

[android-beginners] dev phone 1 adb error: device not found

2008-12-22 Thread dfabulich
When I plug my Android Dev Phone 1 into my Windows machine and try to run adb, it refuses to detect my device. I made sure USB debugging is enabled in the Application Settings on the phone. What am I missing here? C:\devtools\android-sdk-windows-1.0_r2\tools adb devices * daemon not running.

[android-beginners] Re: ImageView with large picture crashes on orientation change

2008-12-22 Thread Romain Guy
What is the crash exactly? What do you see in the logs? It sounds like you're having an OutOfMemory situation. On Mon, Dec 22, 2008 at 12:53 PM, mattsm8 mglaw...@gmail.com wrote: I am trying to create an application which will display an image which is larger than the screen of the device

[android-beginners] Re: Wrong code in beginner tutorials

2008-12-22 Thread Romain Guy
The tutorial code looks correct to me, @android:id is actually what's needed here. What compiling errors do you get? On Mon, Dec 22, 2008 at 12:41 PM, erniejunior erniejun...@googlemail.com wrote: Hi guys, in the Notepad Tutorial for Android in Exercise 1 (http://

[android-beginners] Re: Wifi -- 3G when the phone goes into stand-by mode

2008-12-22 Thread Disconnect
It is built into the screen blank. Once cupcake builds for adp1 again I'm probably going to see about using actual wifi powersave modes instead of the very-expensive drop/reassociate that it does now. (And for the record, its 2 mins after the screenblank fires.) On Mon, Dec 22, 2008 at 6:13 AM,

[android-beginners] Re: emulator: ERROR: you must provide the name of a virtual machine to start the emulator.

2008-12-22 Thread Disconnect
Run: . ./build/envsetup.sh emulator On Sun, Dec 21, 2008 at 7:50 AM, moontain chen.worksp...@gmail.com wrote: Hi, I downloaded the platform source code and completed a build. When I trying to run the emulator with following command,error occurs. $ ./out/host/darwin-x86/bin/emulator

[android-beginners] Re: Problem putting a GridView in a TableRow

2008-12-22 Thread saurabh
Sure... here it is ?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 FrameLayout android:id=@+id/puzzle_view

[android-beginners] Re: Problem putting a GridView in a TableRow

2008-12-22 Thread Mark Murphy
saurabh wrote: ?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 FrameLayout android:id=@+id/puzzle_view

[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

[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

[android-beginners] Re: Android Dev Phone 1 Setup

2008-12-22 Thread cbowley...@gmail.com
Nevermind, I'm almost certain is is because I have R30. --~--~-~--~~~---~--~~ 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

[android-beginners] Re: Android Dev Phone 1 Setup

2008-12-22 Thread cbowley...@gmail.com
Oops I mean because I am an idiot and didn't run it with cprompt. What I meant was it won't work for me because my phones been updated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post

[android-beginners] Re: ImageView with large picture crashes on orientation change

2008-12-22 Thread mattsm8
Thanks for helping Romain! I get an OutOfMemoryError on getDrawable(R.drawable.largeimage) On Dec 22, 5:59 pm, Romain Guy romain...@google.com wrote: What is the crash exactly? What do you see in the logs? It sounds like you're having an OutOfMemory situation. On Mon, Dec 22, 2008 at

[android-beginners] Re: ImageView with large picture crashes on orientation change

2008-12-22 Thread Romain Guy
Your image is simply way too big. You should resize the Bitmap after loading it or, if it's a JPEG, rescale it at loading time. Take a look at BitmapFactory.Options to see how to do it. Alternatively you could handle the screen rotation yourself but it will prevent you from using alternate

[android-beginners] Re: emulator: ERROR: you must provide the name of a virtual machine to start the emulator.

2008-12-22 Thread moontain
Thanks for the reply. I sourced the script, but same error occurs with emulator. I tried same command(./out/host/linux-x86/emulator ...) on ubuntu v8.10 and it works fine. Regards 2008/12/23 Disconnect dc.disconn...@gmail.com Run: . ./build/envsetup.sh emulator On Sun, Dec 21, 2008

[android-beginners] Re: Emulator start, but application doesn't

2008-12-22 Thread Enginerd
Okay, for anyone else who has had this problem, here are the solutions: 1. Get more RAM. I was running on 256 MB (which I believe is below minimum requirements), just upgraded today to 1024 MB (long time coming), application now starts fine. Although I still do see some error messages in the

[android-beginners] Re: emulator: ERROR: you must provide the name of a virtual machine to start the emulator.

2008-12-22 Thread malmeida
I tried that and the problem remains. On Dec 22, 4:06 pm, Disconnect dc.disconn...@gmail.com wrote: Run: . ./build/envsetup.sh emulator On Sun, Dec 21, 2008 at 7:50 AM, moontain chen.worksp...@gmail.com wrote: Hi, I downloaded the platform source code and completed a build. When I

[android-beginners] looping with a ContentValues var ...

2008-12-22 Thread rustyventure
Hi, everyone: I'm trying to create a method that will post data to a web form. The method will accept two parameters: 1) a url; and 2) a collection of keys and values representing fields and values on the form. The problem is that the fields and values are arbitrary - the names of the fields,

[android-beginners] Re: looping with a ContentValues var ...

2008-12-22 Thread Mark Murphy
rustyventure wrote: I'm trying to create a method that will post data to a web form. The method will accept two parameters: 1) a url; and 2) a collection of keys and values representing fields and values on the form. The problem is that the fields and values are arbitrary - the names of the

[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 joshdo...@gmail.com wrote: I forgot to mention that setting the image in xml be fine for what im doing but I

[android-beginners] Re: looping with a ContentValues var ...

2008-12-22 Thread rustyventure
You mean, something like this: MapString, String myFields = new HashMapString, String(); myFields.put(form_field_1, some value); myFields.put(form_field_2, some other value); ... Yep, that would work great. I'm still a little fuzzy on how I'd loop through the fields on the other end,

[android-beginners] unsubscribe

2008-12-22 Thread Samapathy, Kiruthika
--~--~-~--~~~---~--~~ 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] Re: emulator: ERROR: you must provide the name of a virtual machine to start the emulator.

2008-12-22 Thread malmeida
I 'solved' the problem with the following: 1. cd root dir; make sdk If you get an error about javadoc versions, have a look at the following thread: http://groups.google.com/group/android-framework/browse_thread/thread/7d43ce3cdbac35a8 2. unzip the sdk zip 3. cd tools dir; ./android