Landscape mode phone my recovery program - Android Studio

Hello,
I have a program that generates circles , the emulator when it is launched to the vertical and when I put the phone horizontally it removes me my circles and generates new .
How can I prevent this?
(make short sentences I do not speak english ^^)

problème974 said:
Hello,
I have a program that generates circles , the emulator when it is launched to the vertical and when I put the phone horizontally it removes me my circles and generates new .
How can I prevent this?
(make short sentences I do not speak english ^^)
Click to expand...
Click to collapse
I don’t understand what exactly do you mean and with no code to work with is difficult. Have you considered the fact, that the activity is being RECREATED during orientation change? When recreated, the activity is being destroyed and then a new activity is created for the new orientation.
You can set the orientation to be only portrait or landscape
<activity
…
android:screenOrientation="portrait"
… >
…
</activity>

Related

Stupid Question (like me xD)

Hi!
Is there a way to force the screen always to be landscape.
My device is Hermes (Spv M3100) Rom: Dvh_v20
I have "rotate screen" program but when i turn the display of and on again its portrait again. Any ideas :?
mortscript-
9.6.6 Execute application on each power on (RunOnPowerOn)
RunOnPowerOn( application [, parameter ] )
Executes a program every time the device is switched on. For this the program is added to the so
called “Notification Queue”.
You should think twice about using this command, since for example there can be nagging error
messages if the given program is deleted or moved.
&
9.23.4 Rotate the screen (Rotate)
Rotate( orientation )
Rotates the screen.
Valid values are: 0=default (portrait), 90=right handed, 180=upside down, 270=left handed
there's a link in my sig to the site

Lock an app in landscape

I was wondering if there was a way to lock apps in landscape mode? For instance, maps. When using maps to navigate I like the phone to be in landscape but it will jump between portrait and landscape with the slightest movement of my leg (the phone is sitting on my leg while I drive) and it gets pretty annoying while trying to follow directions.
I wish.
Apps don't have to be written to be in whatever view. So it can't be forced.
And I've always wanted a root permission that could force apps in landscape but it's never happened.
Icebergxx said:
I wish.
Apps don't have to be written to be in whatever view. So it can't be forced.
And I've always wanted a root permission that could force apps in landscape but it's never happened.
Click to expand...
Click to collapse
Look what I found.
"Also, apps that use the accelerometer directly to reorient themselves sometimes compete with the system doing the same thing, with odd results. And finally, some apps that use the accelerometer to detect things like shaking motions and that don't lock their orientation to portrait or landscape, often end up flipping back and forth between orientations. This can be irritating to the user. (You can lock your app's orientation to portrait or landscape using the 'android:screenOrientation' attribute in your AndroidManifest.xml.)"
1) Open the keyboard. There, stuck in landscape.
2) Hack the XML.
lbcoder said:
1) Open the keyboard. There, stuck in landscape.
2) Hack the XML.
Click to expand...
Click to collapse
The OP doesn't have a keyboard to open (MT3G), so option 1 is out.
This is the DREAM forum. It is therefore, a perfectly valid answer.
For questions about MAGIC, he should go to the MAGIC forum.
lbcoder said:
1) Open the keyboard. There, stuck in landscape.
2) Hack the XML.
Click to expand...
Click to collapse
Option (2) actually isn't difficult.

[Android 1.5+] Ultra Keyboard - v7.4.3 - 1/31/2014

