[android-beginners] Re: Network connections in android

2008-04-08 Thread Dan U.
Just like you do them in regular 'ole java. On Apr 7, 11:42 pm, "Analdin Judy" <[EMAIL PROTECTED]> wrote: > Hi, > > Can anybody please tell me.how to do network connections in android? > > Thanks > judy --~--~-~--~~~---~--~~ You received this message because yo

[android-beginners] Use AlertDialog inside a service.

2008-04-08 Thread Marc
HI All, Is it possible to use an AlertDialog as a notification instead of using a Toast?? My requirement is to display a text notification, which is not disappear in few moments. User should be able to close it by pressing the return button. Please shed some light on me. Thanks in advance Marc

[android-beginners] Spinner in a dialog box?

2008-04-08 Thread ivan
Someone has tried to use a Spinner view in a dialog? In the M5 version, the field list which is shown, is bad localized in the screen. I don know if it is a bug or if I am missing something in my code which is very simple: XML (R.layout.dosage) JAVA Dialog d = new Dialog(v.getContext()); d.setCo

[android-beginners] Error when Accessing webservice -

2008-04-08 Thread marioneil
Hi I am getting a SOAP error when accessing a web service. The web service is setup on my local machine using Tomcat/Axis. When I use the Android Web Service API I get a SOAP error "ns1:Client.NoSOAPAction" I am using the SOAP monitor GUI - "TCPMonitor". Below is part of the SOAP fault messag

[android-beginners] Help with Hello Android

2008-04-08 Thread Joe Braga
I am having trouble getting the simple "Hello Android" to run properly on my system. I followed the standard tutorial available here: http://code.google.com/android/intro/hello-android.html. From what I can tell, I followed every step to the T. When I run the app, the Android emulator pops up, ho

[android-beginners] Re: Help with Hello Android

2008-04-08 Thread Dan U.
You need to wait for the emulator to start up. On Apr 8, 8:08 am, Joe Braga <[EMAIL PROTECTED]> wrote: > I am having trouble getting the simple "Hello Android" to run properly > on my system. I followed the standard tutorial available > here:http://code.google.com/android/intro/hello-android.htm

[android-beginners] How to install Android on my PDA

2008-04-08 Thread Jag Linux
Hi Iam looking for resource that will help to install Android on my PDA (Imate Kjam) ? can somebody give me a pointer for it ? or is it possible at all !!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Begin

[android-beginners] Re: Help with Hello Android

2008-04-08 Thread Kobi Cohen-Arazi
On Tue, Apr 8, 2008 at 8:36 AM, Dan U. <[EMAIL PROTECTED]> wrote: > > You need to wait for the emulator to start up. Actually Dan, this is happening quite a lot. Sometimes I'm struggling a lot to have it started correctly. Some workaround includes having the adb daemon killed (using adb kill-ser

[android-beginners] Eclipse stuck at 19%

2008-04-08 Thread Luca Bedogni
Hello on Linux I've got a strange problem. When I try to run my project in Eclipse, it starts fine the emulator, but after that, when launching an application, eclipse remain at 19% of "Launching Delegate", and nothing is shown on the emulator. Any idea? TIA Bedo --~--~-

[android-beginners] Re: Help with Hello Android

2008-04-08 Thread Dan U.
I suppose it could be a problem with the emulator, although it really sounds like it's just taking awhile to start up. I never have problems other than the 19% bug in eclipse and occasionally the emulator reboots. On Apr 8, 9:39 am, "Kobi Cohen-Arazi" <[EMAIL PROTECTED]> wrote: > On Tue, Apr 8, 2

[android-beginners] Re: Eclipse stuck at 19%

2008-04-08 Thread Dan U.
It's been discussed many times here in the groups. It is a bug and I don't think there is a fix out yet. On Apr 8, 9:56 am, Luca Bedogni <[EMAIL PROTECTED]> wrote: > Hello > on Linux I've got a strange problem. When I try to run my project in > Eclipse, > it starts fine the emulator, but

[android-beginners] Re: Eclipse stuck at 19%

2008-04-08 Thread Luca Bedogni
On Tuesday 08 April 2008, Dan U. wrote: > It's been discussed many times here in the groups. It is a bug and I > don't think there is a fix out yet. So I've no chances on getting this working? Thank you --~--~-~--~~~---~--~~ You received this message because you

[android-beginners] Re: Eclipse stuck at 19%

2008-04-08 Thread Dan U.
Just get familiar with killing your eclipse process. I think there was a workaround, but I don't remember the specifics. I think it had something to do with closing your application before you try to deploy it to the emulator again. You might be able to search on one of the android groups to find

