i make a application on Titanium. whose work on cross platform (android or iphone).
i want to stop orientation in android device how i can do?
because, android have default orientation change. and iphone have not default.
win.orientationModes = [Ti.UI.PORTRAIT];
This is working ...
For any kind of android application you can use below in android manifest.
<activity android:screenOrientation="landscape" android:name="org.appcelerator.titanium.TiActivity" android:configChanges="keyboardHidden"/>
For any kind of IOS application you can use below in main plist file in xcode
<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationLandscapeRight</string>
For Titanium Mobile specific; please check below link from Titanium dev center
http://developer.appcelerator.com/question/22241/is-there-a-way-to-disable-orientation-change-on-the-ipadiphone
Related
I am developing a react-native app. I have changed android's icons easily. But, I am stuck in IOS part.
Is there any way to change IOS icon without x-code on Windows OS ?
I implemented code using a React Native package accessing camera to scan documents. I don't have a physical phone. How do I test the functionality using just my ios emulator on computer?
For iOS it's impossible to test the camera. For Android you can configure the emulator to do that.
Its possible to configure your emulator in Android to test the camera:
fire up Android Studio
open the AVD Manager screen
click on the pencil icon next to your chosen emulator device
show advanced settings
change camera (front and/or back) to "Webcam0"
You will need to cold restart your emulator for the changes to take effect.
I have a MobileFirst App for iPAD created using MobileFirst iPad environment. After build the app, in xCode we have changed the build setting from iPAD to Universal App. After uploading the iPA to IBM Application Center, it shows Device Family:iphone, iPad.
But while try to access the iPA from IBM app center client on iPhone. Its not listing this application.
MobileFirst Server, App Center, App Center client, Studio Version: 7.1.0.00-20151114-1616
From your problem description I guess that you can get the application only when using iPad.
Please try to create 2 separates IPA files for iPad environment and iPhone environment (add these 2 environments in eclipse).
then, in the applicationDescriptor.xml you will have 2 different environments one for iPad and one for iPhone.
As far as I know you will need these two environments in order to download the application to iPad and iPhone.
Creating an iPad environment and change the build setting to universal will not work.
Please follow:
https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/hello-world/your-first-hybrid-application/#addingEnvironments
https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/moving-production/distributing-mobile-applications-with-application-center/
I do a Titanium application that woks on iOS and android. Now, I want to create the Blackberry version.
I've tried with a simple app and it's launched well at simulator, but when I've tried my app it doesn't work.
It launches splash screen and begins to load the elements, but I think the app crash because simulator returns to main screen, there isn't any alert (like on android when app stop unexpectedly), it only returns to main screen.
My problem is that I don't know what happen and I can't find any error logs...
I connect by telnet to the simulator, and there I can see the first traces of my app, but any error.
Do you know what can be happened? How can I know if I have an error? How can I know if my app has crashed?
Sorry, if it's an easy question, I'm newbie at Blackberry.
I'm using Titanium SDK 3.2.2 and Blackberry SDK 10.02
Thank you very much
I've created a new project (with Titanium SDK 3.1.3 instead of Titanium SDK 3.2.2) and copy all files there. I've tried to launch the app many times, and one of them, the app launches.
Maybe it was a computer or simulator problem.
I've developed a Phonegap App. Now I'm tryng to release it to some BetaTester.
I've followed the procedure described here and successfully installed on an iPhone 4s with iOs 7.1 and on an iPad2 with iOs 7.1 but I can't install it on an iPhone 5s with iOs 7.1
After the sinc end withot any error the app icon remains faded in grey with a label "Installing..."
I triple checked to have added the UDID to the provisioning profile, and I thought that iTunes will throw an error anyway if the device is not correctly listed. So... I have no Idea on how to fix this...
How can I solve this problem?
Thanks in advance...
try this way How to Test Your App
this will helps you