[android-beginners] Re: preventing Activity from destroying

2009-09-17 Thread Android Development
Just loved the title of the blog post. A very nice post. On Sat, Sep 12, 2009 at 3:11 AM, Mark Murphy wrote: > > Jason wrote: > > The service is picking up GPS locations; and sending to the server. > > Hence it needs to stay awake -- the server is tracking locations of the > > user on the web. >

[android-beginners] How to change the Typeface of ListView and Spinner

2009-09-17 Thread andu
How are you all! I am developing android application. currently I am creating a user interface in my language, Amharic. I can change the font for Textview, button and other controls. But I can change the font for ListView and Spinner control. When I search the internet I found out that Listview a

[android-beginners] [system halt] wifi and browser

2009-09-17 Thread Morris
Hi All: I turn off the wifi when browser is loading webpage in the OnPause mode. I find that the system would halt and then it will crash. I use android 1.5 code base. Could somebody face the same issue, too? Thanks a lot. Sincerely, Morris --~--~-~--~~~---~--~~

[android-beginners] Hierarchy Viewer

2009-09-17 Thread manigault
I try to use Hierarchy Viewer tool and for the simulator it works fine but for the real phone it doesn't. When i started the real device is listed in the section with the devices but when i press "start server" the server doesn't start, no logs on the console also. --~--~-~--~~

[android-beginners] Re: Hierarchy Viewer

2009-09-17 Thread Mark Murphy
manigault wrote: > I try to use Hierarchy Viewer tool and for the simulator it works fine > but for the real phone it doesn't. When i started the real device is > listed in the section with the devices but when i press "start server" > the server doesn't start, no logs on the console also. Unfort

[android-beginners] Re: Development Phone

2009-09-17 Thread Mark Murphy
pro wrote: > > I'm also very new to Android. And I would like to have the following - > > 1) I want to add and / or del any apps I want to - For this just any > phone would do it? Or I need an unlocked one? All existing Android devices allow you to install third party applications and remove th

[android-beginners] Re: How to change the Typeface of ListView and Spinner

2009-09-17 Thread Mark Murphy
andu wrote: > How are you all! > > I am developing android application. currently I am creating a user > interface in my language, Amharic. I can change the font for Textview, > button and other controls. But I can change the font for ListView and > Spinner control. When I search the internet I f

[android-beginners] Re: Android application enable handset

2009-09-17 Thread Ajaz Ahmed
Thanks Jack Ha. Regards! On Wed, Sep 16, 2009 at 8:53 PM, Jack Ha wrote: > > > http://en.wikipedia.org/wiki/Android_(operating_system)#Hardware_products_running_Android > > -- > Jack Ha > Open Sourc

[android-beginners] Manifest file

2009-09-17 Thread senrooy
Hi, I am new to android. I am using SDK and eclipse with ADT plug-ins for the first time. I want to know what is the significance of the AndroidManifest.xml file which is created automatically when we create an android project. Can we modify this file for any reason? Thanks n regards, senrooy --

[android-beginners] Re: Manifest file

2009-09-17 Thread Ajaz Ahmed
Hi, Yes we can modify, but i think its available to modify. we can add activities references, user permissions,event receivers. AndroidMasifest.xml file is same like struts.xml file in struts2. Regards! Imtiaz Ali Shah On Thu, Sep 17, 2009 at 3:58 PM, senrooy wrote: > > Hi, > > I am new to and

[android-beginners] Re: Manifest file

2009-09-17 Thread Mark Murphy
senrooy wrote: > I am new to android. I am using SDK and eclipse with ADT plug-ins for > the first time. I want to know what is the significance of the > AndroidManifest.xml file which is created automatically when we create > an android project. There is a Web page in the Android documentation t

[android-beginners] Terminate call programmatically

2009-09-17 Thread Ajaz Ahmed
Hi, Can any one tell me how can i hangup/terminate call programmatically? With the help of intent. Regards! Imtiaz Ali Shah --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this g

[android-beginners] Re: Terminate call programmatically

2009-09-17 Thread Mark Murphy
Ajaz Ahmed wrote: > Hi, > > Can any one tell me how can i hangup/terminate call programmatically? > With the help of intent. 1. Please do not cross-post. Post to a single list only, and only post to another list if you do not get a response in a reasonable period of time (e.g., 1 day). 2. You c

