appcelerator

Is there any module which allows cropping an image dynamically in Appcelerator for iOS platform?

穿精又带淫゛_ 提交于 2019-12-12 03:33:50
问题 I am developing an ios mobile app.In that my requirement is user should able to allow crop the photo gallery images dynamically.is their any free module or any alternate code to achieve my requirement Thanks in advance 回答1: You can use http://gitt.io to search for modules. You'll find: https://github.com/caspahouzer/TiCropImageEditor (forked from https://github.com/EtnaTraining/TiCropImageEditor with 64bit and some other patches) The modules implement PEPhotoCropEditor 回答2: Also check https:/

App rejection issue 2.5.1: Apps that use non-public APIs will be rejected (Since iOS10)

浪尽此生 提交于 2019-12-12 03:33:34
问题 we just got my rejection from Apple about some non-public API "contectId". The only thing I have done since I upgraded to the latest Xcode and Titanium SDK (Also with the newest macOS), this became a problem. I know that there's steps here in the message, but is this an Titanium bug or something? -- Hello, Thank you for your resubmission. Performance - 2.5.1 Your app still uses or references the following non-public APIs: contextId The use of non-public APIs is not permitted on the App Store

Unable to run Windows Phone 8.1 Emulator on Titanium Appcelerator

喜你入骨 提交于 2019-12-12 03:27:40
问题 I am trying to run an Android app made in Titanium Appcelerator, to run in Windows Phone emulator I have VS 2013 Pro & Appcelerator Studio 4.5 I wish to run app in Windows Phone emulator, but it gives me error [ERROR] : Invalid "--device-id" value "8-1-1" For help, run: titanium.js help build Command Details Operating System Name = Microsoft Windows 10 Pro Version = 10.0.10586 Architecture = 32bit # CPUs = 4 Memory = 8479367168 Node.js Node.js Version = 0.12.7 npm Version = 2.11.3 Titanium

Appcelerator iOS module crashes with 3rd party framework

我的梦境 提交于 2019-12-12 03:25:22
问题 I am building an Appcelerator module, that requires 3rd party frameworks to be included. I read the documentation and tried to follow it perfectly with little success. The app id is com.example.app The version is 1.0 The frameworks are located in iphone/platform. The module.xconfig is as follows: FRAMEWORK_SEARCH_PATHS=$(SRCROOT)/../../modules/iphone/com.example.app/1.0/platform /Library/Application\ Support/Titanium/modules/iphone/com.example.app/1.0/platform ~/Library/Application\ Support

Appcelerator: Android TextField bottom and top padding too large, unable to change

青春壹個敷衍的年華 提交于 2019-12-12 03:17:22
问题 I am trying to build a UI with very specific sized text fields. The default top and bottom padding cause problems. First when trying to set the height with a relative value the text field displays so that the text inside is either cut off or not even visible: Relative Sizing So using non relative height: var itemValue = Ti.UI.createTextField({ backgroundColor:"#414042", top:"65%", width:"75%", height: Ti.UI.SIZE, color:"#FFF", paddingLeft:"5dp", borderColor:"#F4E09C", borderWidth:"1dp",

C2DM and Titanium Appcelerator Integration

末鹿安然 提交于 2019-12-12 03:11:44
问题 I am using Titanium Appcelerator in order to implement C2DM on Android. After looking at many answers in their forums and in Stackoverflow, I found a guide that walked me through compiling and incorporating a module(titanium-c2dm from GitHub) into my program. I was able to compile and link everything properly, but in an attempt to register per the sample code c2dm.registerC2dm(senderId, { success:function(e) { //stuff here }, error:function(e) { //stuff here }, callback:function(e) // called

How to delete nodes from xml file?

岁酱吖の 提交于 2019-12-12 03:06:32
问题 I want to manipulate a data from an XML file with Appcelerator's app. So I'm able to read the information from this xml file with this code: var file = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory,'/XML/file.xml'); var xmltext = file.read().text; var doc = Ti.XML.parseString(xmltext); var nodes = doc.documentElement.getElementsByTagName("code"); for (var i=0;i<nodes.length;i++) { var element = nodes.item(i); //LA SECTION CODE DEL SOCIAL HISTORY, DEVE ESSERE //29762-2 if(element

Titanium Alloy with Android Emulator on Windows 10

假装没事ソ 提交于 2019-12-12 02:31:53
问题 I'm having huge problems with Titanium Alloy on Windows 10. I am using the Atom editor to write my apps. Whenever I execute ti build , enter the command up to 10( !!! ) times until an Android device can be found. For the Android emulator I get an error message as follows: [Error] Failed to install apk on "emulator-5554" [Error] Error: device not found I tried the commands ti build -p android , ti build -p android -T emulator and ti build -p android -T emulator -C emulator-5554 --log-level

Appcelerator: Android Window not full screen with top and bottom ~2% still showing the splash screen

我的梦境 提交于 2019-12-12 01:48:47
问题 I am running into this problem on all my apps. It is persistent across all OS versions. Screenshots below to see what the issue is. There are bars on top and bottom of the window where the splash screen is visible when the app is running. var self = Titanium.UI.createWindow({ title : 'Tab 1', backgroundColor : '#fff', fullscreen : true, backgroundImage : "/images/homeBG.png", orientationModes : [Titanium.UI.PORTRAIT], }); self.open(); custom_theme.xml <?xml version="1.0" encoding="utf-8"?>

Multiple HTTP Client Requests not storing session data

一曲冷凌霜 提交于 2019-12-12 00:38:22
问题 I have an issue and i wonder is it possible that the code is to fast that its creating separate session ids, let me elaborate. I have two separate HTTP Clients that perform one after each other (see code below). The strange issue i have is in the second HTTP client request all i am doing is retrieving some session data. However sometimes it returns the data fine and other times the session info is undefined, which is causing no end of problems. Once i remove the second Http client the issue