Android :: Activities And Tasks ?

Jul 3, 2009

I had a question regarding this concept. Suppose i have an application that defines a task. This task has some activities that belong to another Android application. The Dev guide says, that to maintain a uniform user experience, Android will maintain such 'distributed' activities as part of the same 'task' even if they belong to different applications.

I refer to it from here: http://developer.android.com/guide/topics/fundamentals.html

Some lines later, the Dev guide says and i quote: * * *"**Suppose, for instance, that the current task has four activities in its stack — three under the current activity. The user presses the HOME key, goes to the application launcher, and selects a new application (actually, a new task). The current task goes into the background and the root activity for the new task is displayed. The current task goes into the background and the root activity for the new task is displayed. Then, after a short period, the user goes back to the home screen and again selects the previous application (the previous task). That task, with all four activities in the stack, comes forward. When the user presses the BACK key, the screen does not display the activity the user just left (the root activity of the previous task). Rather, the activity on the top of the stack is removed and the previous activity in the same task is displayed."*

I think "three under the current activity" should be "four under the same task".

I think this paragraph i quote above has nothing to do with activities distributed across applications..and belonging to the same task. This para is maybe talking about two applications, that share a common application launcher and each application has defined its own tasks (stack of activities).

The user is simply toggling from one application to another, thus demonstrating that all activities (of a task) move together. However, the "three under the current activity" phrase is confusing me.

Android :: Activities and Tasks ?


Android :: Instantiating Activities Into New Tasks / Processes

Jul 28, 2010

I have an application with a multi-instance activity. I would like each instance of the activity to appear in a new task and process. Any suggestions on how to do this? By manipulating the manifest I can cause all instances of the activity to appear in a specific task and
process, but I haven't found any way to cause each instance to appear in a different task and process.(The requirement to have different tasks is that we want each instance of the activity to appear separately in the task list; the requirement for different processes is that each instance of the activity is backed by a chunk of native code with global state. We can't change either of these.)

View 1 Replies View Related

Android :: Relationships Among Apps - Tasks And Activities

May 2, 2009

I am trying to understand the interactions among apps, processes, activities, and tasks. After reading 'Application Fundamentals' many times, I wrote a tiny piece of code with three different activities.

Here's my manifest file:

CODE:....

The AppRootActivity starts ChildActivityOfRoot which in turn starts SingleTaskActivity.

Since 'SingleTaskActivity' is marked with 'singleTask' launchMode I expected two different tasks with the following activity sets: Task1 --> AppRootActivity - ChildActivityOfRoot Task2 --> SingleTaskActivity

However, I was surprised to see all three activities running in the same task. This doesn't change even if I use Intent.FLAG_ACTIVITY_NEW_TASK flag in the intent used to activate 'SingleTaskActivity'. I use the getTaskId() to determine the task the activity is running.

IMO this behavior is not at all apparent from the documentation.

View 6 Replies View Related

Android :: Switching Activities / Passing Data Between Activities

Jun 30, 2010

how to call BarCodeScanner, and return the value to a field.so now, i have a toast that says "successful scan" and then i want to pass the result to a new activity. when i comment out my intent, everything works (minus the passing of data/switching of screen, obviously) but when i run my project as is, it FC's no errors reported by eclipse in code or xml. any insights?

View 2 Replies View Related

Android :: Best App For Tasks / Reminders

Aug 23, 2010

What is the best performing app to set a reminder to do something? Not an appt, but just to remember to do. a task list or todo app that shows up on the home screen. For instance, I need to remember to bring something to work for tomorrow. Or, like, remember to buy eggs on the way home. On previous non android phones, it had the task list showing on the home screen.

View 6 Replies View Related

Android :: App Similar To G Tasks?

Sep 9, 2010

I am currently using Gtasks and I like being able to add a task that will allow an audible alert but lately for some reason the program has been buggy and its starting to frustrate me. I was wondering if anyone knows of an app that will do something similar All I want something that has a widget so I can see upcoming events or tasks and it must also be able to alert me audibly - the built in calendar on my Captivate is terrible. A calendar type app would be fine as well. I saw this in the market Pure Calendar Widget - anyone out there that can recommend this app? I would appreciate any info on an app I should try.

View 2 Replies View Related

Android :: App That Won't Allow Tasks To Start?

Aug 14, 2010

I'm not talking about a startup app like startup auditor, or a task killer, but something that will actually prevent the tasks I don't want, from opening at all. I can't STAND moxier mail. It always opens in the background. I don't want it opening EVER, so I'd love an app like this.

View 4 Replies View Related

Android :: Tasks & Browser Activity

Aug 5, 2009

I am trying to have the browser part of my task. The reason being is that I am awaiting a callback from the browser before continuing.

