UITextField Crash in Simulator not in iPhone 4 (4.2) - ios4

I'm facing a strange issue and have no idea how to solve it.
I have in my app a simple viewcontroller with 3 textfield. I have define them as IBOutlet in my .h and linked them with the file's owner.
Two of them are define with default Keyboard, the other use phone pad keyboard.
When i Try to edit the phone field (phone pad keyboard) it's ok. Keyboard appear, field can be modify.
When i try to edit one of the 2 others, then the app crash for the reason :"Terminating in response to SpringBoard's termination."
I did not receive memory warning.
This works fine if i try it on the iPhone 4 iOS 4.2 or iPhone Simulator 4.1.
Any idea ?
Thanks in advance.
BR,
Smazimute

I found the answer to this issue. Turn off auto correct on the iPhone Simulator.

Try to reset iphone simulator content and settings then restart Xcode

Related

How to fix Android Studio font issues in IDE menu and labels?

I have just installed new Android Studio. But when I open Android Studio, it shows weird kind of characters. Text and Labels in Menu bar are scrambled / appears to be some kind of garbage characters. Can anybody help me solving this problem? TIK
P.S I am using Windows 10
I'm running Win10 and haven't got the nightmare you are into. My sympathies. Try this and see if it works.
Navigate to your user data folder. My user name is "Joe", so my folder is c:\Users\joe\AndroidStudio1.3\config\options . See screen shot #1 below.
Open ui.inf.xml in NotePad ( I use notepad++ here ).
Change FONT_FACE to "Consolas" - see screen shot #2 below.
Let me know if this works!
Healy in Tampa
I found out the cause of the issue for the same issue happened in my system. It was caused by the windows font which was somehow not supported by Android studio. I changed the windows font to a standard font e.g. Verdana to fix the issue.

Keyboard missing in simulator iOS 8 Xcode 6.1

I have migrated code from Xcode 5.x to Xcode 6.1. Everything is working fine except the missing keyboard. Whenever I try to enter text in textfield keyboard goes missing but text is entered.
Why is this happening? Any fix?
In simulator menu, click Hardware>Keyboard>Toggle software Keyboard or simply press Cmd+K.

Android : cannot input text from keyboard

When my android sdk update to newest version, i met the issue is : I cannot type text into Android Emulator by using computer keyboard, and I cannot use Android Emulator keyboard (the keyboard that next to the screen).
If I want to input some text, I must use this : click to textfield where I want to type. It will go to screen with virtual keyboard (as a real mobile phone), and click the character I want.
This annoy me because make me slower when debug an app. Please help me, how to type directly using keyboard.
Thanks :)
Add "Keyboard support" to your emulator hardware:
On Eclipse, go to Window > AVD Manager
Choose your emulator > Edit
Click "New" button in "Hardware" section
Select "Keyboard support" and change value to "Yes"
Finally, click on "Edit AVD" button.
Then you could input text to your emulator from your keyboard.
FYI - since I upgraded to sdk v14, I've had settings issues on the emulators. Leap's solution does work, but you might have to start and stop the emulator several times before these settings stick. No idea why that is ...

Pair with MZ220

I have recently got a portable printer MZ 220. However i am not able to pair with it, i have looked everywhere in the manual to try get the pin and i have tried 1234 and 0000..??
you have to set up an autorisation code on the printer.
standard the printer dont have a pin code.
you can't pair with android becouse android requires a pin.
use Lable vista to set up the printer.
also look in the document's of zebra they have described it somwere.

Virtual keyboard in Symbian S60 5th edition: Which API to use?

How (i.e. using which API) is the virtual keyboard opened on Symbian S60 5th edition? The documentation seems to lack information about this.
You are right, this should obviously be a published API and it should be highlighted in the documentation. No such luck.
If you are using one of the platform native controls, the virtual keyboard will automatically popup when the user accesses a text-editing control.
If you are making a custom control, you need to deal with its selection by adding your own version of the virtual keyboard: make a new text-editing, window-owning virtual keyboard look-alike custom control with the right buttons. Reuse it accross all your applications. One day, Nokia will realize they have made an obvious mistake and make the API publicly available.
If you are using direct screen access, well, you wouldn't exactly expect the very s60-looking virtual keyboard to popup out of nowwhere. Again, draw a nice image on the screen to let the user know where the virtual keys are and react to pointer events. This is going to be less reusable unless you build a good amount of customization (background, button edges...) into it.
EDIT: Nokia may be relying on Qt to fix this issue. I would expect the control to be part of the current 4.7 version of Qt.
Tinkering with focus on a QLineEdit inside custom coded kinetic scroll area, I've had a simmilar problem (how to open virtual keyboard manually). Then, I found it, this obviously works in Qt 4.6.3 on a C7 Symbian^3 phone:
// lineEdit is an instance of QLineEdit
QApplication::postEvent(lineEdit, new QEvent(QEvent::RequestSoftwareInputPanel));
Before that, I also had to post a QEvent::FocusIn event to that same lineedit, otherwise the QLineEdit did not update the content from virtual keyboard.
Hope this is helpful. I lost hours.
Thank you tihi, very useful tip! There's also the "close virtual keyboard" event that can be triggered:
QApplication::postEvent(lineEdit, new QEvent(QEvent::CloseSoftwareInputPanel));

Resources