[android-beginners] Re: How can I prevent the background from fading out when I show a dialog?

2009-09-30 Thread Yusuf Saib (T-Mobile USA)
Fading the background is what dialogs do by default, and there is no way to tell the dialog not to. To display a dialog on top of a picture without it fading, I recommend making your own dialog class based on the Android one. Yusuf Saib Android ·T· · ·Mobile· stick together The views,

[android-beginners] Re: How can I prevent the background from fading out when I show a dialog?

2009-09-29 Thread iPaul Pro
Hi, Could you possibly have the dialog as a separate activity, with the dialog theme? This gives you full control over the window background. Hope that helps. Paul On Sep 27, 10:44 am, Christian c.braumuel...@eagle-graphics.de wrote: Hi, how can I prevent the background from fading out

[android-beginners] Re: How to build EditText view like that in Android Market where X button appears for clearing text?

2009-09-28 Thread mjc147
To answer my own question... Use TextView.setCompoundDrawables(null, null, null, null) to hide the cross. Next thing is to detect when the cross is pressed on. Currently I do this: mEditText.setOnTouchListener(new OnTouchListener() { public boolean onTouch(View v, MotionEvent event) {

[android-beginners] Re: How to build EditText view like that in Android Market where X button appears for clearing text?

2009-09-28 Thread Mark Murphy
mjc147 wrote: To answer my own question... Use TextView.setCompoundDrawables(null, null, null, null) to hide the cross. Next thing is to detect when the cross is pressed on. Currently I do this: mEditText.setOnTouchListener(new OnTouchListener() { public boolean onTouch(View

[android-beginners] Re: How to build EditText view like that in Android Market where X button appears for clearing text?

2009-09-28 Thread mjc147
I'll refrain from saying Wow, thanks Mark! because you probably get that all the time :) I just looked at a bunch of apps that came with the Hero and the only one other than the Market using this cross, is Google Maps. I couldn't see anything like that in Internet, People, Mail, Google Talk or

[android-beginners] Re: How to build EditText view like that in Android Market where X button appears for clearing text?

2009-09-28 Thread Mark Murphy
mjc147 wrote: I'll refrain from saying Wow, thanks Mark! because you probably get that all the time :) That depends on whether what I'm saying is what somebody wants to hear. But, thanks! I just looked at a bunch of apps that came with the Hero and the only one other than the Market using

[android-beginners] Re: How to build EditText view like that in Android Market where X button appears for clearing text?

2009-09-27 Thread Mark Murphy
mjc147 wrote: I want to build a very simple view which looks exactly like the top section of the Android Market search activity (i.e. search EditText view and search button). Ideally I'd like it to look EXACTLY the same. Maybe there is some layout XML and/or code I can reuse? The Android

[android-beginners] Re: How to build EditText view like that in Android Market where X button appears for clearing text?

2009-09-27 Thread Jack Ha
Try: Drawable x = getResources().getDrawable(R.drawable.x); x.setBounds(0, 0, x.getIntrinsicWidth(), x.getIntrinsicHeight()); mEditText.setCompoundDrawables(null, null, x, null); -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the

[android-beginners] Re: How to build EditText view like that in Android Market where X button appears for clearing text?

2009-09-27 Thread mjc147
On Sep 27, 10:37 pm, Mark Murphy mmur...@commonsware.com wrote: Could you perhaps post a screenshot somewhere? Hi Mark - here is the screenshot (taken from my HTC Hero): http://www.mediafire.com/?sharekey=e574c08de66edfe8c79b87b207592a1ce04e75f6e8ebb871

[android-beginners] Re: How to build EditText view like that in Android Market where X button appears for clearing text?

2009-09-27 Thread mjc147
On Sep 28, 12:43 am, Jack Ha jack...@t-mobile.com wrote:     Drawable x = getResources().getDrawable(R.drawable.x);     x.setBounds(0, 0, x.getIntrinsicWidth(), x.getIntrinsicHeight());     mEditText.setCompoundDrawables(null, null, x, null); Thanks Jack - visually, that works exactly as I

[android-beginners] Re: How to send JSONObject by HttpPost?

2009-09-25 Thread Alok Kulkarni
Enjoy URL url = new URL(serverURL); // open the conncetion HttpURLConnection connection = (HttpURLConnection)url.openConnection(); // Let the run-time system (RTS) know that we want input. connection.setDoInput(true); // Let the

[android-beginners] Re: How to..

2009-09-25 Thread Justin Anderson
Use a real phone... Of course, that would make debugging your app a little difficult... -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: How to start an Android project in Eclipse?

2009-09-24 Thread Sudheesh J
Make sure that you have set the path to the Android SDK under Window- Preferences-Android See configurin eclipse at: http://developer.android.com/sdk/1.6_r1/installing.html#InstallingADT Sudheesh On Sep 23, 5:43 pm, Jaakko matikkaja...@netti.fi wrote: I tried to install Android in Eclipse. I

[android-beginners] Re: How to launch android emulator

2009-09-24 Thread Android_n00b
You have to be more specific. Did you create an avd? On Sep 24, 12:31 pm, Androidbeginner phitr...@gmail.com wrote: I followed the instruction to load Android in  (http:// source.android.com/download). I am using Ubuntu ver9.03. I am having trouble to launch emulator. Message I got:

[android-beginners] Re: How to launch android emulator

2009-09-24 Thread Roman ( T-Mobile USA)
You can run the emulator using the Eclipse IDE or via command line. Follow the instructions on http://developer.android.com/sdk/1.6_r1/index.html for the latest SDK version. Make sure that you download the Android package for the correct platform. If you add more information what exactly you

[android-beginners] Re: How to launch android emulator

2009-09-24 Thread jotobjects
At the command line you can start the emulator like this - emulator -avd android1.5_maps -logcat v:* In this case, I first created an AVD named android1.5_maps. Read how to create an AVD in the Dev Guide. --~--~-~--~~~---~--~~ You received this message

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

2009-09-23 Thread EL BAKKALI
hi, how to change android default language to arabic language ? plz help me --~--~-~--~~~---~--~~ 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: How to call built-in camera application from my app??

2009-09-23 Thread Balwinder Kaur (T-Mobile USA)
There are a lot of good tutorials/examples on the web on using Intents. If you post your code using Intents, someone will help you get started. If you are using Android, you should be familiar with Intents. Thanks, Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The

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

2009-09-22 Thread sharath
I am a new bee to the android. can any body tell me how change the android default language into Indian regional languages?.. On Sat, Sep 19, 2009 at 6:07 PM, cellurl gpscru...@gmail.com wrote: menu-settings-Locale text-Japanese -- cheers sharath

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

2009-09-22 Thread tinyang
This is the second post I've seen from you about this, but I'm unclear as to what you want to do. Would this help you? http://www.tomgibara.com/android/camera-source -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of

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

2009-09-22 Thread tinyang
Can you connect to the internet without the proxy on the emulator? -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of rcy Sent: Thursday, September 17, 2009 7:02 AM To: Android Beginners Subject: [android-beginners] How

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

2009-09-22 Thread Roman ( T-Mobile USA)
Can you connect with a normal browser to the internet or do you need already a proxy in your desktop browser? If you have no proxy configured in your normal browser on your desktop, there is no need to add any proxy stuff on the Android emulator. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· ·

[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] 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] Re: How to disable connection to internet in android phone?

2009-09-16 Thread kiro
ok, thanks On Sep 16, 3:34 am, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: There are already several threads on this topic. For example http://groups.google.com/group/android-developers/browse_thread/threa... Also look for changing the APN settings. -- Roman

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

2009-09-16 Thread Mark Murphy
cellurl wrote: Heres my code. I don't see a .setText for View. Button is a subclass of View. private void findViews // Set up click listeners for all the buttons View aboutButton25 = findViewById(R.id.about_button25); Button

[android-beginners] Re: How to use MediaStore to get content URI of audio file saved in sdcard ?

2009-09-16 Thread Balwinder Kaur (T-Mobile USA)
Environment.getExternalStorageDirectory() to get a File. And Uri.fromFile(File f) to get the Uri. Balwinder Kaur 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: How to add my own menu item into the already existing menu in the sms application

2009-09-15 Thread Jack Ha
Here is an example and you probably can make it to work with SMS. http://www.anddev.org/viewtopic.php?p=25639 -- 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

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

2009-09-15 Thread Jack Ha
Please refer to the Android Developer Guide. button.setText() -- 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,

[android-beginners] Re: How to disable sms notification?

2009-09-15 Thread Yusuf Saib (T-Mobile USA)
If all you want to do is intercept some SMS messages meant for your app, you can do that in Android. One tutorial that explains how is here: http://mobiforge.com/developing/story/sms-messaging-android Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this

[android-beginners] Re: How to disable connection to internet in android phone?

2009-09-15 Thread Roman ( T-Mobile USA)
There are already several threads on this topic. For example http://groups.google.com/group/android-developers/browse_thread/thread/752a2e56dce42123 Also look for changing the APN settings. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and

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

2009-09-15 Thread cellurl
Heres my code. I don't see a .setText for View. I guess I am confusing button and view. thanks for any help. jp AndroidManifest.xml-- activity android:name=.About25 android:label=@string/about_title

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

2009-09-15 Thread Justin Anderson
Don't make it a View... Make it a Button. Button inherits from TextView. http://developer.android.com/reference/android/widget/Button.html Thanks, Justin -- There are only 10 types of people in the world... Those who know

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

2009-09-15 Thread cellurl
thanks On Sep 15, 11:12 pm, Justin Anderson janderson@gmail.com wrote: Don't make it a View... Make it a Button.  Button inherits from TextView.http://developer.android.com/reference/android/widget/Button.html Thanks, Justin

[android-beginners] Re: How to debug crash on rotate

2009-09-14 Thread sume
I'm not familiar with the framework you're using, but do you have this attribute android:configChanges=”orientation in the activity that's casing the crash? if not you can handle that event with the onConfigurationChanged() handler. Hope this helps On Sep 12, 10:30 pm, Romain Guy

[android-beginners] Re: How to disable sms notification?

2009-09-14 Thread zhy
You can change the Mms at packages/apps/Mms. Or write your BroadcastReceiver. when received sms, cancel the notification. 在 2009-09-09三的 13:08 +0800,Henry Shang写道: I'm trying to use my own app to handle one incoming message with some specific characters in it. And I don't want the system's

[android-beginners] Re: How to debug crash on rotate

2009-09-14 Thread sume
I'm not familiar with the framework you're using, but do you have this attribute android:configChanges=”orientation in the activity that's casing the crash? if not you can handle that event with the onConfigurationChanged() handler. Hope this helps On Sep 12, 10:30 pm, Romain Guy

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

2009-09-14 Thread Yusuf Saib (T-Mobile USA)
This fellow seems to have code that works: http://www.mail-archive.com/android-beginners@googlegroups.com/msg06083.html 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

[android-beginners] Re: How to debug crash on rotate

2009-09-14 Thread Michael Dorin
Thanks, That did help. That was it. -Mike On Sun, Sep 13, 2009 at 10:47 PM, sume museay...@gmail.com wrote: I'm not familiar with the framework you're using, but do you have this attribute android:configChanges=”orientation in the activity that's casing the crash? if not you can handle that

[android-beginners] Re: How to get the orange border with TextView ?

2009-09-13 Thread iPaul Pro
Hi, First you will want to make the TextView clickable and focusable. (android:clickable=true, android:focusable=true) If you want the TextView to link to an address, phone number, website, or email address you can use the AutoLink feature. (eg. android:autoLink=web; or android:autoLink=all) I

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-12 Thread Juan Delgado
Speaking as a user I can see the benefits of an application that might block calls from numbers that are not on my contact list. Marketing calls are VERY annoying. I do understand the potential security problems if this falls in the wrong hands, of course. But as a user I can understand : )

[android-beginners] Re: how to receive general IO events ?

2009-09-12 Thread Jack Ha
Maybe FileObserver is what you are looking for: http://developer.android.com/reference/android/os/FileObserver.html -- 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

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-12 Thread eNtriZe
Thanks to all those who reply!! But still i didn't find solution, why android api doesn't provide any facility to block unwanted call, i got task to develop an application to block unwanted calls and unwanted sms's. I dont know what to do, my new boss surely fire me. Need Help Plz

[android-beginners] Re: How to debug crash on rotate

2009-09-12 Thread Romain Guy
Hi, Have you looked at the logs to see the exact stack trace? On Sat, Sep 12, 2009 at 7:24 PM, Michael Dorin bsddo...@gmail.com wrote: I have an application that crashes when the phone is rotated. It is based on the quickconnect framework. Sorry for the vagueness of this  message, but how

[android-beginners] Re: how to import packages in android?

2009-09-11 Thread Roman ( T-Mobile USA)
If you have a jar package or the source code you can always add a dependency to the project settings. When you open the properties of your project and check the Java build path you can add libraries or Java Projects as additional dependency. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· ·

[android-beginners] Re: how to read sms from inbox

2009-09-10 Thread eaindra nilar
Hi, You can use this code for reading sms inbox I already tried it public class SmsApp extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-10 Thread eNtriZe
Ok thanks for reply. There is no official support to block unwanted calls what about unofficial support ? Any information about this ? Regards! On Sep 8, 4:11 pm, Mark Murphy mmur...@commonsware.com wrote: Can any one tell me how i can block unwanted calls through my application? There is

[android-beginners] Re: how to read sms from inbox

2009-09-10 Thread Mark Murphy
eaindra nilar wrote: Hi, You can use this code for reading sms inbox I already tried it public class SmsApp extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) {

[android-beginners] Re: how to read sms from inbox

2009-09-10 Thread kapnkore
Does it also mean that there is knowway to do this? On Thu, Sep 10, 2009 at 4:35 PM, Mark Murphy mmur...@commonsware.comwrote: eaindra nilar wrote: Hi, You can use this code for reading sms inbox I already tried it public class SmsApp extends Activity { /** Called when the

[android-beginners] Re: How to compile a multilanguage version of android?

2009-09-10 Thread Nanard
Add different strings.xml one for each language in the resource directory. All languages will then be in your .apk. On the phone (emulator also), you can change the locale settings, and choose another language. This way, you can test your application in several languages. No need to recompile

[android-beginners] Re: How to compile a multilanguage version of android?

2009-09-10 Thread elegos
What about closed-source applications? I mean Gmail, Market and other Google closed-source programs. How is I've got it, i.e. in Italian, English and other languages while other people have it only in English? On 10 Set, 14:45, Nanard bsegon...@free.fr wrote: Add different strings.xml one for

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-10 Thread Roman ( T-Mobile USA)
There are several similar threads about this on the forum. It seems like you can block incoming calls using what is available on SDK/NDK level. For example the application Panda firewall gives you the functionality to block an incoming call. I have not had time yet to find out how they are doing

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-10 Thread Mark Murphy
Roman ( T-Mobile USA) wrote: There are several similar threads about this on the forum. It seems like you can block incoming calls using what is available on SDK/NDK level. For example the application Panda firewall gives you the functionality to block an incoming call. I have not had time

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-10 Thread Roman ( T-Mobile USA)
Mark, I agree. It's a good point that being able to block incoming calls is a dangerous functionality ... -- 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

[android-beginners] RE: How to open application program AlarmClock in Eclipse IDE

2009-09-10 Thread anantha.javali
Hi, I downloaded the AlarmClock app program from source.android.com. I would like to know how I can open this in Eclipse IDE on a Windows environment. I tried creating new project. I was not successful. Thanks Anantha --~--~-~--~~~---~--~~ You received this

[android-beginners] Re: How to unsubscribe from the e-mail list

2009-09-10 Thread Venky
How do I unsubscribe from non google account say a...@yahoo.com. Sending mail to android-beginners-unsubscr...@googlegroups.com returns with a message not able to deliver. On Sep 9, 9:03 am, Justin Anderson janderson@gmail.com wrote: Log in to google groups and edit your membership with the

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-10 Thread Chris Stratton
But there's no reason a future version of the platform couldn't include both a documented api and an explicit reject calls permission. On Sep 10, 12:51 pm, Chris Stratton cs07...@gmail.com wrote: On Sep 10, 11:48 am, Mark Murphy mmur...@commonsware.com wrote: Blocking incoming phone

[android-beginners] Re: how to download an image?

2009-09-09 Thread jayashankar
have a look at this Link http://72.5.124.55/developer/technicalArticles/javase/swingworker/ this is an application that auto downloads image from flickr.com am able to auto download image from flickr.com but did'nt found a way to download image from google search. hope that this tutorial helps

[android-beginners] Re: How to open application program AlarmClock in Eclipse IDE

2009-09-09 Thread Mark Murphy
anantha.jav...@wipro.com wrote: I downloaded the AlarmClock app program from source.android.com. I would like to know how I can open this in Eclipse IDE on a Windows environment. You cannot modify firmware applications like AlarmClock as independent SDK applications. They rely on internal

[android-beginners] Re: How to disable sms notification?

2009-09-09 Thread Justin Anderson
AFAIK, this is not possible. It would be up to the user to turn off notifications from whatever SMS app they use. I have used the default, ChompSMS and HandcentSMS... Both Chomp and Handcent tell you to go to the default app and turn off notifications in the settings there so you don't get

[android-beginners] Re: How to send email?

2009-09-08 Thread htbest2000
but the code: startActivity(Intent.createChooser(email_intent, Send mail...)); just popup a chooser(to choose via email or sms), not email composer. How to popup email composer immediately? On Aug 28, 9:48 pm, Liviu Ungureanu smartli...@gmail.com wrote: 2009/8/28 Desu Vinod Kumar

[android-beginners] Re: How Can I Block Unwanted Calls.

2009-09-08 Thread Mark Murphy
Can any one tell me how i can block unwanted calls through my application? There is no officially supported way to do this. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

[android-beginners] Re: How to Call Browser Activity

2009-09-08 Thread Smelly Eddie
Thanks much all! so I wasn't *too* far off :) I appreciate the guidance. -Eddie On Sep 7, 10:07 am, Andrei Bucur andrei.bu...@gmail.com wrote: Intent i = new Intent(); i.setAction(Intent.ACTION_VIEW); i.addCategory(Intent.CATEGORY_BROWSABLE); i.setData(Uri.parse(http://...;));

[android-beginners] Re: how to download an image?

2009-09-08 Thread I82Much
http://asantoso.wordpress.com/2008/03/07/download-and-view-image-from-the-web/ On Sep 5, 2:56 am, mmkr manutd...@gmail.com wrote: Hai, I'm developing an application where i need to auto download an image (any random image, preferred if first image of the first page) from google image

[android-beginners] Re: How do you center a TextView inside a layout?

2009-09-08 Thread Andrew Louth
I know its possible to center layouts easily using the TableLayout. You will find an example here: http://droidhut.com/solutions/centered-layouts Cheers, Andrew Louth --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Re: How to load the developer image under a rooted G1?

2009-09-08 Thread Casper Bang
http://www.htc.com/www/support/android/adp.html /Casper On 8 Sep., 18:39, Marcio David mfda...@gmail.com wrote: Hi all. I got a G1 with root access running the Cyagonen image. But this image is a little unstable and not official, and I would like to run the official developer edition of

[android-beginners] Re: How to detect the availability of networks programatically in andriod emulator?

2009-09-08 Thread Roman ( T-Mobile USA)
I would recommend to play around with the service which Android currently supports for data connectivity. private String mWifiService= Context.WIFI_SERVICE; private String mTelephonyService = Context.TELEPHONY_SERVICE; private String mConnectionService =

[android-beginners] Re: How to detect the availability of networks programatically in andriod emulator?

2009-09-08 Thread andriod learner
Hi yes, I would like to correct prior questions for it only have to show current connected networks available at all time. The correction is as follows: It is just to show current available networks which user can have right to disable/enable the networks. if User disable/enable networks, the

[android-beginners] Re: How to detect the availability of networks programatically in andriod emulator?

2009-09-08 Thread andriod learner
Hi Roman, Thanks for your useful information. I will try 1st. Andy On Wed, Sep 9, 2009 at 7:22 AM, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote: I would recommend to play around with the service which Android currently supports for data connectivity. private String

[android-beginners] Re: How do you center a TextView inside a layout?

2009-09-08 Thread Justin Anderson
Use: android:gravity=center_horizontal in your xml declaration of the TextView Thanks, -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: How do you center a TextView inside a layout?

2009-09-08 Thread Justin Anderson
Well That will at least center the text, anyway. In most cases that should suffice. Is that what you were after? Thanks, -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: How to unsubscribe from the e-mail list

2009-09-08 Thread Justin Anderson
Log in to google groups and edit your membership with the 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 Call Browser Activity

2009-09-07 Thread Andrei Bucur
Intent i = new Intent(); i.setAction(Intent.ACTION_VIEW); i.addCategory(Intent.CATEGORY_BROWSABLE); i.setData(Uri.parse(http://...;)); startActivity(i); On Mon, Sep 7, 2009 at 4:51 PM, Smelly Eddie ollit...@gmail.com wrote: I am reading through the SDK on Android .com and I am having trouble

[android-beginners] Re: How to Call Browser Activity

2009-09-07 Thread Mark Murphy
Smelly Eddie wrote: I am reading through the SDK on Android .com and I am having trouble just finding an example using an intent to invoke a browser activity. I want to send the user to a specific URL. String authUrl = http://domain.com/login;; // bring the user to

[android-beginners] Re: How do I search an xml feed?

2009-09-07 Thread iPaul Pro
Check this out: http://www.ibm.com/developerworks/opensource/library/x-android/ On Aug 31, 11:48 pm, russell.harro...@designvisa.com russell.harro...@designvisa.com wrote: Hi all, I want to make an android app for my search engine, I would like to do the following There would be a text field

[android-beginners] Re: How can I save a ranking info of game ?

2009-09-06 Thread Yusuf Saib (T-Mobile USA)
You don't necessarily need a SQL server, any web app can save rankings. Just submit them from the phone via an HTTP POST, XML-RPC, SOAP or REST (pick whichever you like). On the back end, there are lots of ways to implement a simple server to store and serve the data. Yusuf Saib Android ·T· ·

[android-beginners] Re: !!!!!!!!!!!!!!!!How to update dialog content?

2009-09-05 Thread John P.
To display different dialogs, you have couple options. 1. Continue to use dialogs managed by the activity, but pass different ids in showDialog(int), and in your onCreateDialog(int id), check the parameter id and return the appropriate dialog. In your current code, you're passing 0 in both bt1

[android-beginners] Re: !!!!!!!!!!!!!!!!How to update dialog content?

2009-09-05 Thread John P.
My bad about the dismiss(). I read over your code again and it's in the dialog's onClick() event, which is right. On Sep 5, 9:50 am, John P. johnny.d.p...@gmail.com wrote: To display different dialogs, you have couple options. 1.  Continue to use dialogs managed by the activity, but pass

[android-beginners] Re: How can I save a ranking info of game ?

2009-09-05 Thread John P.
The question is a bit broad. Sure, you can use a SQL server to store your rankings. You can also use flatfiles if your data is small. If you're asking how to implement SQL server and network communication, I'd first get your data working locally on a SQL server first, then achieve a simple

[android-beginners] Re: How can I save a ranking info of game ?

2009-09-05 Thread 김병주
Thx..I have a poor English skill so It was pretty difficult to ask more specific BTW thx to your advice good luck --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send

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

2009-09-05 Thread prgmaker
you should build it by yourself. please refernece android-source-code-directory/development/tools/ eclipse/README_WINDOWS.txt. it provide to build eclipose-plugin for windows and linux. If you need eclipse-plugin for linux. i can send it to you by e-mail. regards. On Aug 27, 6:56 am, slw

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

2009-09-05 Thread Sylvain MOUQUET
The android source code is available from http://source.android.com/download you download it in a folder named android_source_code and next you can build the ADT version 0.9.2 with this command line : android_source_code/development/tools/eclipse/scripts/ build_server.sh destination-directory

[android-beginners] Re: !!!!!!!!!!!!!!!!How to update dialog content?

2009-09-04 Thread 陈增顺
Checked API document just now. Should override the onPrepareDialog(int id, Dialog dialog) to prepare a managed dialog before it is being shown. The following extra codes for my test program makes it works perfectly:

[android-beginners] Re: How to export data to excel?

2009-09-02 Thread Chi Kit Leung
CSV is the simplest way! On Wed, Sep 2, 2009 at 10:45 AM, Litho23 lith...@gmail.com wrote: I agree CSV would be the way to go. On Sep 1, 2:13 am, JUN youk...@gmail.com wrote: Hello all, I want to export sqlite data to excel format in android? how to do it? thanks. -- Regards,

[android-beginners] Re: How to send uppercase letter using InstrumentationTestCase.sendKeys() ?

2009-09-02 Thread Balwinder Kaur (T-Mobile USA)
Did you try KEYCODE_SHIFT_LEFT or KEYCODE_SHIFT_RIGHT ? Balwinder Kaur 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

[android-beginners] Re: How to send uppercase letter using InstrumentationTestCase.sendKeys() ?

2009-09-02 Thread Yasser
Thanks Balwinder. Passing the character after SHIFT_LEFT or SHIFT_RIGHT did the job. Isn't there any single method which can be used to send any character type including special? something like sendKeys(@Abc) On Sep 2, 8:23 am, Balwinder Kaur (T-Mobile USA) balwinder.k...@t- mobile.com wrote:

[android-beginners] Re: How to export data to excel?

2009-09-01 Thread Jack Ha
You can query the data from the database and then write the data into a CSV file. -- 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

[android-beginners] Re: How to export data to excel?

2009-09-01 Thread Litho23
I agree CSV would be the way to go. On Sep 1, 2:13 am, JUN youk...@gmail.com wrote: Hello all,   I want to export sqlite data to excel format in android? how to do it? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-beginners] Re: How to reboot Android Dev Phone into recovery mode?

2009-08-31 Thread Bytes
Red button (Power) + HOME On Aug 31, 12:22 am, Vladimir Kelman vkel...@gmail.com wrote: Hi! I'm trying to upgrade Android Dev Phone according tohttp://www.htc.com/www/support/android/adp.html. Everything went smooth until under Update the Device Radio Firmware section I read the following,

[android-beginners] Re: How to send email?

2009-08-28 Thread Desu Vinod Kumar
U can find the source in email client example.. On Fri, Aug 28, 2009 at 5:24 PM, kapil.k kapnk...@gmail.com wrote: Is there any sample code about how to send email in android?i want to design email application for fix address by modifying it. -- Regards --- Desu

[android-beginners] Re: How to send email?

2009-08-28 Thread Liviu Ungureanu
2009/8/28 Desu Vinod Kumar vinny.s...@gmail.com U can find the source in email client example.. On Fri, Aug 28, 2009 at 5:24 PM, kapil.k kapnk...@gmail.com wrote: Is there any sample code about how to send email in android?i want to design email application for fix address by modifying

[android-beginners] Re: How to consume objects from an external package

2009-08-27 Thread Menny
OK. So I'll create two packages, one is the main application, and the second is the plugin. I sign both of them with the same key. And after I do that, how do I load a type in the first application from the second package? Menny On Aug 27, 6:12 pm, Donn Felker donnfel...@gmail.com wrote: Yes,

[android-beginners] Re: How to consume objects from an external package

2009-08-27 Thread Donn Felker
Yes, make sure you are signing your applications with the same key. See this document for more info: http://developer.android.com/guide/publishing/app-signing.html On Thu, Aug 27, 2009 at 9:53 AM, Menny menn...@gmail.com wrote: Hi, I develop an on screen keyboard. This keyboard support

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

[android-beginners] Re: How to start android emulator in a different port

2009-08-24 Thread Jose Ayerdis
This works on my computer: ./emulator -port 4747 -avd MyPhone Can u tell if you get a error message or something, i supose on eclipse you must change it on preference 2009/8/24 guptha gjango...@gmail.com hi, I am beginner in Android ,how to start the emulator in a different port using

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

2009-08-24 Thread Donn Felker
I dont have an IDE in front of me, but I think this exact example is available in the API Demos. Add it to your Eclipse workspace and poke around in the preference area. I advise you to install the ApiDemos on your emulator or test phone (or G1 if you have one). It makes life alot easier when you

[android-beginners] Re: How do I split up or separate large XML layout files

2009-08-24 Thread Romain Guy
Hi, Simply use: include layout=@layout/mylayout / On Sun, Aug 23, 2009 at 7:53 PM, Litho23lith...@gmail.com wrote: My example is using the Tab layout (just consider the HelloTab one) the main.xml contains the views for all the tabs.  Is their a way to separate or reference another xml file

[android-beginners] Re: How can I download a file from the internet?

2009-08-24 Thread Donn Felker
Check out the Shelves app by Romain Guy here: http://www.curious-creature.org/2009/01/19/shelves-an-open-source-android-application/ He downloads information from the internet. This should get you going in the right direction. On Fri, Aug 21, 2009 at 10:07 AM, bennyb taw...@gmail.com wrote: I

[android-beginners] Re: How can I download a file from the internet?

2009-08-24 Thread moovida
String urlStr = http://www.mysite.com/updates/data.txt;; URL fetchUrl = new URL(urlStr); InputStream tileInputStream = (InputStream) fetchUrl.getContent(); And then you use the stream. In the application add the permission: uses-permission android:name=android.permission.INTERNET/uses-

<    1   2   3   4   5   6   7   8   9   10   >