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?

Android :: App Appears Multiple times in Recent Apps list


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

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

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 : 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?

View 4 Replies View Related

Android :: OutOfMemory Exception Appears While Scrolling The List Of Images

Jan 15, 2010

I have a list of 70 text items with image icons(which are stored in drawables folder).
If I launch application the first time and scroll the list slowly - the exception doesn't occur.

When the application is launched the first time and I scroll the list with 'fling' action the following exception occurs:

COD:.....................

After that, if I kill the application with DDMS, start it again and scroll it with 'fling' action, exception doesn't occur. So the exception arises only if application is installed and launched the first time.

Here is the adapter I use for the list:

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

Is there a way to avoid the exception? Should I catch the exception and escape the memory somehow?

View 1 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 :: Service Gets Instantiated Multiple Times

Sep 27, 2010

IIUC, there should only be one instance of a given service, it is a singleton. However, my (audio engine) service gets instantiated multiple times, although I do nothing for it. When the service crashes (for example when I uninstall the app through adb), it gets scheduled for restart ("Scheduling restart of crashed service.. "). I understand this is an effect of the service being sticky. After that, when my app starts, it calls startService() and bindService(), and the service gets appropriately started and bound. But the service is then reinstantiated and onCreate() is called repeatedly, as many times it was scheduled for restart.

Each instance then wait for clients to bind and register, but onBind() is only called in the "main" service instance. The additional instances wait a bit for client to bind, and since that doesn't happen, they call stopSelf(). But stopSelf() has absolutely no effect in these "dead" instances, onDestroy() is never called.
The "main" service instance does work as expected, and when it decides to call stopSelf(), onDestroy() is indeed called. Worse, all these dead instances accumulate, they never gets destroyed. Therefore, their only possible end is a crash (which happen every time I launch/install through adb), and thus scheduled restart.
So that in the end I get many of these dead instances, which are restarted progressively once by minute approximately.

View 3 Replies View Related

Android :: Run Same Application Multiple Times - Name In System?

Nov 19, 2010

I would like to run multiple instances of same application for dev purpose. How does app define it's name in the system, through which of the files is that configured.

View 3 Replies View Related

Android :: LocationListener Being Called Multiple Times

Apr 16, 2010

I am working on an Location Based Application. In this application i am using LocationListener class to update the location when the Location is changed.In each Activity i have different LocationListener to update location and do some specific work on updated location. But my problem is that when i am changing my location through DDMS , the LocationListener is being called of that current Activity as well as all the activities of the whole application where LocationListener has been defined. I don't know whether there should be one LocationListener for the whole application or for each Activity we should have different LocationListener.

View 1 Replies View Related

Android :: Same SMS Is Received Multiple Times - HTC Tattoo

Sep 1, 2010

I am facing one issue on my HTC tattoo device. I have written a code which sends an SMS to the given number. At the recipient end I am receiving more than one SMSs. One time I have even received 17 same messages. I am posting the code snippet for the reference-

private void sendSMS(final String phoneNumber, final String message) Log.i("Send To Friend", "sendSMS"); SmsManager sms = SmsManager.getDefault(); sms.sendTextMessage(phoneNumber, null, message, null, null); Toast.makeText(this, "Message has been sent", Toast.LENGTH_SHORT).show(); finish();}

View 4 Replies View Related

Android :: Schedule Multiple Notifications At Different Times

Mar 31, 2010

I need to be able to schedule multiple Notifications at different times in the future.

I tried doing this with an AlarmManager, but that isn't suitable, for the following reason. From AlarmManager.set(): "If there is already an alarm for this Intent scheduled (with the equality of two intents being defined by filterEquals(Intent)), then it will be removed and replaced by this one."

Guess what, the sending intents are equal, apart from different Extra's (but those don't count for filterEquals).

So how can I schedule multiple notifications, which will still be shown when my application is killed (the whole reason I tried AlarmManager)?

View 1 Replies View Related

Android : ListViews Getting Rendered Multiple Times

Mar 16, 2009

So the situation is this, I have a ListView that is embedded in two LinearLayout ViewGroups to form a screen. BaseAdapter.get View() (the implementation of the ListAdapter) is typically called n times (where n is numElements) to render the screen. The problem I have is this set of calls is being repeated for every ViewGroup that the list is contained in...So for a Layout like this:

