Ah, ok, thanks, I'll see the example of the documentation.
On 16 mar, 18:09, TreKing wrote:
> On Tue, Mar 16, 2010 at 1:05 PM, LeGeNDuS wrote:
> > What happens to it?
>
> If this is you exact code, you're running everything in the UI thread, which
> means the dialog
On 16 mar, 18:09, TreKing wrote:
> On Tue, Mar 16, 2010 at 1:05 PM, LeGeNDuS wrote:
> > What happens to it?
>
> If this is you exact code, you're running everything in the UI thread, which
> means the dialog gets shown and subsequently closed before it actually gets
Hello!
I want to use this to put while is doing a heavy operation. Here's the
code:
ProgressDialog PD = ProgressDialog.show(History.this, "", "Deleting,
please wait");
for (int i=0;ihttp://groups.google.com/group/android-developers?hl=en
UP
On 3 mar, 11:44, LeGeNDuS wrote:
> Hello, I'm trying toadda contact on the phone memory. The code I'm
> using is:
>
> ContentValues values = new ContentValues();
> values.put(Contacts.People.NAME, "Dummy Contact");
> U
For the moment... I have the first problem fix thanks to the
sharedprefrences and teh second one with removedialog
Even so, I would like, if you want it, how I'll should do with that
problems...knowing the last messages I have put
On 9 mar, 19:36, LeGeNDuS wrote:
> Maybe I shouldn
Maybe I shouldn't use the builder...could it be the problem of the
data loosing? :S
On 9 mar, 19:25, LeGeNDuS wrote:
> Thanks!
>
> I have been trying onPrepareDialog...and well...what I see is that it
> put the info for the first time, but when I change the orientation the
>
. But I
have not found other choice
.
On 9 mar, 18:16, TreKing wrote:
> On Tue, Mar 9, 2010 at 4:48 AM, LeGeNDuS wrote:
> > classcodecategory and classtexout are fields of the class. I suppose
> > that the problem is thatwhen I change the orientation...it only
> > k
indicate explicitly to close the previous dialog to force using
onCreateDialog at activity.showDialog... is it right? how can I do it?
On 8 mar, 17:27, TreKing wrote:
> On Mon, Mar 8, 2010 at 11:02 AM, LeGeNDuS wrote:
> > When I show it for first time it's showed fine, but whe
Apart of that...when I pass to other activity and come again to this
one, I need to show again this dialog, but modified, and it always
show the first dialog....
On 5 mar, 12:04, LeGeNDuS wrote:
> Hello!
>
> I'm doing an APP that shows some dialogs. Those dialogs are Alert
> di
log and it only supports oneshould I use global
variables?...
On 5 mar, 12:04, LeGeNDuS wrote:
> Hello!
>
> I'm doing an APP that shows some dialogs. Those dialogs are Alert
> dialogs, and when they are being showed if I change theorientationof
> the mobile I lost them...
log and it only supports oneshould I use global
variables?...
On 5 mar, 16:44, TreKing wrote:
> On Fri, Mar 5, 2010 at 6:04 AM, LeGeNDuS wrote:
> > is there anyway to fix this?.
>
> If you use Activity.showDialog() to show your dialogs, the activity will
> manage them for y
Hello!
I'm doing an APP that shows some dialogs. Those dialogs are Alert
dialogs, and when they are being showed if I change the orientation of
the mobile I lost them...they are not being kept on the screen. is
there anyway to fix this?.
Thank you so much
--
You received this message because yo
Hello!
I'm App I'm doing I try to do some operations that are not very fast,
and I want to add a progress dialog...
I have the next code:
ProgressDialog progressDialog =
ProgressDialog.show(History.this, "",
Hello, I'm trying to add a contact on the phone memory. The code I'm
using is:
ContentValues values = new ContentValues();
values.put(Contacts.People.NAME, "Dummy Contact");
Uri myUri = getContentResolver().insert(People.CONTENT_URI,
values);
values.clear();
UP
On 21 feb, 16:56, LeGeNDuS wrote:
> Hi, thanks for your help, but unfortunatelly it dones't work...
>
> in this line:
>
> Uri uri =
> Contacts.People.createPersonInMyContactsGroup(getContentResolver(),
> values);
>
> I get a Security Exception on the ViewRoot
Thank you so much for both answers. Very interesting. Finally I have
used the SharedPreferences to do this. It works perfectly...like I
want.
On 21 feb, 18:27, TreKing wrote:
> On Sun, Feb 21, 2010 at 11:03 AM, LeGeNDuS wrote:
> > Last one's settings are defined by user, and whe
Hello, I'm doing an APP that has some activities. To situate, I say
you that I have one main activity, when it starts. And another
activities that are not always used. But when some of them are used I
want to save some of parameters that the user can define from these
activities.
But when, those
hones.TYPE_MOBILE);
> values.put(People.Phones.NUMBER,
> String.valueOf(baseNumber + i));
> getContentResolver().insert(newContact, values);
>
> Hope this helps.
> Thanks,
> Ravi
>
> On Feb 18, 12:43 am,LeGeNDuS wrote:
>
>
>
> &g
version of the SDK, what device.
>
>
>
> On Wed, Feb 17, 2010 at 11:15 AM, LeGeNDuS wrote:
> > Thanks...I have added this permission:
>
> >
>
> > And now..it doens't stop, but I don't see the contact anywhere...
> > here's the code:
>
&
Thank you so much!, it works perfectly ;)
On 17 feb, 18:45, Mark Murphy wrote:
> LeGeNDuS wrote:
> > Hello, I want to pass a String like the input of a new activity, to
> > let this one use the String some operations. The code I try is this...
>
> > Intent i2 = new Intent
mitri Plotnikov wrote:
> Does your app request permission to write to contacts?
>
> On Feb 17, 2010 4:11 AM, "LeGeNDuS" wrote:
>
> Hello, I'm trying this code and it's getting stopped in the
> getContentResolver statement
>
> ContentValues va
Hello, I want to pass a String like the input of a new activity, to
let this one use the String some operations. The code I try is this...
Intent i2 = new Intent(this, SaveContact.class);
i2.putExtra("contactcode", result);
startActivityForResult(i2, 2);
And in the activity I try to recover it:
Hello, I'm trying this code and it's getting stopped in the
getContentResolver statement
ContentValues values = new ContentValues();
values.put(People.NAME, "hola");
Uri uri = getContentResolver().insert(People.CONTENT_URI,
values);
What am I doing bad?
Thanks!
--
Hello, I want to develop an APP that use the cameras and it's always
running taken the preview images to analyze them. But, I don't want it
analyze all of them; I only want that it goes to analyze in all of the
frames when the camera is autofocused there is any way to know it
(apart of using Au
thanks for all!, I have seen why it doesnt work...
android:debuggable=true lacked in the manifiest, now it works (I
didn't know it was neccesary...)
On 29 dic, 18:32, LeGeNDuS wrote:
> Hello!, thanks for the answers.
>
> Yes I have enbled the USB debugging. My device is a HTC
On 28 dic, 08:41, sunit nair wrote:
> please check if u have enabled the USB debugging option on the device.
>
>
>
>
>
> On Mon, Dec 28, 2009 at 5:38 PM, Frank Weiss wrote:
> > Please give details about your device and how you connect to it for
> > debbing.
>
Yes I have done it, but it doesn't work, it only stops on the
breakpoints when I use the emulator, but in the device, it seems like
it would be running (run...).
On 24 dic, 22:55, Frank Weiss wrote:
> Have you set a breakpoint in your code? Double-click in the left margin of
> the code at the lin
I had open this one:
http://groups.google.com/group/android-developers/browse_thread/thread/f28349946b187bb0/aa829ca9ccb879d9?lnk=gst&q=jose+evora#aa829ca9ccb879d9
But now, I can't asnwer in that post. I says to me that "it has been
published" (my message) But it's not true, because I have tried
28 matches
Mail list logo