View 3 Replies View Related

Android :: Easy Way To Switch Between Tasks?

Aug 19, 2010

New to Motorola droid. I was wondering if there is a shortcut to show you what apps/tasks you have running, and allows you to easily switch between them? Currently, I just hit the home button to get out of one app/task and then switch to the screen with the app I want, and click on the app/task. I imagine there is an easier way via a key or shortcut that will pop up my open apps and allow me to choose which one to go to. I figure with all the talk of the droid being a multitasker, I figure there would be an easy way to switch between tasks.

View 3 Replies View Related

Android :: Calendar - Tasks - And Reminder

Mar 17, 2010

Is there a PC desktop application that can sync with Android calendar, tasks, and reminders?

I know on Windows Mobile I can use Outlook for this.

But I don't know how is this on Android.

I am a WinMo user and seriously thinking to jump move to Android because HTC Desire will be released soon

View 2 Replies View Related

Android :: Astrid Tasks 3.0 Warning

Aug 3, 2010

WARNING: Back up your Astrid 2 before doing the Astrid 3 upgrade!I just updated to Astrid 3.0 ("Update Available"). Silly me, I didn't read the notes other than to see that Astrid 3 was "all new". My tasks vaporized! The I tried to "restore" and it said I had to buy an add-on pack to do that. No indication of whether the restore in V3 is compatible with saved tasklists from V2. The experience left me cold. I uninstalled Astrid 3 and reverted to V2 via the link http://bit.ly/oldastrid. Then I restored from the saved list on my SD card from the scheduled backup that Astrid did last night. I still lost some tasks I entered today.

View 22 Replies View Related

Android :: Need App To Syncing Outlook Tasks

May 15, 2010

I have now had my Desire for over a month and very happy with it so far except for one small annoyance. I'm a heavy user of my Outlook Tasks and am desperatly trying to find an app that allows me to sync my Outlook Tasks with my phone and add/amend for either side. Anyone know of a suitable app?

View 12 Replies View Related

Android :: Background Tasks And Activity

Jul 14, 2010

Has anyone any idea on how to solve the generic problems related to starting a task in background from an activity and when the task is finished posting the result to the activity that created ? (the activity might get destroyed in the meantime due to a orientation change ,or receiving a call , or might be in the process of destroying and recreation)

View 2 Replies View Related

Android :: Perform Several Tasks Synchronously?

Sep 24, 2010

I don't know how to elegantly solve the following task:

I have several blocks of code (operation) to execute. Each block can return true of false to indicate that further execution is possible. Inside of each block I have to use asyncronous methods calls (Because Android is completeley asynchronous).

Example of processing operations (not working now as expected):

CODE:.......

The problem is that inside of the operation I need, for example, display AlertDialog and wait for the input. But after I call dialog.show() my method execute finishes and it returns incorrect result.

Example of the button listener, registerd with AlertDialog is below:

CODE:..........

How should I modify processing of operations to support asynchronous model of Android?

View 2 Replies View Related

Android :: Executing 2 Async Tasks

Dec 21, 2009

In the documentation, I read that it is not possible for executing 2 Async Tasks. If execute is called again, it should throw an exception.

The following is given under the heading of "Threading Rules", and i quote:

"The task can be executed only once (an exception will be thrown if a second execution is attempted.)"

I wish to understand the meaning of this statement.

Does this mean, that if i try and execute the same task twice (concurrently) when the first execution of the task was still going on...an exception will be thrown ? Will i need to wait for the completion of the first task, before i spawn a second task ?

A possible use case:

The user wishes to download a set of files. He clicks on the download button by providing the URL. When the first download is still going on, he wishes to download another file and provides another URL. Both these user actions are serviced by a DownloadTask, that extends the AysncTask.

If i wish to change this default behavior, is there a configuration option?

View 5 Replies View Related

Android : Why Use Service For Background Tasks?

Nov 2, 2010

An activity can use AsyncTask or Handler framework for background work. Both will continue to work even after user has moved away from the activity that started them and the onDestroy for the activity has been called. In other words, an activity is fully capable of doing background work even after its GUI has been shutdown.In this scenario, use of Service for background work seems like redundancy. What does Service bring to the table that an activity can not do?

View 3 Replies View Related

Android : App To Syncs With Outlook Tasks?

Nov 22, 2009

Simple question - any android app that syncs with outlook tasks?

this is important for me, as much as gmail, calender and contact sync exists - tasks are ALSO VERY IMPORTANT?

View 9 Replies View Related

Android :: Astrid Widget Not Updating New Tasks?

Aug 11, 2010

