Android :: Navigation From One Screen To Another Screen Not Working
Nov 23, 2010
public class check extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);}
void myonclick(View view)
{
Intent mIntent = new Intent(this,check2.class);
startActivity(mIntent);...............
when i click a button it will show error in emulator has (The Application Check has stopped unexpectedly).
View 2 Replies
Aug 9, 2010
When i fire up my youtube app, i get a quick black screen flash and it goes back to home screen. The app doesnt launch at all. It was working just fine for several months, all of a sudden it started doing this.
View 8 Replies
View Related
Dec 9, 2009
It seems like there should be an easy fix (change a setting or something) for this, but I can't seem to find it and it's driving me nuts.
Whenever I use Google Navigation, the screen times out after a minute (just like any other time I'm using my phone). But, doesn't it seem like the screen should not shut off EVER while using Nav?
View 5 Replies
View Related
Oct 21, 2010
I was using Google Navigation this morning to direct me to somewhere and the screen kept timing out and locking. This was happening every 10 minutes or so.
Surley this is not meant to happen on a NAVIGATION application where you would expect the screen to stay active all the time! how can i prevent this from happening?
View 2 Replies
View Related
Mar 3, 2010
I want do make navigation bar at bottom of the screen in android application . how can i do that?
View 1 Replies
View Related
Aug 23, 2010
I fight with me for some days about asking this question.
Its pretty plain and simple:
If you have an application with a GUI totally working on 2D drawing, what should be the best practice to handle what to draw and where to touch?!
Some example for better understanding:
I have a game with a map. On this map I can build houses and stuff.
I also have a information bar which can be extended. On the extended bar I draw some information about the game and also enables to change different values. If a touch occurs, I have to check, if the information bar is extended or not to determine if I want to change something on the map or something on the bar.
Thats done by the State Pattern, but I have some doubt if thats the right one because I think it can be a bit complex because of possible "sub-states".
So basically the question: Is the State Pattern (from GoF) the best practice to handle a pure graphical GUI?
View 1 Replies
View Related
Jun 24, 2010
So I was planning on writing a Chess-based mini game as part of a project. I was working on my pitch when I realized that I had to represent 64 clickable squares on a screen of that size. I found a couple of ways around it. Like letting them choose a row number from 1-8 and a column number from A-H OR providing them with four arrow keys to navigate across the screen. But it just takes the fun and intensity out of the game.
View 8 Replies
View Related
Jan 29, 2013
Is there any way to move navigation bar in tablet on top of screen instead of bottom?
View 1 Replies
View Related
Jan 15, 2010
Is there a way to make the map rotate in naviagation so that you are always pointing up insead of North always being at the top of your screen?
View 4 Replies
View Related
Aug 28, 2010
when I first got it I noticed that I had home screens on both the left and right of the center screen now it seems my "home" screen can only be on the right. So if I hit the home button it scrolls all the way to the right screen. btw I was an avid iphone supporter but have converted so I'm also a noob to the Android scene but so far I regret making this decision so late in the game!!
View 3 Replies
View Related
Oct 15, 2010
I'm using webview to display local html content. The text fits the screen width, but the user is able to navigate horizontally where there is only blank space left. However, there is no content to be shown as everything fits the screen size. Does anyone know how can I avoid this behavior? I mean, if all content is being show, how can I disable horizontal navigation.
View 2 Replies
View Related
Sep 22, 2012
Basically, I want the three dots that appear on the apps to appear even without the navigation bar enabled. How I can do that?
View 6 Replies
View Related
Mar 31, 2010
I am designing a home screen widget. I ran this widget on a HTC Hero device, which has a screen of 320 pixels * 480 pixels with mdpi. It ran perfect on HTC Hero. The widget takes 3 cells * 2 cells space, i.e. 240 pixels * 200 pixels.Then I ran this widget on a Nexus One device, which has a screen of 480 pixels * 800 pixels, mdpi. Since Nexus One also is mdpi, so I though 240dip is equivalent to 240 pixels on Nexus One and 200dip is equivalent to 200 pixels on Nexus One, so the widget will not take 3 cells * 2 cells space on Nexus One device. To my surprise, when running on Nexus One device, the widget take exact 3 cells * 2 cells, about 360 pixels * 300 pixels, on Nexus One device.I am confused. The layout xml above specifies 240dip in width and 200dip in height for the widget, but why did it take 360 pixels * 300 pixels on Nexus One Device? What am I missing?
View 2 Replies
View Related
Oct 27, 2010
Anybody have any idea why this is not working under 2.2? (nexus one)
WindowManager.LayoutParams lp = getWindow().getAttributes();
lp.screenBrightness = 1.0f; getWindow().setAttributes(lp);
And yes, the auto-brightness is disabled under settings.
View 8 Replies
View Related
Apr 13, 2010
As I understand it, there seems to have been a change in the OS that prevents the accelerometer from running when the screen turns off and the phone CPU goes into its power saving state.Can this be confirmed?I have gotten around this by using a wake lock, but this is a much less than ideal solution as it drains a lot of battery.If the accelerometer was disabled in low power mode to save the battery, it may very well have the opposite effect in many cases, such as mine.A partial wake lock seems to be required to keep it running, which is obviously much worse than if just the accelerometer were running without the need for the wake lock.Are there any other workarounds anyone knows of to getting accelerometer values while the phone is in low power mode?Also, are there any plans to change this in future versions of the OS?If there are no plans to change this, I would definitely like to petition for this to be changed.
View 14 Replies
View Related
Nov 20, 2010
I made a simple countdown timer and it works as expected when plugged in via usb for debugging but when I take it off debugging and the screen goes off either time out or power button the handler fails to fire at the end time. I have created a custom timer class that gets created from the main activity when needed, because its able to have multiple countdowns running at the same time. Am I right in thinking that the handler just gets paused when the screen goes off and if so what are my alternatives. The activity is still in the foreground and I assumed the handler would still fire if the screen goes off.
View 13 Replies
View Related
Nov 13, 2009
I'm getting tired of Open Home's constant force closes. Would love if Panda Home would worked, but even with the new version I'm still getting the screwy scrambled screen for icons / if you change the wallpaper. Is this just my phone or are other people also still have trouble with Panda Home?
View 1 Replies
View Related
Dec 14, 2009
This used to be (what I thought was) a hardware problem with the G1 at some point, but I thought it was resolved for the Droid.
View 2 Replies
View Related
Mar 20, 2010
I've racked my brain for hours over this issue. I have created a main.xml and designed one for the res/layout-land (landscape) format and another one for portrait in res/layout. When I rotate the emulator (ctrl-F11), my app rotates properly to landscape using the correct main.xml, but a subsequent rotation back to portrait just keeps the landscape mail.xml. This was done in a 2.0 AVD.. Out of desperation I downloaded the new Sample Code for Multiple Resolutions and had to create a new 2.1 AVD, to my surprise rotation with this app works correctly as expected. So I then decided to try my app on the 2.1 AVD and it works perfectly. So, is this a Bug in a 2.0 AVD or is there something special I need to be doing for < 2.1 SDK versions?
View 4 Replies
View Related
Dec 30, 2012
My Virgin Mobile HTC EVO 3D on ICS is having touch screen issues...but only in games. In games such as Minecraft: PE, Modern Combat 4, Modern Combat 3, COD:BOZ, N64oid, and similar games which use an on-screen joystick, it isn't working. I can place my finger on the joystick (or where it's supposed to be) and try and touch and drag, but it either doesn't respond or responds for half a second then acts as if my thumb isn't even there. It's really driving me insane. I'm not able to play any of these expensive apps anymore. My old EVO 3D recently killed itself due to an unknown issue, so VM sent me the phone I have now literally the day after Christmas. I had this same issue with my last EVO 3D. It's gotten to the point where I'm considering purchasing a PowerA MOGA controller, just so I can play these apps.
View 1 Replies
View Related
Aug 16, 2010
On my desire the screen does not timeout. I have set it to 15 seconds but the screen always stays on.
View 4 Replies
View Related
Sep 15, 2010
I was at school listening to music on pandora and it died, went home plugged it in (charger) and now when i try to enter my password it doesnt respond AT ALL! no even the emergency call.. this is pissing me off to NO END as I got it 3 days ago... I tried taking th battery out and that didnt work, i called it with my home phone and she screen changed to the answer/ignor/ignore w/ text screen but the contact didnt move when i slid it over.
View 2 Replies
View Related
Apr 26, 2010
I hold down the power button. Nothing. Odder. Pop out the battery, replace battery, try to power up the phone. Nothing (seemingly). So now I'm getting worried. I realized that the screen was turning on, but the phone was not booting up (at least it didn't seem like it was...the phone is on silent so it may be, I don't really know). I could tell because there was a faint glow coming from the screen that, if I pulled out the battery, disappeared.
None of the buttons (home, back, etc.) light up or do anything. There is no haptic feedback or anything like that. I'm at a loss about what could have happened / what might be wrong. I'm guessing I'm going to need to get a replacement, but I'd figure I'd ask around here for any theories. As, if/when I do need to replace the phone, I have a couple questions.
1. I bought the phone at BestBuy. Do I go to BestBuy or Verizon for a replacement?
2. The phone is rooted. I'd rather not return it to the store in that condition, but I can't think of any way to unroot it without being able to do anything on the screen (I tried booting up into Recovery, didn't work). I haven't been home yet so I don't know if I can get it connected to the computer, but without debugging turned on I don't think I'll have much luck. Any thoughts?
3. I have a PhantomSkinz on the phone. I thought I read somewhere that the clear stick on cases (PhantomSkinz, Zagg, etc.) void the warranty. That may be complete BS, which I hope it is...can anyone confirm or deny?
View 3 Replies
View Related
Oct 17, 2010
HTC Evo was working fine, started noticing screen flickering but phone continued to work fine. Updated to froyo 2.2 and did sprint updates, phone still worked fine, then next day in the middle of playing with phone screen flickered and went black. Tried removing battery and rebooting several times but no luck. Left battery out overnight and tried again in the morning white htc screen appeared and then flickered out to black. did a hard reset, with the screen still black and still nothing. I've gone back to my phone after it has set for hours untouched and press the power button I can see the lock screen but it too goes away after a second or two. Phone is functioning lights at the bottom of the phone are lit and respond when I press them just no visible image. I don't have the insurance so I'll have to pay for all the fixes myself and I've had it since August so there is no returning it to the store. I've searched the web and I haven't seen a solution to what the problem could be is it the LCD screen or the motherboard. I'm ordering another screen but I'd hate to find out it is something else.
View 1 Replies
View Related
Jul 22, 2010
I just got a new HTC Evo and when I use the youtube app it just goes to a black screen like it is loading but doesn't do anything, but if I go to the browser and go to youtube it works. I can't use any of the soft keys at the bottom, I have to make the phone go to sleep then open it again. I was wondering if it just takes long to load or if the app is broken, I am only in a 3g area but I wouldn't think that that would affect it. It shows my notification bar but doest let me access it
View 9 Replies
View Related
Feb 2, 2010
My screen will not work any ideas on how to fix it?
View 11 Replies
View Related
Nov 27, 2012
I have a screen that looks like colored lines, if this is a screen problem or a software problem.Prior to this the screen would only light up. It might go back to just lighting up, It will not connect to the computer. It is less than 2 weeks old. Claimed to be an Allwinner A13 processor.
View 1 Replies
View Related
Jul 7, 2010
My EVO has been answering phone calls in my pocket. I've even "butt dialed" a couple of people when I forgot to turn of the screen before sticking it in the pocket.
If I forget to turn off the screen, that's my fault, but the screen turns itself on when the phone rings.
How the heck is a capacitive screen working through fabric, anyway?
View 8 Replies
View Related
Dec 27, 2009
Went into test mode to check out the battery. And through my curiosity went into the 'touch-fw update', and now I can't use my phone. I have the touchscreen lock so can't unlock it, otherwise maybe I could use the keyboard or the optical joystick to use the phone. Is there any way to fix this? I might attempt a hard reset, but saw on another forum, that it's unfixable. I bought it at Best Buy and they aren't even open tomorrow, would another Best Buy or Sprint store exchange it if I can't fix it?
View 5 Replies
View Related
Sep 13, 2010
Whenever possible I always use the landscape keyboard but have noticed that sometimes in messages (and web browser) that if I spot a mistake and use the trackpad or touch the screen to go back and correct whatever I type on the keyboard will not appear in the text. The keyboard still responds as you can see the popups for the keys when you press them but the text doe not go into the box. The only way I found to cure this is to close and reopen the keyboard and everything then starts working. I am running the recent OTA firmware update on a completely unrooted unbranded Desire.
View 3 Replies
View Related