[android-beginners] Re: Android on Ubunty 9.04
I don't know about the 64-bit edition, but I also did have connection problems with Ubuntu 9.04 32-bit (after renaming the rules file) and they got solved by using a different USB port (try one at the back of your pc). However, actually my problem was, that the phone would disconnect very often and I had to kill the adb server all the time. Therefore I'm not sure if using a different port will help, if you're not able to connect at all. Too, I'm not working with the G1 but with the ADP1. On May 25, 4:07 pm, Mina Shokry minasho...@gmail.com wrote: I had same on ubuntu 9.04. I did the copy and still doesn't work. I am using 64-bit edition. is this related? On May 25, 1:53 pm, hgschmidt hgschmidt.listarchi...@googlemail.com wrote: Had the same problem: Upgrade to 9.04 and couldn't connect to G1 anymore. Copying the file, as mentioned, worked fine. On Apr 27, 12:00 pm, wonglik wag...@gmail.com wrote: I found some post suggesting copying (not renaming) /etc/udev/rules.d/50-android.rules. to /etc/udev/rules.d/51-android.rules. It helps. regards w On Apr 27, 12:07 pm, Sean Hodges seanhodge...@googlemail.com wrote: I'll be upgrading in the next couple of days, if you don't get your answer already by then I'll let you know how I get on. On Sat, Apr 25, 2009 at 11:10 AM, wonglik wag...@gmail.com wrote: Hi Does anybody have a problem connecting G1 to Ubuntu 9.04? It was working fine for me on 8.04 but now I just can not connect to it. adb devices just show empty list. I have added SUBSYSTEM==usb, SYSFS{idVendor}==0bb4, MODE=0666 to /etc/udev/rules.d/50-android.rules and run : chmod a+rx /etc/udev/rules.d/50-android.rules but it did not help. Any body have any idea? Kind regards w --~--~-~--~~~---~--~~ 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: Where do i put Audio Files.
How big are your audio files? You should be able to place them in the res/raw folder and get to them with: getResources().openRawResource(R.raw.audio_file); -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On May 25, 10:21 pm, Freshman csato...@gmail.com wrote: Hi guys, I am new to android and i need to play list of audio files in my application. but i am bit confused where to put all the audio files as its large in size. any help/info regarding this greatly appreciated. many thax, Freshman --~--~-~--~~~---~--~~ 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: Support for Javax.comm
Md Ismail wrote: Thanks Murphy for reply. I need to communicate to the serial port, thats why I need to use javax.comm. Alternatively, is there any other way to establish a connection to the serial port from andriod emulator. Android does not have a serial port. Questions about adding serial port support should go to a list dedicated to Android firmware: http://source.android.com/discuss -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ 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 on Ubunty 9.04
Mina, Wonglik's instructions worked for me, on Ubuntu 9.04, 64bit. You may have forgotten to check the execute flag on both files: cp /etc/udev/rules.d/50-android.rules /etc/udev/rules.d/51-android.rules chmod a+rx /etc/udev/rules.d/*-android.rules /etc/init.d/udev reload If you're still having problems, please post up an ls -l listing of your rules.d directory, and the contents of your rules files. Regards, Sean On Mon, May 25, 2009 at 3:07 PM, Mina Shokry minasho...@gmail.com wrote: I had same on ubuntu 9.04. I did the copy and still doesn't work. I am using 64-bit edition. is this related? On May 25, 1:53 pm, hgschmidt hgschmidt.listarchi...@googlemail.com wrote: Had the same problem: Upgrade to 9.04 and couldn't connect to G1 anymore. Copying the file, as mentioned, worked fine. On Apr 27, 12:00 pm, wonglik wag...@gmail.com wrote: I found some post suggesting copying (not renaming) /etc/udev/rules.d/50-android.rules. to /etc/udev/rules.d/51-android.rules. It helps. regards w On Apr 27, 12:07 pm, Sean Hodges seanhodge...@googlemail.com wrote: I'll be upgrading in the next couple of days, if you don't get your answer already by then I'll let you know how I get on. On Sat, Apr 25, 2009 at 11:10 AM, wonglik wag...@gmail.com wrote: Hi Does anybody have a problem connecting G1 to Ubuntu 9.04? It was working fine for me on 8.04 but now I just can not connect to it. adb devices just show empty list. I have added SUBSYSTEM==usb, SYSFS{idVendor}==0bb4, MODE=0666 to /etc/udev/rules.d/50-android.rules and run : chmod a+rx /etc/udev/rules.d/50-android.rules but it did not help. Any body have any idea? Kind regards w --~--~-~--~~~---~--~~ 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] MotionEvent coordinates
is it possible to get information regarding a touch event in terms of a Rect or a Region? i.e. when a user presses the screen, then the finger is actually touching a small region at the point of contact and not just one single point. so is there any way to get this region? also, with regard to the above, out of all the points of contact between the finger and the screen, which points are returned by MotionEvent.getX() and MotionEvent.getY()? ~ayush --~--~-~--~~~---~--~~ 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: Agregarme a este grupo
un saludo a ti tambien On May 26, 1:26 am, Cass Surek cass.su...@gmail.com wrote: Bienvenido... that's as far as my spanish goes... :) Saludos! Cass Surek On May 22, 10:24 am, soleada ruthg...@gmail.com wrote: Hola, estoy entrando en el mundo de Android y me gustaría pertenecer a Android Beginners. Un saludo --~--~-~--~~~---~--~~ 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: MotionEvent coordinates
I haven't tried this before, but I'd imagine you could construct a region positioned at getX()/getY() with a circumcircle radius based on the output of getSize(). With this approach, you will have to define a relative size for the fingerprint. This may not be useful if you are looking for high precision when using a pointer on the touch screen, but an estimate should be satisfactory for a fingerprint. On Tue, May 26, 2009 at 12:02 PM, ayush ayushv2...@gmail.com wrote: is it possible to get information regarding a touch event in terms of a Rect or a Region? i.e. when a user presses the screen, then the finger is actually touching a small region at the point of contact and not just one single point. so is there any way to get this region? also, with regard to the above, out of all the points of contact between the finger and the screen, which points are returned by MotionEvent.getX() and MotionEvent.getY()? ~ayush --~--~-~--~~~---~--~~ 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: Urgent!!!!!!!!!Audio recording..
What have you tried so far? Have you looked at http://developer.android.com/guide/topics/media/index.html ? There is also a tutorial, although the API may have changed a bit with cupcake: http://www.benmccann.com/dev-blog/android-audio-recording-tutorial/ Other problems people have encountered are with enabling the audio in the first place. How this is done depends on whether you are using Ubuntu, Mac or Windows, but first make sure you can record audio with any app on your PC. I myself will neither confirm nor deny that neglecting to ascertain that I plugged the frickin' microphone into the right frickin' port has on occasion been the source of some aggravation. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On May 25, 3:56 am, vineeth Desai vineeth.desa...@gmail.com wrote: Hi, Is audio recording works on android sdk simulator? If yes please let me know how to code that? Warm Regards, Sunil --~--~-~--~~~---~--~~ 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]
--~--~-~--~~~---~--~~ 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] very very urgent need
hi everybody i develop an android application which need to access text file (the path is c:\file.txt) and read data from it. my problem is that where i launch the emulator nothing is happened and no data is read. i would like a detailed example which explains how access a text file (in C:\ or another lector) and read string. thank you. . --~--~-~--~~~---~--~~ 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] How to store image file or blob data in Android's database(sqlite)
Can any one tell me how to store image file or blob data in Android's database(sqlite)? --~--~-~--~~~---~--~~ 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] can we use adb install or other else command to install all of .apk in a Dir once?
Greetings, As the tittle. Thx --~--~-~--~~~---~--~~ 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: Receiving Changes to the Phone state
Hi Chris! Well the receiver android:name should be fully qualified, in your case: com.technicana.customercontact.CallBroadcastReceiver Zsolt --~--~-~--~~~---~--~~ 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] android
I need very good explanation with source code examples and explanation.Please help --~--~-~--~~~---~--~~ 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] SDL init failure, reason is: No available video device
Hi When im trying to run the emulator i have this following error comes SDL init failure, reason is: No available video device. I have updated and installed all the necessary packages . i tried using both java5 and java6 . Can any one guide me , how to solve this problem --~--~-~--~~~---~--~~ 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] How to create an array of edit text controls in a tableview?
I want to create a table view of 4x4 dimensions with each cell containing an edit text control. I want to use an array of edit controls. Each element is then added to a cell specified by the row, column index. --~--~-~--~~~---~--~~ 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] select box
I need an android equivilant of a select box in html. What is the tag I need for the android layouts for it to work? I have ListView in my layout xml but for some reason, it throws the following exception when I try to run it. Sorry! The application Test App (process test.app) has stopped unexpectedly. Please try again. Here is my layout XML: ?xml version=1.0 encoding=utf-8? ScrollView android:id=@+id/inputFormScrollView android:layout_width=fill_parent android:layout_height=wrap_content xmlns:android=http:// schemas.android.com/apk/res/android LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent LinearLayout android:id=@+id/layout03 android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content TextView android:id=@+id/TextView03 android:orientation=horizontal android:layout_width=100dip android:layout_height=wrap_content android:text=Select Unit: android:paddingRight=20dip /TextView ListView android:id=@+id/distanceUnitSelect android:entries=@array/distance_unit/ListView /LinearLayout /LinearLayout /ScrollView --~--~-~--~~~---~--~~ 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: SDL init failure, reason is: No available video device
Try unsetting SDL_VIDEODRIVER in your environment before launching the emulator. That should generally fix the issue. If not, please tell me more about your system. On Tue, May 26, 2009 at 7:09 AM, arunjith arunj...@gmail.com wrote: Hi When im trying to run the emulator i have this following error comes SDL init failure, reason is: No available video device. I have updated and installed all the necessary packages . i tried using both java5 and java6 . Can any one guide me , how to solve this problem --~--~-~--~~~---~--~~ 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] very very urgent need
hi everybody i develop an android application which need to access video file (the path is c:\sequence.mp4) and play it. my problem is that where i launch the emulator nothing is happened and nothing is played. i would like a detailed example which explains how to play a video file (in C:\ or another lector) . thank you. --~--~-~--~~~---~--~~ 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] how access to Google street view
hi everybody i would ask if is possible to access google street view by android and using it by an application, if possible i like a detailed example which explains procedure to follow. thank you. --~--~-~--~~~---~--~~ 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
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 Developmenhttp://commonsware.com/Android/index.htmlt by Mark Murphy. I held off on purchasing these and boy do I regret it. This book should be the starting point as far as i'm concerned. On Tue, May 26, 2009 at 5:21 AM, push phfriendofje...@gmail.com wrote: I need very good explanation with source code examples and explanation.Please help --~--~-~--~~~---~--~~ 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: latest adt broken?
Hi, I'm trying to reproduce this and hmm well I don't manage to get this error. Could you help me a bit? - Which version of Eclipse are you using? - Which OS platform? - Which SDK? - Does that happen on any XML file or just some of them? - Does it break anywhere in the XML file or in some specific context? (between elements, inside an element, on an attribute name or attribute value?) - Can you try to reproduce that using one of the SDK samples XML files? I'm trying to narrow the issue. Thanks in advance. R/ On Mon, May 25, 2009 at 8:29 PM, solid young...@gmail.com wrote: I just upgraded to the latest adt (0.9.1) and now I am getting null pointer in eclipse when I try to invoke the content assistant (ctrl +space) on andoid xml files such as the layout files. Also the outline does not appear to be linked to the XML files any more. Below is the log from eclipse when I hit ctrl+space. Is there any way I can fix adt??? !ENTRY org.eclipse.ui 4 0 2009-05-25 23:18:47.253 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at com.android.ide.eclipse.editors.AndroidContentAssist.computeCompletionProposals (Unknown Source) at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals (CompoundContentAssistProcessor.java:300) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals (ContentAssistant.java:1836) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals (CompletionProposalPopup.java:555) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access $16(CompletionProposalPopup.java:552) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run (CompletionProposalPopup.java:487) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java: 70) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals (CompletionProposalPopup.java:481) at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions (ContentAssistant.java:1664) at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation (StructuredTextViewer.java:437) at org.eclipse.ui.texteditor.TextOperationAction$1.run (TextOperationAction.java:131) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java: 70) at org.eclipse.ui.texteditor.TextOperationAction.run (TextOperationAction.java:129) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java: 185) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute (LegacyHandlerWrapper.java:109) at org.eclipse.core.commands.Command.executeWithChecks(Command.java: 476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks (ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand (HandlerService.java:169) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand (WorkbenchKeyboard.java:472) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press (WorkbenchKeyboard.java:824) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent (WorkbenchKeyboard.java:882) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings (WorkbenchKeyboard.java:571) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3 (WorkbenchKeyboard.java:512) at org.eclipse.ui.internal.keys.WorkbenchKeyboard $KeyDownFilter.handleEvent(WorkbenchKeyboard.java:127) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1436) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1157) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1167) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1194) at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java: 698) at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java: 2765) at org.eclipse.swt.widgets.Composite.gtk_key_press_event (Composite.java:702) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1543) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4506) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4099) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5792) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1177) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at
[android-beginners] work with widget and screen oriantation
i m working on a widget and i have trubles changing the widget layout whenscreen oriantation changed so my quastion is How to change the widget layout when the screen oriantation is changed ? --~--~-~--~~~---~--~~ 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: very very urgent need
How is your application accessing an external resource on the computer like that? That is not possible. On May 26, 4:02 pm, abdelkarim bezi beziabdelkar...@gmail.com wrote: hi everybody i develop an android application which need to access video file (the path is c:\sequence.mp4) and play it. my problem is that where i launch the emulator nothing is happened and nothing is played. i would like a detailed example which explains how to play a video file (in C:\ or another lector) . thank you. --~--~-~--~~~---~--~~ 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: select box
Just for your knowledge, you can run adb logcat in your shell and it will show you a device log, and my provide some debugging info. On May 26, 3:17 pm, solid young...@gmail.com wrote: I need an android equivilant of a select box in html. What is the tag I need for the android layouts for it to work? I have ListView in my layout xml but for some reason, it throws the following exception when I try to run it. Sorry! The application Test App (process test.app) has stopped unexpectedly. Please try again. Here is my layout XML: ?xml version=1.0 encoding=utf-8? ScrollView android:id=@+id/inputFormScrollView android:layout_width=fill_parent android:layout_height=wrap_content xmlns:android=http:// schemas.android.com/apk/res/android LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent LinearLayout android:id=@+id/layout03 android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content TextView android:id=@+id/TextView03 android:orientation=horizontal android:layout_width=100dip android:layout_height=wrap_content android:text=Select Unit: android:paddingRight=20dip /TextView ListView android:id=@+id/distanceUnitSelect android:entries=@array/distance_unit/ListView /LinearLayout /LinearLayout /ScrollView --~--~-~--~~~---~--~~ 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
Here is an excellent place to get started http://dev.android.com/guide/index.html On May 26, 4:34 pm, Josh Dobbs joshdo...@gmail.com wrote: 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 Developmenhttp://commonsware.com/Android/index.htmlt by Mark Murphy. I held off on purchasing these and boy do I regret it. This book should be the starting point as far as i'm concerned. On Tue, May 26, 2009 at 5:21 AM, push phfriendofje...@gmail.com wrote: I need very good explanation with source code examples and explanation.Please help --~--~-~--~~~---~--~~ 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: Serial Port Communication
There is no serial interface, though you can use the Android Debug Bridge (adb is the command) in the SDK. On May 25, 6:08 am, Md Ismail ismai...@gmail.com wrote: Hi All, Can I connect to serial port from andriod emulator? Best Regards Ismail --~--~-~--~~~---~--~~ 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: Serial Port Communication
Er, never mind, i read you question wrong, but the real answer is no. On May 25, 6:08 am, Md Ismail ismai...@gmail.com wrote: Hi All, Can I connect to serial port from andriod emulator? Best Regards Ismail --~--~-~--~~~---~--~~ 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: select box
for the record, the widget I was looking for was the spinner widet. It only took me downloading the android source and looking at the sourrrce for google's Calendar app. On May 26, 4:17 pm, solid young...@gmail.com wrote: I need an android equivilant of a select box in html. What is the tag I need for the android layouts for it to work? I have ListView in my layout xml but for some reason, it throws the following exception when I try to run it. Sorry! The application Test App (process test.app) has stopped unexpectedly. Please try again. Here is my layout XML: ?xml version=1.0 encoding=utf-8? ScrollView android:id=@+id/inputFormScrollView android:layout_width=fill_parent android:layout_height=wrap_content xmlns:android=http:// schemas.android.com/apk/res/android LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent LinearLayout android:id=@+id/layout03 android:orientation=horizontal android:layout_width=fill_parent android:layout_height=wrap_content TextView android:id=@+id/TextView03 android:orientation=horizontal android:layout_width=100dip android:layout_height=wrap_content android:text=Select Unit: android:paddingRight=20dip /TextView ListView android:id=@+id/distanceUnitSelect android:entries=@array/distance_unit/ListView /LinearLayout /LinearLayout /ScrollView --~--~-~--~~~---~--~~ 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: MotionEvent coordinates
does this mean that the getX() and getY() returns the center point of the area touched by the finger? On May 26, 4:22 pm, Sean Hodges seanhodge...@googlemail.com wrote: I haven't tried this before, but I'd imagine you could construct a region positioned at getX()/getY() with a circumcircle radius based on the output of getSize(). With this approach, you will have to define a relative size for the fingerprint. This may not be useful if you are looking for high precision when using a pointer on the touch screen, but an estimate should be satisfactory for a fingerprint. On Tue, May 26, 2009 at 12:02 PM, ayush ayushv2...@gmail.com wrote: is it possible to get information regarding a touch event in terms of a Rect or a Region? i.e. when a user presses the screen, then the finger is actually touching a small region at the point of contact and not just one single point. so is there any way to get this region? also, with regard to the above, out of all the points of contact between the finger and the screen, which points are returned by MotionEvent.getX() and MotionEvent.getY()? ~ayush- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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 on Mac question
Weird. Could you please look in your workspace directory, you will find a text file a workspace/.metdata/.log and at the bottom of the file you should see the full error matching the one you reported, with a stack trace. Please send it to us. Thanks in advance, R/ On Thu, May 21, 2009 at 2:34 PM, GuyD guy.dil...@gmail.com wrote: I installed Eclipse v3.4.2 and latest version of Android SDK 1.5_r1. My Eclipse works but when trying to change the Preferences - Android I get the following error messages: Problem Occurred 'Android SDK Content Loader' has encountered a problem. An internal error occurred during: Android SDK Content Loader. java.lang.NullPointerException Android SDK Location Failed to get the required ADT version number from the SDK. The Android Developer Toolkit may not work properly. Anyone any idea the reason of this? Thanks. Guy --~--~-~--~~~---~--~~ 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] Sending sms via intents launches only the compose window
hi, I am trying to send an sms by using android native messaging application as follows Uri smsToUri = Uri.parse(smsto://5556); Intent i = new Intent(Intent.ACTION_SENDTO, smsToUri); i.putExtra(sms_body, This must get sent); startActivity(i); All it does is open a compose window with To and Body filled in.What do I need to do so that the SMS is sent automatically via existing application? Where can I find references to valid putExtras that I MUST do to send an SMS? I couldn't find any useful info on Android developer guide - perhaps I didn't notice them. Kindly help. -vignesh --~--~-~--~~~---~--~~ 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 SDK
The list of targets in the New Android Project Wizard should be the same as in the Windows Pref Android. I mean really it's the same code. Are you sure that in the same session, you open the pref you see the 3 targets then close that, go to the project wizard and the list is empty? If that's the case, can you look into the workspace/.metadata/.log file (or Windows View Error Log) to see if there's any unexpected error listed? R/ On Fri, May 22, 2009 at 2:25 PM, rickbarke...@googlemail.com rickbarke...@googlemail.com wrote: Right. Linux (Xandros eeepc) running eclipse ganymede with the ADT plugin. I've selected the android sdk directory in Windows-preferences- android and I get the 3 entries in the list box (android v1.1, v1.5 and google api's). so far so good. next I got to the android project wizard but there are no build targets in the box below the project name - as soon as I begin typing a project name, i get a new error at the top saying An SDK Target must be specified. I've read the previous post about creating AVD's but not really sure as to how this will help. Thanks. --~--~-~--~~~---~--~~ 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: Where do i put Audio Files.
Any idea/help on this greatly appriciated. On May 26, 3:44 pm, Freshman csato...@gmail.com wrote: Hi Jack, Thax a lot for reply. It is aroung 48 MB big in size. i tried it by puting in raw folder but it wont work as it is larger in size. Thax in Advance, Freshman On May 26, 3:27 pm, Jack Ha (T-Mobile USA) jack...@t-mobile.com wrote: How big are your audio files? You should be able to place them in the res/raw folder and get to them with: getResources().openRawResource(R.raw.audio_file); -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On May 25, 10:21 pm, Freshman csato...@gmail.com wrote: Hi guys, I am new to android and i need to play list of audio files in my application. but i am bit confused where to put all the audio files as its large in size. any help/info regarding this greatly appreciated. many thax, Freshman --~--~-~--~~~---~--~~ 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: SDL init failure, reason is: No available video device
hi I have no enviornment variable as SDL_VIDEODRIVER. Im running the emulator in a ubuntu machine (32 bit) . I have installed my sdl libraries properly. please suggest me how to proceed On Wed, May 27, 2009 at 2:25 AM, David Turner di...@android.com wrote: Try unsetting SDL_VIDEODRIVER in your environment before launching the emulator. That should generally fix the issue. If not, please tell me more about your system. On Tue, May 26, 2009 at 7:09 AM, arunjith arunj...@gmail.com wrote: Hi When im trying to run the emulator i have this following error comes SDL init failure, reason is: No available video device. I have updated and installed all the necessary packages . i tried using both java5 and java6 . Can any one guide me , how to solve this problem --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---