I installed the latest version of Astrid, added two tasks, then added the Astrid widget on one of the screens on my phone. I went back and added more tasks, but they don't show up in the widget. Is this a bug, how do I get Astrid to always show the latest list of tasks?

View 2 Replies View Related

Android :: Sync Google Tasks To Phone

Apr 24, 2010

What is the best way or app to sync my existing Google tasks to my phone?

View 2 Replies View Related

Android :: Testing Activity With Async Tasks

Jun 4, 2010

How do you create unit tests for an Android activity that starts async tasks in onCreate? I would like to test the result of these tasks.

View 1 Replies View Related

Android :: How To Detect When User Switches Tasks?

Aug 5, 2010

Say that TaskA is currently in the foreground and my ActivityA is somewhere within its stack. Is there a way for ActivityA to get notified or detect when the user switches from TaskA to TaskB? As a use scenario, when the user launches my app, my ActivityA will always be the root Activity of the newly created Task. ActivityA will make use of Activities from other Apps, which will be pushed on the same Task. I would like to get notified when the user has switched to another application. In this case, onStop() in MyActivityA does not suffice as that will also get invoked if the user navigates to another screen within my app.

View 5 Replies View Related

Android :: Application For Tasks - Reference System

Oct 18, 2010

Greetings. Years after reading the GTD book and trying all sorts of apps and methods, I still can't find myself settling for a todo system that's simple and effective using my phone. I'm always looking for threads and articles on task managers, but most are only people spouting "I use generic todo app xyz and it rules!" Never how they practically use it in their daily lives. So, I'm asking all of you: what apps do you use for tasks and maybe even reference systems, and HOW. This might be useful for all procrastrinating couchpotatoes like me. Right now I'm using something very simple: Mobisle Notes, with 2 lists: a sorted "Inbox" which is basically just all tasks that come to mind (Sorted as in, priority first, then due date, then projects, then random stuff) And a today list with 5 actions I want to do today. Far from perfect, and Mobisle doesn't handle tags and moving of tasks from list to list a hassle, which keeps me on the lookout.

View 6 Replies View Related

Android :: Need App To Sync Outlook Tasks / Notes

Apr 18, 2010

Does anyone know of a good app that will sync my Outlook Tasks and Notes with my Android 2.1 phone?

View 20 Replies View Related

Android :: How To Reduce Dde Number Of Running Tasks?

Oct 29, 2010

I insatalled launcher pro two days ago, loved it but the phone has become reallll slow sinc, im using a Samsung Galaxy S, i setted the LauncherPro as my main launcher and is great but i can tel that is laggin ad takes a while i between things.Im using Task killer to stop running apps, but that does not helped much,. Using Android system Info i saw a great number of running task that i did not even know, is crazi, i olny have 12% of free ram. how cani stop all this task from running?

View 19 Replies View Related

Android :: Tasks Running In Droid Emulator?

Dec 8, 2009

How to find, what are the tasks running in android emulator?

View 3 Replies View Related

Android :: App To List Tasks Onto A Home Screen?

Apr 22, 2010

Is there an app that you can list your tasks onto a home screen. i have not everything and color note but i wanted something that would have the lists right on the home screen where i can see and add to and delete.

View 3 Replies View Related

Android :: System Calls For Specific Tasks

Jan 5, 2010

Is there any way I can find out the system calls invoked by Android for specific tasks?For example, for writing/deleting contacts or writing/deleting SMS what are the Linux system calls invoked by Android for these tasks?I can't find any links explaining on this.

View 2 Replies View Related

Android :: Finish Multiple Tasks - Stacks

Nov 10, 2010

I have an app that contains multiple tasks (stacks of activities). I can jump from one to another with no problem, but when i finish a task it goes to the previous stack. I would like to finish all stacks whenever i finish one of them, because I want my application to finish. Does anyone have an idea on how to achieve this?

View 11 Replies View Related

Android : Need App To Sync With Outlook Notes / Tasks

Dec 22, 2009

I am looking for an application that will link with Outlook. I synch with my exchange server for mail, contact, and calendar. But I have gobs of outlook notes that I want to use on my Sprint Hero. MyLink Access (Advanced) is about the only one that I have found, but their developers have not released anything other than the free version. They told me the advanced would be released before Christmas. I know it is not Christmas yet, but I just don't see that in the future. I would settle for an application that I could manage on my desktop so that I could retype all the notes and then have the desktop synch with the phone ..

View 4 Replies View Related

Android : Sync With Gmail Tasks - To Do List App

Dec 30, 2008

I have searched and downloaded almost every To Do List app and are there any that sync with Gmail Tasks? I know the calendar does but they show up real tiny on the top of the Calendar, I would really like an app to manage them all. Any ideas?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved