[android-beginners] Re: Book recommendation

2009-10-26 Thread Justin Anderson
There have been several recommendations on this forum with other posts... Have you tried searching this group before posting? -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: rega

2009-10-26 Thread Justin Anderson
Have you read the docs? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Mon, Oct 26, 2009 at 10:10 PM, sab

[android-beginners] Book recommendation

2009-10-26 Thread Tim
I have some Linux development experience, and would like a recommendation on a good book to buy introducing me to Android. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this gro

[android-beginners] rega

2009-10-26 Thread sabs
Hi everybody, onCreate(Bundle savedInstanceState) can any tell me about the Bundle. --~--~-~--~~~---~--~~ 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@go

[android-beginners] usage of technology

2009-10-26 Thread sabs
Hi every body, I am developing applications in android, now i would like to know which technology i have to use in developing applications means j2EE or J2ME --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android B

[android-beginners] Re: Issue with Android Debug Bridge

2009-10-26 Thread Maxood
Also my platform is Windows XP. Processor is AMD. On Oct 26, 10:19 pm, Maxood wrote: > There are no devices attached. The list is empty. > > How can i attach a device? > > On Oct 26, 3:01 pm, Tim wrote: > > > > > On Oct 26, 2:44 pm, Maxood wrote: > > > > Whenever i try to run ADB in shell mode

[android-beginners] Re: Issue with Android Debug Bridge

2009-10-26 Thread Maxood
There are no devices attached. The list is empty. How can i attach a device? On Oct 26, 3:01 pm, Tim wrote: > On Oct 26, 2:44 pm, Maxood wrote: > > > Whenever i try to run ADB in shell mode, i receive the error: > > Device Not Found > > > Please help! > > What device are you using? --~--~-

[android-beginners] Re: video frame

2009-10-26 Thread Vinu Vijayan
i see that MediaMetadataRetriever will provide the fucntionality for capturing the starting frame. i will try with this and update. thanks for the response... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[android-beginners] Re: Taking Screenshots from Phone using Windows 7?

2009-10-26 Thread Justin Anderson
Are you able to debug your app on the phone or is this broken as well? Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't. ---

[android-beginners] Re: How do I get a view's height to fill the space in between two other views?

2009-10-26 Thread launchpadtt
Thanks. The android:layout_weight worked. I gave the scrollview a weight of 1 and the textview and linearlayout a weight of 0 and the scrollview filled out the screen On Oct 26, 12:23 am, Justin Anderson wrote: > If you are using XML layouts, there are a couple things you could try... > > 1) Se

[android-beginners] Re: Error

2009-10-26 Thread Lance Nanek
Looks like you have to change this import: >import android.content.DialogInterface.OnClickListener; To this: import android.view.View.OnClickListener; This problem often happens when an IDE tries to import something for you, but picks the wrong thing. One thing you can do to help prevent that fo

[android-beginners] Screen Off and Lock Notfication?

2009-10-26 Thread Prabakar
Hello, I want to continue running my application when the backlight and screen goes off and lock. How do i find out whether the device screen goes off and lock from my application through notification so that i can ignore it and continue running my app.? Appreciate your speedy response. -Mart

[android-beginners] Re: ADB and T-Mobile Pulse

2009-10-26 Thread Jeffrey Blattman
under settings > applications > development is usb debugging enabled? On 10/26/09 6:09 AM, marktyers wrote: Hi I have purchased a T-Mobile pulse for the purpose of testing some applications but it does not show up when I run ./adb devices or when I test my apps using Eclipse. Please can so

[android-beginners] Re: Issue with Android Debug Bridge

2009-10-26 Thread Tim
On Oct 26, 2:44 pm, Maxood wrote: > Whenever i try to run ADB in shell mode, i receive the error: > Device Not Found > > Please help! What device are you using? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "And

[android-beginners] NEEDED: Apps to feature on Sprint Microsite

2009-10-26 Thread tvprintweb
Hello Developers Your App + Our Site = Mass promotion at no cost. I work for Goodby Silverstein & Partners, the advertising agency that represents Sprint and the new HTC Hero with Android. Right now, we're building out Phase 2 of our HTC Hero microsite at . We're still looking for fun, clever,

[android-beginners] kiosk mode

