[android-beginners] Re: Get arguments from another activity

2009-08-26 Thread Roman ( T-Mobile USA)
The usage of intents is a little bit more complex and there are different options available how to communicate between your two activities. Try to understand the basics of intents (action, data, ...) Basics: - http://developer.android.com/reference/android/content/Intent.html When you start

[android-beginners] Why does using People._COUNT cause IllegalArgumentException to be thrown?

2009-08-26 Thread Pankaj Godbole
Hello, I am learning about Content Providers, and tried the example from the official Android tutorial on the topic. Please see the code below: package com.example.devguide; import android.app.Activity; import android.content.ContentUris; import android.database.Cursor;

[android-beginners] Re: unexpected error in sms application

2009-08-26 Thread Belik77
Can you please add the errors that eclipse gives you? also, sometimes you need to close the AVD (emulator) and run again. I am sure you did but just to verify. Thanks. Eli P. On Aug 26, 7:48 am, kapil.k kapnk...@gmail.com wrote: i have trying sms example.in first few times it was running verry

[android-beginners] Change the color of the EditBox hint

2009-08-26 Thread manigault
How can i change the color of the EditBox hint text. Thanks :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To

[android-beginners] Re: Change the color of the EditBox hint

2009-08-26 Thread Martin Obreshkov
android:textColorHint=# sry for the post On Wed, Aug 26, 2009 at 12:21 PM, manigaultmanig...@gmail.com wrote: How can i change the color of the EditBox hint text. Thanks :) -- When I raise my flashing sword, and my hand takes hold on judgment, I will take vengeance upon mine

[android-beginners] problem with service

2009-08-26 Thread Imran
Hey All, I have a service which should download files in background, i am calling this service form another activity, the problem is when i am calling this service form another Activity the present Activity is getting Freezed( i.e not able to get control back ) until the all files in

[android-beginners]

2009-08-26 Thread saurabh sinha
I am looking for social networking application using location in mapview does any body have this application --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email

[android-beginners]

2009-08-26 Thread saurabh sinha
hello I am looking for upload photo in android --~--~-~--~~~---~--~~ 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: About ERROR: unknown virtual device name: 'myavd'

2009-08-26 Thread Phoenix
On Aug 25, 4:41 pm, Xavier Ducrohet x...@android.com wrote: I see that you have changed the location of the user folders (in S: instead of C:) There are user folders on both S: and C:. Only the Desktop and My Documents special folders are on S:. Everything else (including App Data) is on C:.

[android-beginners] Re: Trouble passing a KML file to the DDMS Location Emulator

2009-08-26 Thread AKA
I was able to get some KML files working by manually changing the KML tag hierarchy. Google Earth appears not to natively export KML files in a DDMS-readable form. On Aug 20, 2:44 pm, AKA nfee...@gmail.com wrote: I'm sure this must be a simple/dumb thing I'm doing wrong, as I'm unable to find

[android-beginners] Re: App just for Android beginners

2009-08-26 Thread Jens Vegeby
Great app. On 8 24, 2009 7:30 PM, Andrei gml...@gmail.com wrote: Guys, I wrote app for Android phone that can help you to learn Android / plan your next App. It is FREE and searchable app for all Android API documentation. It works off-line, no need for connection. Give it a try. Search for

[android-beginners] Re: Trouble passing a KML file to the DDMS Location Emulator

2009-08-26 Thread Jose Ayerdis
i-ve been working with kml exported from google maps what do are yu trying to do? 2009/8/26 AKA nfee...@gmail.com I was able to get some KML files working by manually changing the KML tag hierarchy. Google Earth appears not to natively export KML files in a DDMS-readable form. On Aug 20,

[android-beginners] Re: Additional Contact Information

2009-08-26 Thread tinyang
Sorry for not being specific enough. I meant to duplicate the code of the existing contacts app and modify it to fit your needs. What you are hitting on here is one of the many wonderful, groundbreaking ideas about Android. Because Android is so Open, 3rd party apps developed by non-google

[android-beginners] Re: startActivity() crash...

2009-08-26 Thread Tikoze
Wow... it has been over a week since anyone other than me has responded to this post. No one has any ideas on what is wrong? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this

