[android-beginners] Re: Scheduler or cron in android

2009-08-31 Thread lorenz
why I wrote a class that bootstraps the whole thing (Bootstrapper). This class I either call when the user opens NetSentry for the first time or when the phone reboots (look at the android.intent.action.BOOT_COMPLETED intent). Hope this helps. Cheers, Lorenz On Aug 27, 12:18 pm, debuti deb

[android-beginners] Re: AlertBuilder and Handler Problem

2009-08-06 Thread Lorenz
Thanks it works!!! On 5 Ago, 18:45, Balwinder Kaur (T-Mobile) balwinder.k...@t- mobile.com wrote: If you user the Looper and another handler to your class F, it would work. Code marked with //NEW class F extends Thread{     Context context;     TextView statusField;     Handler

[android-beginners] Re: GPS location does not work on real device

2009-08-05 Thread Lorenz
Have you tried to put in the manifest file the necessary permission?? uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION/uses- permission uses-permission android:name=android.permission.ACCESS_FINE_LOCATION/uses- permission On 30 Lug, 07:35, zhen leowz...@gmail.com wrote:

[android-beginners] AlertBuilder and Handler Problem

2009-08-04 Thread Lorenz
Hi, I have a problem, I want to create an Alert Builder in a thread started by tha main activity.This Builder should be a multiple choiche. The code is: public class C extends Activity { private PrintWriter savedpoint; private Context context = this; private TextView

[android-beginners] Re: AlertBuilder and Handler Problem

2009-08-04 Thread Lorenz
, 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 USA, Inc. On Aug 4, 5:48 am, Lorenz lorenzoteod...@gmail.com

[android-beginners] Command for exit froma an application

2009-07-31 Thread Lorenz
Hi , I'm realizing an application in Android .I want to use a botton(like EXIT) to exit from this application, namely when I push this botton I want return in the main menu of the phone.. is there any way to do this action? Thanks --~--~-~--~~~---~--~~ You received

[android-beginners] Re: Read a file

2009-07-29 Thread Lorenz
michaelchi...@gmail.com wrote: I found a thread about writing files. http://www.anddev.org/working_with_files-t115-s30.html Would it be helpfule for you? On Wed, Jul 29, 2009 at 2:59 AM, Lorenz lorenzoteod...@gmail.com wrote: Hi , I've some problem reading a file. First of all I've

[android-beginners] Read a file

2009-07-28 Thread Lorenz
Hi , I've some problem reading a file. First of all I've created a new file ,and from the FileExplorer of Eclipse I'm able to find it but I can't open it and read it(it seems also that the file Datacoord.dat is empty, as a matter of fact the size showed by the FileExplorer is 0). However I want

[android-beginners] Problem: connect to a server

2009-07-28 Thread Lorenz
Hi to everyone, I want to connect my Android application to a server through a thread but it doesn't work, as a matter of fact the server doesn't answer. My code is: import java.io.IOException; import android.app.Activity; import android.content.Context; import android.os.Bundle; import

[android-beginners] Re: Problem: connect to a server

2009-07-28 Thread Lorenz
=android.permission.INTERNET / To your manifest file. Try it works Cheers Ash -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Lorenz Sent: 28 July 2009 18:15 To: Android Beginners Subject: [android-beginners]Problem: connect

[android-beginners] Re: Hessian Binary protocol, Seam and Android

2009-06-05 Thread lorenz
Hi Charlie There was a discussion about how to transfer data to/from an android device on the Android Developers group which you might want to have a look at: http://groups.google.com/group/android-developers/browse_thread/thread/e35414d3f9f35d96/1c417d6257755e70 Cheers, Lorenz On Jun 3, 6:36

[android-beginners] Re: Android on Ubunty 9.04

2009-05-26 Thread lorenz
I don't know about the 64-bit edition, but I also did have connection problems with Ubuntu 9.04 32-bit (after renaming the rules file) and they got solved by using a different USB port (try one at the back of your pc). However, actually my problem was, that the phone would disconnect very often

[android-beginners] Eclipse Error: SWT on ubuntu (amd turion )64 bit

2009-05-05 Thread Lorenz
the workbench. .. Now I've ridden some blogs and I've understood that the problem is in SWT that doesn't support 64bit architecture. What shall I do? Please answer in a simple. Lorenz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Re: Calendar.MONTH returns always 1 (January)

2009-02-27 Thread lorenz
;-) Lorenz On Feb 27, 2:04 am, xerberus bastian.seiff...@gmail.com wrote: I try to get the current month with the following code : Calendar c = Calendar.getInstance(); mYear = c.get(Calendar.YEAR); mMonth = c.get(Calendar.MONTH); The only result I receive for month is 1 (January). The Year value

[android-beginners] Re: Newbie doubt here! Please advise.

2009-02-20 Thread lorenz
;-) Lorenz On Feb 19, 10:50 pm, Vijay vij...@gmail.com wrote: Hi, I just started programmind an application using Eclipse for Android. I am creating 2 screens. 1st screen: Has a text and a button which onClick -- takes you to the 2nd screen. 2nd screen: Has a text and a button which