[android-developers] Re: ActivityGroup, when i press back the activity does not reload itself...

2011-04-20 Thread Sergio Luceno
doing transition from one activity to another? On 20 abr, 20:16, Sergio Luceno wrote: > Thanks! > > I will try it out tomorrow! > > On 20 abr, 11:17, Zsolt Vasvari wrote: > > > > > > > > > A TabHost children are shown/hidden as you flip tabs.  If you are

[android-developers] Re: ActivityGroup, when i press back the activity does not reload itself...

2011-04-20 Thread Sergio Luceno
t"> > >                         > >                                                                                   > android:layout_width="match_parent" >                                                           > android:layout_height="match_parent"

[android-developers] Re: ActivityGroup, when i press back the activity does not reload itself...

2011-04-20 Thread Sergio Luceno
;s for the pages. > > On Apr 20, 3:05 pm, Sergio Luceno wrote: > > > > > > > > > Hi everybody! > > > I have a tabhost on my application and I'm using an Activity group > > which handles 3 activities inside. > > > Example:

[android-developers] ActivityGroup, when i press back the activity does not reload itself...

2011-04-20 Thread Sergio Luceno
Hi everybody! I have a tabhost on my application and I'm using an Activity group which handles 3 activities inside. Example: ActivityGroup Handles A -> B -> C When i start this activities i'm using the flag Intent.FLAG_ACTIVITY_CLEAR_TOP. My problem is when the user goes from A->B->C and press

[android-developers] Re: Is there a way to force the application not keep running after close it?

2011-01-17 Thread Sergio Luceno
Vasilyev wrote: > It only needs to be set on your "main" activity, the one you want the user > to come back to. > > And it's not "finishTaskOnLaunch", it's "clearTaskOnLaunch". > > -- Kostya > > 2011/1/17 Sergio Luceno > > > >

[android-developers] Re: Is there a way to force the application not keep running after close it?

2011-01-17 Thread Sergio Luceno
with them. > > For your second issue: > > http://developer.android.com/guide/topics/manifest/activity-element.html > > set clearTaskOnLaunch to true. > > -- Kostya > > 2011/1/17 Sergio Luceno > > > > > > > > > I wanna do that, because I have a tas

[android-developers] Re: Best way to schedule a task?

2011-01-17 Thread Sergio Luceno
ess is "alive", which may > > not > > > be a good thing. > > > > Use AlarmManager for scheduling - it can wake the phone up (if you need > > > this) and will reload the process if it was kicked out of memory. > > > > For the actual updates

[android-developers] Re: Best way to schedule a task?

2011-01-17 Thread Sergio Luceno
dates, take a look at IntentService (part of SDK) or > WakefulIntentService (Mark Murphy's enhanced version, Google for it). > > -- Kostya > > 2011/1/17 Sergio Luceno > > > > > > > > > Hi! > > > My application has to be syncronized every 5 minut

[android-developers] Re: Is there a way to force the application not keep running after close it?

2011-01-17 Thread Sergio Luceno
. On 17 ene, 11:55, Kumar Bibek wrote: > Why would you try to do that? The OS would get rid of it whenever it feels > necessary. ie, whenever, the device runs low on memory. > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > > > > > > > On

[android-developers] Re: Is there a way to force the application not keep running after close it?

2011-01-17 Thread Sergio Luceno
. On 17 ene, 11:55, Kumar Bibek wrote: > Why would you try to do that? The OS would get rid of it whenever it feels > necessary. ie, whenever, the device runs low on memory. > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > > > > > > > On

[android-developers] Best way to schedule a task?

2011-01-17 Thread Sergio Luceno
Hi! My application has to be syncronized every 5 minutes against a server. I have to schedule a HTTP call to my server to get sync. What is the best way to achieve that? Now I tried to make a timer with a handler. I'm passing a message every 5 minutes to execute my action. Thanks in advance. -

[android-developers] Is there a way to force the application not keep running after close it?

2011-01-17 Thread Sergio Luceno
Hi all, Is there a way to force the application not keep running after close it? When the user closes de applications, it always is running memory. Is it possible to define some at the manifest to force the app to be removed from the memory? I was trying to find out some parameter at the manife

[android-developers] Re: How can I achieve this menu in android?

2010-12-30 Thread Sergio Luceno
Thanks both of you! Today I'm starting to implement it. Thanks a lot! On 30 dic, 08:25, Muhammad Hakim wrote: > you can user > framelayouthttp://developer.android.com/resources/articles/layout-tricks-merge.html > > On Thu, Dec 30, 2010 at 12:27 PM, Sarwar Erfan wrote: > > > > > > > > > > > Its

[android-developers] How can I achieve this menu in android?

2010-12-28 Thread Sergio Luceno
I saw that a lot of applications has a menu at the bottom. A menu wich is always visible. Here you can find an example: http://www.droid.net.au/wp-content/uploads/2010/04/Touiteur-main-screen-more.png or http://www.android.com/market/data/screenshots/com.cuisiner1.png I tried to do this, with a

[android-developers] List View inside a Layout

2010-12-28 Thread Sergio Luceno
Hi all.. What I want to do is: I have a layout with some textviews and buttons. I want to add to this layout a simple listView with a String, i mean. a simple ListView not a custom one. this is my layout more or less: So, I did a lot of google, but all the examples that i found is for an