Android : How To Get Recent Activity List?

Jul 15, 2010

When I run my app, it works fine but if I switch back to home or another application, I want to go back to my app quickly by using the recent activity list (on my phone this is done by holding down the home button). For whatever reason, I never see my application in this list of apps. All other apps when they are running or have just recently been closed show up ( the menu shows 6 icons for the recent apps). Why doesn't my app show up on this list? Is this something you need to do programmatically?

Android : How to get recent activity list?


Android :: App Appears Multiple Times In Recent Apps List

Aug 26, 2010

A number of users of my app have reported that on the Nexus One, running Froyo 2.2, the app appears multiple times in the 'Recent Apps' list that is displayed when you long press the home button. Personally, I have not been able to replicate the issue. Have tried killing the app with a task killer then restarting it to see if that would cause the app to appear more than once on the list. Also tried spawning multiple thread from within an activity in the app, but still no go. I have also tested on Droid phones running 2.2 as well as on the 2.2 emulator but to no avail. It is curious that only Nexus One Froyo users experience the issue. The app has one main launcher activity, about 30 different activities and is divided into 4 main tasks to help manage the activity stack. The app also has an IntentService for running network operations in the background. Is there any know scenario that could cause an app to appear multiple times in the 'Recent Apps' list? Is the 'Recent Apps' list populated based on the app package name e.g. com.mycompany.myappname or based on the tasks defined in the application manifest file?

View 7 Replies View Related

Android : Stop Showing Recent Calls At Top Of Contact List / How To Fix?

May 10, 2010

When I make a call it is obviously saved in the call log which is fine. What I don't like however is how they then appear at the top of my contact list when I press 'Phone' (until I delete my call history) Is there anyway to disable this or any app to download?

View 1 Replies View Related

Android :: Exclude Activity From Recent Menu By Code

Aug 5, 2009

I need to exclude an activity from appearing in recent launched menu, but i am not able of adding android:excludeFromRecents="true" in AndroidManifest.xml, I have to do it in runtime. Does anyone knows if there is possible to set FLAG_EXCLUDE_FROM_RECENTS to the activity?

View 2 Replies View Related

General :: Recent Apps In Task Manager Use Lot Of Ram / Why Does List Exist

Apr 3, 2013

if I remove all these it clears up to 400mb of ram. what benefit is there to leave all the recent apps there? is th3 phone chewing through more battery to use the 1.2gb of ram vs 800mb?

View 2 Replies View Related

Android :: Recent Apps Change In 2.2 / Brings Main Activity To Foreground

Jul 24, 2010

The recent apps display seems to function quite differently from earlier versions on 2.2. Try the following for instance: 1) Open an app 2) Click on something that takes you to another activity in the same app 3) Press the home button 4) Press and hold the home button to get the recent list of apps - select the app you chose in step 1 5) You'll be taken to whatever activity in that app is specified as the main/launcher Activity, rather than the Activity on top of the stack (as it was previously) It makes it appear to the user that the application has exited when the home screen button was pressed. I don't have my app set to clear history on launch or anything like that, and I can replicate it on the emulator and with any app on my device (Contacts, Gmail, Engadget etc) Anyone else notice this? Anyone know any reason for the changes? I must admit I quite dislike the new method.

View 10 Replies View Related

HTC Droid Eris :: Actual Contact Moved To Recent Call List?

Jan 14, 2010

I personally own the Motorola Droid, But one one my customers has the eris. Here is the question. He claims that whenever he call a contact, the actual contact is no longer available in the contact list but is instead moved over to the recent calls list. I told him that I believe that the recent call list only shows recent call and that the contact should to be found in proper order on the Contact list. Having no actual experience with this phone, I'm just looking for clarification. Does a recently called contact have to be found in the recent call list? If not, what may my customer be confused by? Is there a free application to make this any easier for him?

View 6 Replies View Related

General :: APK That Shows Recent Apps List When Hold Home Button

Nov 8, 2011

what is the file that controls this?

