[android-developers] the best way to get the activity's objects

2012-02-13 Thread leslie.karpati
Hi, I have an activity and lot of helper class. A would like to access to an object that created in the activity. For example I want to access from a helper class to a service that created in the activity. Ther is 3 way: 1.: use static objects (Is it not ugly if it is not a primitve?) 2.: send

[android-developers] Re: the best way to get the activity's objects

2012-02-13 Thread leslie.karpati
I'am just asking it generality: If I would like to access to a non primitive object, like an instance of my own defined class. On febr. 13, 17:59, TreKing treking...@gmail.com wrote: On Mon, Feb 13, 2012 at 7:59 AM, leslie.karpati leslie.karp...@gmail.comwrote: which is the best way? Best

[android-developers] Re: the best way to get the activity's objects

2012-02-13 Thread leslie.karpati
ok, thanks! On febr. 13, 19:22, raju iloveindia@gmail.com wrote: unsubscribe me please \ On Mon, Feb 13, 2012 at 7:29 PM, leslie.karpati leslie.karp...@gmail.comwrote: Hi, I have an activity and lot of helper class. A would like to access to an object that created

[android-developers] Re: onResume start a duplicated activity

2012-02-05 Thread leslie.karpati
now it is looks like i found the solution. I am just add android:launchMode=singleInstance to my Activity in the Mainfest.xml. Thanks, Leslie On febr. 2, 02:46, leslie.karpati leslie.karp...@gmail.com wrote: Hi, You are right, the Eclipse launch is really makeing some mess: I have two

[android-developers] onResume start a duplicated activity

2012-02-01 Thread leslie.karpati
Hi! I'am writing an online radio streamer application. It's working very well (activity-bind service-notificiation bar, ...etc), but sometimes when I go back to the UI (ex.: click to the application icon from the menu, when the service and the activity are already running - onResume) it's start

[android-developers] Re: onResume start a duplicated activity

2012-02-01 Thread leslie.karpati
, baseIntent,                  PendingIntent.FLAG_UPDATE_CURRENT); -- Kostya On 02/02/2012 02:25 AM, leslie.karpati wrote: Hi! I'am writing an online radio streamer application. It's working very well (activity-bind service-notificiation bar, ...etc), but sometimes when I go back

[android-developers] overwrite file in drawables folder

2011-07-20 Thread leslie.karpati
Hi! Is there a way to get an image from a server and overwrite it in the res/drawable folder? Thanks, Leslie. -- 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@googlegroups.com To

[android-developers] Re: overwrite file in drawables folder

2011-07-20 Thread leslie.karpati
:( thank you! On Jul 20, 3:18 pm, Mark Murphy mmur...@commonsware.com wrote: No. Resources are read-only at runtime. You can download an image and use it (e.g., via BitmapFactory), but you cannot replace an existing resource. On Wed, Jul 20, 2011 at 8:02 AM, leslie.karpati

[android-developers] google calendar api on android

2011-07-12 Thread leslie.karpati
Hi, I'm started to use the Google Calendar Api and now I'm ok with the authetication, get the calendar list, rename the calendars, and add event with specified time and title to a selected calendar. I'm started to use the model from the calendar-v2-atom-android-sample

[android-developers] google calendar api

2011-07-12 Thread leslie.karpati
Sziasztok, van valakinek tapasztalata a google calendar api használatára androidon? -- 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@googlegroups.com To unsubscribe from this group,

[android-developers] Re: calendar set repeat for an event

2011-07-11 Thread leslie.karpati
wrote: http://code.google.com/apis/calendar/ On Thu, Jul 7, 2011 at 4:59 PM, leslie.karpati leslie.karp...@gmail.com wrote: Thanks! Where can I find a how to for that? Leslie. On júl. 7, 05:54, TreKing treking...@gmail.com wrote: On Tue, Jul 5, 2011 at 3:25 PM, leslie.karpati

[android-developers] Re: calendar set repeat for an event

2011-07-08 Thread leslie.karpati
Thanks! Where can I find a how to for that? Leslie. On júl. 7, 05:54, TreKing treking...@gmail.com wrote: On Tue, Jul 5, 2011 at 3:25 PM, leslie.karpati leslie.karp...@gmail.comwrote: How could I add this function? Use the official online Google Calendar API

[android-developers] calendar set repeat for an event

2011-07-06 Thread leslie.karpati
Hi! I'm writing an application. It add some event to the google calendar, with the following function: ContentValues event = new ContentValues(); event.put(calendar_id, calId); event.put(title, EventDisc); event.put(description, Reminder);