[android-beginners] Re: Loading an image from remote server

2009-07-21 Thread santu
Hi, Thnx. This is working fine. But how to display base 64 images in Android. waiting for u r replies. Thanks, Santhosh On Jul 21, 10:00 pm, "Balwinder Kaur (T-Mobile)" wrote: > Do you have the android:name="android.permission.INTERNET"> declared > in your AndroidManifest.xml file ? > > I ca

[android-beginners] Re: WIFI Connection Problem

2009-07-21 Thread GT
That's an ominous welcome, but yes a friend and I are beginning a dev foray. As soon as I can stop just playing with my new phone that is... - GT. On Jul 21, 3:04 pm, Oliver Rennfort wrote: > Great that it solved your problem. Are you dev software? If yes welcome to > the club of canadien dev.

[android-beginners] Re: How to get the text value that has been entered in a dialog box?(AlertDialog)

2009-07-21 Thread Kacper86
Hi, These are my first steps in Android, so my solution might not be perfect, yet it works. First of all, you should create a member in AlertDialogSamples class: private int dialogSingleChoiceOption=0; //"0", because "Map" is the default choice Secondly, you have to act when somebody clic

[android-beginners] Re: Device Chooser shows warning

2009-07-21 Thread Xavier Ducrohet
Exactly. The device chooser sees that the device is running the correct API level, but it cannot know if the device actually has the optional library that your application require. Xav On Tue, Jul 21, 2009 at 10:24 AM, Oliver Rennfort wrote: > That's normal when you define a app with map api >

[android-beginners] Re: Hello MapView tutorial

2009-07-21 Thread iñaki
Hi Yusuf, thanks, the weird is that native´s applicactiones works fine, like maps, navigation... App show with google´s logo but no maps... Thanks 2009/7/21 Yusuf T. Mobile > > Hi Iñaki, in your case it appears you are not connected to the > internet, although there could be any number of rela

[android-beginners] Re: Using system.out on the andriod

2009-07-21 Thread Mark Murphy
automerc wrote: > This is of the parts where i'm using system.out. Use android.util.Log, and look at the output of LogCat (via adb logcat, DDMS, or the DDMS perspective in Eclipse). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need help for your Androi

[android-beginners] Using system.out on the andriod

2009-07-21 Thread automerc
I an trying to use system.out to print various statements in my code to check that they are working correctly but they don't seen to be printing for some reason. I read that the printouts are suppose to be in the logcat but its not there either. a2 = (Spinner) findViewById(R.id.a2); final

[android-beginners] Re: Hello MapView tutorial

2009-07-21 Thread Yusuf T. Mobile
Hi Iñaki, in your case it appears you are not connected to the internet, although there could be any number of related reasons the app is not able to resolve the hostname. That kind of error "Unknown host" is a standard internet error you could get on any platform/ language. Except Perl. Perl woul

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

2009-07-21 Thread Oliver Rennfort
Asking a question once is ok. Repeating them will not give you a faster answer. It just spamms our in box with it. Thank you. Android Apps Developer On Jul 21, 2009 4:16 PM, "saurabh sinha" wrote: what is pending Intent and how it differ from Intent --~--~-~--~~~

[android-beginners]

2009-07-21 Thread saurabh sinha
what is pending Intent and how it differ from Intent --~--~-~--~~~---~--~~ 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 fr

[android-beginners] difference between Intent and PendingIntent

2009-07-21 Thread saurabh sinha
--~--~-~--~~~---~--~~ 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-unsub

[android-beginners] Re: Hello MapView tutorial

2009-07-21 Thread iñaki
Hi Yusuf and in my case, what is problem with the log 07-21 07:44:50.383: INFO/InetAddress(719): Unknown host www.google.com, throwing UnknownHostException 2009/7/21 Yusuf T. Mobile > > "Unable to resolve superclass of HelloMapView" could mean anything, > but did you make sure to subclass Hel

[android-beginners] Re: WIFI Connection Problem

2009-07-21 Thread Oliver Rennfort
Great that it solved your problem. Are you dev software? If yes welcome to the club of canadien dev. And the trouble we have with google marketplace. Android Apps Developer On Jul 21, 2009 2:53 PM, "GT" wrote: Yeah, you're a genius sir! That solved it. Thanks - GT. On Jul 21, 1:33 pm, Oliver

[android-beginners] Re: Slow to load emulator with eclipse