2009-10-26 Thread Enrique Tomas
Hi all! I am developing an app that needs to run under a kiosk mode. Kiosk mode is when you want to enable users to use a certain app and not be able to click on anything else. Of course, there is always a secret combination of keys that disables this mode but is only know by non-general users.

[android-beginners] Android and SQLite - setting up a db at install time

2009-10-26 Thread Froens
Hi group I am new to developing programs to the Android framework. I've read the sample exercises (http://developer.android.com/guide/ tutorials/notepad/notepad-ex1.html) but have a question regarding their database creating. All database creation happens in the function ["onCreate()" - NotesD

[android-beginners] Location Update

2009-10-26 Thread Mike
Hello, I am having some issue regarding requestLocationUpdates(). Aim: To get location updates every 5 mins irrespective of the individual having moved or not. My function: Time = 30 , Distance = 0; Observation: I do get updates every 5 mins but, -> If I am on the move, I get more than 1

[android-beginners] Emulator doesnt start up

2009-10-26 Thread Manish Sharma
Hi All, I am not able to start the emulator (android1.5 and android1.6 both). Emulator keeps on showing the Silver Android. I have attached the logs. My System configuration is: CPU P4 2.4GHz 1 GB RAM Win XP Sp2. JDK 6 android-sdk-windows-1.6_r1 Please help. Thanks & Regards Manish Sharma --~-

[android-beginners] Re: How to Align button to button of screen???

2009-10-26 Thread Matt Raffel
I tried that :) I created a second textview control. It ends up pushing the button off the bottom of the screen. Matt Justin Anderson wrote: > Depending on what you want to do, with the space in the middle, you > could create a view that acts as an empty space holder and set its > layo

[android-beginners] Error

2009-10-26 Thread tneufeld
Hey, I am attampting this tutorial from the official android dev site andI am getting the following error: "The method setOnClickListener (View.OnClickListener) in the type View is not applicable for the arguments (new DialogInterface.OnClickListener(){})" I checked and rechecked the code aginst

[android-beginners] Re: Android Books

2009-10-26 Thread Jonas
Hi, These two books are good: Unlocking Android A Developer's Guide Professional Android Application Development Reto Meier Parts of chapters are on: http://books.google.com/books?q=android+programming&lr=&sa=N&start=0 I have a subscription on Safari which is great: http://www.safaribookso

[android-beginners] Re: Trying to turn off candidates view in EditText with on-screen keyboard

2009-10-26 Thread Bamsen
Wuuhuuu, That worked perfectly. Thanks On Oct 24, 6:59 pm, jax wrote: > hey, I just had this problem also > > Change the input type to "Visible Password" > > it works > > On Oct 23, 12:05 pm, Bamsen wrote: > > > > > Hi, > > > My first (and very simple) application uses an EditText box to input

[android-beginners] Will Dev Phone be able to flash 2.0? (forward compatibility)

2009-10-26 Thread Kai
Hello all, I am looking to start developing for the Android OS and hope to use a phone for development that will be as forward compatible as possible. Please excuse any naivety, but I was wondering there any are any commercially sold phones that can upgrade to newer OS releases and if not I was w

[android-beginners] Native Shared Lib