[android-beginners] Re: Manifest file

2009-09-17 Thread senrooy
In which cases I can modify this file? I have done some basic android applications but I didn't modify this file and applications worked fine. For what reason we should modify this file? On Sep 17, 4:06 pm, Mark Murphy wrote: > senrooy wrote: > > I am new to android. I am using SDK and eclipse w

[android-beginners] Re: Terminate call programmatically

2009-09-17 Thread Ajaz Ahmed
Thank you! On Thu, Sep 17, 2009 at 4:12 PM, Mark Murphy wrote: > > Ajaz Ahmed wrote: > > Hi, > > > > Can any one tell me how can i hangup/terminate call programmatically? > > With the help of intent. > > 1. Please do not cross-post. Post to a single list only, and only post > to another list if

[android-beginners] Re: Manifest file

2009-09-17 Thread Naveen Krishna Ch
For the first time when we develop an activity, The eclipse automatically adds it to the AndroidManifest.xml. As we want to add more activities or any frame work components. We need to add the, we can add permissions, intent filter, etc. also 2009/9/17 senrooy > > In which cases I can modify th

[android-beginners] SMS Receiver

2009-09-17 Thread King of Camelot
So I was playing around with some sample code I found on the net for receiving SMS in your app when I noticed that the sample was using the deprecated android.telephony.gsm.SmsMessage. I figured it'd be a simple change to make it use android.telephony.SmsMessage instead so I changed the import and

[android-beginners] Re: Development Phone

2009-09-17 Thread pro
Thanks Mark, First google seems to ran out of stock for dev phone, and if I recall the site instruction does not quite explain - rooting or whatever needed, third for some of us are already buried down to bargain basement so ebay or other sites seems to be logical alternatives :) Is there any po

[android-beginners] Re: SMS Receiver

2009-09-17 Thread King of Camelot
Argh. Disregard. Somehow the emulator being run was still using the 1.5 SDK. Seems to work fine on the 1.6 SDK. Sorry about that. On Sep 17, 4:46 am, King of Camelot wrote: > So I was playing around with some sample code I found on the net for > receiving SMS in your app when I noticed that the

[android-beginners] Re: Development Phone

2009-09-17 Thread Mark Murphy
pro wrote: > First google seems to ran out of stock for dev phone, and if I recall > the site instruction does not quite explain - rooting or whatever > needed, third for some of us are already buried down to bargain > basement so ebay or other sites seems to be logical alternatives :) Yes, this

[android-beginners] Re: Development Phone

2009-09-17 Thread Jeffrey Blattman
On 9/16/09 8:32 PM, pro wrote: I'm also very new to Android. And I would like to have the following - 1) I want to add and / or del any apps I want to - For this just any phone would do it? Or I need an unlocked one? unlocked means it is not tied to a particular provider, so that is i

[android-beginners] Re: preventing Activity from destroying

2009-09-17 Thread cellurl
He might be using a cradle. --~--~-~--~~~---~--~~ 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

[android-beginners] Re: Problem displaying notifications

2009-09-17 Thread cellurl
thanks for posting, I am going to try it. -jp --~--~-~--~~~---~--~~ 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] Re: Development Phone

2009-09-17 Thread cellurl
some day instead of a changeable battery, you will have a changeable RF-module. Then it will be a truely open phone. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, sen

[android-beginners] Re: Development Phone

2009-09-17 Thread AngelOD
On Sep 16, 1:31 pm, Mark Murphy wrote: > I have seen no evidence that HTC makes firmware upgrades available > directly. They always handle that through whoever distributed the device > (e.g., T-Mobile for the T-Mobile myTouch3G version of the Magic). So, if > you got your device from your carrier

[android-beginners] captured image is strected to fit it to the screen

2009-09-17 Thread Sriniamul Senthil
Hi, I captured a image in landscape mode [keyboard is not hidden], and i am in preview screen and I close the keyboard. I observed that the image captured is streched to fit to screen in a portrait mode. Where does this aspect ratio is maintained in a framework ? Thanks & Regards, S.Sriniamul