i am using a MIUI-based rom and replaced sidekick with googlesearch, however, it also removed the sidekick recent apps/task manager without replacing it with the stock recent apps list

so now when i hold home, nothing happens..

View 9 Replies View Related

General :: Stop Phone From Opening Recent Calls List After Call Ended

Oct 24, 2012

Any way to stop my phone from opening the recent calls list after I receive a call? I call be listening to music take an incoming call then after the other party hangs up my phone opens the recent call list. I would like it to just got back to what ever I had open at the time of the call, like the music app.

I has a Galaxy Nexus(toro) running CM10 nighties.

View 1 Replies View Related

Sony Ericsson Xperia X10 Mini/pro : Calling Wrong Contact From Recent Call List

Nov 13, 2010

I have been facing this issue after upgrading to 2.1. I open th recent call list and click one of the recent calls but instead of dialing that contact my phone dials a different contact which is different altogather. Initially i thought that I have selected wrong contact but recently I noticed that the contact it actually called was way down in the list that it was not even visible.

View 1 Replies View Related

Android :: Way To Present List To User Where Each Item On List Starts An Activity When Selected

Nov 4, 2010

I am on my first Android application and I am on a timeline so details and examples will be useful since my knowledge is still minimal. I want my first screen to present the user with a list of activities to choose from. In my situation it is a recipe app where the user first chooses the type of food, such as, Beef, Chicken, or Pork. I want the application to launch an activity depending on the list item that the user clicked on. I am not sure if I should use a list view, a text view, a scroll view, a list activity, an activity group...

View 1 Replies View Related

Android : Application Disappears From "recent Apps" List / How To Get Back?

Dec 15, 2009

I am writing an app that wants to be able to handle URLs. I also want to be able to launch it stand-alone with no arguments, so I've specified two intent filters: I have also specified android:launchMode="singleTask". Now, if I explicitly launch my application from the application list, its name and icon can be found in the "recent apps" list that pops up when I hold the home key. If I then use the email application to open a URL in my application, my application disappears from the "recent apps" list. Why does this happen, and what can I do about it? I notice that the Browser application doesn't behave like this, and it has similar intent filters and the same launchMode..

View 2 Replies View Related

Android :: Remove Application From Recent Application List

Sep 21, 2010

I guess that Android won't let people to do this, because they think they have perfect handle for the task/applications. However, I really need to do this in my case.

I have an activity A acting as the entry point of my application. In that activity, it reads the preference and decided which activity to start, say B or C. After that, it finishes itself. So, activity A never appears to the users.

My application stores things on sdcard, and reads from it constantly. So, when the sdcard is unmounted, I need to display a message to the user that the sdcard is unavailable, instead of opening B or C. I set a check in A to display that message when sdcard is unavilable. When that message is displayed, A will not try to start B or C.

Things works perfectly if user only enter my application from application launcher. However, I found that user can also enter my application by long pressing home and choose it from the recent application list, if he has opened it recently. When user does that, it skips A and goes directly to B or C. I don't have the check in both of them, so exception is thrown while I am trying to access sdcard, and force close dialog pops up.

I can simply move my check to both B and C to fix this problem. But in the future, the number of activities started from A will increase. If there are 6 of them, I'll need to copy this check to 6 places. Needless to say, this looks very ugly, and is a maintenance nightmare.

So, the best fix should be removing my application from recent application list when the sdcard is uunmounted. However, I can't find how to do this. Even killing the process or use ActivityManager.restartPackage, it still appears in the list. Can anyone tell me how to remove it from the list?

View 2 Replies View Related

Android :: Orientation Change Crash In Tab Activity With List Activity

Jan 21, 2010

When views with different type have same id and screen orientation changes,