2009-07-21 Thread chris
I didn't realize that could be done. That will speed things up quite a bit. Thanks. On Jul 21, 12:45 pm, Oliver Rennfort wrote: > The emulator when its once is up and running ,just leave it open. And just > code and upload to it with out closing it. > > Android Apps Developer > > On Jul 21, 20

[android-beginners] Re: WIFI Connection Problem

2009-07-21 Thread GT
Yeah, you're a genius sir! That solved it. Thanks - GT. On Jul 21, 1:33 pm, Oliver Rennfort wrote: > Hi it might be that the phone only supports 128bit keys. I also have a > rogers phone and I have it running with a d link router. > > But I noticed that my phone sometimes will not conect right

[android-beginners] Re: Slow to load emulator with eclipse

2009-07-21 Thread Oliver Rennfort
The emulator when its once is up and running ,just leave it open. And just code and upload to it with out closing it. Android Apps Developer On Jul 21, 2009 2:23 PM, "chris" wrote: Hey everyone, I was fooling around with android this weekend while trying to figure out whether to go with it or

[android-beginners] Re: Hello MapView tutorial

2009-07-21 Thread Yusuf T. Mobile
"Unable to resolve superclass of HelloMapView" could mean anything, but did you make sure to subclass HelloMapView from Activity? Is Eclipse properly set up with the SDK? This may not be relevant, but the HelloMapView tutorial uses the deprecated MapView.GetZoomControls() API. To fix it: Step #7

[android-beginners] Slow to load emulator with eclipse

2009-07-21 Thread chris
Hey everyone, I was fooling around with android this weekend while trying to figure out whether to go with it or iphone. There are many things that I like about android, but one of the things that makes development difficult is that it takes such a long time to load up the emulator ~15secs. My

[android-beginners] Re: Is it possible to override Android's green and red buttons?

2009-07-21 Thread Yusuf T. Mobile
It depends on what you mean by 'override'. You can't change the way Android initiates and receive calls, but you can use those buttons in your own app, with Activity.onKeyDown: http://developer.android.com/reference/android/app/Activity.html#onKeyDown(int,%20android.view.KeyEvent) The KeyEvent c

[android-beginners] Re: WIFI Connection Problem

2009-07-21 Thread Oliver Rennfort
Hi it might be that the phone only supports 128bit keys. I also have a rogers phone and I have it running with a d link router. But I noticed that my phone sometimes will not conect right and then I have to do it by hand in settings Android Apps Developer On Jul 21, 2009 1:25 PM, "GT" wrote: I

Re: 答复: [android-beginners] fillpolygon for Canvas?

2009-07-21 Thread Romain Guy
Hi, Just use a Path object, that's how polygons are drawn on Android. On Mon, Jul 20, 2009 at 7:13 PM, 孙其鹏 wrote: > > > > > > > > > > > > > > - 原始邮件 - > > > > 发件人: monsoon > > > > > > > 发送时间: 2009年7月20日 18:45 > 收件人: Android Beginners > 主题: [android-beginners] fillpolygon for Canvas? >

[android-beginners] Re: Google Maps Application

2009-07-21 Thread Oliver Rennfort
Eclipse will do all that you just swap the test key with a release key. That's it. Android Apps Developer On Jul 21, 2009 1:22 PM, "yves" wrote: Did you mean an api KEY? So other than the key I don't need to take special care in order to publish my application to the phone? No including of th

[android-beginners] just say hello.

2009-07-21 Thread 邓雅诺gmail
just say hello. --~--~-~--~~~---~--~~ 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-

[android-beginners] install java for the browser and other apps, and use thinkorswim's mobile version

2009-07-21 Thread MoreYummy
How do I install java for the browser and other apps, and use thinkorswim's mobile version? Using hTC magic.Trying to go to thinkorswim.com and log in, im able to log in, and everything else is fine, until I go to certain area, it says I need to install java. I cant find much information abo

[android-beginners] WIFI Connection Problem

2009-07-21 Thread GT
I just got an HTC Magic through Roger's (Canada) and I've been unable to connect to my home network, but I can't seem to find a reason or solution. I am using a TP-Link 54M TLWR340G Router. I have a 154 bit WEP key enabled. When I try to connect I am prompted for the WEP key, which I enter. Then

[android-beginners] How to get the text value that has been entered in a dialog box?(AlertDialog)

