Android :: Hard Restart Button
Nov 4, 2010
It's pretty shitty when my ipod freezes and I can easily restart it but my dinc freezes and I need to pull the case, cover, and battery. Is there a way to set up a hard restart button on a rooted phone?
View 6 Replies
Sep 27, 2010
is there a reset button or command which enables me to reboot the phone without having to turn it off then back on again ?
View 4 Replies
View Related
Aug 1, 2010
I've got the hard-coded layout, consisting of buttons, and need to enlarge some of them. I found Button's method setWidth(int value), accepting width in pixels, but I need to set value in dp. So, how can I set dp value in program code?
View 1 Replies
View Related
Sep 29, 2010
I've had my Captivate for a few weeks now. I've noticed since day one that the search button 'hard button' on the lower right of the phone, mysteriously 'pressed itself'. The first few times I figured I pushed it on accident with my pinky or something. That Is Not The Case. I know I'm not going crazy but every once in awhile, the hard button lights will go on and the vibrate (I have vibrate set to on) will go on and the search will pop up. All on it's own. This happens at least 5 times a day. If not more. It doesn't do it on any one specific page, it does it no matter what I'm doing on my phone. Sometimes I'll literally watch it just laying in my hand when my phone is on and the search will pop up.
View 7 Replies
View Related
Apr 12, 2010
Is there a way to reprogram a hard button? I could do this on my HTC Tilt that ran WindowsMobile 6.1. I would like to be able to make the long press on the "call" button go to vlingo rather than voice dial and I can't find a way to do it in settings....
View 3 Replies
View Related
Nov 29, 2009
Anyone else notice that the space key on the hard-keyboard is indented, or is this something wrong with mine? I like the keyboard in general, but the space is really annoying. The other keys are all essentially flat, or very slightly curved upwards. The space though is really pretty depressed inwards. I don't think it's worn out, as I really haven't used it much yet.
View 3 Replies
View Related
Aug 2, 2010
So i just got my replacement droid x. This one seems like the power button is hard to push? Why is this? Anyone notice this?
View 2 Replies
View Related
Nov 8, 2010
I have an Android app with a splash screen.
This splash screen pre-loads data and when finished starts the application's main activity and finishes (through a finish() call).
This works quite well as long as the application is not totally killed. So, I can usually switch back and forth between different tasks as usual: when I leave the app from a sub activity and return soon after I will be presented with this sub activity.
Now, when I leave this sub activity and do some other stuff for a while inevitably this application process is killed by the OS.
No problem so far. Now I would expect Android, being unaware of my preloading (if the data was not preloaded it would just take longer or not display some fonts, but Android cannot be aware of the fact that I am doing preloading somewhere), to restore the sub activity from a Bundle. However the splash screen activity is started.
So, I say, that's fine then... the splash screen activity is after all the launcher / main activity. Now, the actual mystery I have is as follows.
When I press the back-button from this newly loaded splash screen I will be presented with the sub activity I left the application from before it got killed. I really don't understand this. Apparently Android DID save the sub activity's state (and its history stack) to be reloaded but instead of reloading it chose to start the splash screen instead, with this sub activity (I left the task earlier before it got killed) one step back on the activity stack.
Why does this happen?
When the process is not killed I can switch back to where I left off. When it's killed I cannot (yet still have the whole earlier history of that app restored). I know that Android has to load state etc. in the latter case, but that shouldn't be a problem and is performed automatically by default (according to the docs).
View 1 Replies
View Related
Sep 17, 2010
If there's an existing app that offers the same functionality as the default stock options that the hard buttons do.
I'd prefer on-screen icons to 'click' for the
MENU | HOME | BACK | SEARCH
selections that the hard-buttons offer. Do any of the home replacement apps do this? Again, I am not interested in reassigning what the buttons currently do, but looking for any on-screen options instead.
View 7 Replies
View Related
Sep 1, 2010
I use this button all the time on my DINC for voice commands, usually things like locate .... and it pops up google maps and shows me what I'm looking for. Since Bing is the search engine of choice on the Fascinate, what function will holding down the button serve? Will it still allow Google Voice commands? If not, I think that's a deal breaker for me.
View 5 Replies
View Related
Nov 20, 2010
Two days back I had upgraded my X10mini to andriod 2.1. 24 hours after upgrade the screen got freezed. Its showing FM screen and the restart button is also not working. If I press the power button, screen lights on for some time and goes off. I can't remove the battery as the battery is fixed. Please let me know if you know some other way to restart the phone.
View 2 Replies
View Related
May 8, 2010
My app intiates an activity. On the click of a button, the app opens up the browser with a webpage. When I hit the back button, it comes back to my initial activity screen, but does not resume or restart the activity.
When I put all the layout code and activity code in onResume instead of onCreate, the activity gets restarted.
My question is whether this is the right way to go about it? Can I use onResume to draw my layout and initiate the activity, or is this poor design? When the browser fires up, does the initial activity forget its layout?
View 1 Replies
View Related
Sep 29, 2010
I have a thread in java/Android like this:
CODE:................
The thread works fine when I run my application. But I want to start/restart the thread with a button.
CODE:.........
If I copy the thread into the button I just make a new thread every time the user clicks on the button. I want to run the thread when the user first time click on the button, "kill it" and start from the beginning if the user click on the button a second time.
View 2 Replies
View Related
Jun 26, 2010
Biggest thing I'm concerned about...can the X be woken up by one of the front hard buttons? Without 3rd party app?
View 10 Replies
View Related
May 15, 2009
I am developing a ToDo reminder type of app for android. on creation of a new reminder an alarm and vibrator scheduler is created with a toast. This works on intents and broadcasts and is pretty straight forward stuff with putextras using the reminder id from the db. My problem is, if some one restart the phone, i guess all the scheduled alarm and vibrator tasks for the reminder will be killed. Once the phone restart again how to recreate the scheduler tasks.
View 2 Replies
View Related
Jan 6, 2010
Is there a cross device hard button in android that a background service can listen to and act when it is pressed/released?
View 1 Replies
View Related
Apr 20, 2010
I have noticed that when aps restart my phone, it takes about 15 to 20 seconds to restart When i Power down, it takes MINUTES!Does anyone know of simple restart app I could use to avoid this? If not, anyone know someone who could make one?
View 3 Replies
View Related
Jan 22, 2010
I've been having some reception issues that seem be cleared up when i restart the handset. What I'd love is to be able to schedule a daily restart around 4am to prevent any problems from the phone running too long. Does anyone know of an app that could do this for me?
View 9 Replies
View Related
May 11, 2010
Is it possible to programmatically restart the phone from a application (service) running on top of the Dalvik VM?If the SDK does not provide this functionality, then how about using the NDK and calling some functions provided by the kernel? I know this option is not preferred (not stable enough libs), but if it's the only option, I'll have to consider that as well.
View 2 Replies
View Related
Aug 17, 2010
I'm building a game which works as some type of a quiz. I ask user the question and when he submits the answer(click or touch correct answer) I need to refresh the page with some other question.
How should i implement this? How to wait for users answer and continue when onClick or OnTouch listener finishes?
Should i use Handler class, intents or something else?
I want next scenario:
On the screen I have a question and 3-4 clickable ImageButtons. I'm building some of the layout dinamically from custom showQA() function. User choose the answer and if he clicked the correct answer i should start some type of animation on the screen. I've done that from the onClickListener. Now, i need to build layout again(show new question and answers) from the showQA() function which must be called after that animation showed to the user. How can i know when the onClickListener() finished its work?
View 3 Replies
View Related
Nov 9, 2010
I want to restart my webview with different URL, here i have taken one button onclick i m changing URL now how to reload this activityin short how to restart the same activity..
View 1 Replies
View Related
Apr 29, 2009
How do I restart my service automatically when my service gets killed or crashes, until and unless I myself de register the service.
View 2 Replies
View Related
Aug 30, 2010
I'm developing on Android. I have to restart home and all its components (widgets, shortcuts, etc..).
For example, when we have a Force Close, the home screen restart and reload all its components.
View 2 Replies
View Related
May 6, 2010
I am writing a simple android application with a class that extends activity, that plays a video from a url on the web. There is a button on top that on click takes the user to a web page.
What I want to do is when the user is browsing the web page, if he hits the back button, I want him to come back to the main activity and restart the video. Is there a way to do this?
Also, is there a way the video can be resumed from where it left off?
View 1 Replies
View Related
Feb 18, 2010
I am testing an android device with eclair using the 2.1 CTS version. When CTS completes a set of tests and restarts the device a "device disconnected" messages appears on the CTS console. However after the device completes the restart to the android home screen CTS does not detect that the device is back online. I have to physically disconnect the USB cable and re-connect it. Do you think this is a device side issue or a USB driver issue on the Ubuntu machine (intrepid) where I am running the CTS?
View 2 Replies
View Related
Sep 9, 2009
Is there a way to restart an activity? The reason is that need to change the theme dynamically, and the activity needs to be restarted and redraw itself after the change.
View 5 Replies
View Related
Sep 9, 2009
how to restart an android Acitivity? I tried the following, but the activity simply quits.
View 3 Replies
View Related
Jun 22, 2010
In my android app i have an ui-update-thread that keeps all my views up-to-date.
Code...
within onStop() to prevent the thread from running all the time. if i don't do this, it would keep running even if i close the app!
problem is: how do i bring this thread back to life when returning from some other activity to this one? run() doesn't work, calling the initial start() in some other method like onResume() crashes the app.
View 3 Replies
View Related
Jan 13, 2010
I've searched and I know it seems some people frown upon using activities within tabs, but moving past that...how would I restart a tabbed activity while still keeping the tabs visible? I have an activity in a tab, I use the menu to create a new activity to update the tab's activity displayed info, when I return from the menu activity I want the new information to be displayed in the tab's activity. I am using startActivityForResult() from the menu choice, but when I return and try to restart the activity...it wipes out the tabs above(I guess as expected, but I want to re-launch the refreshed activity within the tab).
Creating the tabs:
TabHost host = getTabHost();
Intent home_intent = new Intent(constants.HOME_ACTION,
null, this, homeTab.class);
Intent inbox_intent = new Intent(constants.INBOX_ACTION,
null, this, inboxTab.class);
Intent stats_intent = new Intent(constants.STATS_ACTION, null,
this, infoTab.class);
host.addTab(host.newTabSpec(constants.HOME_TAG)
.setIndicator(getText(R.string.home_label),
getResources().getDrawable(R.drawable.icon))
.setContent(home_intent));
host.addTab(host.newTabSpec(constants.INBOX_TAG)
.setIndicator(getText(R.string.inbox_label),
getResources().getDrawable(R.drawable.icon))
.setContent(inbox_intent));
host.addTab(host.newTabSpec(constants.STATS_TAG)
.setIndicator(getText(R.string.stats_label),
getResources().getDrawable(R.drawable.icon)).setContent(
stats_intent));
Return from the menu activity in the tab's activity(updating database info): code...
View 2 Replies
View Related
Mar 8, 2010
Activity SplashScreen is the launching activity for my app. It sends a request to my server and gets back a user data it then uses to populate a user object which is a static object. Once it has that it calls the MyMapView activity and finishes itself. A force close occurs when I hit the home button and then open up enough other apps so that Android kills MyMapView to get more resources. Now when I open my app again it tries to start MyMapView and bypasses SplashScreen. There is no user object so I get null pointer exceptions. I have tried to Override the onSaveInstanceState and OnRestoreInstanceState but it seems that those are not available when Android kills the activity. I also tried android:finishOnTaskLaunch with the SplashScreen (maybe this should be put on MyMapView but the article I read said different) and that seems to have no effect. What I would like is for the activity to not restart after Android has killed it. What can I do about this?
View 5 Replies
View Related