[android-beginners] Re: Development Phone

2009-09-17 Thread pro
Thank you very much. That covers my questions. -pro On Sep 17, 5:55 am, Jeffrey Blattman wrote: > On 9/16/09 8:32 PM, pro wrote: > > > I'm also very new to Android. And I would like to have the following - > > > 1) I want to add and / or del any apps I want to - For this just any > > phone woul

[android-beginners] Re: Development Phone

2009-09-17 Thread Mark Murphy
AngelOD wrote: > On Sep 16, 1:31 pm, Mark Murphy wrote: >> I have seen no evidence that HTC makes firmware upgrades available >> directly. They always handle that through whoever distributed the device >> (e.g., T-Mobile for the T-Mobile myTouch3G version of the Magic). So, if >> you got your dev

[android-beginners] Re: Development Phone

2009-09-17 Thread Chris Stratton
On Sep 17, 8:55 am, Jeffrey Blattman wrote: > unlocked means it is not tied to a particular provider, so that is > irrelevant to the question. you can normally add / remove any apps you > want on a standard android phone. I don't think you will be able to remove the applications that ship with

[android-beginners] Re: Terminate call programmatically

2009-09-17 Thread Mark Murphy
Chris Stratton wrote: > On Sep 17, 7:12 am, Mark Murphy wrote: > >> 2. You cannot "hangup/terminate call programmatically" from an SDK >> application. > > Can you turn off the radio / enter airplane mode? Or will that only > pop up a dialog for the user? I think you can programmatically ente

[android-beginners] Re: Terminate call programmatically

2009-09-17 Thread Chris Stratton
On Sep 17, 7:12 am, Mark Murphy wrote: > 2. You cannot "hangup/terminate call programmatically" from an SDK > application. Can you turn off the radio / enter airplane mode? Or will that only pop up a dialog for the user? --~--~-~--~~~---~--~~ You received this

[android-beginners] Re: Development Phone

2009-09-17 Thread Jeffrey Blattman
yes you are right. On 9/17/09 8:03 AM, Chris Stratton wrote: On Sep 17, 8:55 am, Jeffrey Blattman wrote: unlocked means it is not tied to a particular provider, so that is irrelevant to the question. you can normally add / remove any apps you want on a standard android phone.

[android-beginners] Re: About XML

2009-09-17 Thread Yusuf Saib (T-Mobile USA)
RIGHT. 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 Sep 16, 10:51 pm, Bishesh Manandhar wrote: > I can position the

[android-beginners] debug.keystore is missing

2009-09-17 Thread Jeffrey Blattman
today i started a new eclipse project. setup the map activity, and used the same API key as my other projects. map was blank, and oddly, in the logs i see unknown host exceptions from google.com. i tested the browser, and google.com resolves fine. after re-creating my API key with no success s

[android-beginners] Unknown host www.google.com (was Re: debug.keystore is missing)

2009-09-17 Thread Jeffrey Blattman
after changing the SDK directory back and forth, the SDK was reloaded and the debug.keystore was created. now i'm back to the unknown host exception for google, 09-17 11:16:07.003: INFO/InetAddress(756): Unknown host www.google.com, throwing UnknownHostException repeated over and over. On 9/

[android-beginners] Re: Unknown host www.google.com (was Re: debug.keystore is missing)

2009-09-17 Thread Jeffrey Blattman
ugh. never mind. permissions? On 9/17/09 11:17 AM, Jeffrey Blattman wrote: after changing the SDK directory back and forth, the SDK was reloaded and the debug.keystore was created. now i'm back to the unknown host exception for google, 09-17 11:16:07.003: INFO/InetAddress(756): Unknown

[android-beginners] Re: Unknown host www.google.com (was Re: debug.keystore is missing)

2009-09-17 Thread Mark Murphy
> after changing the SDK directory back and forth, the SDK was reloaded > and the debug.keystore was created. now i'm back to the unknown host > exception for google, > > 09-17 11:16:07.003: INFO/InetAddress(756): Unknown host www.google.com, > throwing UnknownHostException Forgive me if any of

[android-beginners] Crash when trying to add to dictionary within a Dialog

