Android :: Android.app.IntentReceiverLeaked: Activity Com.example.brown
Sep 16, 2010
I'm facing the problem in map view,initially i have map view with search option in header for searchin up content i'm using
Here my code for search...
CODE:............
where here i fetch search list data from database. search option provides search map result has well and in search page there again search option in header and have back button ,when click back button either from UI or device it backs well to previous mapview and again back button in first mapview,when click back it throws an Activitythread exception, 09-16 16:04:17.088: ERROR/ActivityThread(425): Activity com.example.brown.Bru_Maps_Result has leaked IntentReceiver android.net.NetworkConnectivityListener$ConnectivityBroadcastReceiver@43898578 that was originally registered here.
Are you missing a call to unregisterReceiver()? i think i have to override Onpause(),OnReceive() methods,but i dont know how to implement it.
View 1 Replies
Dec 15, 2009
I had a white HTC Hero and sold it for a Brown Hero because I read online that the Brown one come with 850/1900 Mhz bands which would pick up AT&T 3G. However, I am unable to get this device to connect to AT&T 3G. It connects to edge no problem. However, in places where my iPhone 3GS had 3G signal, this device just picks up Edge. These are the APN settings I am currently using ...
Name: AT&T
APN: wap.cingular
Proxy: leave blank
Port: leave blank
Username:WAP@CINGULARGPRS.COM
Password:CINGULAR1
Server: leave blank
MMSC: http://mmsc.cingular.com
MMS Proxy: wireless.cingular.com
MMS Port: 80
MCC:310
MNC:410
APN Type: leave blank
Am I missing a step or do I have an incorrect APN setting? The back of the box does say 850/900/1800/1900MHz.
View 7 Replies
View Related
Jul 21, 2010
I have the option to get a Black HTC Desire or the Brown one. Both are the same price, but the Black one is Orange branded, while the Brown is a factory unlocked version with no branding.
The Black one does look better in my opinion but is it worth it with the issues that arise when updating software (phone locked, wifi issues) when it seems to me the factory setting one will be easier to root and update?
View 15 Replies
View Related
Jun 25, 2010
still waiting for my htc desire black,what do people think look the best brown or black? not seen a comparison of the two both together but went for the black because there will be less of them.been waiting 3 weeks for my phone and running out of patience.
View 23 Replies
View Related
Aug 21, 2009
I have been looking at the Samsung Galaxy but as 02 keep pushing back the release date i have given up on it and decided to go with the Hero.
I have found that Car phone warehouse and mobile phones direct have much better deals on this phone but not in my prefered colour of black.
i can get it in
Brown
Silver
Pink
Pink is out 100% what do the rest of you think the the Silver and Brown versions ?
View 2 Replies
View Related
Jul 12, 2010
Orange are replacing my Desire, and I asked for a Black, but have just realized they told me to keep the BROWN battery cover.
Are they different or is it just the front? Will the Brown cover look stupid on a black? It looks black-ish, maybe a tiny brown tinge.
View 22 Replies
View Related
Mar 3, 2010
Which one do you guys own? I know I can lookup google for images, but can someone be kind enough to post images of black and brown Hero? would love to see a closer imager.. gotta check it out online as I couldnt find any Hero phones in my small city..gotta order online without even feeling the phone.. would appreciate if you guys can help me decide on the colour now!
View 30 Replies
View Related
Nov 11, 2010
I purchased my phone in October 2010 from Bangalore, India ... After a week of use a white line developed on the display...
I took it to the service centre who said that it was a display defect and agreed to replace the screen ... But they said that the screen was out of stock ...
After waiting almost a month i got a call from them saying replacement screens have arrived ... I immediately went and got the screen changed ... After receiving the phone back i noticed that the screen seemed kinda dull with a brown tint to it at minimum brigtness ....
When i asked the service centre guy he asked me to use the phone for a while and then it will be fine ... I used the phone for two days and took it back after reading several such tint issues on the web ...
Initially the service centre guys refused to change the screen saying that its normal. Luckily for me another customer came in with a galaxy s. I used his phone and showed the technician the brown tint issue. He then agreed to the fact that there was a brown tint and replaced the screen once again...
The new screen also has the same issue ... I had no other option but to take it and leave ...
The whole fun of buying a great phone has been ruined by the technical issues and poor customer service ....
View 3 Replies
View Related
Aug 2, 2010
Whenever the memory needs to be reclaimed, the process is being killed by Activity Manager Service in killPidsForProcess. I have a back button in my activity window on right corner of the title bar.
I want to kill the activity completely on clicking the close button. Can I reuse the same function and will it have any major effect? Please help me out in this.
View 3 Replies
View Related
Jan 20, 2009
I want to be able to show the Battery Info activity in my app, which shows things such as the exact level, battery health, etc.I'm not sure how I can get it, though a few applications such as Power Manager, Any Cut, etc. show this screen as well. I found in the source code of Settings this intent in a file called testing_settings.xml,But I don't know how to use it. I would guess from the fact that Any Cut has a list of activities, that a list of said activities exists somewhere, and therefore an easy way to access them exists, but I haven't found it.
View 3 Replies
View Related
Aug 27, 2010
My app is comprised of a set of reusable Activities that other apps can reuse. For various reasons, I would like my Activities to be launched in context of the invoking Activity's process, instead of always being launched in my Activity's process (default behavior on Android). How can I achieve this?
View 1 Replies
View Related
Mar 3, 2010
So I have an app with Activity A. The layout on the activity is dynamic genearted. So it's possible that on Activity A a user hits a button that goes to "A" and the new page looks different, then a user clicks another button to go to "A" again. Now I have 2 Activities in the history stack. A, A, and currently on A. Is it possible that if a user clicks a button that the whole Activity stack is cleared in a scenario such as this?
View 5 Replies
View Related
Apr 27, 2010
How to finish any previous activity in application stack (at any level , I mean not immediate parent) , from current activity like on some particular event I want to invalidate this previous activity?
View 1 Replies
View Related
Jul 26, 2010
How can I make sure I only retain one copy of an activity on the stack when called from non-activity? When called from an activity I can just add the FLAG_ACTIVITY_REORDER_TO_FRONT flag to the Intent, but how can I do this from e.g. a widget or a notification?
View 1 Replies
View Related
Aug 21, 2009
I have a problem to start/create Activity in landscape mode. My Activity need to start in landscape mode and be used in landscape mode by users. So far, I used setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) to force screen orientation of my Activity to landscape mode in onCreate() method.
In addition to this screen mode requirement, my application need to start another background thread in onResume() method, and this thread takes some seconds in order to finish an initialization process, and it is not desirable to to stop/restart this thread's service during the initialization process.
However setRequestedOrientation (ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) forces my Activity restart in a very little while (means onCreate->onResume->onPause->onStop are executed twice at the first place). As a result, my background thread be stopped/restarted during the initialization process, and this makes me a mess at this moment.
View 3 Replies
View Related
Nov 5, 2010
The default behavior from my observation is if current activity force closes Android tries to go to previous activity on stack How can I control this behavior? I want force close to close all activities
View 2 Replies
View Related
Jul 19, 2010
Im writing a program that offers a quick reply dialog upon receipt of an SMS.
However, I am getting an unexpected result. When I receieve an SMS, the appropriate dialog activity comes up displaying the correct phone number and message, however there is a second activity behind it that is the 'default' activity in my program (it is what opens when i launch my application)
I do not want this second activity to come up. The quick reply activity should come up by itself over top of whatever the user was doing before.
The 'floating' activity:
CODE:.........
The call to the activity inside an onReceive()
CODE:..............
The Manifest:
CODE:.................
View 1 Replies
View Related
May 16, 2010
I'm writing an application that starts with a loading activity. In the loading activity the app requests html from web and parses the html, then it sends the parsing result to the main activity. The main activity has several tabs, and contents of these tabs are based on the result of parsing.For example, the result of parsing is a list of strings ["apple", "banana", "orange"], and I need to pass this list to main activity, so that the main activity can create three tabs named after three fruits.I would like to know if there is any way to pass a list of strings among activities, BTW, is it the common way of do this?
View 2 Replies
View Related
Mar 3, 2010
example scenario is: from login screen - main screen - then when i clicked a hide button inside the mainscreen, the app will need to go in the home screen, and when im going to click the app again the main screen would be called and not the login screen
View 3 Replies
View Related
Feb 18, 2010
have an activity which launches another activity, via a button click. By default, on newer OS versions of android, the OS will animate the new activity sliding in from right to left.Is there a way to disable this animation? I just want the new activity to appear without any sort of animation.
View 5 Replies
View Related
Aug 12, 2010
I'm working on an app that launches the browser activity to perform a Twitter OAuth authorization. This process uses a callback url which will re-launch the activity that started the browser activity in the first place.My problem is that the browser pages remain in the history stack and when the user then clicks back from the preferences activity that launched the browser in the first place, they don't go back to the app's main activity, but instead are brought back to the browser. I've tried adding flags to the launching intent to prevent history and reset on clear, but it doesn't seem to work when running on my phone, only on the emulators.
View 1 Replies
View Related
Jan 26, 2009
I have an application with contains multiple activities. The main activity will start the others ( use startActivity() ) depends on user event, when an activity close, it calls finish() and return back to main activity. It appears to behavior like that.
However, the "problem" I see is main activity's onCreate function is called every time. I think the the main activity should be placed in the activity stack and simply push to front when others exit, therefore only onResume, onStart are called. Is there some flag I need to set or I misunderstand the activity behaviro?
In child activity, besides calling finish() or startActivity for main activity, what is other way to move main activity to front?
View 2 Replies
View Related
Jan 10, 2010
I created an application which enables the user to set whether he wants to receive notification while the application runs in background mode. If the notifications are enabled an activity should be started (the dialog should appear on the screen).
I tried to enabled it the following way:
CODE:...........
This is the method from main activity. When onPause() is executed isRunningInBackground is set true.
When I tried to debug it when the main application was running in the background the line
startActivity(intent) had no effect (the activity didn't appear).
Does anyone know how to midify the logic in order to start an activity from the main activity when the main activity is running in the background (after onPause() is called)?
View 1 Replies
View Related
Nov 9, 2010
I have an activity that starts a long-running service which in turn adds an icon to the status bar. When the activity gets invisible, e.g. by pressing the Home button, and the pressing the icon in the status bar a new activity is created instead of showing the already created activity. If you now press the back button the new activity is destroyed and the activity created in the first place gets visible. How do I make the invisible activity brought to front when pressing the icon in the status bar instead of creating a new activity?
View 1 Replies
View Related
Dec 4, 2009
Need an example of how to create/start a new activity from the main activity. I have a button click event on the main layout. Originally I just used setContentView(R.layout.secondactivity); which brings up the layout but I don't think that is correct since the secondactivity class is not instantiated at this point yet. I have looked for such an example and can not find one.
View 3 Replies
View Related
Jan 10, 2010
I hav an app that is like a relational database. There is a main app activity that users manage things with. There is also a widget that will display important info and add data to the database. When the widget is clicked, a configure class displays a way for the user to edit data. When the configure activity is done, the widget is updated and instead of going back to the home screen, the apps main activity is started. I can't find where the main activity is being called from. Wouldn't I have to create an intent and start Activity() to get this behavior? When done updating, I want the home screen and not my app.
View 3 Replies
View Related
Mar 3, 2010
example scenario is: from login screen - main screen - then when i clicked a hide button the app will go to home screen, and when im going to click the app again the main screen would be called.
View 2 Replies
View Related
Sep 28, 2009
I created an application which is asynchronously communicating with the server. When the application makes a server request a new dialog (activity) with "loading" notification is created. The main activity implements methods for handling server responses and I would like to close the foreground activity when the main activity receives the answer from the server.
View 1 Replies
View Related
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
Nov 2, 2010
I have a TabActivity, and each Tab corresponds to its own Activity. In one of them, in the onCreate method, I use startActivityForResult to show a dialog (specifically, Bump's BumpAPI activity).
code:...............
The problem is that when the screen orientation changes, it tries to create the tab's activity again which makes another BumpAPI dialog, resulting in multiple stacked on top of each other. Do I have a hook into the started activity to cancel the previous one when the orientation changes?
A workaround seems to be to add a button that when clicked, starts the second activity, but that adds an unnecessary step.
Also, I can't fix the screen orientation for the entire tabActivity because some of them require typing and users may want to use their physical keyboards.
View 1 Replies
View Related