I have programmed an alert Controller for an application . It seems to work fine in all devices except in Moto X (android 5.1) .
In landscape mode , the alert box automatically positions itself to the right end of the screen.
The same thing happens when the virtual keyboard appears . It works well in other versions of android .
The alert box as such does not experience any change in position in other android versions .
My Questions:
What could be the possible work around ?
Related
I initially started making an application on a Samsung Tab 3, and recently changed to a Samsung Active tablet. Since making the change, I noticed that the numeric keyboard is detached from the bottom of the screen, and is movable. I really want the numeric keyboard to be locked to the bottom of the screen, just like the regular keyboard.
Does anyone know how to fix this?
Note: I'm running version 4.4.4
I am making a div invisible by setting div.style.visibility="hidden"; which perfectly works in samsung, sony phones. Also perfectly works for desktop browsers, chrome mozilla. (And it should be.. )
But sometimes, it is not working in google nexus 4 (android 4.3). Tested in multiple nexus 4 device.
observations :
I have multiple dialogs, which navigates between one another. In this process, I hide the previous dialog and make the next dialog visible. This works perfectly fine until I open a heavy dialog, which has 100 divs with multiple images. Now, when I try to go back to a previous dialog, div visibility and opacity stop working. All dialogs remain visible in the background. style.opacity = 0 also doesn't work. visibility and opacity works perfectly fine, doesn't matter how many time I switch between dialogs, until I create that heavy dialog.
when a div is visible in the background, which should not be visible at all, and I lock and unlock the phone, this problem gets resolved. Everything starts working smoothly. Also, if I wait for sometime, everything falls back in place. Starts working perfectly again.
Tried couple of things :
1. webView.setLayerType(View.LAYER_TYPE_SOFTWARE/HARDWARE, null);
2. webSettings.setRenderPriority(RenderPriority.HIGH/LOW);
I will make that div small (with less inner divs) and try again tomorrow.
I will test in nexus 7 tab and other devices if possible.
I will test in nexus web browser.
For the time being, if anyone has any suggestion, please let me know
That's pretty much sums up the question. I have an AIR Mobile Flex App project in FlashDevelop that is using views to show content. Everything works fine, I can add a TextInput or TextArea to the stage, select it (Soft Keyboard shows up then), type some text. But when I press enter or change focus to the other element to hide the keyboard, the screen turns completely white except for the text that has been entered in the field.
Now it becomes interesting. If I rotate my tablet to force the screen to adjust, the content becomes again visible. Sometimes it doesn't even show a white screen, but rather a pitch black one that shows a blank preview when looking at the list of the running apps.
I cannot grasp the logic besides this behavior. It seems that somehow screen just doesn't want to redraw.
UPD:
AIR verison: 3.1
Tested on HYUNDAI SmartPad H-SP701G, Android 4.0.4
UPD2:
Tested on SANSUI ETAB 801VP, still getting the same effect.
The problem is in your application configuration XML.
Check your tag.
Entering value of "auto" or "cpu" should fix the problem.
<renderMode>auto</renderMode>
In my case I set direct and this was the cause of the issue. Using direct render mode caused the application to not work on HTC Evo 3D and Samsung galaxy s3. It did work on HTC Desire though.
We are implementing Phonegap app for Android devices. In one of our screens we have text box, on focus of text box in landscape mode of device , screen scrolls automatically up and down continuously and this issue we are getting only in HTC sensation device.
Issue is not occuring in portarit mode of device.
Please assist me to resolve issue.
I just tested an app developed for Android 2 on the 3.2 emulator. The app supports only portrait mode, thus in default landscape mode of the emulator it's rotated by 90° (as on Android 2).
If however I rotate the emulator to portrait mode, the screen is shown reversed by 180°. That means, what should be on top is on the bottom of the screen and the other way round. It's not only the app, but also the Android status bar.
If I exit (background) the app, the issue disappears.
I've tested the app on several Phones and emulators, this never happened with Android 2. Can't test on a real Honeycomb device yet.
what version of android 2 are you developing, 2.1, 2.2, 2.3.1 or 2.3.3.
If it's 2.3.1 and higher then open your androidmanifest file. In the application tab select an activity. Then scroll down to screen orientation and select sensorPortait in the drop-down menu.
was fixed by changing the properties of config.ini in
%SYSTEM_DRIVE%\Users\%USER_NAME%\.android\avd\YOUR_AVD_NAME_HERE
form
skin.path=1280x720
to
skin.path=720x1280
hope that'd help you
You can rotate emulator screen by pressing 7 or 9 on numpad (windows)