[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: Layout screen TextView/ Button/ ListView/ /LayoutScreen So, I did a lot of

[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] 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 hakim...@gmail.com 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

[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

[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] Re: Is there a way to force the application not keep running after close it?

2011-01-17 Thread Sergio Luceno
, Sergio Luceno slucen...@gmail.com wrote: 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

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

2011-01-17 Thread Sergio Luceno
, Sergio Luceno slucen...@gmail.com wrote: 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

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

2011-01-17 Thread Sergio Luceno
) or WakefulIntentService (Mark Murphy's enhanced version, Google for it). -- Kostya 2011/1/17 Sergio Luceno slucen...@gmail.com 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

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

2011-01-17 Thread Sergio Luceno
. For the actual updates, take a look at IntentService (part of SDK) or WakefulIntentService (Mark Murphy's enhanced version, Google for it). -- Kostya 2011/1/17 Sergio Luceno slucen...@gmail.com Hi! My application has to be syncronized every 5 minutes against a server. I

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

2011-01-17 Thread Sergio Luceno
issue: http://developer.android.com/guide/topics/manifest/activity-element.html set clearTaskOnLaunch to true. -- Kostya 2011/1/17 Sergio Luceno slucen...@gmail.com I wanna do that, because I have a task running on background. And i wanna stop it when the application is closed

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

2011-01-17 Thread Sergio Luceno
, 16:49, Kostya Vasilyev kmans...@gmail.com 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 slucen...@gmail.com Hi! I tried to set up

[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: ActivityGroup, when i press back the activity does not reload itself...

2011-04-20 Thread Sergio Luceno
. On Apr 20, 3:05 pm, Sergio Luceno slucen...@gmail.com wrote: 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

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

2011-04-20 Thread Sergio Luceno
                        /FrameLayout                 /FrameLayout            /LinearLayout      /TabHost     FrameLayout android:id=@+id/status_bar         /FrameLayout /LinearLayout On Apr 20, 4:42 pm, Sergio Luceno slucen...@gmail.com wrote: m I had the activity builded with a tabhost, but I

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

2011-04-21 Thread Sergio Luceno
transition from one activity to another? On 20 abr, 20:16, Sergio Luceno slucen...@gmail.com wrote: Thanks! I will try it out tomorrow! On 20 abr, 11:17, Zsolt Vasvari zvasv...@gmail.com wrote: A TabHost children are shown/hidden as you flip tabs.  If you are building an iPhone clone