[android-developers] Returning to previous screen after receiver activity.

2011-04-13 Thread arnoldl
Hello ... I have a app that has a activity that can be started from the start menu and a activity that is strated by a intent receiver. Now on boot , if the receiver is called , the activity is started...after backing out of this activity user returns to previous screen (could be home or

[android-developers] Does alarmmanager use ordered broadcasts?

2010-08-12 Thread arnoldl
Hello all, I'm trying to figure out if a system event broadcast is broadcasted using ordered broadcast or normal.. The event is EVENT_REMINDER and in the source for the calendarprovider i noticed it sets up a alarmmanager to sent the broadcast. I can't find how the alarmmanager sends it. My

[android-developers] Finalizing a Cursor that has not been deactivated or closed non-fatal error

2010-06-13 Thread arnoldl
Hello all, i'm getting a Finalizing a Cursor that has not been deactivated or closed error on this piece of code. The code is used to fill a listview. Since it's a non-fatal error , there is no crash and all works fine..but i don't like a error. If i close the cursor at the end of this code..the

[android-developers] how to test if app is installed on sd

2010-06-13 Thread arnoldl
Hello .. With froyo users can move a app to the sd card... How can i test if my app is on internam memory or on sd? thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Froyo-Problem: Calendar access

2010-05-28 Thread arnoldl
Adam you're my hero of the day :-) On 26 mei, 18:01, Adam Jensen acjen...@gmail.com wrote: Here are the URI and package name changes between 2.1 and 2.2: -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Using Android Calendar ContentProvider.

2010-05-26 Thread arnoldl
Does that really mean the most usefull apps and widgets won't work anymore Is there a valid way to read write to the calendar OFFLINE ?? By the way , when can we expect the source of froyothen we can look what really changed in the calendar... On 26 mei, 17:59, Mark Murphy

[android-developers] app keeps halting in SQLiteCursor.class

2010-05-25 Thread arnoldl
Hello all , I made a app, It runs fine on emulator and phone , But when started from eclipse in debug mode , it keeps halting in SQLiteCursor.class (Source Not Found). When pressing the small run button , executing it contineuned and all works fine... This randomsly happens..some times

[android-developers] reenableKeyguard() without direct locking

2010-04-19 Thread arnoldl
I'm building a app wich wakes and unlock's the phone on a event. This works fine.. only when leaving the activity (or when a timer runs out..for when there's nobody around) i use reenableKeyguard() to restore the keylock to origenal state... but then it locks directly i would like the

[android-developers] Re: newline in toast text

2010-04-13 Thread arnoldl
i have no idea , why that didn't work before when i tried it and now it doesbut thanks On 12 apr, 18:37, Jason LeBlanc jasonalebl...@gmail.com wrote: line1\nline2 On Mon, Apr 12, 2010 at 3:50 AM, arnoldl arn...@fortuin.nl wrote: i'm trying to display a toast...that works. but i can't

[android-developers] newline in toast text

2010-04-12 Thread arnoldl
i'm trying to display a toast...that works. but i can't find how to start a newline..so that it looks better. Toast toast = Toast.makeText(this,line1+ '\n' + line2 , Toast.LENGTH_LONG); isn't working. any ideas's -- You received this message because you are subscribed to the Google Groups

[android-developers] add calendar_alerts error.

2010-04-07 Thread arnoldl
Hello all, i'm trying to add a new record to the calendar_alert table..just as is done when creating a new event with alarm or snoozing a event. values = new ContentValues(); values.put( event_id, 4 ); values.put( begin, beginTime); values.put( end, endTime);

[android-developers] view list of extra's for a intent

2010-03-24 Thread arnoldl
i'm trying to find out what extra's there are for a specific intent.. in the eclipse debug window i can see it has extra's , but i can''t find a list of those extra's. I also can't find a function to get all extra's into a human readable format. thanks.. -- You received this message because

[android-developers] Re: view list of extra's for a intent

2010-03-24 Thread arnoldl
Exactly what i was looking for!! THANKS! On 24 mrt, 22:00, String sterling.ud...@googlemail.com wrote: On Mar 24, 7:48 pm, arnoldl arn...@fortuin.nl wrote: in the eclipse debug window i can see it has extra's , but i can''t find a list of those extra's. I also can't find a function

[android-developers] Building the sdk (.jar file) with calendar app

2010-02-18 Thread arnoldl
Hello all, newbie question... I want my android.jar to include the calendar provider class..this is not in the normal .jar It's hidden for the sdk build by @hidden lines in the source. i have read somewhere that by removing some @hidden's i can build a android.jar with the calendar class.. But i

[android-developers] Re: Building the sdk (.jar file) with calendar app

2010-02-18 Thread arnoldl
... but that's a little bit time consuming :-) If it's possible without to much problems , it would help me out. On 18 feb, 20:30, Mark Murphy mmur...@commonsware.com wrote: arnoldl wrote: I want my android.jar to include the calendar provider class. Please don't do