2009-07-21 Thread daum3...@yahoo.com
Hello all, I'm playing with the AlertDialogSample.java program. I want to add lines in the code to get the value in the onClick methods. Please see the location marked as "==>" that I want to add lines. Could you please guide me what lines should be there? Thank you. case DIALOG_SING

[android-beginners] SensorEventListener in different thread

2009-07-21 Thread Rob
Hello, I have a question about implementing a SensorEventListener. Say I have implemented a SensorEventListener (CustomSensorEventListener) that simply logs sensor state to a file. Now, my main application contains an instance of CustomSensorEventListener that whose callbacks are registered i

[android-beginners] Question about checkbox and gravity in layout

2009-07-21 Thread Matt
Hi, here I have a part of my layout, where I want to position a checkbox to the right of the screen while it with two lines of text. I was trying to mimic the look of the layout on the settings pages in the emulator. Here is the layout XML:

[android-beginners] Youtube account problem on HTC Magic

2009-07-21 Thread Mark
Hi, i love ANDROID that much... Sorry for my english, i am from Germany. If i open my Youtube Application, it is connected to an youtube account, but it is not my account. Or an very very old account. How could i change this. BR Mark --~--~-~--~~~---~--~~ You re

[android-beginners] Execute a task periodically

2009-07-21 Thread Thorsten Kramer
Hi, I'd like to poll the microphone every five minutes. Since I'm new to Android I have not the slightest idea, how to implement this in a correct way. I found the ASyncTask class, which seems appropriate. But how do I implement the periodic call? Using a while loop and sleep? Thanks. --~--~---

[android-beginners] Re: android.location requestLocationUpdates only calls onLocationChanged once

2009-07-21 Thread Friso
I have the same problem with SDK 1.5R3, the gpx file I used for 1.5R2 sends one update and does not trigger an location updates anymore. Same as I manually add a GPS location using DDMS. Tested with both my own application as well as the Google Maps application. In the emulator settings I got both

答复: [android-beginners] fillpolygon for Ca nvas?

2009-07-21 Thread 孙其鹏
- 原始邮件 - 发件人: monsoon 发送时间: 2009年7月20日 18:45 收件人: Android Beginners 主题: [android-beginners] fillpolygon for Canvas? It seems a bit odd to me that there is no fillpolygon(...) method in the Canvas class? I'm a bit new to graphics on Android, but it seems I must be

[android-beginners] Re: Device Chooser shows warning

2009-07-21 Thread Oliver Rennfort
That's normal when you define a app with map api Android Apps Developer On Jul 21, 2009 1:20 PM, "yves" wrote: Hello, when I run my application out of eclipse and the device chooser comes up, it shows me my real phone and in the target-column it shows 1.5 and a warning sign what does that m

[android-beginners] Re: Google Maps Application

2009-07-21 Thread yves
Did you mean an api KEY? So other than the key I don't need to take special care in order to publish my application to the phone? No including of the maps API? On 21 Jul., 19:10, Oliver Rennfort wrote: > Just get a api code for release and put it in your code. > See google doc for publishing co

[android-beginners] Device Chooser shows warning

2009-07-21 Thread yves
Hello, when I run my application out of eclipse and the device chooser comes up, it shows me my real phone and in the target-column it shows 1.5 and a warning sign what does that mean and how to fix the error? Thanks Yves --~--~-~--~~~---~--~~ You received this

[android-beginners] Why so slow

2009-07-21 Thread yves
Hi, Iam developing on Eclipse and I already set the Emulator Parameter to EDGE-Speed. The Problem is, the application runs fast on my Emulator but very slow on my device. Thanks Yves --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[android-beginners] Re: Bug error in source code from book android development 2.1

2009-07-21 Thread Mark Murphy
> I think I need some help or I found a bug. When itry to run the wether > demo > from the source. The app trows a toast and say null pointer exeption. > > Mark do you have an idea why that may be? I use eclipse on windows. And > have > just impoorted it. > > It compiles without any problem. And s

[android-beginners] Re: Google Maps Application

2009-07-21 Thread Oliver Rennfort
Just get a api code for release and put it in your code. See google doc for publishing code. Android Apps Developer On Jul 21, 2009 1:08 PM, "yves" wrote: Hello, iam developing an application using google maps. I can develop and test this application in Eclipse without a problem, when i use

[android-beginners] Google Maps Application

2009-07-21 Thread yves
Hello, iam developing an application using google maps. I can develop and test this application in Eclipse without a problem, when i use the proper AVD (the one with Google Maps API). My question is, how do I run the application on an android phone? do I have to include something into my applic