-LinearLayout --Linearlayout ---ListView

The adapters get View() is being called n*3 times (3 = 1 for the parent LinerarLayout, one for the child LinearLayout and one for the List itself).

This is obviously a problem when the items in the List are expensive to build (even with recycling).

So I'm looking for some guidance on this, as the documentation doesn't seem to note this behavior from what I can see.

A small, basic example of the source is located on my post here http://www.anddev.org/listview_getting_rendered_multiple_times-t5290.... with more details Oswell as a ready made eclipse project(also attached below) if anyone is keen to try it out.

View 6 Replies View Related

Android :: Location Listener Called Multiple Times

Apr 16, 2010

I am working on an Location Based Application. In this application i am using LocationListener class to update the location when the Location is changed.In each Activity i have different LocationListener to update location and do some specific work on updated location. But my problem is that when i am changing my location through DDMS , the LocationListener is being called of that current Activity as well as all the activities of the whole application where LocationListener has been defined. I don't know whether there should be one LocationListener for the whole application or for each Activity we should have different LocationListener.

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, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

View 2 Replies View Related

Android :: SAX Is Getting Called Multiple Times With Same Data But Offset

Oct 27, 2010

I am trying to parse an xml file using SAX with Android and the problem is that the function characters(...) is getting called multiple times with what appears to be the same data just offset by a few characters.

As you can tell from the output below the first time it gets called with " alabama" and the second time it gets called with "labama". I am not sure as to why it is doing this but if anyone could help that would be awesome.

10-27 23:04:47.033: DEBUG/LocationHandler(10299):
10-27 23:04:49.000: DEBUG/LocationHandler(10299): alabama
10-27 23:04:51.835: DEBUG/LocationHandler(10299): labama
10-27 23:04:52.129: DEBUG/LocationHandler(10299): labama
10-27 23:04:52.408: DEBUG/LocationHandler(10299): labama
10-27 23:04:52.519: DEBUG/LocationHandler(10299): ub_dir_name
10-27 23:04:52.649: DEBUG/LocationHandler(10299): ub_dir_name
10-27 23:04:52.809: DEBUG/LocationHandler(10299): ub_dir_name
10-27 23:04:52.989: DEBUG/LocationHandler(10299): ile_name.kml
10-27 23:04:53.158: DEBUG/LocationHandler(10299): ile_name.kml
10-27 23:04:53.358: DEBUG/LocationHandler(10299): le_name.kml
10-27 23:04:53.529: DEBUG/LocationHandler(10299): le_name.kml
10-27 23:04:53.698: DEBUG/LocationHandler(10299): le_name.kml
Code...

View 1 Replies View Related

Motorola Droid : Android Reset Multiple Times A Day / How To Fix?

Dec 6, 2009

My first droid reset multiple times a day. I then exchanged it and since then I've had no problems at all. Get a reset maybe once a week or less and thats usually because I'm doing too many things with the phone.

View 9 Replies View Related

Sprint HTC Hero : When Hit The Phone Button - Change The List That Appears

Jul 3, 2010

New to Android... Like some aspects but I find some simple things are tough to solve.

When I hit the "Phone" button on the bottom of the sense screen, it pulls up a contact list that is all 558 contacts plus any number that dialed in or out. I have my "People" button set with just the 150 people I love the most (I eliminated Facebook people from "People")

Is there anyway to change the "Phone" list so that it pops up the "People" list instead of the huge combined list of history and all contacts?

View 1 Replies View Related

Android :: Graphically Represent Multiple List Selections / Dynamically Change List Item View

Apr 23, 2010

I'm trying to create a multiple selection list where the selection is represented graphically rather than with checkboxes.My list has checkboxes, but I want them to serve a different purpose. I'm using a cursor to hold my data and created a custom view binder for the SimpleCursorAdapter. I did this for the checkboxes and general flexibility.So far I haven't even been able to show one line as being selected. I've enabled multiple selection on the list and denied the children of the list item focusability. I've tried manually changing background color with the position fed in through the list item click listener. But the wrong items get changed and they don't even change to the right color. I've enabled touch focusability with no improvement either.Ideally, I'd like the trackball highlight focus bar to appear in multiple places. But I don't think this is possible unless you use the drawable directly. But I don't know how to find or apply it. My next idea was to have a slim view bar that changes color. But I had the same problem with the wrong item being selected so I never finished trying to guess the index position to see if this would work. My most recent idea is to completely swap out the view for another one if it's selected. But I have no idea how to do this either. I'm thinking of using an array list to store the _id s of the items that need a different view to get around the wierd selection problem. I'm also thinking of passing in the ID field as my from and the selection view as the to for my adapter. Then I'd intercept it with my binder and change the view accordingly. But once again, I'm not sure how to do this successfuly.

