appcelerator

Appcelerator [ERROR] : Invalid “--pp-uuid” after provisioning certificate update

这一生的挚爱 提交于 2019-12-05 13:25:17
I'm new to Appcelerator and Stackoverflow, so pardon my ignorance. I have just updated my iOS provisioning certificate and now I get the following error. Any ideas? I'm using SDK 5.0.0.GA and studio build 4.0.0. [ERROR] : Invalid "--pp-uuid" value "d806f6cb-f67e-40e5-a9f3-88b8af3bcfae" For help, run: titanium help build 2016-01-16T21:08:11.950Z | TRACE | titanium exited with exit code 1 2016-01-16T21:08:11.951Z | ERROR | Error: ti run exited with error code 1 at ChildProcess.<anonymous> (/Users/rwhatcher/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/plugins/run.js:92:66)

SVG in Titanium Desktop?

岁酱吖の 提交于 2019-12-05 08:29:32
I'm running the 1.1.0 SDK of Titanium Desktop and only my SVG text elements are rendered properly. SVG methods such as getBBox() give error messages. The application works well outside the Titanium environment - that is: Chrome, Firefox, Safari. Any ideas on how to solve this? (What browser + version is really running inside Titanium??) Thanks. Edit: Example SVG code: <svg width="400" height="400" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg" version="1.1"> <title>Example triangle01- simple example of a 'path'</title> <desc>A path that draws a triangle</desc> <rect x="1" y="1" width

Back button exits application in android using appcelerator titanium

微笑、不失礼 提交于 2019-12-04 23:44:47
问题 I am new to Titanium Development. In Native android if we press back button only current activity will be closed and it will go back to the previous activity but when I press the back button in Android using Titanium it exits from the application. How can I change this behaviour? 回答1: There are two types of windows like, lightweight and heavyweight. If you create a lightweight window in Titanium android than on back button press it will exist from your application. You can achieve what you

Keyboard shortcuts for Titanium IDE in MAC

瘦欲@ 提交于 2019-12-04 21:48:39
I'm new to appcelerator titanium IDE, previously I was working on Xcode. In xcode I'm relied on the keyboard shortcuts for saving my coding time. Now I'm struggling with titanium, because I don't know any keyboard shortcuts in titanium IDE. In Xcode commenting a block of code ( cmd+\ ), shifting them to left( cmd+} ) or right( cmd+{ ) was very easy. In titanium now I'm manually doing it for each line of code ! Can anybody help me to find the shortcuts for titanium IDE in MAC ? If this is not the right place to ask this question. please pardon me Midhun, Titanium IDE is just same as Eclipse IDE

Apply Blinking border to a tableview in appcelerator

泄露秘密 提交于 2019-12-04 20:54:13
I have a doubt in appcelerator. Does any body know how to apply a blinking border to a table view in appcelerator. I applied a border color to tableview, but i need to blinking it with other color. Any help will be deeply appreciated. Thank you. try using javascript setInterval. setInterval(function() { if (table.borderColor == '#F00') { table.borderColor = '#0F0'; } else { table.borderColor = '#F00'; } }, 500); First set a borderColor in tableView and interchenge it with other color with setInterval(). set the time in milisecond as how first you want it to blink. 来源: https://stackoverflow.com

Best way to upload image from Mobile to Django server [closed]

白昼怎懂夜的黑 提交于 2019-12-04 17:12:27
I am created a Mobile application(in Titanmium).where user take pictures in mobile and i need To upload the image from mobile to django server .I am using tastypie for my Api can any one guide me the best way to upload and save the image in server the methods may be in pure django or using tastypie .Anything will be helpful. and also best technique to acheieve this. Ambroise There are (at least) two ways to handle file upload with Django / Tastypie : 1/ As stated in my comment : you can make use of Tastypie's features regarding the matter. Django-tastypie: Any example on file upload in POST? 2

Building Native View using iOS module and using them in Titanium

夙愿已清 提交于 2019-12-04 13:19:49
问题 I want to build an iOS module in which I have a viewController class with its .xib file. now the problem is how to call that view from my titanium code. I know that there are view proxy available but dont know how to use them due to not so good documentation. Till now I have created a module where non graphical data can be passed but what about getting View controller from my module. I have already checked the appcelerator wiki, but that was not helpful Any tutorial that will guide me will be

Titanium Android module upgrade to SDK 6.0.0

心已入冬 提交于 2019-12-04 12:55:44
问题 I am trying too recompile my old modules to 6.0.0.GA sdk as its mandatory to make it work on 6 and above sdk. But I am not able to build it as its giving error. Development environment: Android NDK r13b Titanium SDK 6.0.0.GA Appcelerator studio 4.8.0 CLI version 5.0.10 Android SDK 23 I am getting this error : BUILD FAILED /Users/krishna/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.GA/module/android/build.xml:347: The following error occurred while executing this line: /Users

Facebook installs tracking for Android

不想你离开。 提交于 2019-12-04 05:58:16
问题 We are still in process of investigation, why our installs do not get tracked. I have opened another support ticket with Facebook to clarify if install and login are equal or different events, but I also want to dig more into the Ti.Facebook module. We've been testing on Android because of the ease of updates. This is the explanation on Facebook SDK, what needs to be done, to track installs: https://developers.facebook.com/docs/app-ads/sdk#install-tracking And this is the code to log in

Appcelerator Could not find method android.app.Activity.checkSelfPermission

假装没事ソ 提交于 2019-12-04 05:53:25
问题 I cant seem to get geo location to work on Android just seem to get the following bug. [INFO] : dalvikvm: Could not find method android.app.Activity.checkSelfPermission, referenced from method ti.modules.titanium.geolocation.GeolocationModule.hasLocationPermissions [WARN] : dalvikvm: VFY: unable to resolve virtual method 32: Landroid/app/Activity;.checkSelfPermission (Ljava/lang/String;)I [INFO] : dalvikvm: Could not find method android.app.Activity.requestPermissions, referenced from method