either java.lang.ClassCastException: android.view.AbsSavedState$1 or java.lang.IllegalArgumentException: Wrong state class -- expecting View State will occur. (depends on the view's order)

Because View.dispatchRestoreInstanceState() checks id only.

You may wonder why anyone would make views with different type to have same id.

But it can happen when you use tab activity.

Imagine you have tab activity with two children activity.

Tab1 is ListActivity and Tab2 is ExpandableListActivity.

Both activity have id of "@android:id/list" but the type of view is different.

This means we cannot use ListActivity & ExpandableListActivit at the same in one tab activity.

View 4 Replies View Related

Android :: Can Update A List View In One Activity While Im In Another Activity

Oct 4, 2010

I currently have a tab layout with 2 tabs, one tab with a list view and one with the option make strings so I can add them in the list view. Both tabs have their own activity because this made the code much more structured, and I dont have to repeat my self later.

Lets say im in the tab that offer me to create an string, and i press the update list button, how do I update the list view without startActivity()? If i use startActivity(), it starts List.java, and instead of displaying the list in the list view tab, it takes full screen, which defies the purpose of the tab view. In other words, the startActivity() steals the focus from the tab view of the list, and sends it fulscreen.

I want to update the activity in my list view tab, without starting a new activity that goes to fullscreen, and doesnt update the one in the tab.

View 2 Replies View Related

Android :: Design Clarification In Android List Activity Vs Activity

Mar 25, 2010

I have a simple question. I am trying to design a simple Android app, which based on keywords searches something and shows a listing view of results. Currently it merely searches SMSes in the cellphone.Here are some of the things I am faced with: I have a simple first page with a textbox and a submit button. It's rendered by "Activity" inherited class call SMS Finder.once I have the results present with me, I want them to be binded to a list view. Showing preview text to limited characters, say 20 chars. Clicking on the same should "ideally" open the inbox (or outbox or whatever) and open the SMS, however that meant I cannot come back to my app easily. So I would rather open the whole SMS in my own app. So clicking on the app should open the SMS in a new screen with complete message, sender info etc. Few questions here, For generic Android phone apps, what are the best practices to make UI as compliant to as many phones? Like what kind of views should I use?

View 1 Replies View Related

Android :: Maps In List In Map Activity

Oct 4, 2010

Map activity allows one map in a activity, i have a scenario and hard time implementing it, i have a list of records and for each record i show google map now this is not becoming possible in lmap activity with list having earch row a seperate map?

View 1 Replies View Related

Android :: Preloading List Activity ?

Nov 20, 2010

I have a realtively complicated listview in my application, with data fetched from the internet and so on. What is the best practice to do to preload as much as possible of the ListView, such that it appears immediately on the screen?

For example, the standard SMS/MMS app of android shows a white screen with a spinning loader and "Loading..." before a conversation is shown. I can't really find this in the Android source code, but I guess this is an extra loading Activity doing some caching and handing over to the conversation Activity using finish(), so that no screen change animation is shown.

How can I preload or cache ListView items? Is it even possible to do that?

View 1 Replies View Related

Android :: List Activity In Application?

Sep 2, 2010

I have a list activity in my application. i have tried to make it so that when a list item is selected to show the selection the background of the view should change. but now when i select one item, the item does get selected but the back ground of random listitems changes at the same time, but the selection is still correct
CODE:...........................

View 1 Replies View Related

Android :: Access Rows In List Activity

Jan 21, 2009

I want to include one button inside each row in a List Activity. When pressing one of these buttons it will be disabled and will perform a heavy task in the background (in a different thread to avoid screen blocking). After the action is completed the button will be enabled again and the row updated with some results obtained from that "heavy operation". Im filling my List with a custom SimpleCursorAdapter, its getView method calls super.getView and in the view (row) returned I access its button through findViewById and set my click listener (to disable it, and launch the heavy task in the background). Once this heavy task is finished I need a reference to this row view to find the button and re- enable it. SimpleCursorAdapterīs super.getView() reuses row views shown on screen to avoid creating many different rows instances, so when my "heavy task" is finished the row view reference i need to reenable its button may have been reused in a different row, so in the end I am modifying a button in a different row! I have tried different solutions, for example giving different ID to each row view (useless because it gets overwritten when the row view is reused) Obviously creating a different row instance for each row whether its shown on screen or not isnt the best solution.

View 3 Replies View Related

Android :: Not Getting Touch Event For List Activity

May 21, 2010

I have created ListActivity of images i want touch event just like onItemClickListner how can i do it? i'm not finding any on Item Toch Listener.

View 2 Replies View Related

Android :: How Do You Activate Checkmarks In List Activity

Feb 5, 2010

I have a ListActivity with an array adapter declared like arrayAdapter = new ArrayAdapter<String> (this, android.R.layout.simple_list_item_checked); This shows a bunch of rows with checkmarks on the far right. Can you tell me how to get a reference to those checkmarks or how to check/uncheck them?

View 2 Replies View Related

Android :: Pass List<GeoPoint> To Another Activity?

Nov 10, 2010

I have an ArrayList of type GeoPoint.

private List<GeoPoint> points = new ArrayList<GeoPoint>();

I want to pass points to another Activity and retrieve the data in that activity. How do I do it? I know I have to use the parcelable but I searched, but could not find a way to pass ArrayLists.

View 1 Replies View Related

Android :: Possible Mapview And List Exist In Same Activity?

Jul 24, 2009

For now i have a list, using extends listactivity, and now i want to add mapview on the same activity using framelayout probably,

but if i want to use the mapview, the activity must extends mapactivity,

one must extends mapactivity,the other must extends list activity,

if it possible to do that?

View 7 Replies View Related

Android :: ListView - How To Display A List In My Activity

May 5, 2010

I'm just starting with Android and can't find how to display a list in my activity. The activity and the layout main.xml are shown below. How can I display the country array in the ListView 'list' of my layout?

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

main.xml


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

View 3 Replies View Related

Android :: How To Display Custom List Activity

Jan 20, 2010

I want to display data in list activity. How do I achieve this?

TITLE Date

Sub Title Button

TITLE Date

Sub Title Button

TITLE Date

Sub Title Button

.
.
.
.
and so on

Does a tutorial exist related to custom list activity?

View 1 Replies View Related

Android :: How To Add Buttons Dynamically In List Activity

Jan 20, 2010

I want to put description and buttons dynamically can any one guide how can i do that? i have data in the form of object list/array i.e ID,Title and want to display in list activity like..

TITLE [Details Button] [Edit Button] (repeating in list activity)

View 1 Replies View Related

Android : Get Scroll Position In A List Activity?

Mar 23, 2009

I'm trying to get the scroll position on a ListActivity. Here is what I'm trying to do: I have a list activity that is populated from an XML file. Another thread downloads all pictures so the user can see the list while the thread is still downloading the files.

What I'm trying to do is when the thread finishes getting all pics it reads the listview scroll position, refresh the listview and scroll to that position again.

ListView main = getListView(); <-- not sure if I'm really getting the ListView this way. int scY = main.getScrollY(); Log.d("Scroll", scY + " "); <--- this is printing zero even when at the moment I run this I already scrolled the list. setListAdapter(listadapter); main.scrollTo(0, scY);

View 10 Replies View Related

Android :: How To Implement Generic Activity - List And Map Activities?

Oct 13, 2010

I want to display the same options menu on all of my application's activities. I created a generic Activity that implements the menu, and all my further activies extend it. The problem: when I need to extend other specific activities, like ListActivity and MapActivity, I can't figure out how to extend the generic activity and add the List or Map behaviour to the new class. To deal with the issue I had to create three different generic activities, each extending Activity, ListActivity and MapActivity.I've tried creating an abstract activity but it doesn't work, I would need to extend two classes at the same time. I could try interfaces but since I can't implement methods, I would have to paste the menu implementation all over the second-level classes, right?

View 1 Replies View Related

Android :: How Can I Enable Touch Event In List Activity?

May 13, 2010

I have created a list activity where i have placed some items and i am using OnListItemClick to get the desired actions through D-pad and KeyLeft and KeyRight Buttons, In Emulator TouchEvent is not working , I want to know whether it works in real Handsets? How can i enable the TOuchEvent? also Can anyone please help me out in this.

View 2 Replies View Related







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