2009-09-17 Thread Horchata Factory
I have a custom dialog which contains an EditText control in it. If I type something inside it, do a long press, and choose to add the word to the dictionary, it crashes with this exception: 09-17 18:03:35.765: WARN/dalvikvm(994): threadid=3: thread exiting with uncaught exception (group=0x4000fe

[android-beginners] How does scheduling, such as alarms, work in Android?

2009-09-17 Thread HW
Hello all, I am in the planning phase of my first application for Android, and it will be centred around running particular activities at particular times. Basically it will be like an alarm clock app, but instead of triggering an alarm it will trigger something else. I have looked at the alarm

[android-beginners] Re: About "ERROR: unknown virtual device name: 'myavd'"

2009-09-17 Thread Bruno Cordeiro
Mr Ducrohet, Thank, this solution worked for me!! On 25 ago, 20:41, Xavier Ducrohet wrote: > I see that you have changed the location of the user folders (in S: > instead of C:) > > When the user location is not the default one, we have seen some cases > where windows reports the loca

[android-beginners] srollbarSize ignored

2009-09-17 Thread Konstantin Burov
Hello, I have trouble when trying to change scroll bar size, here is example: For some reason the android:scrollbarSize="20dip" is ignored. Does anybody knows what's the reason? Thanks in advance. --~--~-~--~~

[android-beginners] Android Simulator Cam Problem

2009-09-17 Thread Sushant
Hi , Can any one suggest me how can i configure my web cam with android simulator cam. Thanks for the help in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this

[android-beginners] Re: XML Parsing yields bogus data

2009-09-17 Thread sweet
Hello Felix i'm actually trying to make a parser XML which return a table for display in a listview. I make this code and it not work (the logcat don't teach me more about the error) can you tell me if you see anything wrong ? java class: import java.net.URL; import java.util.ArrayList; import j

[android-beginners] Re: how to change text in a Button

2009-09-17 Thread Bartłomiej Nowak
2009/9/15 cellurl > > Hi, > > On the fly, I want to change the text shown in a Button. > > Q: How do I do that. > > My teacher held me back a year from Android school ;-) > (newbie again) > jim > > > > --~--~-~--~~~---~--~~ You received this message because you ar

[android-beginners] Data from external database into the TabView

2009-09-17 Thread sandreev
Hi, I was successfully able to create TabView and list the contents in ListView. The list of names were hard coded in the code in a string array. But I would like to know a way to access a database that resides on an external server ( using serv name, username, passwd etc). Please direct me in t

[android-beginners] Gallery view --- error

2009-09-17 Thread dolly
I am new to android. I tried creating a gallery. I got an error " cannot resolve android.R.styleable" in the line mGalleryItemBackground = a.getResourceId( android.R.styleable.Theme_galleryItemBackground, 0); Am I supposed to create a styleable directory in res and add somet

[android-beginners] Error : No embedded stylesheet instruction for file

2009-09-17 Thread Mabel
Hi, I am trying to build a simple application that prints a "hello world" While trying to run I get the following error. Also a new file named "Strings.out.xml" is formed. Kindly let me what would be the problem. 23:47:52,968 INFO [main] Main - javax.xml.transform.TransformerFactory=null 23:

[android-beginners] Setting up an Android development environment on a Mac

2009-09-17 Thread oregonduckman
I am running OSX 10.5.8 and am new to Android/Eclipse/Java and need help choosing the correct versions of Android/Eclipse SDK/IDE/Java SDK to install. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners

[android-beginners] Unable to stop Emulator from commandline in linux

2009-09-17 Thread Smruti
Hi, I am unable to stop the emulator from command prompt.Can anyone please help me in this. I am using Linux Fedora 9.0 version and Adroid SDK Version is 1.1, Ant 1.6.5. To start the emulator I have used following steps. Open a terminal and go to android-sdk-linux_x

[android-beginners] Open socket through gprs

2009-09-17 Thread Borut
Hi I need to connect to a certain server with a socket connection. No problem, that's the easy part. The problem is that a socket should be done exclusively through gprs connection, not through wifi. So, is it possible to force a socket connection to be opened through gprs signal even though a

[android-beginners] Re: Android tutorial