[android-beginners] Re: Add one butten in a tab

2009-08-26 Thread Jack Ha
Take a look at this link: http://jsharkey.org/blog/2008/02/14/android-tabhost-in-the-m5-sdk/ -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-beginners] Re: failed to locate packages - Eclipse IDE

2009-08-26 Thread Jack Ha
In Eclipse, go to your project properties and select Java Build Path. Then select the Libraries tab and you can add your external jar file there. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author

[android-beginners] Detect running in Android and access to Command Line parameters

2009-08-26 Thread roschler
Hello, Two questions 1) How can I tell if my Java code is running in the Android environment? I have some code that is shared by Android and non- Android applications and I want to be able to adjust to either environment dynamically. 2) Is there a way to get access to the Command Line

[android-beginners] backgroundservice

2009-08-26 Thread Harold
Hi, i want to develop an application which checks periodically for new data on a server over a http-connection. Should i do this in a Thread or is it better to do this in a service? The checking should also continue when the user is going back to the Android-Main-Menu, that means the user is

[android-beginners] Android REST XML implementation

2009-08-26 Thread smnirven
Hey folks, In my own frustration at finding a good example for a REST XML implementation for android, I clawed my way through rolling my own using the apache http libraries. I have a bit of example code on my blog if anyone is looking for doing a REST implementation on android.

[android-beginners] About web browser

2009-08-26 Thread ni
I want to get data whatever user search on browsers .Can I use only intent actions to get these data?Please reply me ni --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group,

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

2009-08-26 Thread bubillyang
still doesn't work why On Aug 26, 7:41 am, 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 reports the location of the

[android-beginners] Contact Sync between Phone and Gmail

2009-08-26 Thread Justin
Hi Group, I can't seem to get the contacts on my phone to sync with my online google account. Has any one else had this problem? What is the solution? Thanks Justin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-beginners] Re: App just for Android beginners

2009-08-26 Thread Jack Ha
Useful app...Thanks! -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 21, 12:47 pm, Andrei

[android-beginners] Re: Ant build error : package R does not exist

2009-08-26 Thread Mike Wolfson
Delete the R.class, then rebuild. On Aug 25, 10:36 pm, sagar sagar.india...@gmail.com wrote: Hello everyone, I am trying to build my project using ant. I first generate build.xml file using android update project command. Now i want to run it using ant. When i type ant debug commnad it

[android-beginners] Re: what is the fast way to save/load string from/in an array?

2009-08-26 Thread Roman ( T-Mobile USA)
Instead of using Strings, try to use StringBuffer. Normally the usage of StringBuffer's is more efficient than normal Strings. By the way for analyzing your code to find out where you spend most of the time, use the traceview tool. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick

[android-beginners] Re: startActivity() crash...

2009-08-26 Thread Roman ( T-Mobile USA)
Justin, I verified your latest remark about the usage of the hard-coded example which causes an exception. Sorry, for the misleading information. I only guess that you are not allowed to start some of the systems applications in the way how you want to do it. For sure someone from the Android

[android-beginners] 来自zyy571137的邮 件

2009-08-26 Thread zyy571137
--~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to

[android-beginners] Re: backgroundservice

2009-08-26 Thread Mark Murphy
i want to develop an application which checks periodically for new data on a server over a http-connection. Should i do this in a Thread or is it better to do this in a service? Both. Use a service that does the work in an AsyncTask or other form of background thread. The checking should

[android-beginners] Re: Development Phone

2009-08-26 Thread Yusuf Saib (T-Mobile USA)
Right, Zonakusu. Rafa, think of it like buying a Linux PC. Some people might be interested in modifying Linux itself, but most developers will want to just write an application to run on top of Linux. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this

[android-beginners] Re: why I can't use movieview to play the movie came from the internet?