-
ABOUT
ULTRA KEYBOARD has many features designed to give you a better Android keyboard experience.
Only $2.49 on Google Play! There is a free (48 hour) demo available.
https://play.google.com/store/apps/details?id=com.binarybulge.android.apps.keyboard.full
Look for us on AndroidPIT too, if you prefer (they accept PayPal!).
http://www.androidpit.com/en/android/market/apps/app/com.binarybulge.android.apps.keyboard.full
-
FEATURES
Choose your favorite way to type.
Touch-type like usual, or combine adjacent keys into COMPACT KEYS so they're easier to press. Slide your finger over words using WORD TRACING (instead of touching each individual letter).
The SUGGESTION BAR is smart and easy to use.
Choose words with just one swipe, even if they're not visible at first. A built-in English LANGUAGE DICTIONARY is included (and many other languages are available for download). Add new words to your personal CUSTOM DICTIONARY. BLACK LIST words you don't want to show up anymore.
Use WORD REPLACEMENTS to automatically expand abbreviations.
Tired of always typing "be right there"? Try "brt". You can even create your own.
The TOOL BAR provides a ton of functionality in a small amount of space.
You can scroll, drag, or flick through the available buttons.
Use SPEECH-TO-TEXT to transform your spoken words into text.
TRANSLATE your text to dozens of different languages.
CUT, COPY, and PASTE with a built-in CLIPBOARD.
Text you copy is saved so you can access it later. Remove anything you don't want to keep.
FULL-SCREEN MODE provides TEXT SELECTION HANDLES and a MAGNIFIER.
Accurately select portions of text to edit or copy.
The CHARACTER MAP makes more Unicode characters accessible.
Set up your own list of favorites for easy access. Includes Emoji on Android 4.1 devices.
Use the CAMERA OVERLAY* to see where you're going.
Watch what's in front of you while you type on the go. (* Android 2.3 or newer only.)
Create custom ACTIONS triggered by GESTURES or device buttons.
Want to swipe left to delete the previous word? Want your device's search button to activate the camera overlay? Do all this and more.
A DYNAMIC UI means you can customize the keyboard so it's perfect for you.
Are the keys too tall for your liking? Make them shorter. Don't like the ARROW KEYS? Hide them. Many things can be tweaked directly from the tool bar.
Change the keyboard's look with downloadable THEMES.
You can use the built-in THEME EDITOR to create your own themes, or customize existing themes with your chosen fonts and colors. You can even use themes designed for other keyboards!
-
CHANGE LOG
7.4.3 (1/31/2014)
Fixes:
Crashes involving the clipboard feature
Lag when updating the suggestion bar
Activity stack state issues when visiting settings/help from keyboard/tool bar
7.4.2 (1/30/2014)
Fixes:
Regression preventing lock screens from working
Problems with new word list interface
Clipboard tool wasn't honoring max entry setting
7.4 (1/29/2014)
Additions:
Customizable actions for long pressing modifier keys
Show the current dictionary on the space bar when multiple dictionaries are installed
A Done button in the full-screen editor
Improvements:
New interface for word lists (custom dictionary, replacements, clipboard entries, black list)
Made tool bar smoother and more predictable
The original suggestions are restored when undoing a selected traced word
Made it easier to cancel popup keyboards by dragging away from them
Only made certain dialogs transparent (the tool bar's Themes button for example)
Fixes:
Palette overlay in color picker didn't work
Character Map font color was wrong for light themes
The Done button didn't always dismiss the keyboard
Fixed crashes
7.3 (1/8/2014)
Additions:
"Character Map" feature (with Emoji for 4.1+ devices)
"Show Watermark" setting
Fixes:
Improved word tracing
Suggestion bar location was too low on 4.4 tablets
Couldn't always type in URL fields after tracing a word
Backspace didn't always work with selected text on 4.1+
Couldn't undo word corrections in some instances
Disabling "Typing->Capitalize Sentences" didn't work
Shift key wasn't always being updated after turning screen back on
Jumpy tool bar popup text
Fixed crashes on older versions of Android
7.2.1 (10/15/2013)
Suggestions:
Cursor position was sometimes incorrect when correcting existing words
Non-lowercase blacklisted words didn't persist
Typing:
Backspace deleted recently pasted text even after typing
Keys:
Previews could get stuck if keys were pressed as the keyboard was closing
Enter key long-press "take the default action" didn't work correctly
Tool Bar:
Position wasn't saved after a scroll
Emotes didn't show properly on certain versions of Android
Full-screen:
Cursor handles/magnifier could get stuck showing after leaving full-screen
Sentence capitalization didn't always work
Editor text didn't always get cleared when sending messages
Other:
Forced status bar to be shown when the keyboard is showing (avoids positioning issues)
Added direct app links to Facebook and Twitter profiles
7.2 (10/10/2013)
Suggestions:
Improved accuracy and speed (especially while tracing)
Undoing a suggestion sometimes mangled the text
Backspace deleted too many characters at times
Expanding the bar no longer steals focus from the current app
Typing:
Fixed capitals and symbols for shell/remote access apps
Prevented arrow keys from being triggered while typing
Improved popup key animations
Enter Key:
Fixed "Take the default action" behavior
Line break wasn't working on Android 4.3
Other:
Added "General->Show Automatically" setting
Worked around Android 4.3 clipboard crash
Popups (key previews, magnifiers, cursor handles) could get stuck on-screen
Tool bar item text size was too small for certain screen sizes
Increased heap size for extra-high-resolution screens
Crash fixes
7.1.1 (9/19/2013)
Fixes:
Enter key regressions (can't get past security/password lock; "Insert Line Break" broken)
Various crashes
7.1 (9/16/2013)
Additions:
Any selected text can be shifted
"Show/Hide Suggestions" action
Hidden characters on dedicated digit keys
Set default menu action to "none"
Theme names up to 32 characters
Updated key sounds
Fixes:
Editor button issues
Suggestions close when toggling full-screen mode
Compact popup keys close incorrectly
Compact alpha layout issues
Suggestion text size for small bar heights
Selected theme not migrated from demo
Inconsistencies in settings
7.0.1 (9/1/2013)
Fixes:
Issue deleting characters on Galaxy devices
Various crashes
7.0 (9/1/2013)
Additions:
Full-screen mode
New tracing animation
Physical key actions
Improved camera mode (with front-facing support)
New theme styles
Fixes:
Got rid of HUGE memory leak. Memory usage will be much lower now.
Many crash fixes.
LOTS MORE! Way too many to list here.
​
-
like this
good job I really like this app use it all the time
Hi, i have galaxy mini running stock 2.3.4 and market said its not compatible...why? and when i tried leaked version it was function but i cannot download language packs or skins...i really want to use it so ill buy it, but without support for my device...you know
i likeee...
Nice. I like this keyboard. It works really well. I tried the trial and purchased the full app today. Thanks OP.
Updated to v6.1.03.
· Added new built-in themes (Froyo, Gingerbread, Ice Cream Sandwich).
· Added new "Recent Apps" tool bar button.
· Added "Translate" option to dictionary button.
· Fixed performance issues.
· Enabled tracing (portrait) and disabled compact keys by default.
HI can you make it compatible with LDPI phones such as GALAXY MINI?Id like to use it on my phone...and does it support czech language ? if no dont bother with reply to compatibility issues
6.1.04:
· Fixed regressions (capitalization being ignored, full keyboard using compact suggestions).
Gnaver said:
HI can you make it compatible with LDPI phones such as GALAXY MINI?Id like to use it on my phone...and does it support czech language ? if no dont bother with reply to compatibility issues
Click to expand...
Click to collapse
I guess I was sort of hoping the LDPI phones have gone the way of the dinosaur. ;-) Was also thinking maybe Ultra is a little too heavy weight for lower-spec'd phones.
I'll definitely look into this. The medium DPI images should be scaled down on-the-fly on LDPI devices, but I think keeping Android 1.5 (Cupcake) support broke this.
I like to use forever !!!!! Link ?
Looks like a nice app
Updated to 6.1.06.
· Added an "Exit/Unload" option to the status bar menu.
· Fix: Word tracing crashes sometimes from native code.
· Fix: Certain black-listed words come back after restarts.
· Fix: Suggested words are incorrectly accepted when long-pressed.
· Fix: Suggested words stop working when editing a theme name.
· Fix: Suggested words stop showing at times, until the device is restarted.
· Fix: Clicking the status bar notification switches activities when the keyboard is open.
I linke!
Inviato dal mio Nexus S usando Tapatalk
Plz add option to change 'multi-tap interval' in t9
Sent from my GT-I9000 using Tapatalk
good, i will buy if there is russian language
Like this
Hi, got the Trial from the market...
Where can I change the Dictionary? Or is it disabled in the trial? I found Settings-Gestures-Dictionaries but it only offers me English.
And btw: can I migrate my old HTC personal Dictionary to the german one?
like this.
Updated to 6.2b.
· Increased performance and stability.
· Dictionary/tracing code completely rewritten.
· New theme features: can now stylize the suggestion bar.
· Almost too many fixes to count!

[Q] Keyboard - impossible to put a coursor in the middle of a word

Hi. The default behaviour of the keyboard in WP is that if I touch a word it marks the whole word.
Putting a coursor in the middle of the word is a pain in the...
How to change this behaviour? Is it possible to make it behave like in the android?
I mean I want to set the coursor in the word by touching the text. I don't want to mark it each time.
thanks.

Resize "Popup task buttons" layout

I created a task which show the "Popup task buttons", but unfortunately the default window which popups is really too small. I tried to manually resize the layout but the result was a true mess: the buttons size and position behave erratically between the Scene editor and the real window which popup. Any idea?
Hard to tell what is happening without seeing how you are trying to resize. I have attached a modified pop-up task button scene. You could import this into your tasker and see if it is closer to what you want.
To import the modified scene, put it in a scenes subdirectory within the Tasker folder on your device, which is usually:
Code:
/sdcard/tasker/scenes/
The scene name can be changed I've imported. These days, I tend to add my user name to prevent import issues due to name space collisions.
I've made only small a change so I can try to get an idea as to what you want. Showing a picture of what the stock scene is doing that you want to fix might help.
Thanks for your reply. What I'd like to get is something like this:
https://ibb.co/WkSSs3K
but if I create this in Scene Editor, what I get in the real task is this
https://ibb.co/ncgNZbP
Obviously I am missing something here but what?
When you tried to resize the buttons, did you use the resize touch mode (hand icon -> resize) or did you try to drag in either the default normal touch mode (hand icon -> normal) or edit touch mode (hand icon -> edit)? It's easier to control using the resize and move touch modes. But, in order to enter the element editor, it helps to be in normal touch mode.
There is a magnifying glass at the lower right. Tapping that will toggle between the editor (default - magnifying glass will display a minus sign) and display (default - magnifying glass will display a plus sign). When in the editor, the scene is often zoomed in which can change how the scene appears.
If it helps, I've attached a scene modified similar to your first picture.
I really don't know what is going on here, but something odd is happening.
I create a simple task using your layout (which is exactly what I'd like to get), but when I actually run the preview of the task i see this instead.
https://ibb.co/n00VqhH
This behaviour is the same with almost every layout I create: I see an image in the scene editor and a totally different one when I run the task.
Any ideas?
daniele62 said:
I really don't know what is going on here, but something odd is happening.
I create a simple task using your layout (which is exactly what I'd like to get), but when I actually run the preview of the task i see this instead.
https://ibb.co/n00VqhH
This behaviour is the same with almost every layout I create: I see an image in the scene editor and a totally different one when I run the task.
Any ideas?
Click to expand...
Click to collapse
I have no idea. Could you post your task that displays this scene. For help find that, please see this post.
Also, what device and OS is this?
Conferma (25)
A1: Popup Task Buttons [ Text:Sure? Mode:Text Task:Ripristina Task:No Task: Background Image: Layoutopup Task Buttons - Ktmom Larger Timeout (Seconds):10 Show Over Keyguardn ]
Sorry. This is a little different task because I deleted the previous one, but the behavior is exactly the same.
Ahhh, I see. Try using this scene, but use a display scene action. Make sure to have an action in the task or the tasks associated with pop-up buttons, which destroys the scene when you're done.
Thanks. I used "Display scene" instead of "Popup task button" and now it works as expected.
The pop-up button action "should" work. Unfortunately, Tasker's current developer has made it clear he will not support the built in scenes. I'm guessing there will be a day where the scenes become even more problematic and we'll be forced to AutoTools web scenes.
«rant»I have spent days trying to convert one of my many custom scenes to a web scene. You need html, css, and JavaScript plus an understanding of how to set and receive variables back and forth. It's second to impossible to develop on the device. Which at least in my case means I can't tweak when in at the doctors office or hospital with my son. And I rarely have time to sit on the computer at home «/rant»

Categories

Resources