2009-09-17 Thread dharmaraja.thangaraj
Hi, http://developer.android.com/index.html is the prefered site for Android. you can get some tutorials at: http://developer.android.com/guide/tutorials/hello-world.html --- Dharma, Wipro Tech - BDC From: android-beginners@googlegroups.com [mailto:android-

[android-beginners] Re: Camera Button Broadcast Receiver Problem...

2009-09-17 Thread Pradeep Kaushik
Hi Tikoze, You can very easily implement this feature. Just have a simple receiver to receive the same intent as the camera that is: android.intent.action.CAMERA_BUTTON In that receiver class start your required activity as required. And, in the corresponding AndroidManifest.xml of your applic

[android-beginners] Re: How to access wireless toggle functionality

2009-09-17 Thread Bartłomiej Nowak
2009/9/14 Carl > > Hello all, > > I would like to create an application that allows the user to quickly > toggle wireless connections ON/OFF. I found the API for wi-fi > (android.net.wifi.WifiManager) but I am not able to find any API for > Bluetooth and airplane modes. > Do you have any idea whe

[android-beginners] Zxing integration is not working out :(

2009-09-17 Thread wahib
Hi. I am a newbie and trying to decode a barcode image stored in res folder. I am using this code. package com.example.barcodescan; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.widget.TextView; impor

[android-beginners] Re: Development Phone

2009-09-17 Thread Bartłomiej Nowak
2009/9/16 Rafa Perfeito > No T-Mobile for me. TMN from Portugal...But that means that the carrier > itself enables the update? > > On Wed, Sep 16, 2009 at 12:23 PM, Mark Murphy wrote: > >> >> Rafa Perfeito wrote: >> > I have an HTC Magic from a carrier. Can i update to >> > 1.6? How? Through the

[android-beginners] How does one change androids default language

2009-09-17 Thread kirti kaul
Hi, Is there any way by which we can change the android's default langauge from english to some other langauge,say french or japanese Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Begin

[android-beginners] Is there a Calendar View that I can use?

2009-09-17 Thread RobGThai
I'm not very good with English, I'll try to explain anyway. Sorry in advance. I wanted to create an Application that display calendar. Basically, I'll store the date of the appointment in the DB, no problem. The display is on the other hand, I have no idea if there's a View or something that I ca

[android-beginners] video streaming from a URL

2009-09-17 Thread mar_novice
Can anyone give some sample code on how to play video from a URL? and also kindly provide a live url. Thanks. -mar_novice --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this gro

[android-beginners] HTC Hero connection problem causes USB device ID to change from 0bb4:0c01 to 0bb4:0c02.

2009-09-17 Thread Chris Dew
I just wanted to post this, it took me three hours to get adb to list my phone... http://www.finalcog.com/htc-hero-android-adb-0bb4-0c01-ubuntu-jaunty-0bb4-0c02-problem Did anyone else have this problem? Chris. --~--~-~--~~~---~--~~ You received this message bec

[android-beginners] Which version of Android?

2009-09-17 Thread oregonduckman
The 1.5 installation notes refer to Eclipse 3.3 (Europa) or Eclipse 3.4 (Ganymede). When I looked on Eclipse website I could not find a reference to either version, can someone point me to the correct version of Eclipse that will work with the 1.5 SDK? Thanks --~--~-~--~~

[android-beginners] How to run system cam in Android Simulator in Ubuntu

2009-09-17 Thread Sushant
I am not able to connect my PC camera with Android Simulator camera in ecllipse on Ubuntu Machine. Can somebody suggest me a solution for that.Please help me i was stuck with these problem for long time Sushant --~--~-~--~~~---~--~~ You received this message becau

[android-beginners] sendBroadcast compile error

2009-09-17 Thread Tim
Im really new to android development (and java in general), and I seem to have run into a design issue. Background: Im working on an application that automatically turns the speaker phone on when you are on a call and lay the phone down on a flat surface. Since this is my first real android a

[android-beginners] How To Programmatically Reboot The Phone

2009-09-17 Thread !oEL
Hi, I'm trying to have the phone rebooted once a button is pressed. Currently I'm doing something like this: // _power is the button instance _power.setOnClickListener(new View.OnClickListener() { public void onClick(View v) {

[android-beginners] Re: About "ERROR: unknown virtual device name: 'myavd'"

2009-09-17 Thread Bartłomiej Nowak
2009/9/16 Nicolas Gramlich > > Hi, > > just tried this again with the ADT 0.9.3 (downloaded today) and > Android 1.6 r1 (also from today) and in the "Virtual Devices"-Window I > can see my newly created AVD with a green checker to the left: "A > valid Android Virtual Device". > > ANDROID_SDK_HOME

[android-beginners] How to end a application completely?

2009-09-17 Thread FeatherElf
I'm new in the Android World. I wanna that how to end a application completely? And also, I wanna how to only end a active alone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to t

[android-beginners] Re: Running the android emulator, easiest way?

2009-09-17 Thread dharmaraja.thangaraj
This is because, you may not installed JavaSDK or you may not set SDK path ("SDK/jdk/jre") in global variable "PATH". The easiest way is to install JavaSDK and copy the folder "SDK/jdk/jre" to eclise folder you had installed. -Original Message- From: android-beginners@googlegroups.com [m

[android-beginners] Re: Gallery view --- error

2009-09-17 Thread Justin Anderson
This has been answered several times in this forum... just do a search in the group for Gallery. I would also recommend reading this article as well. You will usually get more responses by following this advice, and the community page of the dev guide recommends reading this before posting as wel

[android-beginners] Re: Camera Button Broadcast Receiver Problem...

2009-09-17 Thread Justin Anderson
Awesome! I will try it tonight. Not very foolproof but it should work in most cases. Apparently all I was missing was the priority. Thanks for the help, Justin -- There are only 10 types of people in the world... Those who kno

[android-beginners] Re: Which version of Android?

2009-09-17 Thread Jack Ha
Eclipse 3.5 (Galileo) should work but you can download Eclipse 3.4 (Ganymede) from here: http://www.eclipse.org/downloads/packages/release/ganymede/sr2 -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and sta

[android-beginners] Center alignment in SDK 1.6

2009-09-17 Thread NicoToc
All, I have a problem that appeared once I've upgraded to the SDK1.6 I wanted to align the top of a bubble with the center of my map. Developing with 1.5, I've defined a RelativeLayout with a point (in black on the screen) align in the center and the aligned my top of bubble below this point. It

[android-beginners] Re: Android Emulator suddenly won't boot...

2009-09-17 Thread The Bear
Hi furby, I have had this problem too. I found it happens when your AVD isn't selected when you click on Run As.. to run an application. Try this: Right click on your project, select Run As... > Run Configurations... click on the "Target" tab and under "Select preferred Android Virtual Device

[android-beginners] Re: HelloAndroid app crashing

2009-09-17 Thread Justin Anderson
Look at the logcat info... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed, Sep 16, 2009 at 5:30 AM, K

[android-beginners] Arch Linux 64-bit install

2009-09-17 Thread Lee Jarvis
So I'm running Arch Linux 64-bit and I was curious to see if anyone else managed to get the SDK up and running on a 64-bit Arch install. I know there are 32-bit libraries out there but honestly I'm unsure of what i'd need. I've tried running the binaries but I just get a file not found error, whi

[android-beginners] Re: sendBroadcast compile error

2009-09-17 Thread Jack Ha
sendBroadcast() is part of the Context class. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily r

[android-beginners] Re: Android Emulator suddenly won't boot...

2009-09-17 Thread Timothy Collins
It turns out that the AVD was corrupted in some way. I had to delete it and rebuild and all is good now... On Thu, Sep 17, 2009 at 4:30 PM, The Bear wrote: > > Hi furby, > > I have had this problem too. I found it happens when your AVD isn't > selected when you click on Run As.. to run an applica

[android-beginners] Re: aapt is present - Hello, World application.

2009-09-17 Thread Lee Jarvis
Unfortunately it doesn't. I've realized I'm actually using the wrong 64-bit system (as the SDK was built for 32-bit) Arch Linux. I have created a new topic for this discussion (to help searches) Thanks for your replies --~--~-~--~~~---~--~~ You received this messag

[android-beginners] Re: Open socket through gprs

2009-09-17 Thread Roman ( T-Mobile USA)
Nope, this is currently not supported in the Android SDK. You can change the platform code and write your own JNI API to use this functionality. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solel

[android-beginners] Re: Development Phone

2009-09-17 Thread brucko
I'll be the first to admit that I am a bit of a novice in the android arena. What I would like to bring to your attention is that there may well be very good reasons as to why some pre-installed apps can be hard to change. I'm trying to import some devices into Australia, many of our regulations

[android-beginners] Re: Development on the MyTouch 3G

2009-09-17 Thread somatt
does that come with android On Sep 14, 3:37 pm, "Roman ( T-Mobile USA)" wrote: > If you are a fan of the G1 you will be also be a fan of the new > Motorola cliq which comes with a keyboard. > -- > Roman Baumgaertner > Sr. SW Engineer-OSDC > ·T· · ·Mobile· stick together > The views, opinions and

[android-beginners] How does Gallery's "Send" Intent Work?

2009-09-17 Thread Mark Buchholz
I'm trying to setup an intent that allows users to share an Jpeg, stored in the applications file cache. Trying this: Intent i = new Intent( Intent.ACTION_SEND ); i.putExtra( Intent.EXTRA_STREAM, uri ); i.setType( "image/jpeg" ); startActivity( Intent.createChooser( i, "Where to share?" ) ); It

[android-beginners] Read a HTML file with Java methods

2009-09-17 Thread françois graff
Hello developers, I'm french, so I'm sorry for my english. I would like to develope an application whose extracts some numbers from a web site In JAVA, I read the HTML file with this method : ---

[android-beginners] Application closes when I try to convert String to Integer

2009-09-17 Thread rachana bedekar
Hi, I need to perform mathematical operation on the EditText's text. For that I coverted text from the EditText to String, but when I further try to covert Strint to Integer using parseInt - code doesn't show any bug, but the emulator stops responding. Can anyone give me a suggestion on this?

[android-beginners] Free and Paid apps with same code-base???

2009-09-17 Thread MagouyaWare
Is there an easy way to have both free and paid applications that use the same code-base? I have just published my first application, which has both a free and paid version. However, in order to do that I had to make lots of manual changes to my package. Is there any way around this? --~--~---

[android-beginners] WebView Dimensions

2009-09-17 Thread Mostafa Muhammad
Hi, I'm trying to create a WebView with limited dimensions, I use XML to create the view, It works correctly and the view is rendered with the dimensions specified in the XML file, however, when I call loadUrl () the WebView breaks out of any limitations and takes up the whole screen. Can I c

[android-beginners] Code protection

2009-09-17 Thread uknowwho
I have a stupid questions. Since Android code development is based on Java, will my published application be easily decompiled and stolen? I know you can obfuscate, but that doesn't sound too good to me. --~--~-~--~~~---~--~~ You received this message because you a

[android-beginners] Re: Must have missed something...1.5->1.6

2009-09-17 Thread Vishwanath Kamath Pethri
I had also observed this issue... Once i re-configured my avd selection, this issue was no more observed As you said Xavier, this shouldn't be needed once you have set the target... But this is a wierd issue what i have observed on updating from 1.5 to 1.6.. -Vishwa On Wed, Sep 16, 2009 at 9

[android-beginners] Re: build path error (solved)

2009-09-17 Thread Indicator Veritatis
Hi. It might work for others. But are you expecting it to be useful for any build path error, or did you see the exact words in the error message, "build path error"? On Sep 16, 11:34 am, jbrohan wrote: > Hello > I'm working with a new install of Eclipse and the 1.6 Android > software. When I wa

[android-beginners] Re: Math functions in Android - HELP

2009-09-17 Thread Lance Nanek
In addition to the standard class, Android does have a few functions redone to be less accurate but better performing: http://developer.android.com/reference/android/util/FloatMath.html On Sep 16, 1:08 pm, Mark Murphy wrote: > GlennovitS wrote: > > Hey > > > I'm about to make an app with some d

[android-beginners] Re: About "ERROR: unknown virtual device name: 'myavd'"

2009-09-17 Thread robert.carlsson
Hi I had the same problem and for me the problem the emulator and an environment variable (HOMEPATH or USERPROFILE) instead of the registry (like android-tool.) I found the solution here: http://forums.pragprog.com/forums/67/topics/2709 --~--~-~--~~~---~--~~ You r

[android-beginners] Re: Android 1.6 SDK is here!

2009-09-17 Thread cyl
I downloaded 1.6 and tried to run Voice Recognition app on the emulator but got Recognizer not found. But 1.6 system image (at HTC site) is not available yet. So I could revert back to SDK 1.5 but the emulator (that comes with SDK 1.5) will not work (wrt audio sampling rate) with 1.5 platform as

[android-beginners] AVD Not starting & no Output

2009-09-17 Thread praveen
Hi I am getting the following error while trying to start the AVD via Eclipse. emulator: ERROR: unknown virtual device name: 'my_avd' emulator: could not find virtual device named 'my_avd' Also running the "hello world " as an Android app doesnt give any output. Thanks Praveen --~--~-

[android-beginners] Unable to compile C application in Emulator

2009-09-17 Thread Smruti Pragyan Misra
Hi, I have compiled a C application with ELDK4.1 for ARM.However when I push it to Android and tried to run it on the shell,it fail.Please help me with this. Thanks N Regards, Smruti Mishra --~--~-~--~~~---~--~~ You received this message because you are s

[android-beginners] How to connect to the internet behind proxy ?

2009-09-17 Thread rcy
Hi All, Not recently I installed the android SDK for the first time. After playing with the emulator I notice that I can’t log in to the internet via the browser application. I looked for a and found the following command : “emulator -avd em15 - http-proxy ” For the I copy the prams’ from the b

[android-beginners] AutoCompleteTextView and ArrayAdapter with async update

2009-09-17 Thread ordrune
I have an AutoCompleteTextView using an ArrayAdapter for its data. I am trying to asynchronously update the ArrayAdapter, but if there is text typed into the AutoCompleteTextView the ArrayAdapter will not update until the text in the AutoCompleteTextView changes. for example; actv = AutoComplet

[android-beginners] Re: Unknown host www.google.com (was Re: debug.keystore is missing)

2009-09-17 Thread Bartłomiej Nowak
2009/9/17 Jeffrey Blattman > ugh. never mind. permissions? > > > On 9/17/09 11:17 AM, Jeffrey Blattman wrote: > > after changing the SDK directory back and forth, the SDK was reloaded and > the debug.keystore was created. now i'm back to the unknown host exception > for google, > > 09-17 11:16:0

[android-beginners] onStop / onPause / onDestroy with Threads

2009-09-17 Thread Ives
Hi, i uses the combination of Handler and Threads to fetch images for my app. I wanted to know if I had create a inline thread: class { public someMethods() { final Handler h = ; Thread thread1 = new Thread() { @Override public void run() { // use H

[android-beginners] Re: Must have missed something...1.5->1.6

2009-09-17 Thread Vishwanath Kamath Pethri
Try setting the AVD from the "Debug configuration" for the selected project. Then run/debug. This should solve your issue. -Vishwa On Wed, Sep 16, 2009 at 6:21 PM, Michael Dorin wrote: > > I thought I followed all the instructions to update the SDK. > I have updated a couple projects and no

[android-beginners] Best Game Implementation?

2009-09-17 Thread ThomasR
I have a game concept for my first true android game, but I am not sure how to implement it. It is a side scrolling game, so almost every element is moving each frame. Would it be best, from a resources standpoint, to have one canvas for the entire screen redrawing every frame or for each element

[android-beginners] Re: Android 1.6 SDK is here!

2009-09-17 Thread jerkface
Also disappointed. Same useless bluetooth, same copout excuses from the devs. On Sep 16, 6:04 am, Neil wrote: > I'm very disappointed that bluetooth still doesn't seem to be fixed. > > I'm specifically interested in these issues - not being able to use > handsfree:http://code.google.com/p/androi

[android-beginners] Re: Screen orientation

2009-09-17 Thread kirti kaul
You can also set the parameter in the manifest file as or portrait,which anyway is by default On Sep 16, 9:02 pm, Neilz wrote: > Thanks, all sorted :-) > > On Sep 16, 1:06 pm, Mark Murphy wrote: > > > > > Neilz wrote: > > > How do I test screen orientation on the emulator please? Can I tell

  1   2   >