[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: 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 mmur...@commonsware.com wrote: senrooy wrote: I am new to android. I am

[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 mmur...@commonsware.comwrote: 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

[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

[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

[android-beginners] Re: Development Phone

2009-09-17 Thread AngelOD
On Sep 16, 1:31 pm, Mark Murphy mmur...@commonsware.com 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

[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 jeffrey.blatt...@gmail.com 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

[android-beginners] Re: Development Phone

2009-09-17 Thread Mark Murphy
AngelOD wrote: On Sep 16, 1:31 pm, Mark Murphy mmur...@commonsware.com 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

[android-beginners] Re: Development Phone

2009-09-17 Thread Chris Stratton
On Sep 17, 8:55 am, Jeffrey Blattman jeffrey.blatt...@gmail.com 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

[android-beginners] Re: Terminate call programmatically

2009-09-17 Thread Mark Murphy
Chris Stratton wrote: On Sep 17, 7:12 am, Mark Murphy mmur...@commonsware.com 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

[android-beginners] Re: Terminate call programmatically

2009-09-17 Thread Chris Stratton
On Sep 17, 7:12 am, Mark Murphy mmur...@commonsware.com 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?

[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

[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 x...@android.com 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

[android-beginners] srollbarSize ignored

2009-09-17 Thread Konstantin Burov
Hello, I have trouble when trying to change scroll bar size, here is example: ScrollView android:layout_width=fill_parent android:layout_height=fill_parent android:layout_weight=1 android:scrollbarStyle=insideInset android:background=@drawable/ blue_border

[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

[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-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

[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

[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

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

2009-09-17 Thread Bartłomiej Nowak
2009/9/14 Carl vapor.trail@gmail.com 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

[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;

[android-beginners] Re: Development Phone

2009-09-17 Thread Bartłomiej Nowak
2009/9/16 Rafa Perfeito rafa.perfe...@gmail.com 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 mmur...@commonsware.comwrote: Rafa Perfeito wrote: I have an HTC Magic from a carrier. Can i

[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

[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

[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

[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

[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

[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

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

2009-09-17 Thread Bartłomiej Nowak
2009/9/16 Nicolas Gramlich stoeps...@gmx.de 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-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

[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

[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

[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

[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

[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.

[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 for

[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,

[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

[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 bernard.mcca...@googlemail.comwrote: Hi furby, I have had this problem too. I found it happens when your AVD isn't selected when you click on

[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

[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

[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

[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) roman.baumgaert...@t- mobile.com 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

[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

[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

[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

[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 jbro...@gmail.com wrote: Hello I'm working with a new install of Eclipse and the 1.6 Android

[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 mmur...@commonsware.com wrote: GlennovitS wrote: Hey I'm about to make

[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

[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

[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 proxy” For the proxy I copy the prams’

[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 =

[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 jeffrey.blatt...@gmail.com 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

[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 neilb...@gmail.com 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

[android-beginners] Re: Screen orientation

2009-09-17 Thread kirti kaul
You can also set the parameter in the manifest file as activity android:screenOrientation=landscape or portrait,which anyway is by default On Sep 16, 9:02 pm, Neilz neilhorn...@googlemail.com wrote: Thanks, all sorted :-) On Sep 16, 1:06 pm, Mark Murphy mmur...@commonsware.com wrote:

[android-beginners] Package Problems following Notepad Tutorial in Eclipse for Android 1.5_r3: android.app not Included

2009-09-17 Thread Indicator Veritatis
I am trying to go through the Notepad Tutorial for Android 1.5_r3, but I am getting stuck around Step 7 with the following error messages that just won't go away: The errors I get are: 1) ListActivity cannot be resolved to a type and 2) 'The declared package does not match the expected

[android-beginners] Analog clock

2009-09-17 Thread android learner
Hello everyone, I'm very new to android development and would really appreciate any help. I am trying to implement a custom analog clock widget. The default android analog clock has only hour and minute hands. I'm trying to add a seconds hand and the day/date into the dial. I do not think

[android-beginners] sms send

2009-09-17 Thread Saikat
How can I send a simple sms from my application? Which api I need to use? --~--~-~--~~~---~--~~ 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: Stuck at starting Intent ??

2009-09-17 Thread Vishwanath Kamath Pethri
Have you mentioned the com.mimi.simpleflashlight.RedFlashlightActivity class in your Manifest file? - Vishwa On Thu, Sep 17, 2009 at 12:05 AM, Mimi mimik...@gmail.com wrote: Dear all, I am stuck when running a simple App with this last message on my Console: [2009-09-16 14:24:49 - Simple

[android-beginners] Re: Screen orientation

2009-09-17 Thread Konstantin Burov
On Wed, Sep 16, 2009 at 8:46 PM, Neilz neilhorn...@googlemail.com wrote: On a more complex but related matter, I have a Maps app that loses the map when I change the orientation. My overlays and locations remain visible, but the map detail has gone leaving a plain blue screen (like it's over

[android-beginners] Arayadapter only shows text when highlighted

2009-09-17 Thread Android_n00b
I have an arrayadapter which stores the names of the 12 months of the year: final String[] Months = new String[] {January,February,March,April,May,June,July,August, September,October,November,December}; ArrayAdapterString monthArray = new ArrayAdapterString(this,

[android-beginners] Alarm manager on boot only runs once?

2009-09-17 Thread bob
I'm trying to set up a service that gets started when the device boots. I see that service being started once in the logs but it never seems to run again. So the fact that I see it in the right after boot up means that I am properly intercepting the boot up notification and firing off the

[android-beginners] Using the dev phone without a wireless carrier

2009-09-17 Thread Anil
Is it possible to use the dev phone without having a service contract with any mobile carrier? I want to use the dev phone in a class to teach app development using all the other features of the device except for telephony. Is that possible? Also, does anyone know of institutions that have

[android-beginners] Re: Emulator in Eclipse IDE

2009-09-17 Thread ichpa
Hi, I have the same error. I tried to run emulator with Eclipse and Command Line without success. Unfortunately, the solutions above do not work. Any others ideas ? On 17 sep, 07:33, Raphael r...@android.com wrote: Seems like it. Please try one of the following: - run the android tool UI,

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

2009-09-17 Thread Bartłomiej Nowak
2009/9/16 GlennovitS glennov...@gmail.com Hey I'm about to make an app with some different math functions.. How can I make a TAN, COS, and SIN function in andriod?. I dont know how to start on this.. Please help me.. Thanks --~--~-~--~~~---~--~~ You

[android-beginners] Routing audio to within the call

2009-09-17 Thread Ron Schnell
I've been following the new APIs as they come out, and I notice a few different options on how to route media playback to the speaker, bluetooth, earpiece, etc. But I have never seen an option to route media playback into an active telephone call. Am I correct that this is impossible? Any

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

2009-09-17 Thread robert.carlsson
hmm. I answered you, but I cant see my post, so I'll try again .. in short. I had the sam problem, found the solution here: http://forums.pragprog.com/forums/67/topics/2709 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Re: Screen orientation

2009-09-17 Thread Konstantin Burov
On Wed, Sep 16, 2009 at 8:46 PM, Neilz neilhorn...@googlemail.com wrote: Hi all. How do I test screen orientation on the emulator please? Can I tell it to switch orientation just like you would on the real device? Try Ctrl+F11 --~--~-~--~~~---~--~~ You

[android-beginners] Re: Analog clock

2009-09-17 Thread Yusuf Saib (T-Mobile USA)
The Android platform source code has the analog clock source. I would recommend you start there. 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

[android-beginners] Re: Best Game Implementation?

2009-09-17 Thread Yusuf Saib (T-Mobile USA)
For tips on a side-scrolling game, I recommend this video from Google IO: http://code.google.com/events/io/sessions/WritingRealTimeGamesAndroid.html Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their

[android-beginners] Re: sendBroadcast compile error

2009-09-17 Thread Tim
I saw that in the reference docs, but I still can't figure out how to make use of it. Just referencing Context doesn't work: Context.sendBroadcast(intent); compile: [javac] Compiling 2 source files to /Users/SourceCode/android/ projects/AutoConference/bin/classes [javac]

[android-beginners] Bluetooth and GPS switching from a widget

2009-09-17 Thread Vapor Trail
Thanks a lot Yusuf, I would like to ask another question. I am trying to switch ON/OFF the GPS and Bluetooth from a widget. From http://groups.google.com/group/android-developers/browse_thread/thread/ab52d1a3a58b8179/e5acd3ffbeb9b51e?show_docid=e5acd3ffbeb9b51e and other posts, I understand that

[android-beginners] Re: Mark/Highlight/Select Text in WebView

2009-09-17 Thread treetop
I can highlight text by sending Shift key event with touch down action now. But I get nothing after calling javascript command window.getSelection (). Any comment? Thanks~ On 9月16日, 下午6時20分, treetop treetop.m...@gmail.com wrote: Hi, By using built-in browser on Magic or Hero, there is an

[android-beginners] Re: sendBroadcast compile error

2009-09-17 Thread Tim
So I am slowly learning more about the life cycles, and I figured out what I was missing. I ended up passing the context to the PhoneListener class I made in construction: public class PhoneBroadcaster extends BroadcastReceiver { public void onReceive(Context context, Intent intent) {

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

2009-09-17 Thread Naveen Krishna Ch
Try a code similar to this, EditText priority = (EditText)myAlertDialog.findViewById(R.id.priority_edit); int x = Integer.parseInt(priority.getText().toString()); This works fine for me.. 2009/9/16 rachana bedekar rachanabede...@gmail.com Hi, I need to perform

[android-beginners] Re: Screen orientation

2009-09-17 Thread Raphael
On Wed, Sep 16, 2009 at 8:21 PM, kirti kaul kirti.k...@wipro.com wrote: You can also set the parameter in the manifest file as  activity  android:screenOrientation=landscape or portrait,which anyway is by default This will not help him test orientation changes. R/

[android-beginners] Re: sms send

2009-09-17 Thread kapnkore
i think lot many threads about sms on this forum.n if you tried to search with your question in google you will get lot many site.any way check this one. http://mobiforge.com/developing/story/sms-messaging-android On Thu, Sep 17, 2009 at 10:43 AM, Saikat saikat0...@gmail.com wrote: How can I

[android-beginners] Re: AVD Not starting no Output

2009-09-17 Thread Raphael
Can you give us the output of the command: $ android list avds Thanks in advance, R/ On Thu, Sep 17, 2009 at 9:06 AM, praveen spraveenit...@gmail.com wrote: Hi I am getting the following error while trying to start the AVD via Eclipse. emulator: ERROR: unknown virtual device name:

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

2009-09-17 Thread Raphael
Not yet. You can get around by extracting as much application logic as possible in a java lib, but you still need basically two projects for the android parts resources. If you're using Linux or a source control system like SVN you can share or symlink your res dir however. It's far from ideal

[android-beginners] Re: AVD Not starting no Output

2009-09-17 Thread kapnkore
try to create new avd n start your allplication with new avd by choosing run configaration. On Thu, Sep 17, 2009 at 9:36 PM, praveen spraveenit...@gmail.com wrote: Hi I am getting the following error while trying to start the AVD via Eclipse. emulator: ERROR: unknown virtual device name:

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

2009-09-17 Thread kapnkore
Active only can be finished by useing the finish(); with help of this i think you may also end your application completally On Tue, Sep 15, 2009 at 7:55 AM, FeatherElf feather...@gmail.com wrote: I'm new in the Android World. I wanna that how to end a application completely? And also, I

[android-beginners] Silently Block SMS

2009-09-17 Thread King of Camelot
Is it possible to silently block an SMS from the user? As far as I've been able to tell an application can not hide an SMS from the whole system, only not show it in the application itself. Is there any way to stop a broadcast from telling other applications there is a new SMS?

[android-beginners] Re: change the angle of pixel

2009-09-17 Thread eldo jacob
Thank You , i got the point but i needed to know whether the formulas used has some more code to be added , so that the each pixel is rotated accordingly . On Tue, Sep 15, 2009 at 10:43 PM, Yusuf Saib (T-Mobile USA) yusuf.s...@t-mobile.com wrote: GY is set on the line that has GY = but not