[android-beginners] embeded web browser with custom width and height

2009-11-24 Thread lei
I try to create a web browser with custom width and height rather than fill screen, is that possible to do in android? Below is my snippet code: AbsoluteLayout.LayoutParams params = new AbsoluteLayout.LayoutParams( 180, 180,

[android-beginners] TCP Sockets and threads

2009-11-24 Thread Ben Griffiths
Hi, I'm trying to implement a TCP server client scheme. I currently have the server aspect extending a service which the main activity starts, I've also put the server code in a new thread - as far as I understand not doing so would hang the UI? For testing purposes, I'm simply trying to send a

[android-beginners] Re: what is the exception

2009-11-24 Thread tatman
Unfortunately that doesn't help me in this case either. On Nov 23, 2:05 pm, Justin Anderson janderson@gmail.com wrote: Look at the logcat tab  That will give you more information -- There are only 10 types of people

Re: [android-beginners] Re: what is the exception

2009-11-24 Thread Justin Anderson
Post the output of the logcat tab when you get the exception. If you are using Eclipse be sure to clear the log just before running your application so you don't have a huge message. Thanks, Justin -- There are only 10 types of

[android-beginners] Re: wifi configuration

2009-11-24 Thread Roman ( T-Mobile USA)
Before calling the addNetwork you want to create a WifiConfiguration. The configuration below is for an open Wifi. WifiConfiguration wifiConfiguration = new WifiConfiguration(); wifiConfiguration.SSID = YOUR_SSID;

[android-beginners] Re: ADT Plugin for Eclipse on Ubuntu 9.10

2009-11-24 Thread tongcc8
thanks, solved! On Nov 7, 6:33 am, Luis Vivero luis.viv...@microlands.com wrote: Hi, I had the same problem but now is solved. Try this: Go to System - Administration - Synaptic Package Manager and search for eclipse Then mark eclipse for install. This package provides the whole Eclipse

[android-beginners] Re: android list targets FAILS

2009-11-24 Thread Marcus Jackson
I'm getting the same thing, but on Windows XP. I get the same thing when I try to create an avd. -- 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

[android-beginners] surfaceCreated() and CreateSurface() in camera preview application

2009-11-24 Thread android-newbie
I have some questions regarding the code below for camera preview applicaiton. I am hoping someone can help me out. Thanks in advance. 1. How does surfaceCreated() and CreateSurface() relate? Is this surface created via createSurface() from SurfaceFlinger client to SurfaceFlinger server? If

[android-beginners] debug certificate expire. What to do?

2009-11-24 Thread jirateep suranant
Hi i'm a newby in android programming. I'm using a Mac OSX leopard and using eclipse europa I tried compiling my first android app and an error appears in the console saying - Android Launch! - adb is running normally. - Could not find simpleflashlight.apk! and it saids my

RE : [android-beginners] Re: Possible in emulator? Querrying google map? Unlocking Anrdoid Example

2009-11-24 Thread Pierre Henry Perret
It looks like your activity is not bound to the intent. Have you bound it in manifest.xml ? Le 19 nov. 2009 05:05, Esmail ebo...@hotmail.com a écrit : Pierre Henry Perret wrote: What is the error trace ? Ok, this is what I get: 11-18 22:03:07.485: ERROR/Error(711):

[android-beginners] Re: Delayed actions

2009-11-24 Thread Autarkis
As far as I know as a beginner myself, there's no API-like way. You would use AsyncPlayer to schedule playing in the background. Can't you use four different raw sounds with the pauses included in the samples? If there is an other way, I'd be interested in the solution as well. On Nov 20, 4:53 

Re: [android-beginners] Android SDK and AVD Manager Failed to fetch URL:HTTPS SSL error

2009-11-24 Thread Kent Loobey
I made three changes that seem to fix these problems for me. I am not sure the first step is necessary. Also, I forgot to mention that this is all on a 64-bit machine running 64-bit versions of the software. 1. I added the last line to ~/.android/androidtool.cfg $ cat

[android-beginners] Monkey scripting

2009-11-24 Thread Madhumita
Hi, I am using Monkey scripting to run automation on our smart phone developed with android 1.6 sdk. since monkey is downloaded along with this sdk, I can run it from adb shell with different package options. But I need to get access these script in terms of debugging and to check the failures

[android-beginners] Re: Getting ADT installed in Eclipse requires plug-in org.eclipse.jdt

2009-11-24 Thread JohnT
Yes, I am running 3.3 of the IDE, but I am uncertain which item from Eclipse website that I need to install for the latest IDE without breaking the IDE for Flex. Do you know which item from their download site that is the suitable IDE to do both Flex/Air development along with Android

[android-beginners] Re: email preferences

2009-11-24 Thread PJ
I am experiencing the same issue. I am using the Abridged Email option, which says No more than 1 email per day, but the actual behavior seems to be that it will go ahead and send us an e-mail if there have been 100 new messages on a given day. (So, for example, if there are 248 messages on a

[android-beginners] Multi threading in android

2009-11-24 Thread rahel2050
I am new to android and i was doing some application which might use multi threading. For example the application threads might do as follows assuming 2 threads; Thread 1 Even if the overall application runs on foreground thread one should run at all times listening for specific sms; Imagine the

[android-beginners] Re: Installing ADT in Eclipse 3.5.1 (Ubuntu)

2009-11-24 Thread tongcc8
1. update Ubuntu sudo apt-get update sudo apt-get upgrade 2. install JAVA sudo apt-get install sun-java6-jdk java -version javac -version 3. install Eclipse Ubuntu Softwar Center Programming 4. Install Android SDK - Download and install Android SDK at http://developer.android.com - unzip to my

[android-beginners] Re: Change Android Language

2009-11-24 Thread Alex Duncan
I bought an HTC magic in China too and want to know this as well. Has anyone found a solution yet? It's not just Gmail, App Store and others also don't change when the overall phone language is switched... Alex On Nov 3, 10:18 am, Bthejay bthe...@gmail.com wrote: A little extra note: After

[android-beginners] Re: my trouble in displaying hello,Android

2009-11-24 Thread Jeff
Check your run as configuration, sometimes programs are set to run in the background. On Nov 20, 6:13 am, Julio Huang huangzhilin1...@gmail.com wrote: Hi,I'm a beginner of Android,I use eclipse3.5+ADT 0.9.4+Android SDK2.0 As I followed the guide of SDK to display my first hello Android,I met

[android-beginners] Re: Hello World not even running in Emulator

2009-11-24 Thread razor
To save a time, don't start the emulator each time you want to run your app. Run emulator once, at the beginning and the only update your app on the emlator (eclipse will do all of that for you) razor On 22 Lis, 05:41, Julio Huang huangzhilin1...@gmail.com wrote: I have run the emulator for one

Re: [android-beginners] Re: Hello World not even running in Emulator

2009-11-24 Thread Mr. Baseball 34
Funny, my desktop is a Dell, too... On Fri, Nov 20, 2009 at 7:04 PM, teichholtz teichho...@gmail.com wrote: There now seem to be many of us who are experiencing this behaviour. I have an emulator running now which has been running for over 24 hours and still has not displayed the home page.

[android-beginners] GNU Screen port for Android OS?

2009-11-24 Thread Sonos
Hi, GNU SCREEN is capable of VT100 mode serial communication with periperals. For example in a standard Linux terminal CLI, typing $screen /dev/ttyUSB0 will open a USB serial device such as a development board or modem device. Is there a ported GNU Screen for Android? Thanks -- You received

[android-beginners] Raw barcode reading

2009-11-24 Thread Paulo J. Matos
Hello, There are a lot of barcode reading applications out there but I need to read the barcode in raw format. I need to obtain the text in the barcode. One of the usages of this is to create a comma separated list of ISBNs which I can then easily import to my desktop PC to create a book library.

[android-beginners] Problems installing the Android SDK

2009-11-24 Thread grml
Hi, I need some help with getting my environment set up. I've downloaded the android sdk and avd manager as well as the eclipse plugin for android. In a next step I want to download sdk a through the android sdk and avd manager. If I execute the android sdk manager the manager always fails to

[android-beginners] Re: error when starting Android project in Eclipse

2009-11-24 Thread squib
I was also experiencing the same issues. The problem started to occur when I upgraded my ADT plugin and created a new AVD with the AVD manager. I found that in Run-Run Configurations... I did not have the correct AVD in the target tab. When I deleted an older AVD I had created months ago AND

Re: [android-beginners] activating g1 without wifi

2009-11-24 Thread Xu Bill
make sure that your g1 driver has installed and run adb at directory named tools under root of sdk On Nov 23, 2009 1:51 PM, Cherry goddessofdepressio...@gmail.com wrote: Someone please help me. I am trying to register my g1 through a wifi. It is rc29 but i can't get it to shell to my mac. i

[android-beginners] Re: using a simpleCursorAdapter to bind data from a database to a spinner

2009-11-24 Thread gin_tonic
Look into this thread http://groups.google.com/group/android-beginners/browse_thread/thread/36454669a1e40172 It may help 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] Re: Help! My simple app works in Eclipse Emulator but not on droid

2009-11-24 Thread ertemplin
Maybe there's a permission the apparently has on the emulator that it doesn't have on the device andrew android wrote: My simple app - with no fancy stuff - just one preferences screen and simple while loop logic keeps crashing on my droid though it works fine in the emulator ... I've tried

[android-beginners] input issue with lunar lander tutorial

2009-11-24 Thread Kostas Kostiadis
Hello all, I've been following the Hello * tutorials and am now working on a clone of the lunar lander one. I've noticed an issue with the input of the lunar lander app and I'm wondering if someone can explain this to me. Looking at the code I don't really see any issues that would explain this

[android-beginners] Mac OSX Kext for Android devices?

2009-11-24 Thread zacpod
Hi, I have a shiny new LG GW620 Eve, and it is not recognized by ADB under OSX. I have it working under Windows (via forcing the install of a Android driver instead of the LG driver) and under Linux (via creating a UDev rule to allow access based on the product vendor ID.) Under OSX I get

[android-beginners] list view

2009-11-24 Thread sabs
Hi I created the list successfully but my problem is when ever i select an item in the list it is not moving to another layout. In that layout i created a button and text view. can any one help me below iam placing my code. //In this code wheneven i select the second option from the list it has

[android-beginners] Re: ANDROID_SWT on Vista

2009-11-24 Thread GuidoS
Hey all, I figured it out. First, ANDROID_SWT is not something that you should be setting yourself... so if you see this as an error it's a symptom, not the issue. The solution to getting around this problem was a little tryicky. Since I placed the Android SDK in my program files I needed to

[android-beginners] New Activity or new Layout?

2009-11-24 Thread Huckey
Hi all, I am new to Android. One of the questions to which I still haven't been able to get a good answer has with Activities and Layouts to do. I think I understand the basic concepts of Activity and Layout. I have however a problem determining whether I should use a new Activity or a new

[android-beginners] Re: building GUIs (manually? or with some tool?)

2009-11-24 Thread Richard Leggett
I noticed your post wasn't very old, but I've been using the interface builder which comes with the Android plugin for Eclipse, have you installed the plugin? Also as with any XML-based UI I think a mixture of using the GUI and handcoding works best. On Nov 23, 2:12 pm, tinyang

[android-beginners] Re: why Java, not Python?

2009-11-24 Thread me,Ramesh Yankati
Hi All, I am unable to set up Android development environment .When i am going to create new project File--Newothers.. It will ask for sdk location. Then I will go to windows option ---preference-...---there i will give SDK locateion... But I am getting error The sdk must be targetted

[android-beginners] duplicate XML attribute

2009-11-24 Thread Shirley Cohen
Hi, I want to specify two different values for a single XML attribute as in the following example: EditText android:id=@+id/addressfieldEdit android:layout_width=fill_parent android:layout_height=wrap_content android:minWidth=1.3in android:inputType=textPostalAddress

[android-beginners] Failure [-12]

2009-11-24 Thread Brian Williamson
Hi All, I tried to load an app onto the Android dev 1 phone and got the following message: Failure [-12] Does anyone know what this message means? -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to

Re: [android-beginners] Re: why Java, not Python?

2009-11-24 Thread Sean Dague
Esmail wrote: Lee Olayvar wrote: To my knowledge, Java is simply faster. That, and Python is also rather big. Is it really faster? Is that a consequence of a better virtual machine? On a proper x86 chip, it's *a lot* faster -

[android-beginners] Re: Droid BT Voice Dial - Hardware/Software Limitation?

2009-11-24 Thread rahulp
Hi all, Can anyone please post some guidelines to use bluetooth apis on sdk 2.0. also i need to know whether one can test these on the emulator. I mean atleast the basic functionalties Thanks On Nov 18, 11:15 pm, Laurence MacNeill laurence5...@gmail.com wrote: Yeah, that's basically what I'm

[android-beginners] proxy not working in SDK setup??

2009-11-24 Thread tl
Hi, I am behind an HTTP proxy, have defined appropriate Settings (HTTP Proxy Server/HTTP Proxy port): HTTP Proxy Server: my proxy IP address (also tried proxy DNS name iso IP address) HTTP Proxy Port: 3128 but i still get this error: Failed to fetch URL

[android-beginners] Re: Trouble editing XML files with Eclipse Galileo SDK 1.6

2009-11-24 Thread saidelike
I had the same problem. It looks like there is a bug somewhere in Eclipse and/or in the Android plug-in since the only solution to this problem is to edit a .java file (and not a .xml file) when trying to run the project. That is to say, you have to open the .java file so you are editing it when

Re: [android-beginners] Re: Installing ADT in Eclipse 3.5.1 (Ubuntu)

2009-11-24 Thread Jay Swartzfeger
On Tue, Nov 24, 2009 at 1:34 AM, Eno symb...@gmail.com wrote: So you install Eclipse twice? I installed from Synaptic, but it chose to install the openjdk as the JRE instead of Sun's JRE - could that be the source of the problem? I had the same issue under OS X 10.6. I uninstalled 64-bit

[android-beginners] SDK install offline

2009-11-24 Thread Derek
Is there any way to install the SDK offline? I have a PC I would like to develop with that I cannot get on the internet. I successfully downloaded the repository.xml file and all associated .zip files from http://dl-ssl.google.com/android/repository/;. Then in the SDK/AVD manager I added a site of

Re: [android-beginners] Re: Error in helloandroid tutorial

2009-11-24 Thread Qin XiaoYang
Thanks for you help, in fact the application runs normally after force close the message box. I was just curious about why this error message appeared. On Tue, Nov 24, 2009 at 9:08 AM, Indicator Veritatis mej1...@yahoo.comwrote: I haven't seen that error message. But since the name of the

[android-beginners] Is Android WIFI SDK Available

2009-11-24 Thread venkata veldanda
Hi, I have seen Wifi Related API's in the Reference Tab of the Developer's Website. But I cannot find these Libraries (WIFI) anywhere in the SDK. Could any one tell me where can I find the WIFI related Libraries or the SDK for it. Simply, what should I do to use those Wifi APIs to make my own

[android-beginners] wrapping strings or newlines - optionsmenu - condensed title

2009-11-24 Thread handroidshake
I am using a resource file to set onCreateOptionsMenu button titles. Is it possible to create a line break, newline or wrap the text of the button title? Here is an altered example in res/values/string.xml in the Notepadv1 tutorial: ?xml version=1.0 encoding=utf-8? resources string

[android-beginners] Re: Unlock Motorola Cliq and use with ATT?

2009-11-24 Thread Akra Bato
Hello. Tell me, please, how to unlock my motorola cliq phone from T- Mobile USA. Can I do my unlock distantly by internet? Is it the only way to pay money to a shady company and get the unlock code? -- You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Re: File transfer over phones

2009-11-24 Thread John
Sorry for the late reply. I was unable to access a computer for a while. For my first question: For example, I'll have two phones. I have the server application running on one phone, and a client application running on the second phone. The server will be listening via server socket, and the

[android-beginners] Text file

2009-11-24 Thread sabs
Hi all I have created a text file in proc directory. now i want to read that data from stat file and i want to display in emulator kindly assist me In advance Thank you. -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,

Re: [android-beginners] What is the default SDK directory?

2009-11-24 Thread Justin Anderson
You have to download the SDK separately from developer.android.com... It is just a zip that you need to unzip and place where you want. Then you tell Eclipse where you put it so it can find it. -- There are only 10 types of

Re: [android-beginners] list view

2009-11-24 Thread Justin Anderson
if(str == First) -- BAD if(str.equals(Second)) --- GOOD That being said, the typical android way would be to create another activity and launch it when you click the item in the list view. Have you tried doing that instead?

[android-beginners] Re: TCP Sockets and threads

2009-11-24 Thread Ben Griffiths
That link should be http://pastebin.ca/1685277 -- 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

Re: [android-beginners] duplicate XML attribute

2009-11-24 Thread Justin Anderson
I think it is like this: textPostalAddress|textAutoCorrect -- There are only 10 types of people in the world... Those who know binary and those who don't. --

[android-beginners] Playing youtube videos on Android

2009-11-24 Thread Nicholas Key
Hi all, I want to learn how to stream youtube video in high quality mode (similar to those videos you watch from your android phones on the YouTube app) .I have been scouring the net to find code examples and tutorials about streaming youtube videos in high quality but those are not the ones I

[android-beginners] Re: Pass image to a new Intent

2009-11-24 Thread erick nicolas
Hi I find a solution In the GridView I pass the images with ImageView Class: gridview.setAdapter(imageview); The images are in res/drawable path an we set them by: imageview.setImageResource(mThumbIds[position]); // mThumbIds is an array with images id's Then we know that ImageView is an

[android-beginners] Re: building GUIs (manually? or with some tool?)

2009-11-24 Thread Esmail
Richard Leggett wrote: I noticed your post wasn't very old, but I've been using the interface builder which comes with the Android plugin for Eclipse, have you installed the plugin? Also as with any XML-based UI I think a mixture of using the GUI and handcoding works best. Hi Richard, I

[android-beginners] exporting gps signals

2009-11-24 Thread Marton Kodok
Hello, I want to export by bluetooth the GPS signals to another phone. How can I accomplish this? -- Márton -- 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

[android-beginners] Google Android

2009-11-24 Thread Prateek Jain
Hey! I haven't used any Android device, but I've read a lot of news about it, and I feel it pretty cool. Though I still prefer my Symbian S60 more. What about you guys? -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,

[android-beginners] SDK and AVD Manager UI doesn't launch from command line

2009-11-24 Thread Lynn
I am able to open the Android SDK and AVD Manager UI from the Eclipse Window menu option. However, if I go to the SDK/tools directory and run ./android from the command line, the output suggests the UI will be launched, but it never appears. I am running on Mac OS X 10.5.8. The output looks

Re: [android-beginners] Re: Hello World not even running in Emulator

2009-11-24 Thread Mr. Baseball 34
How do you do that? 2009/11/23 razor razorjac...@gmail.com To save a time, don't start the emulator each time you want to run your app. Run emulator once, at the beginning and the only update your app on the emlator (eclipse will do all of that for you) -- You received this message

[android-beginners] Re: SDK Installation: A folder failed to be renamed or moved

2009-11-24 Thread DaveW
I'm having the same problems and have tried the same things as you but am still stuck. Any progress? On Nov 14, 6:11 pm, NoVa David novadav...@gmail.com wrote: Windows XP Professional SP3 JDK 1.6.0_14 site:https://dl-ssl.google.com/android/repository/repository.xml(i have force https:// to

[android-beginners] getting my current location

2009-11-24 Thread redants1972
I am trying to produce a mock location provider by using an example kml file grabbed from somewhere (where I cannot remember now). Anyway I think I also need a properties file but I'm not sure where this goes and what it is called. The code I am using is - locationManager =

[android-beginners] Unable to resolve superclass of Lcom/gizmo/tracker/XTrackerMap

2009-11-24 Thread jason
I have a XTrackerMap class that extends com.google.android.maps.MapActivity. The application runs fine on the HTC Hero device when connected via USB and uploaded via eclipse. If I restart the phone and start the same application from the list of apps on the phone, I get the following error; and

Re: [android-beginners] Failure [-12]

2009-11-24 Thread Xavier Ducrohet
The list of install failure code is in the PackageManager class. -12 is defined here: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/content/pm/PackageManager.java;h=cd48dcbcba3b5886f01a986ef71cb08412505e46;hb=refs/heads/eclair#l358 Basically the

[android-beginners] Re: How to save Setings

2009-11-24 Thread Batuka
help me pls -- 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,

Re: [android-beginners] Re: How to save Setings

2009-11-24 Thread Justin Anderson
Have a look at SharedPreferences and PreferenceActivity -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On

[android-beginners] how to add .KML file to my google map app

2009-11-24 Thread wahib
hi !! I have written a simple app following a tutorial. but when i run the application these is blank map view. Then i came to know that we can emulate google map images using .KML files. I am having following integrating it. I got sample.kml file but i am confused how to load it with DDMS.