View 7 Replies View Related

Android :: Playing AudioTrack Multiple Times Producing Crash

Mar 16, 2010

I am trying to play audio buffered sound (.wav) using AudioTrack. Please see the code below. I need to call this function under a Thread to support simultaneous play. It is fine being under a Thread. It is working fine playing the sound normally. But if i execute playing the sound using AudioTrack one after another continuously (i.e. executing second play before completing the first play sound), produces device crash (force close unexpectedly error). Does anyone come across such problems and resolve it in a way?

View 1 Replies View Related

Android :: Cost Of Calling The Reverse Geocoder Multiple Times

Nov 4, 2009

I'm using the geocoder in the android map api, this work relatively good, my problem though is that i want to be able to get a number of addresses near a geopoint ! I thought about calculating different geopoint near the a center geopoint, but what about the cost of calling the reverse geocoder multiple times etc.

View 2 Replies View Related

Android :: Is It Normal For OnCreate Method To Be Called Multiple Times?

Aug 27, 2010

I have some code in the onCreate method an Activity and noticed that it is being called three times. Is it normal behaviour?

View 1 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 :: Running Same App Multiple Times

Aug 2, 2012

What I would like to do is to run 2 instances of an application or more. The issue is that I am using an RDP program that allows me to attach to a single connection, the kick is that I need the ability to toggle between those machines and the app does not do that natively. I can also see it being useful for a situation when you need to toggle between two documents that are both open with the same application.

I know that it is really not made to do this natively but if there is are ROMs that include that functionality or a way to alter android to do this. In addition, it would be great to be able to tell the system which applications can and can't function that way.

I currently have a nexus 7, transformer prime and transformer infinity to test this with.

View 3 Replies View Related

Android :: Access Views Inside Layout When I Reuse It Multiple Times?

Aug 6, 2010

I have read the Android UI trick 2 on Android developers, which tells people how to include a layout in another layout file multiple times, and give these included layouts different id. However, the sample here is overwriting the layout id, not the id of the views IN this layout. For example, if the workspace_screen.xml looks like this: And I include it three times in another layout file. Do I end up with three TextViews with id firstText, and another three with secondText? Isn't there an id collision? And how do I find the secondText TextView in the third included layout with findViewById? What should I input in the findViewById method?

View 1 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

Android :: Shared Preference Listener Being Called Multiple Times When I Change A Pref

May 31, 2010

I've written an app with 3 tabs. Each tab has the same list view with different data sources. I have setup SharedPreferences in the tabhost activity, but I put my onSharedPreferenceChangeListener method in my listactivity. When I change a preference, my listener gets called and it updates my database. This is all working. However, if I change the data in tab 1, it calls my listener once. If I change the data for tab 2 it calls it twice and if I change the data in tab 3 it calls it three times. Any idea why it works this way? I guess I could setup my shared prefs in my listactivity and that might avoid the issue, but I'm curious why my listener is called multiple times if it's in a different tab.

View 1 Replies View Related

HTC Incredible :: Phone Receiving Same MMS Multiple Times

Jun 11, 2010

Has anyone else that has the Incredible been getting the same MMS multiple times on various occasions? For me, its appears to be random...although, now that I think about it, the two numbers that I notice it from I think are both AT&T...at least one of them is. Does anyone have any input on this?

View 13 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

General :: Only Running Apps In ICS Recent Apps?

Jun 11, 2012

is there a way to limit the ics recent apps to running apps only?

View 2 Replies View Related

Nexus :: Ring Multiple Times For Text Messages

May 21, 2010

I'm new to Android as I just got the Nexus One. On my previous flipphone, when I get a text message, it will make the ringtone sound a 4 or 5 times. My question is how to set android to do multiple rings for texts instead of once? Also, is there a way to make it sound the notification ringtone for texts only, and not for app alerts, like the weather channel widget?

View 1 Replies View Related







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