[android-beginners] Bug error in source code from book android development 2.1

2009-07-21 Thread Oliver Rennfort
I think I need some help or I found a bug. When itry to run the wether demo from the source. The app trows a toast and say null pointer exeption. Mark do you have an idea why that may be? I use eclipse on windows. And have just impoorted it. It compiles without any problem. And starts running but

[android-beginners] Re: Loading an image from remote server

2009-07-21 Thread Balwinder Kaur (T-Mobile)
Do you have the declared in your AndroidManifest.xml file ? I can see an ImageView in my Emulator with your snapshot of the Emulator that you have up on your website :) Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email

[android-beginners] Re: book questions..

2009-07-21 Thread Oliver Rennfort
I think I need some help or I found a bug. When itry to run the wether demo from the source. The app trows a toast and say null pointer exeption. Mark do you have an idea why that may be? I use eclipse on windows. And have just impoorted it. It compiles without any problem. And starts running but

[android-beginners] Re: book questions..

2009-07-21 Thread Oliver Rennfort
I think I need some help or I found a bug. When itry to run the wether demo from the source. The app trows a toast and say null pointer exeption. Mark do you have an idea why that may be? I use eclipse on windows. And have just impoorted it. It compiles without any problem. And starts running but

[android-beginners] Re: android webservice

2009-07-21 Thread Balwinder Kaur (T-Mobile)
Here is some information that may help you out http://www.slideshare.net/sullis/connecting-to-web-services-on-android http://developerlife.com/tutorials/?p=288 Balwinder Kaur Open Source Development Center ·T· · ·Mobile· stick together The views, opinions and statements in this email are those

[android-beginners] Re: book questions..

2009-07-21 Thread Mike Lissner
Being a safari subscriber, I don't have any android books. Just FYI. On Jul 20, 8:52 pm, janardhan wrote: > Hi this is janardhan, > Can u send hello android book for me also. > I am waiting for u reply. > > Thanks & Regards > janardhan > > On Jul 21, 3:34 am, Mark Murphy wrote: > > > eitan wrot

[android-beginners] Re:

2009-07-21 Thread Jack Ha
Please refer to the documentation. -- 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 Jul 21, 8:22 

[android-beginners]

2009-07-21 Thread saurabh sinha
what is role of PendingIntent in android is it differ from pendingintent from intent --~--~-~--~~~---~--~~ 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]

2009-07-21 Thread saurabh sinha
I want to know the difference between intent and intent-filter in android I am just confusing the difference between intent and intent-filter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group.

[android-beginners] Re:

2009-07-21 Thread Jack Ha
The purpose of TextSwitcher is to animate a text label on screen such that whenever its setText() function is called, it animates the existing text out and animates the new text in. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The views, opinions and statements in this

[android-beginners]

2009-07-21 Thread saurabh sinha
I have attached textswicher what is role of textswitcher and its purpose in what situation we use textswitcher what is viewswitcher.viewFactory plz check my example on your emulator and back email with response --~--~-~--~~~---~--~~ You received this message becaus

[android-beginners] Re: PendingIntent ProximityAlert problem

2009-07-21 Thread Stefan
Hello again, one more information: i test my app with this gps data: lat, lon 3 3 lat, lon 10 10 I use the geo fix command as follows: 1. geo fix 3 3: fires one time ==> entering true... OK 2. geo fix 5 5: enters the ProximityIntentReceiver class - but not my if clause ==> entering is false! OK 3

[android-beginners] Re: Add space between elements in a TableRow.

2009-07-21 Thread Oliver Rennfort
Try padding Android Apps Developer On Jul 21, 2009 10:21 AM, "Garth" wrote: I have two Text views in a TableRow, and currently they show up right next to each other. Like: AccelerometerMagnetometer I want there to be a space between them. Like: Accelerometer Magnetometer Preferably the space

[android-beginners] Add space between elements in a TableRow.

2009-07-21 Thread Garth
I have two Text views in a TableRow, and currently they show up right next to each other. Like: AccelerometerMagnetometer I want there to be a space between them. Like: Accelerometer Magnetometer Preferably the space should be part of the Accelerometer TextView so that later rows line up correct

[android-beginners] Re: Problems with combined scrollview and tablelayout

