[android-beginners] Re: Change text in textview dynamiclly

2009-09-09 Thread Oskar
How would multiple threads help us in this matter? setText() does not seem to write out anything to display until the currently running method has ended. Anybody who has any example code? Thanks! On Sep 9, 6:06 am, Justin Anderson janderson@gmail.com wrote: Sounds like a case where you

[android-beginners] to unsubscribe android group

2009-09-09 Thread salman khan
Hi , please unsubscribe the unsubscribe the android begginners group. --~--~-~--~~~---~--~~ 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: [android-beginners]

2009-09-09 Thread Jonas Petersson
saurabh sinha wrote: I am looking for send email using android can u send me source code Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_EMAIL, saurso...@gmail.com); sendIntent.putExtra(Intent.EXTRA_SUBJECT, Test subject);

[android-beginners] problem in

2009-09-09 Thread Mahsa M
Hi I want to down load one .apk file to my SDcard from the URL, but I got error when i want to create the file, if any body know the problem can you please help me, my code crash on the red line, my code is public class download extends Activity { /** Called when the activity is first

[android-beginners] Re: Send JSON object via HttpPost method

2009-09-09 Thread Alok Kulkarni
Hey Wayne, thanks a lot.. I have also got a solution parallely which i would like to post URL url = new URL(serverURL); // open the conncetion HttpURLConnection connection = (HttpURLConnection)url.openConnection(); // Let the run-time system (RTS)

[android-beginners] A problem of using webview

2009-09-09 Thread whitech
Hi~~~ Here's the problem: When I click a super-link in a page,(not using chrome, just webview), can I get the information of the target attribute? For example: a href=xxx.xxx target=_blankx/a , how can I know the link need to open a new window or some way else?

[android-beginners] Solution for Debug certificate expired

2009-09-09 Thread Alok
I would like to share a solution... I had a my current date on the PC set as that of 1 year back. Later I changed it to the correct year. After that in Eclipse for an android project it started giving me the following error during compilation “Error generating final archive: Debug certificate

[android-beginners] Re: [android-beginners]

2009-09-09 Thread Jens Vegeby
Just google it... Mvh/Regards Jens On Sep 5, 2009 1:08 PM, saurabh sinha saurso...@gmail.com wrote: I need to use youtube in android plz tell me how to use it --~--~-~--~~~---~--~~ You received this message because you are sub...

[android-beginners] how to read sms from inbox

2009-09-09 Thread kapil.k
I am useing SDK 1.5.i want to read sms from inbox.i found some code snippets but those are basically for older sdk .so can you give me some code example about the reading sms from sms. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Call to activity problem

2009-09-09 Thread kapil.k
i am reading the sms body from class SmsRx extends Brodcast receiver{/./} I want to start some activity after receiving sms but as this class is not activity i am unable to start my new activity.so can you please tell me what shoul i do so that i can start activity after receiving the sms.

[android-beginners]

2009-09-09 Thread saurabh sinha
I am android beginner looking for youtube use in android.Does any body knows that --~--~-~--~~~---~--~~ 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: [android-beginners]

2009-09-09 Thread Alok Kulkarni
Can you post exactly what you want ?? On Wed, Sep 9, 2009 at 5:44 PM, saurabh sinha saurso...@gmail.com wrote: I am android beginner looking for youtube use in android.Does any body knows that --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] JSON help

2009-09-09 Thread Alok
Hi guys , i am using JSON to send data to server and fetching response back and using it . Now what i want to do ideally is create an object of a class whose members name is key and member value is value for a JSON object Example class MyClass { string code; string message; public abc()

[android-beginners] Re: JSON help

2009-09-09 Thread Mark Murphy
Alok wrote: Some way to put the myClassObj in JSONObject and send it to server. JSON works with arrays and objects (roughly a HashMap), not custom classes. So, if you want to put stuff in a JSONObject, you have to do it yourself via put() method calls. On retreival i should be

[android-beginners] Re: JSON help

2009-09-09 Thread Alok Kulkarni
Sorry for some mistakes , it should be code , message instead of a,b On Wed, Sep 9, 2009 at 9:51 PM, Alok kulsu...@gmail.com wrote: Hi guys , i am using JSON to send data to server and fetching response back and using it . Now what i want to do ideally is create an object of a class whose

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

2009-09-09 Thread Falcon24
Hello, I'm currently beginning in java for android and I'm asking your help. I would like make some link in my program like phone number, mail etc.. with this border when the user clic on it. Well, when I create a WebView, the clicable link appears like that :

[android-beginners] extracting service values from activity?

2009-09-09 Thread jason
I have an activity class that has started a service (within same application). How do I extract the values set in the service class? Here is the code snippet: class MyActivity extends Activity { private Intent svcIntent; public void onCreate(Bundle savedInstanceState) {

[android-beginners] batch file

2009-09-09 Thread essayou
Is it possible to run batch files on android? I have a g1 phone and i want to run a batch file that automatically opens a application and inserts some commands. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-beginners] Re: Okay.... I give up

2009-09-09 Thread AngelOD
While it -is- true that you need to create the AVD, NetBeans has absolutely no issues with launching the emulator when you click Run. It will either ask you to choose a specific AVD, or you can use the settings to make it choose a specific one, or to let it pick one itself. I tried Eclipse for

[android-beginners] Eclipse Android preferences disappear after installing a second plugin

2009-09-09 Thread Andre Wichmann
Hi, I've got a problem that's driving me mad, and I hope someone here can help me... I've installed the ADT plugin for Eclipse (3.5 Galileo) according to the instructions on the Android Developers site. In Window- Preferences, there's now an Android tab (as there should be), and I can create

[android-beginners] Text view issue....

2009-09-09 Thread Sudeep
Hi, I have a list view with diffrent widgets(Text View , check box, togglebutton etc). I know in touch mode that text view need not be focussed if user touches the text view as this is expected behaviour of Android framework. When i click on the textview, it should show a momentary orange

[android-beginners] No dx or aapt in tools directory

2009-09-09 Thread winf3red
Hi All, I am having some trouble with multiple instances of the same class file being compiled to my android package by ADT. I have been unable to find multiple references in my eclipse view, so I thought I would try to use dx to do this in a more manual fashion. To my surprise, there is no

[android-beginners] what is the path of generated DB.

2009-09-09 Thread David_edei
I generated DB file by using content provider(on emulator). but I can not find that. let me know the path. ps. how can I use internet on emulator? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners

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

2009-09-09 Thread EverettG
I am creating a Spinner but when it displays in the Emulator it does not display any sort of arrow to let the user know to click on it. If you click on it, it works properly and you can choose from the items. I have looked through Internet resources and three books but cannot seem to find an

[android-beginners] How to disable sms notification?

2009-09-09 Thread 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 default sms notifications to show up. How can I do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Library to communicate with peripherals in Android?

2009-09-09 Thread MrJogo
Hi, I'm looking into developing a peripheral that could plug into the USB port on an Android phone. Does the SDK have any way of communicating with such a peripheral? Are there any resources for developing peripherals that play nice with Android? Thanks.

[android-beginners] Adroid on a phone with Windows OS

2009-09-09 Thread tonyts
I have a new Samsung Omnia with Windows Mobile 6.1 on it. Can I develop Android applications to run on this type of phone? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to

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

2009-09-09 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] Listview onListItemClick(), position

2009-09-09 Thread Maarten_BE
Hello, I am trying to get the value of a selected item in a listview. The listview consists of the names of all the countries. The problem that I encouter when running the app is that when the listview is showed, a country can be selected by typing in it's first letters. But the problem is that

[android-beginners] Get user's email address

2009-09-09 Thread Rico
As part of my app, I'd like to give the user the option to register for an account on my site. I'd like to pre-populate a field in my registration form with the user's email address so that he/she doesn't have to type it out again. Is there any way to get the email address of the Google Account

[android-beginners] Re: problem in

2009-09-09 Thread Yusuf Saib (T-Mobile USA)
One problem is this mailing list doesn't display your red line. Could you perhaps indicate it with a ? Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-beginners] Re: [android-beginners]

2009-09-09 Thread Yusuf Saib (T-Mobile USA)
Do you mean run the YouTube app, or do you mean programmatically include a YouTube widget in your own app? Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-beginners] Re: Dev Phone

2009-09-09 Thread Yusuf Saib (T-Mobile USA)
Any Android phone that you like, although I would recommend you go with a phone offered by a trustworthy carrier that has has a history of Android support. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their

[android-beginners] Re: extracting service values from activity?

2009-09-09 Thread Mark Murphy
jason wrote: I have an activity class that has started a service (within same application). How do I extract the values set in the service class? Call a method on it. You can either: -- put the service object in a static data member on the service class and call into it that way, or --

[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] Dev Phone

2009-09-09 Thread Christopher Edwards
Hi, Which is the best phone to use for development for beginners? Thanks Chris --~--~-~--~~~---~--~~ 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: Okay.... I give up

2009-09-09 Thread Yusuf Saib (T-Mobile USA)
The better part of 12 hours? What is that, like 6 1/2 hours? :) Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 5,

[android-beginners] Re: Call to activity problem

2009-09-09 Thread Roman ( T-Mobile USA)
For being able to start an activity you need a context. One possibility is to pass a reference of your application context to your class from which you want to call startActivity. Something like class A extends Activity { void yourMethodA(){ ... B b = new B(getBaseContext() );

[android-beginners] Re: No dx or aapt in tools directory

2009-09-09 Thread Xavier Ducrohet
dx and aapt are in the platform folders: SDK/platforms/platform/tools/ Xav On Tue, Sep 8, 2009 at 3:07 PM, winf3redwinfred.b...@gmail.com wrote: Hi All, I am having some trouble with multiple instances of the same class file being compiled to my android package by ADT.  I have been unable

[android-beginners] Re: Change text in textview dynamiclly

2009-09-09 Thread Justin Anderson
Have your onCreate do two things: 1) Set an initial value for the TextView 2) Spawn another thread to establish the connection onCreate will then finish immediately after spawning the new thread, allowing the initial value to be displayed. You can then set up a Handler for the thread to post

[android-beginners] Re: from iPhone to android

2009-09-09 Thread ayush
although i havent used Quartz much on iphone, i think you'll get most of its functionality in the Canvas class of the android. this Class contains many methods to draw lines, circles, bitmaps, text etc. a related class is the Paint Class that allows you to specify the style of drawing - i.e.

[android-beginners] Re: Text view issue....

2009-09-09 Thread Justin Anderson
Code? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Tue, Sep 8, 2009 at 10:09 PM, Sudeep

[android-beginners] Stepping thru android base code

2009-09-09 Thread pro
Hi All, I've the 1.5 sdk pkg, as well as I've the android src ( including the kernel). I can build the android src, but I'm trying to step thru some of the internal code ( i.e android.os.* or some such ). Under eclipse debugger, it says code not found, and sometime asking for giving path to

[android-beginners] Re: JSON help

2009-09-09 Thread Alok Kulkarni
Thanks mark for your quick response. Regarding the get and put methods , i am using them currently . But it would hv been great if i could read the entire response in an object like the third party support .. Anyways nothing comes easily. I will have a look at the Jettison driver and post the

[android-beginners] Re: Know when Outgoing Call has been answered or whatever state

2009-09-09 Thread Roman ( T-Mobile USA)
The current call states which you get on SDK level are public static final int CALL_STATE_IDLE Device call state: No activity. Constant Value: 0 (0x) public static final int CALL_STATE_OFFHOOK Device call state: Off-hook. At least one call exists that is dialing, active, or on hold,

[android-beginners] HowTo Link to Market App via URL?

2009-09-09 Thread Jason Van Anden
If I wanted to give users a link to my app in an email - is there a way? Thank You, Jason Van Anden --~--~-~--~~~---~--~~ 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] video quality

2009-09-09 Thread Engin Arslan
Hi, i am capturing video with the code below. But there is problem on video quality, that is, when I capture video with applicaiton I wrote its quality is not as well as video quality of telepohnes' which is recorded by Camcorder. public CamcorderPreview(Context context, AttributeSet attrs) {

[android-beginners] Re: Adroid on a phone with Windows OS

2009-09-09 Thread Justin Anderson
You would have to write some sort of Android emulator that runs on Windows Mobile. -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: Adroid on a phone with Windows OS

2009-09-09 Thread Justin Anderson
No. That is the equivalent of asking if you can develop windows applications to run on Linux. -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: Adroid on a phone with Windows OS

2009-09-09 Thread Chris Stratton
On Sep 9, 5:33 pm, Justin Anderson janderson@gmail.com wrote: I have a new Samsung Omnia with Windows Mobile 6.1 on it. Can I develop Android applications to run on this type of phone? No.  That is the equivalent of asking if you can develop windows applications to run on Linux.

[android-beginners] Re: ArrayIndexOutOfBoundsException in maps API

2009-09-09 Thread Zied Hamdi
Hi Aracos, Thanks for your answer and sorry for this late reply. I only invalidate the MapView, which will surely call populate() on each overlay (i suppose). The odd thing is that having an empty overlay which suppose just adds a decoration besides the fact of showing items, should be legal...

[android-beginners] Re: Stepping thru android base code

2009-09-09 Thread pro
Actually there are nice documents/discussion on the web about how to get the sources from the android src, and packaged it to sdk folder for reference ... problem solved :) -pro On Sep 9, 11:34 am, pro proka...@gmail.com wrote: Hi All, I've the 1.5 sdk pkg, as well as I've the android src (

[android-beginners] Re: Adroid on a phone with Windows OS

2009-09-09 Thread Yusuf Saib (T-Mobile USA)
There's always VMware: http://www.youtube.com/watch?v=UNo6pn-dnSQ Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep

[android-beginners] Re: inconsistent results from DateUtils.getRelativeTimeSpanString

2009-09-09 Thread podoboq
Anyone? On Sep 7, 5:58 pm, podoboq dave.lamp...@gmail.com wrote: Hi all, I'm working on my first Android app and getting odd results while using DateUtils.getRelativeTimeSpanString().  The first time the method gets called it seems to work fine, returning a character sequence such as 27

[android-beginners] How to disable sms notification?

2009-09-09 Thread 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 default sms notifications to show up. How can I do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Re: Send JSON object via HttpPost method

2009-09-09 Thread Wayne Wenthin
Yep that is what I vaguely based mine on. I recognize the Praeda line. I had to modify mine because I was not sending back an array of json objects but a specific one that I handle based on the ID on the backend with ruby. On Wed, Sep 9, 2009 at 1:43 AM, Alok Kulkarni kulsu...@gmail.com

[android-beginners] preventing Activity from destroying

2009-09-09 Thread Jason
How do I achieve the effect of 'minimizing' a UI activity? I have a UI activity that gets destroyed each time I click the Home, phone etc. keys on the phone. I would like the UI activity to be sent to the background; since it is bound to a service and processing the data returned by the service

[android-beginners] Re: preventing Activity from destroying

2009-09-09 Thread Mark Murphy
Jason wrote: I have a UI activity that gets destroyed each time I click the Home, phone etc. keys on the phone. By default, Android will not destroy your activity when you click the Home, phone etc. keys on the phone. There are only two ways I can think of for your described scenario to

[android-beginners] Re: preventing Activity from destroying

2009-09-09 Thread John P.
It is true that when the Back button is pressed, onDestroy() is called. But hitting the Home button invokes the activity's onStop() for me. Now, it is true that if Android determines it needs memory, it may then invoke onDestroy() on the stopped activity. It sounds like if you want your

[android-beginners] Re: Adroid on a phone with Windows OS

2009-09-09 Thread Justin Anderson
Well, I do that routinely (specifically, I write windows applications by cross compiling from a linux machine, and test them on the development machine using the wine compatibility layer). That is what I meant (more or less) by saying that you would have to write some sort of Android Emulator

[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] Security framework available on android??

2009-09-09 Thread Sudeep Jha
Which security framework is available or can be ported to android ? Warm Regards, Sudeep --~--~-~--~~~---~--~~ 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] Why I couldn't retrieve the phone number from intent in onReceive of BroadcastReceiver

2009-09-09 Thread gganesh
hi, This is a simple application which sends group sms (a group consist only 5 phone numbers )and i have registered a Broadcast to announce as sms is send .here i need to display the number to which the sms is send ,how to do that here is my code # In onCreate() button is pressed it triggers