2009-08-26 Thread Balwinder Kaur (T-Mobile USA)
It may not be a good idea to use Classes from the com.android.camera package since that is not part of the SDK. The MovieView is an internal class are classes used by the Camera app. Did you try using the VideoView class, with the setVideoURI (rtsp://... ) method?

[android-beginners] Equivalent of MS Windows PostMessage?

2009-08-26 Thread roschler
What is the accepted/common practice for code to post messages between objects in the Android environment? In Windows I do a lot of inter- object communication via the operating system PostMessage() facility which can post messages to Windows and even non-Windowed objects (if they have allocated

[android-beginners] invalid apk file

2009-08-26 Thread sawyer zhu
I use the Eclipse android wizard to build a HelloWorld app, But When I install this app, the console print out the following error installation failed due to the invalid apk file. When I use the winrar to unzip the HelloWorld.apk file, It also report a error unexception end, It also verify the

[android-beginners] Re: Equivalent of MS Windows PostMessage?

2009-08-26 Thread Donn Felker
You can also broadcast an intent and many receivers can pick it up. Essentially its the pub/sub pattern in a service bus. On Wed, Aug 26, 2009 at 12:24 PM, roschler robert.osch...@gmail.com wrote: What is the accepted/common practice for code to post messages between objects in the Android

[android-beginners] Re: Placement of camera preview

2009-08-26 Thread tinyang
Anyone have any instie on this please? If not, maybe I will try the developers group. Thanks. _ From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of tinyang Sent: Saturday, August 22, 2009 4:07 PM To: android-beginners@googlegroups.com

[android-beginners] Re: Detect running in Android and access to Command Line parameters

2009-08-26 Thread Mark Murphy
1) How can I tell if my Java code is running in the Android environment? I have some code that is shared by Android and non- Android applications and I want to be able to adjust to either environment dynamically. One possibility would be to use reflection to look up a class in an android.*

[android-beginners] Re: Unable to run the application even once.

2009-08-26 Thread Sonja_android
Also check your Run Configurations. In Eclipse, Run Run Configurations. Select your project from the list on the left, then in the Target tab check if there are any invalid command-line parameters in the Additional Emulator Command Line Options box. -Sonja On Aug 25, 9:26 am, nitin

[android-beginners] Re: App just for Android beginners

2009-08-26 Thread tinyang
Is there a way to add this app to my emulator? Just to check it out? -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Jack Ha Sent: Wednesday, August 26, 2009 10:44 AM To: Android Beginners Subject:

[android-beginners] Re: Get arguments from another activity

2009-08-26 Thread Sebeto
Thank you very much for these links. I got it to work with maValeurBis = getIntent().getStringArrayListExtra (net.sebeto.android.cuisine.Methodes.maValeur); , I will study your links carefully to see if I do things the right way! On Aug 26, 8:07 am, Roman ( T-Mobile USA) roman.baumgaert...@t-

[android-beginners] Re: what is the fast way to save/load string from/in an array?

2009-08-26 Thread Liviu Ungureanu
Thank you very much!i will try tonight.. Thanks! On Aug 26, 2009 7:31 PM, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote: Instead of using Strings, try to use StringBuffer. Normally the usage of StringBuffer's is more efficient than normal Strings. By the way for analyzing your

[android-beginners] Re: startActivity() crash...

2009-08-26 Thread Roman ( T-Mobile USA)
Justin, With the following line of code you should be able to start up the calendar app calendarIntent.setClassName (com.android.calendar,com.android.calendar.LaunchActivity); -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this

[android-beginners] Re: help! adding an activity of my application to another application

2009-08-26 Thread jbrohan
Hello This is very interesting. Do I need to have the source code of the Camera app in order to do this? Or is there some way to make it use my menu rather than the one already in Camera? On Aug 10, 7:56 pm, Roman roman.baumgaert...@t-mobile.com wrote: You are already giving the answer ... In

[android-beginners] Re: Equivalent of MS Windows PostMessage?

2009-08-26 Thread Mark Murphy
What is the accepted/common practice for code to post messages between objects in the Android environment? Um, there is not really an analogue of PostMessage() in Java. View has post() and postDelayed(), but those are designed to simply arrange for a Runnable to be executed on the UI thread.

[android-beginners] Publishing Updates for my application

2009-08-26 Thread Georgy
this might sound as a really silly question but I published my application and would like to release some updates: 1- how can I do it? 2- should I version my app as 1.1 now? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-beginners] Re: How do I implement onClick for a DialogPreference?