2009-07-21 Thread Garth
err no, thats wrong, I think. Sorry. On Jul 21, 6:52 am, Garth wrote: > I believe that you need to use a LinearLayout in each row. > > On Jul 19, 3:30 pm, robbidog wrote: > > > Hi, > >   I'm trying out the SDK and am attempting to combine a ScrollView > > with  table layout and GridView.  For e

[android-beginners] Re: Problems with combined scrollview and tablelayout

2009-07-21 Thread Garth
I believe that you need to use a LinearLayout in each row. On Jul 19, 3:30 pm, robbidog wrote: > Hi, >   I'm trying out the SDK and am attempting to combine a ScrollView > with  table layout and GridView.  For each row of the table I want a > list of TextView's stored in GridView. With my curren

[android-beginners] Re: Problems about receiving "OnItemClick" event in SlidingDrawer + GridView

2009-07-21 Thread treetop
BTW, I have also tried to add "OnItemSelected" event. By using trackball, the "OnItemSelected" event can be fired! That's strange...any ideas? === Java === myGridView.setOnItemSelectedListener(new GridView.OnItemSelectedListener() { @Override public void onItemSelected(AdapterVie

[android-beginners] Re: Mrarket?

2009-07-21 Thread Oliver Rennfort
You don't need to sign up your phone should be linked to your google acount. And to leave a comment you just click on the link. In the app description. Android Apps Developer On Jul 21, 2009 8:20 AM, "stephen rigg" wrote: I wanted to noe how ppl are able to post comments on the market, I dnt c

[android-beginners] Re: Accessing inbox and few others

2009-07-21 Thread Oliver Rennfort
Yes you can . Take a look at contentprovider in android. There are planty tutorials in the sdk. Android Apps Developer On Jul 21, 2009 4:34 AM, "chinna Durai" wrote: Hi, I just want to know if we can access *programmatically* these data in Android 1. Calendar 2.Tasks 3.Notes 4.

[android-beginners] Problems about receiving "OnItemClick" event in SlidingDrawer + GridView

2009-07-21 Thread treetop
Hi, In my layout, there's a GridView inside SlidingDrawer. XML is as follows: Also, I have set GridView by a customized AdapterView. The problem is, after setting "onItemClick" event for the GridView, I cannot see any log in the Logcat when I click any item. Could anyone help me on this issue? Tha

[android-beginners] Mrarket?

2009-07-21 Thread stephen rigg
I wanted to noe how ppl are able to post comments on the market, I dnt c any form of sign up --~--~-~--~~~---~--~~ 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: Service can't create Intent.ACTION_SEND

2009-07-21 Thread Luc
Well, yesterday I tested something I thought would not work... but it worked. If at this code: 1: Intent i = new Intent(Intent.ACTION_SEND); 2: i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 5: startActivity(i); You add at least that lines before starting activity: 3: i.setType("image/jpg"); 4: i.put

[android-beginners] Re: Hello MapView tutorial

2009-07-21 Thread Neilz
Here's my Logcat output... there is an error, but it doesn't mean very much to me! 07-21 08:39:03.489: WARN/dalvikvm(728): Class resolved by unexpected DEX: Lcom/test/android/stuff/HelloMapView;(0x43597748):0x192368 ref [Lcom/google/android/maps/MapActivity;] Lcom/google/android/maps/ MapActivity

[android-beginners] Accessing inbox and few others

2009-07-21 Thread chinna Durai
Hi, I just want to know if we can access *programmatically* these data in Android 1. Calendar 2.Tasks 3.Notes 4. Images/Photos/Video/Wallpaper 5.Audio/Ringtone 6.SMS ( Inbox ) 7. Call log ( Call history ) Thanks in advance. -- Thanks and Regards Chinnadurai M --~--~

[android-beginners] Re: android webservice

2009-07-21 Thread janardhan
Hi Saurabh Sinha, This is janardhan if u will get means Pls fwd for me also On Jul 20, 5:50 pm, saurabh sinha wrote: > I am android beginner I need a complete example of android webservice --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-beginners] Re: Hello MapView tutorial

2009-07-21 Thread iñaki
Hello, i have the same problem, this is the log: 07-21 07:37:53.715: INFO/ActivityManager(568): Start proc com.android.inputmethod.latin for service com.android.inputmethod.latin/.LatinIME: pid=731 uid=10003 gids={3003} 07-21 07:37:54.073: INFO/jdwp(731): received file descriptor 20 from ADB 07-21