I'm new to Corona. Can I use a key on my PC keyboard for testing my game?
It's really uncomfortable to use the button on the simulator screen.
I've found this in the documentation:
http://docs.coronalabs.com/api/event/key/keyName.html
The D-Pad/Trackball key strings are: "up", "down", "left", "right", and "center".
What does it mean? It works only in Android simulator, or can I use these keys from PC keyboard?
No. These keys represent the physical and soft keys on Android devices. They are not available on iOS or on the simulators but only on device.
Related
So I need to add a mobile operator to Xcode simulator. Currently it looks like this
And i want it to be like this
So my question is if there's a way to do it in the Xcode simulator and if so how?
The status icons you see depends on the model of the iPhone. According to this page, phones that use Face ID do not display the carrier in the status bar, and phones that use Touch ID do.
iPhone models with Face ID
iPhone models with Touch ID
So just go to File -> Open Simulator, and select a different simulator that uses Touch ID, such as iPhone SE.
Also,
If you can't see an icon, check Control Centre by swiping down from the top right-hand corner.
I don't think so that you can achieve exactly same that you posted in question but in iOS we have flexibility to change simulator status bar like battery level, time, WiFi state, cellular state.
this feature is called simctl you can Google more details about it.
to specifically change status bar use simctl status_bar
I dont think u can add mobile cause of similator doesn't have SIM card. operator.Similator can work as a real device as coding, but it does not contain all the features of the real device. Simulator is a program and other device.
If you want to do something for a feature that can only be on a real device try this with a real device like mobile operator operations
It's similar to taking a photo from the phone and uploading it to the app. The simulator does not have a camera feature, so if you try to open the camera in the simulator, the application will crash. You need to test this on a real device
I am building android app using nativescript,
My apk will be installed on Android TV
How do I configure my nativescript app to be navigatable by remote/fly air mouse keys?
For example I have remote for my android tv like this one
I want to bind UI actions with UP, DOWN, LEFT, RIGHT & OK keys
Also want app to take input by numeric keys 0 to 9,
just like we navigate to a channel on regular tv.
I have a cocoa application. I need to retrieve the UDID of the iPhone connected to machine using cable. Is there any way to programatically discover iOS devices connected to Mac OS X machine in cocoa application?
It isn't possible to get UDID programatically. Since iOS 5 Apple has removed access to UDID.
Kindly refer to the following where this has already been discussed.
Get UDID of IOS device programmatically?
UIDevice uniqueIdentifier Deprecated - What To Do Now?
In case you want it without programmatically,
Connect the iPhone to the Mac, open the iTunes, click this button marked with red
After that in the screen you're getting, click on the serial number in the area marked with red here, you'll get the UDID
Connect your device to Mac and open iTunes. Then click on the symbol of the device. It will show the UDID of the device.
And if you want to get UDID programmatically please refer this link.
How to get a unique device ID in Swift?
Hardware keyboard worked fine until Xcode 7.2. I have tried resetting the simulator, toggling hardware keyboard on/off. Suggestions?
I was able to type in any selected keyboard from OSX into iOS simulator prior to Xcode 5, but now it doesn't matter which keyboard I use in OSX, it's always iOS default keyboard. I tried to toggle "iOS uses same keyboard layout as OSX" and "Simulate hardware keyboard" with no success. Deleting com.apple.iphonesimulator and relaunching simulator didn't solve the problem.