[android-beginners] what does this mean ?

2008-04-08 Thread Raul Bocter
Hello, I get a lot of messages like this: DEBUG/(510): removing file '/1207599776368' DEBUG/(510): unable to unlink '/1207599776368' (errno=2) WARN/android.server.am.DeviceMonitor(510): Couldn't delete 1207599776368. DEBUG/(510): removing file '/1207599777942' DEBUG/(510): unable to unlink '

[android-beginners] Re: Help with Hello Android

2008-04-08 Thread Joe Braga
Dan, How long should I wait? I will try it now and just let it sit to see what happens. Thanks for the advice and I will post again if I figure anything out. Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Andro

[android-beginners] Re: Help with Hello Android

2008-04-08 Thread Joe Braga
Ah! I got it to work. I was just being impatient. Thanks for the information everyone. Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginne

[android-beginners] Re: Android Application Error

2008-04-08 Thread Raul Bocter
actualy, it is the other way around. Your object is an EditText and you try to cast it to something else. String maybe ? regards, Raul On Mon, Apr 7, 2008 at 11:50 PM, Dan U. <[EMAIL PROTECTED]> wrote: > > I don't believe that's the problem. Probably you are casting something > to an EditTe

[android-beginners] Re: Android Application Error

2008-04-08 Thread Dan U.
Doh!, yep, you are right. On Apr 8, 11:12 am, "Raul Bocter" <[EMAIL PROTECTED]> wrote: > actualy, it is the other way around. Your object is an EditText and you try > to cast it to something else. String maybe ? > > regards, >Raul > > On Mon, Apr 7, 2008 at 11:50 PM, Dan U. <[EMAIL PROTECTED]

[android-beginners] Re: Eclipse stuck at 19%