2009-10-26 Thread Sanjay
Hi, I'm trying to create a shared lib written in c++. I followed all the steps which are recommended to create the shared lib and to access the native code in Android. But so far I couldn't succeeded in loading the shared lib on device or emulator. When I tried to load the lib by: static{

[android-beginners] Writing an app using android.speech.srec ... how to get to that code?

2009-10-26 Thread DulcetTone
I have the Android open source tree, and can even build within it my own voice dialer, cribbed from the stock Google VoiceDialer. However, my understanding is that doing it this way submerges my app within a firmware image, and it does not give me the means to throw its finished form onto (say) A

[android-beginners] launch a webpage, then read results

2009-10-26 Thread pentium10
Hello, I want to launch a webpage, then after user has completed some steps I want to read the results. Any help would be appreciated? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To po

[android-beginners] Re: Music: file names, album recognition, etc?

2009-10-26 Thread b_nny
I have the same problem... :-( On 19 Okt, 18:24, Vladimir Kelman wrote: > Had anyone experienced the following issue? > For some reason, Android (HTC == DevPhone 1 with Android 1.6 > installed, 16 Gb SD card) is not indexingmp3files. After I first > mounted Android USB on my PC and put some p3 f

[android-beginners] Re: Need to Print a String Variable

2009-10-26 Thread vpdn
I assume the TextView is visible and part of the current Activity. You would the retrieve the TextView first throught TextView t = (TextView) findViewById(-->your TextView's reference in R); Then you can set the text with t.setText("Your string"); On Oct 26, 7:50 am, Regish Ben wrote: > Hi I

[android-beginners] sending mock location data to emulator?

2009-10-26 Thread Tommy
I follow guidelines here to provide mock data for emulator (http:// developer.android.com/guide/topics/location/index.html) This line suggest that I must connect to emulator first: "Launch your application in the Android emulator and open a terminal/ console in your SDK's /tools directory. Connec

[android-beginners] ADB and T-Mobile Pulse

2009-10-26 Thread marktyers
Hi I have purchased a T-Mobile pulse for the purpose of testing some applications but it does not show up when I run ./adb devices or when I test my apps using Eclipse. Please can someone help otherwise Iam left with a useless lump of plastic :-( ps. I am an absolute beginner to this so please b

[android-beginners] java.lang.IllegalArgumentException: Invalid column

2009-10-26 Thread Ahraline
Hello, I am having a very hard time with updating my sqlite database. I added 2 new columns to my database: latitude and longitude. When I generated my cursor, it returned: java.lang.IllegalArgumentException: Invalid column latitude I am using the android emulator on Ubuntu Linux Jaunty. I tri

[android-beginners] Re: Need to Print a String Variable

2009-10-26 Thread Regish Ben
Thanks Denis. --~--~-~--~~~---~--~~ 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-be

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

2009-10-26 Thread kjell.w.krona
I now found out, that if I close and the reopen the project, the error disapears. I can also do "refresh" on the project, which seems to have the same effect. But this is not necessary when I update the java code. Cannot understand what is going on --~--~-~--~~~---

[android-beginners] Taking Screenshots from Phone using Windows 7?

2009-10-26 Thread senakunes
I have Windows 7 Ultimate on my laptop and have installed Android 1.6 SDK R1 as noted in the instructions page However the DDMS application doesn't seem to detect the phone connected to the computer even though the phone has USB Debugging switched on. Tried Mounting the SD Card and unmounting wit

[android-beginners] Re: Is it possible to append a value to R.string or any resource under R.?

2009-10-26 Thread David
How do I use one line of code versus the ~312? public static final Bundle mStrings; mStrings.putAll(R.strings.*); // what would be the right incantation to get the R.strings into the resource bundle? Then I would then pull out the single desired string with . . . textView.setText

[android-beginners] Re: file chooser?

2009-10-26 Thread niko20
no standard way, I had to write my own :) On Oct 26, 4:39 pm, Jeffrey Blattman wrote: > it seems like the approach most people take is to assume some directory, > then just take file names as input. > > On 10/26/09 2:09 PM, Paul Turchenko wrote: > > > There's nothing like windows' FileOpenDialo

[android-beginners] Re: How can I develop application using C/C++

2009-10-26 Thread Justin Anderson
This question has been answered on this forum a few times already. Just do a simple search for "C++" -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] How can I develop application using C/C++

2009-10-26 Thread Fahad
Hi, How I can develop application for Android using C/C++. Thanks in adv. --~--~-~--~~~---~--~~ 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@googlegrou

[android-beginners] cannot use wifi behind a http proxy

2009-10-26 Thread Liang
I am using HTC magic, but there is no way to set http proxy/port to use wifi when i am at company office, it's so annoying. i can connect to the wifi in company and access intranet sites, but without http proxy, i cannot use any apps in my phone. I googled a lot and try to find a way to solve this

[android-beginners] Re: Android Books

2009-10-26 Thread Jonas
Hi, I find the following books pretty good: Unlocking Android: A Developer's Guide By: Frank Ableson; Charlie Collins; Robi Sen Publisher: Manning Publications Professional Android Application Development (Wrox Programmer to Programmer) (Paperback) ~ Reto Meier (Author) Check out: http://book

[android-beginners] Re: Android Books

2009-10-26 Thread brucko
I found Mark Murphy's warescription at http://commonsware.com to be very useful. You get three books in pdf ( or kindle i think) that are updated regularly - which is useful as Android is still evolving. Lots of code samples. Mark is a regular contributor in these forums and will answer all of

[android-beginners] Re: file chooser?

2009-10-26 Thread Jeffrey Blattman
it seems like the approach most people take is to assume some directory, then just take file names as input. On 10/26/09 2:09 PM, Paul Turchenko wrote: There's nothing like windows' FileOpenDialog if that's what you want... On Oct 26, 7:34 am, Jeffrey Blattman wrote: this has t

[android-beginners] Re: How to Align button to button of screen???

2009-10-26 Thread Paul Turchenko
Yet another way is to use RelativeLayout as a root element (instead of LinearLayout) and set android:layout_alignTop and android:layout_alignBottom on TextView and Button respectively. On Oct 26, 8:58 pm, Justin Anderson wrote: > Depending on what you want to do, with the space in the middle, yo

[android-beginners] Re: Change Android Language

2009-10-26 Thread Paul Turchenko
Menu -> Settings -> Locale & text ->Select locale -> English On Oct 25, 5:05 am, Memes wrote: > I am living in China and I bought a HTC Hero with Chinese version of > Android. Can anyone help me to change back the language to english, I > can not read the caracters, but if you give it to me, I c

[android-beginners] Re: file chooser?

2009-10-26 Thread Paul Turchenko
There's nothing like windows' FileOpenDialog if that's what you want... On Oct 26, 7:34 am, Jeffrey Blattman wrote: > this has to be an easy one. i want to bring up a file chooser to be able > to read a file from say the SD card. i'd rather not roll my own. is > there some standard way to do thi

[android-beginners] Re: Battery Usage Indicator API - JDK 1.6

2009-10-26 Thread Paul Turchenko
Dude, they do not expose all battery values to you. They have service written in C that reads this battery values and sends them back to actual BatteryStatsService. Try reading linux' virtual system to get values you want. On Oct 26, 7:26 am, SagarH wrote: > While continuing on my research: > >

[android-beginners] Re: Error early in development

2009-10-26 Thread Paul Turchenko
I personally have everything installed on Windows 7. There's no HOMEDRIVE or HOMEPATH variables set in my environment. Everything works fine here without it. On Oct 25, 7:02 pm, hawksd20 wrote: > I'm still stuck on this, is anyone else having this problem or is it > just me? --~--~-~--~-

[android-beginners] Re: Android Emulator

2009-10-26 Thread Paul Turchenko
Could you please provide more details on your issue. What you say here sounds rally weird. On Oct 24, 11:29 pm, Nat M wrote: > Hi, > > My android emulator on eclipse takes "=" (Equal to) sign in its > default google toolbar and doesnt allows any of my activities/projects > to load. > > Does

[android-beginners] Re: Error: run repo init has error.

2009-10-26 Thread Justin Anderson
This forum is only for SDK applications. You might have better luck if you post in the Android Developers group... -- There are only 10 types of people in the world... Those who know binary and those who don't. --

[android-beginners] Re: How to Align button to button of screen???

2009-10-26 Thread Justin Anderson
Depending on what you want to do, with the space in the middle, you could create a view that acts as an empty space holder and set its layout_height attribute to fill_parent. One simple way of doing this would be to use a TextView that only displays an empty string --

[android-beginners] Re: video frame

2009-10-26 Thread Roman ( T-Mobile USA)
Nope, you would have to implement this on your own -- Roman Baumgaertner Sr. SW Engineer-OSDC ·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, In

[android-beginners] using onBind in a service with Intent actions

2009-10-26 Thread jax
I am trying to make it so that when a user exits an activity or flips the screen it will continue the last session. I am binding to a service. If the user presses a particular button with an intent action of Constants.NEW_GAME it will create a whole new session destroying the previous session.

[android-beginners] Re: Issue with Android Debug Bridge

2009-10-26 Thread RichardC
If you enter the command adb devices what does it say and and what platform are you running on? -- RichardC On Oct 26, 2:44 pm, Maxood wrote: > Whenever i try to run ADB in shell mode, i receive the error: > Device Not Found > > Please help! --~--~-~--~~~---~--~---

[android-beginners] Issue with Android Debug Bridge

2009-10-26 Thread Maxood
Whenever i try to run ADB in shell mode, i receive the error: Device Not Found Please help! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-begin

[android-beginners] Re: connecting to a remote database tutorial/example?

2009-10-26 Thread gmseed
Hi Again I came across the following link: http://forums.devshed.com/java-help-9/jdbc-connecting-to-web-database-647416.html which discusses connecting to a remote database using JDBC, with the author noting that remote access had to be enabled with his web hoster. Cheers Graham On 26 Oct, 1

[android-beginners] Re: including jar user libraries

2009-10-26 Thread gmseed
Hi I got it to work by selecting "Add jar..." in "User Library". I was originally building a Jar library to add not only the jar file but also the javadoc. However, this doesn't appear to link in the jar file, and looks ike it requires further work to add the jar file. Cheers Graham On 25 Oct

[android-beginners] Re: connecting to a remote database tutorial/example?

2009-10-26 Thread gmseed
Hi Thanks for explaining how you connect. I too use PHP, so I'll give it a go. I was wondering if anyone had seen an example of using the URI connection string in connecting to a database such as MySQL an using Java's JDBC. That way, connecting direct to the database. Cheers Graham On 25 Oct,

[android-beginners] Error: run repo init has error.

2009-10-26 Thread Freeman Zhang
HI When I running "repo init" I met these errors: Traceback (most recent call last): File "/usr/bin/repo", line 607, in ? main(sys.argv[1:]) File "/usr/bin/repo", line 574, in main _Init(args) File "/usr/bin/repo", line 193, in _Init _CheckGitVersion() File "/usr/bin/repo", li

[android-beginners] Re: Emulator permission problem

2009-10-26 Thread Chaiyasit T
your problem would ge about internet access permission, could you post the error code you see in my website http://www.codemobiles.com/forum/viewforum.php?f=16 I will try to help you. regards On Mon, Oct 26, 2009 at 8:01 PM, Tom wrote: > > Im am trying to download a file via HTTP and save it t

[android-beginners] Sending MMS in emulator

2009-10-26 Thread Vinu Vijayan
Hi all, >From the release notes of the sdk versions, i came to know that sending mms in emulator's is not supported in sdk1.1 on which they have clearly specified this. In the latest releses either in cupcake or donut, they haven't specified anything on this So can anyone please let me know

[android-beginners] Emulator permission problem

2009-10-26 Thread Tom
Im am trying to download a file via HTTP and save it to phone/SD card. But i keep getting the flowing error. Parent directory of file is not writable: /sdcard/txt.txt I have also tryed downloading straight to the phone but i keep getting the same error. Is it possible to change the permssions on

[android-beginners] Re: Confused with the very beginning

2009-10-26 Thread usharani ganapathy
hi i m beginner to javai m using windows as my os.how to download the source code?actually what the source code contains? thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group

[android-beginners] Re: Call URL

2009-10-26 Thread jbrohan
this is what I use... public String callWebPage(String URLstring, String parameters){ String s; try { URL updateURL = new URL(URLstring+parameters); URLConnection conn = updateURL.openConnection(); InputStream is = conn.getInputStream();

[android-beginners] Re: Confused with the very beginning

2009-10-26 Thread jbrohan
The tutorial examples starting at http://developer.android.com/guide/basics/what-is-android.html will help you on your way. On Oct 25, 5:41 pm, Mars wrote: > I just downloaded the Android SDK for my Mac, I'm confused what I'm > supposed to do from the very beginning. > > Where do I write my cod

[android-beginners] Re: Mounting sdcard in Emulator

2009-10-26 Thread Chaiyasit T
I just created an example for you, please click the link below to review it http://www.codemobiles.com/forum/viewtopic.php?p=94#94 If it works, please help me comment in this forum too. If you still have the problem, let me know again. Regards + Thanks On Mon, Oct 26, 2009 at 5:31 PM, Tom wrote

[android-beginners] Re: Mounting sdcard in Emulator

2009-10-26 Thread Tom
Tryed this. Still get the error "### WARNING: SD card files must be at least 8 MB, ignoring 'sdcard.iso" On 26 Oct, 10:33, Desu Vinod Kumar wrote: > HI > > directly create new AVD with SD CArd in the eclipse AVD Manager > > > > On Mon, Oct 26, 2009 at 4:01 PM, Tom wrote: > > > Cheers. > > > I

[android-beginners] Re: Mounting sdcard in Emulator

2009-10-26 Thread Desu Vinod Kumar
HI directly create new AVD with SD CArd in the eclipse AVD Manager On Mon, Oct 26, 2009 at 4:01 PM, Tom wrote: > > Cheers. > > I downloaded the bat file modified it for my Emulator and sdcard > image. When i run the bat file it says "### WARNING: SD card files > must be at least 8 MB, ignoring

[android-beginners] Re: Mounting sdcard in Emulator

2009-10-26 Thread Tom
Cheers. I downloaded the bat file modified it for my Emulator and sdcard image. When i run the bat file it says "### WARNING: SD card files must be at least 8 MB, ignoring 'sdcard.iso"' I created the sdcard image user the emulator tools via the command line. Not sure why its not working. The SDc

[android-beginners] Re: How to unsync Google Account in Android Phones

2009-10-26 Thread d1ve blu3
I've read this somewhere on a blog. Try to input wrong internet setting,, but, the you have to re setting your internet if you want to go online :D -- "One of the mankind greatest enemy is man itself" -Gendo Ikari --~--~-~--~~~---~--~~ You received this message b

[android-beginners] Re: How to unsync Google Account in Android Phones

2009-10-26 Thread piuccio
Try Settings -> Applications -> Manage Applications For any google application you find select "clear data" On Oct 25, 2:31 pm, Geff wrote: > When you first turn on go to settings under Synchronization the > Android asks for a Google Account and an Password, but when you want > to un-synchronize

[android-beginners] How to Obtain Endless Views

2009-10-26 Thread Maxood
I am developing an application in which a user keeps on scrolling vertically. Each view displays a single text on a drawable background. How can i obtain endless views? Is it a ListView do i have to use here? But how can i make a ListView not to end and keep on going forever until the application

[android-beginners] Re: Mounting sdcard in Emulator

2009-10-26 Thread Chaiyasit T
Hi friend 555, if it can help you, please be member of my website too, and if you comment this topic, that will be very good. On Mon, Oct 26, 2009 at 4:28 PM, Chaiyasit T wrote: > I don't recommend to start the emulator from the ADT, you should command > line. > I have created a bat file for

[android-beginners] Re: Mounting sdcard in Emulator

2009-10-26 Thread Chaiyasit T
I don't recommend to start the emulator from the ADT, you should command line. I have created a bat file for setup both native font and mount sdcard to emulator. Let's see the link below, you can modify the bat file to fit your env. http://www.codemobiles.com/forum/viewtopic.php?p=62&highlight=mak

[android-beginners] Re: Mounting sdcard in Emulator

2009-10-26 Thread Tom
Does anyone have any ideas on this? On 22 Oct, 11:46, Tom wrote: > I cant seem to mount a SDcard image to the emulator. > > I have create and image in Command Prompt using the command > mkscard 1024m sdcard.iso > > I have also placed -sdcard C:\path\to\image\sdcard.iso in Addidtional > Emulator

[android-beginners] Re: Need to Print a String Variable

2009-10-26 Thread Denis Gladkiy
v has class of TextView? If so: public void onClick(View v) { String x = "Hello"; ((TextView)v).setText(x); } Best regards Denis A Gladky -- Piggybank Software http://sites.google.com/site/piggybanksoftwarehomepage/ On Oct 26, 12:50 pm, Regish Ben wrote: > Hi

[android-beginners] Re: MediaRecorder records with slow quality

2009-10-26 Thread kiro
Hi Roman, Thanks for reply, i hope we live not in a stone-age and Android 2.0 will fix this problem with a poor quality On Oct 25, 3:05 am, "Roman ( T-Mobile USA)" wrote: > Kiro, > > I noticed the same. Audio quality sucks using theMediaRecorder. It is > very difficult to hear audio at all

[android-beginners] Need to Print a String Variable

2009-10-26 Thread Regish Ben
Hi I m new to android application I m Using a String Variable. public void onClick(View v) { String x = "Hello"; } I want to Print the x value in Textview... --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-beginners] ListActivity under Tab crashes

2009-10-26 Thread keraba
I'm trying to create a little application with 3 tabs. Under the middle tab should be a ListView. It starts up fine, but when I click the middle tab, it crashes. The main window creates the tab this way: // this tab without a backing activity works fine mTabHost.addTab(mT

[android-beginners] How to Align button to button of screen???

2009-10-26 Thread tatman
I have two elements: I want the text at the top of the screen and the button at the bottom with space between the two controls.How can I get the button to appear at the bottom of the screen? http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_w

[android-beginners] Can't run application in emulator from eclipse

2009-10-26 Thread alanlight
Eclipse 3.5 Android SDK 1.6 Windows XP When attempting to run a simple HelloAndroid application, the emulator starts up and then my application will fail to run and gives the following message: emulator-5554 disconnected! Cancelling 'com.alanlight.hello.HelloAndroid activity launch'! I've also

[android-beginners] Confused with the very beginning

2009-10-26 Thread Mars
I just downloaded the Android SDK for my Mac, I'm confused what I'm supposed to do from the very beginning. Where do I write my code? Xcode?? And how do I compile it and test it? P.S. I'm a beginner in Java. Just started learning 2 months ago. So, I never developed a java program myself. --~-

[android-beginners] LinearLayout consumes extra space inside TableLayout

2009-10-26 Thread J. L. M.
I'm working on the UI for my first application. I have a TableLayout with a grid of buttons. There are three buttons in each row. Each button should take up 1/3 of the horizontal space. In the last cell of this table, I want two buttons, each taking up half of the cell's horizontal space (so 1/6

[android-beginners] Re: Hello World Emulator Issue

2009-10-26 Thread Ankit
[2009-10-25 22:03:45 - HelloAndroid]Android Launch! [2009-10-25 22:03:45 - HelloAndroid]adb is running normally. [2009-10-25 22:03:45 - HelloAndroid]Performing com.example.helloandroid.HelloAndroid activity launch [2009-10-25 22:03:45 - HelloAndroid]Automatic Target Mode: launching new emulator wi

[android-beginners] Applying a path to the transparency of an image

2009-10-26 Thread Moracco
Hi, I want to change the transparency of a bitmap along a touch input path. I had a look at the FingerPaint() application from the SDK samples and learned how to get touch input events and tried to set the transparency of the bitmap via setRegionTransparency(). My problem is that I only get discr

[android-beginners] Android Books

2009-10-26 Thread NIK
Hi all i am new to android programing. I have already been programing in J2ME and i wanted to know any opinions about android books that could help me get in touch with it. I don't want a beginners books because i can use the resources in the android site. Any suggestions are appreciated. Thanks i

[android-beginners] Map overlays.

2009-10-26 Thread Tim
Hi, I've been reading the (shoddy) documentation for the Google Maps API (MapActivity et al), and I think I have roughly worked out how it works. It seems that if you want to add a marker overlay you can use ItemizedOverlay easily, but you have to add all your markers at once. What I want to do

[android-beginners] How to unsync Google Account in Android Phones

2009-10-26 Thread Geff
When you first turn on go to settings under Synchronization the Android asks for a Google Account and an Password, but when you want to un-synchronize your mobile Android device, there is no such option for it. At least I didn't find that option. Please, someone can help me? --~--~-~--~--

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

2009-10-26 Thread kjell.w.krona
I just did a fresh install of the latest Eclipse and Androdid SDK. I then tried the Hello tutorial, and as long as I do not change any xml code; i can create the Hello project and run it in the emulator. However, as soon as I do even a single edit on a strng inside an xml resource file, it all br

[android-beginners] Re: How to import an existing project into Eclipse?

2009-10-26 Thread 魏文生
If you wanna run some codes sample in Android SDK in eclipse..you must use new>android project and then select exising code in workspace.Browing the code samples folder. Best wishes to you. 2009/10/25 Freeman Zhang : > HI > I wanna import some codes sample to the Eclipse to learn the API u

[android-beginners] Device not listed in 'adb devices'.

2009-10-26 Thread Tim
Hi, I've been trying for a while to get my phone (a T-Mobile Pulse/ Huawei 8220) to show up when I run "./adb devices". Here's what I've done: 1. Edit /etc/udev/rules.d/55-android.rules to contain the line: SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", MODE="0666" Note: The android docs are out of