2009-08-26 Thread Nick
I have already done this. I do find that a lot of my answers get solved by searching through API Demos. However in the API Demos, they just show how to show the Dialog and that is it. They never show how to return which button was pressed. Nick On Aug 21, 3:33 pm, Donn Felker

[android-beginners] Re: Publishing Updates for my application

2009-08-26 Thread Nick
See http://developer.android.com/guide/publishing/versioning.html#appversion For the Google Market to alert all your users that there is an update you will need to set the Version Code to a higher number than in your previous version. This is set in your Manifest file. I assume you probably set

[android-beginners] Re: Equivalent of MS Windows PostMessage?

2009-08-26 Thread roschler
On Aug 26, 2:37 pm, Mark Murphy mmur...@commonsware.com wrote: Can we back up a step or two and discuss what your actual objective is? PostMessage() is a means to an end -- if you can describe the end, we may be better able to give you an Android-flavored means. Hello Mark, Lots of

[android-beginners] Re: Publishing Updates for my application

2009-08-26 Thread Nick
See http://developer.android.com/guide/publishing/versioning.html#appversion For the Google Market to alert all your users that there is an update you will need to set the Version Code to a higher number than in your previous version. This is set in your Manifest file. I assume you probably set

[android-beginners] Re: Proxy issue in emulator 1.5 on Ubuntu(VM)

2009-08-26 Thread speedooo
anyone can help??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to

[android-beginners] Samsung Galaxy fullscreen performance

2009-08-26 Thread Nikola
In my application adding fullscreen to my application results in a 50% performance loss. fullscreen call: this.getWindow().setFlags (WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE | WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE |

[android-beginners] Blog Tabs not working

2009-08-26 Thread mikech
At http://android-developers.blogspot.com/?hl=en getting error 404 when I click on the tabs. --~--~-~--~~~---~--~~ 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] Issue with using fill_parent on Donut

2009-08-26 Thread m
Here is the XML of a camera test application that worked on the cupcake branch. The preview size spans the entire screen on cupcake. However the same app does not work on the Donut branch without explicitly setting the width and height to 800 and 400 dp respectively? Why doesn't fill_parent work

[android-beginners] How do I download ADT 0.9.2 or latest?

2009-08-26 Thread slw
Hi all, I am trying to investigate the new search feature in donut branch. To run donut with Eclipse it prompts me for the ADT 0.9.2 or latest. How do I download the latest? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

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

2009-08-26 Thread Xavier Ducrohet
On Wed, Aug 26, 2009 at 4:21 AM, Phoenixphoenixsen...@gmail.com wrote: On Aug 25, 4:41 pm, Xavier Ducrohet x...@android.com wrote: I see that you have changed the location of the user folders (in S: instead of C:) There are user folders on both S: and C:.  Only the Desktop and My Documents

[android-beginners] Re: why I can't use movieview to play the movie came from the internet?

2009-08-26 Thread yjshi
I set a path in the VideoViewDemo. code public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.videoview); mVideoView = (VideoView) findViewById(R.id.surface_view); path=rtsp://125.76.233.38/h263.3gp;

[android-beginners] Re: Publishing Updates for my application

2009-08-26 Thread Carmen Delessio
I just did a version upgrade. Here are some things I do. 1. Make sure to build after upping version number. I got caught by this dumb mistake. 2. I delete the existing dev version of the app from my phone 3. I use eclipse to create an unsigned APK 4. I sign the APK following instructions on

[android-beginners] How to set a TextView to look like the home screen icon text

2009-08-26 Thread Beth Mezias
Hi all, On the Android Home screen, the label set in the manifest on the application appears under the icon with a gray background. Does anyone know how to style a TextView or some other View Widget to look like the text showing under an application icon? I would like to know. Thanks and

[android-beginners] Re: How to set a TextView to look like the home screen icon text

2009-08-26 Thread Romain Guy
http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;a=blob;f=src/com/android/launcher/BubbleTextView.java;h=37824545e9f5bfe5ee5ad7c6acba767a3d816836;hb=master On Wed, Aug 26, 2009 at 10:51 PM, Beth Meziasemez...@gmail.com wrote: Hi all, On the Android Home screen, the label