2008-04-08 Thread Xavier Ducrohet
Hi, I'm trying to track this problem down, but I have yet to reproduce it. Could you give me the content of the "android" console when it's stuck like this? (I don't update the progress percent so I don't know what 19% is all about) thanks! Xav On Tue, Apr 8, 2008 at 9:56 AM, Luca Bedogni <[EMA

[android-beginners] Re: anyone know how to integrate the Wimax drvier, GSM driver, CDMA2000 modem driver

2008-04-08 Thread morningcat
Understood, thanks. I assume that the drviers for these hardwares are outside of the Android scope, they are more on the HW vendors who develop the C++ drivers for their particular HW(GPS, WiMAX modem, Wifi modem, GSM modem, CDMA modem). Anyone know any particular vendors who have done these dri

[android-beginners] about spinners

2008-04-08 Thread Raul Bocter
Is there a way to elegantly know what was the previous selected item of a spinner when I select an item ? I am thinking here about an event that is triggered before onItemSelected() or something simmilar. regards, Raul --~--~-~--~~~---~--~~ You received this

[android-beginners] Re: Eclipse stuck at 19%

2008-04-08 Thread Dan U.
Xavier, The 19% apparently is just how far eclipse says it gets while doing a deploy of the app to the emulator. I notice Luca is using Linux. I think most of the 19% problems have been on Windows. Have you been able to reproduce this on Windows? On Apr 8, 11:27 am, "Xavier Ducrohet" <[EMAIL PRO

[android-beginners] Re: Eclipse stuck at 19%

2008-04-08 Thread Rahul
i'm actually getting the exact same problem on eclipse running on vista. it was like this for me yesterday but it hasnt been a problem for me today On Apr 8, 1:27 pm, "Xavier Ducrohet" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to track this problem down, but I have yet to reproduce it. > Co

[android-beginners] openFileOutput questions / clarifications

2008-04-08 Thread Kevin Tan
hi, I have been reading the android file storage and content provider documentations and have few questions that was unanswered. I did a few searches alternating around the words ' android file storage methods' and can the only result that i find useful is the documentation that i have been readi

[android-beginners] Re: Eclipse stuck at 19%

2008-04-08 Thread DotNetCode
I have windows XP and it happens every now and then. To save time I have been using adb to push it to emulator and run it outside eclipse. On Apr 8, 2:57 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > Xavier, > > The 19% apparently is just how far eclipse says it gets while doing a > deploy of the ap

[android-beginners] Re: openFileOutput questions / clarifications

2008-04-08 Thread Dan U.
1. Should be /data/data/com.organization.android.app.myapplication/ files/test.txt 2. I think it is possible to use normal file i/o code (by normal, I mean not using openFileOutput) to do this. 3. There isn't anything stopping another app from reading it. 4. I found this: http://blogs.sun.com/m

[android-beginners] Re: anyone know how to integrate the Wimax drvier, GSM driver, CDMA2000 modem driver

2008-04-08 Thread tim jones
Drivers are usually not done in C++ because using C++ then compiling the code does not allow direct access to the hardware, thus drivers are usually written in assembly. Assembly usually has more direct access to the hardware where C++ cannot, but again this also depends on the OS. Even assembly c

[android-beginners] Re: Error when Accessing webservice -

2008-04-08 Thread Megha Joshi
Hi, You may want to look at the working sample for using ksoap webservices posted in this thread: http://groups.google.com/group/android-developers/msg/bef2527a3b9c3fd5 Thanks, Megha On Tue, Apr 8, 2008 at 7:10 AM, marioneil <[EMAIL PROTECTED]> wrote: > > Hi > > I am getting a SOAP error when a

[android-beginners] Re: openFileOutput questions / clarifications

2008-04-08 Thread Kevin Tan
Thank you for your reply. I have a few more questions. > 1. Should be /data/data/com.organization.android.app.myapplication/ > files/test.txt When I am implementing the contentprovider for myapplication, the path of a file in the database will be this? Or should I use relative addressing? > 3. Th

[android-beginners] cant find a popupwindow tutorial

2008-04-08 Thread Rahul
i am having trouble working with popupwindows.. where can i find an tutorial of how to use it, or an example --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email

[android-beginners] Re: Eclipse stuck at 19%

2008-04-08 Thread sacoskun
Hello, I also sometimes(rarely) face with that problem, but in my opinion there is something that mismatches between Eclipse and the emulator while loading many .apks. I am using many Linux boxes but interestingly only faced with this similar situation on lower memory ones. The reason could be t

[android-beginners] Re: openFileOutput questions / clarifications

2008-04-08 Thread Dan U.
I think you should use relative addressing. As I recall, the files location for your application is not set in stone. It may change. A content provider is a way to give access to your data from other applications or let your data access other applications data. I suppose since the MODE_WORLD_READ

[android-beginners] Re: gallery - how to make it completely fill screen?

2008-04-08 Thread Selmi
i tried to do int screenWidth=getWindowManager().getDefaultDisplay().getWidth(); gallery.scrollBy(width/2,0); logically i assumed that this will scroll gallery half a screen away so it will fill width of screen completely - but it scrolled too much. in fact almost to the end of gallery. any idea

[android-beginners] audio/video playing

2008-04-08 Thread Squid
Hello, Does anyone know if we can play audio and/or video with Android? for example, can i listen to online lectures, watch youtube using Android browser, or write a program to download audio/video file, and play them in an android application? I tried to browse to some online lecture notes and yo

[android-beginners] Re: cant find a popupwindow tutorial

2008-04-08 Thread Marc
If you are looking for alert dialog boxes, refer http://www.handandaily.com/android/docs/kb/commontasks.html#opennewscreen There is a nice sample coming with android sdk in android-sdk_m5- rc15_windows\samples\ApiDemos\src\com\google\android\samples\app \AlertDialogSamples.java regards, Marc O

[android-beginners] Re: openFileOutput questions / clarifications

2008-04-08 Thread Kevin Tan
For this application in the package com.organization.android.app.myapplication, how do i setup a relative path for the test.txt i created with openFileOutput on android? is it "//files/test.txt"? On Apr 8, 6:18 pm, "Dan U." <[EMAIL PROTECTED]> wrote: > I think you should use relative addressing.

[android-beginners] Re: openFileOutput questions / clarifications

2008-04-08 Thread Dan U.
Well, if you just want to store files in the applications "files" dir, then you'd just need to store "test.txt" and use that with openFileInput. You don't need to have the "files" directory stored. In fact, I wouldn't be surprised if that directory name were to change in a future sdk. It all depen

[android-beginners] about package.org.apache

2008-04-08 Thread Analdin Judy
Hi, Can anybody please tell me What is the use of package.org.apache. Thanks judy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginne

[android-beginners] What kind of text file can android read?

2008-04-08 Thread JamesKim
Is there any basic reader software in android? If 'yes', what kind of text file is accepted? For example, '.doc', '.txt'. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this grou

[android-beginners] problem in overriding onkeydown method of gallery

2008-04-08 Thread Neelesh Jain
Hi I am trying to create an application in which I am implementing gallery and checkbox. Now my need is that whenever I click on either right or left arrow key, image should be changed and simultaneously I want to change the state of checkbox. I tried to override onkeydown method but on righ