Community Questions & Answers
Alloy, help with strange library inclusion behavior on ios?
I am creating an alarm app in alloy (mostly for practice). And there are several functions that I am going to need in several controllers. So, i made a library. ~~~ module.exports = (function(){ return { /** * Creates a checkbox which can be used on...
How to best include date formatting library in Alloy project?
I'd like to include one of these two date formatting libraries in my Alloy mobile project to help me format dates. What's the best way for me to do that? I tried putting the code in alloy.js to no avail. -...
Compress/Minify HTML String
I have a webview that passes back the source HTML string to my app. I want to compress or minify the HTML source string so that it doesn't have any extra white space or line breaks. Has anyone come across a JavaScript library that can accomplish this...
Decrypt a text using 'crypto-js' library (Triple DES)
Hi all, I'm using "crypto-js" [link](http://code.google.com/p/crypto-js/) library to decrypt a text. I'm having a problem to use the "decrypt" function, I'm using Triple DES. So I placed "tripledes.js" under "lib"...
CBMVC library for alloy is released, welcome to try to use :)
Hi everybody, my CBMVC library just a common library for Alloy, there are following features: 1. Base on Alloy, use a namespace for the structure, it can avoid the memeory leak. 2. The switch page animation can support fade in, fade out; navigation...
adding external .a libraries to titanium module
Hi I'm attempting to add external .a libraries to a titanium module that I'm creating by dragging them to the xcode project. However, the .a files are not included in the resulting module zip package. How do I have the javascript app uses functions in...
Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types
After I installed Flash Builder 4, Adobe Flash CS5 and some other package from the Adobe Suite I'm getting this error... it doesn't trouble me in any way concerning the deploying of the app, but just wondering if there was a way to fix it. Thank...
Why aren't the generated Titanium source files precompiled in a static linked library?
Often times when I'm working on an iOS project, I will open the "build" directory generated by Titanium Studio and open up the Xcode project to do some advanced debugging and profiling. However, compile times are very very slow, even for small...
Use Appcelerator Titanium for Android phone with IOIO board
Hi all, I want to use an IOIO board [See here](https://www.sparkfun.com/products/10748) for a project. This board uses a Lib for Java development [found here](https://github.com/ytai/ioio). My question is: can I use Titanium for this? Do I need a module...
Create a 'library' to be used globally, list of methods
I am looking to create a JS file that can be access from all pages of my app. This JS file is to contain common functions (check if a file exists, etc). I was thinking of creating a file (let's call it customLib.js for now) and then 'require' it in my...
Using Raphael.js (JS drawing library) in a Mobile App
Okay, so I am wondering if any one has successfully implemented the [Rafael Library](http://raphaeljs.com/) into their app. I am hoping to use it in combination with webView but unfortunately the compiler comes up with A LOT of errors and won't compile....
[INSTALL_FAILED_MISSING_SHARED_LIBRARY] FIX
?f u have this problem : "[INSTALL_FAILED_MISSING_SHARED_LIBRARY]" How to FIX: Right Click Project -> Run As -> Run Configurations -> -change- "Android Api: Android xx " to "Google APIs Android xx" Example:...
How to build module to include external libraries?
Hello. I am able to successfully write a simple module, call the method from javascript, and fire call back when the module method is done; however, when i try to compile the module with an external library, Xcode tells me build successful in both Debug...
usin external libraries in Titanium
Is it possible to use external libraries in Titanium when developing mobile applications? For example I have a compiled custom library that I would normally use in Eclipse Android project to call this library's APIs. Is it possible to do the same thing in...
Titanium.Network.createHTTPClient Not Found
I am stuck in a serious rut with Titanium right now. I am writing an app where the networking connectivity worked just fine and then suddenly stopped working, despite the fact that I made no alterations to the networking code recently. I get the...
Android Module vs iPhone Module using phpjs library
I followed the Module Development guides found at the following link and successfully created a ti.phpjs module for each platform: [Extending Titanium](https://wiki.appcelerator.org/display/guides/Extending+Titanium) With the iPhone ti.phpjs module, I...
Is there a Titaniun.js file
Doh sorry for the spelling mistake ( Titanium.js is what I meant ) I'm trying to add code completion to IntelliJ by adding a Global Library and was wondering if there is a source library file that I could include. I've seen instructions for compiling...
Xcode and Titanium
Hi, Is it possible to modify generated xCode of Titanium Apps to integrate external libraries via xCode? I need to modify using Xcode a titanum application using external libraries for to customize features missing in titanium. Many thanks in...
Require a file out from the app directory
Hi, I would like to create a library with all the js files that I use in projects usually with titanium. I would like to save the library out of the directory of my application, so I can use it in all projects and change it once. How can I include it...
Include and compile a java-library
Is it possible to include and compile a java library to my desktop/(mobile) application? When it's possible, then what I have to care about? Which library do I mean: [LINK](http://jasperforge.org/projects/jasperreports)
Save music path from the music library
I'm making an iPhone app that lets users select a song from their music library, save the one they selected, and play it later when they open up the app. It seems like I have to save the path to the music file the user has selected, but the documentation...
Can I use YAJL Json parser with Titanium?
I found that YAJL JSON parser is really really fast at parsing JSON data, especially big chunk of JSON data. Does anyone know if we can use it with Titanium? `http://lloyd.github.com/yajl/`
Can I play library item by Video Player like music player ?
like music player , can i play music, movie library in pod by video player
How to wrap an existing working iphone app in titanium, or simply call the objective-c methods?
I skimmed through the documentations page and the closest thing I found related to my needs is the Module Developer Guide for iOS (http://wiki.appcelerator.org/display/guides/Module+Developer+Guide+for+iOS) But it's not clear whether the module should be...
mcrypt lib in desktop php app
i have tried lots of stuff, and im still having trouble... im working w/ titanium appcelerator studio (newest version) on a pc (win7) creating desktop apps with php. all my other tests have been going great so far, but i have run into trouble using the...
iPhone App: Choosing an image from the library creates a duplicate
I am currently working on an iPhone app that lets the user either take or photo or pick an existing image from the library. Unfortunately when he picks an existing photo the app creates a duplicate in the library. Does anyone know how to fix this? Thanks O
Autocompletion Libraries for desktop and mobile
If anyone wants to have autocompletion in his favorite editor for titanium desktop and/or titanium mobile, just grab my library [from github](https://github.com/Paratron/Titanium-Autocomplete)! Critics and comments are welcome!
oAuth in Desktop (install library)
Hi guys, is there a way to install PHP 5 oAuth library into desktop. The API I wish to use requires it, here is [the link for more details](http://www.php.net/manual/en/oauth.installation.php) regarding installation. Thanks
run ti.charts on Android with Appcelerator
Hi, I have a doubt if I can make charts with the library ti.charts on Android, because when I want to run the project appears a error message, like this: **Wrapped java.io.FileNotFoundException: Resources/ti.charts.js...
non-DOM, javascript animation library for Titanium mobile?
Has anyone successfully used any animation library or framework with Titanium mobile? The standard Animation class is lacking, and buggy, as it does not allow simultaneous animations to be operating on an object at the same time. For instance, you can use...
App wont install on emulator,"missing shared library"
Just installed Titanium Studio, looks good but I can't install my app on the emulator for testing. The last few lines of the console output during build are here: [DEBUG] Waiting for device to be ready ... [TRACE] adb devices returned 2...
Include library build on android/iphone SDK into titanium project?
I need to do something similar to what other user is posting here, a wifi scanner: http://developer.appcelerator.com/question/118486/wifi-sniffer Seems it is not possible to do that entirely in the Titanium, but I'm wondering if it is possible to build...
Can not use "STANDARD Javascript Date object methods"
Hi, I'm currently working on Date stuffs, but Date object in Titanium seems doesn't work properly. Please help me out. The problem is that I'm try to use standard javascript Date object methods stated in this page:...
I found a web app developed by the appcelerator.js library, But I didn't found anything about it in this site.
I've found this site ,when I saw a web app developed by the appcelerator.js. I just thought appcelerator that is a javascript libs. Obvioursly , I'm wrong. And I can't find anything about appcelerator.js. In the web app which is using...
XMLHTTPRequest Library
Hey all, I made myself a nice library to make HTTPClients much easier to use. It takes way fewer lines of code to get a request up and running. It only uses one instance of a HTTPClient, so it queues the requests in the order that they come in and...
Script Error = Couldn't find module: ti.paint
Today I tried to use teh awesome module. I have copied the tree to `/Library/Application Support/Titanium/modules/iphone/paint/mobile/ios` Then I found in manifest the versions number 1.0 and I wrote in my `tiapp.xmnl`; ~~~ …… <module...
Form Validation
Hi, I couldn't find a validation library, so have created a basic one .... thought I would share .... Create your textfield & add some extra vars , then attach an event to start validation. Trying to sort some way of iterating through the whole...
Android Detection Issues
Hi I just downloaded Appcelerator, IOS SDK, and Android SDK and am having issues detecting android in Appcelerator. I have already ran my first Ipad and Iphone App using Titanium. I am able to access Android via command line and GUI. I did the work...
What's the best way to put buttons on a camera view (ShowCamera)?
What's the best way to put buttons on a ShowCamera? Specifically, I'd like to add a button (down next to the shutter button) that launches the photo library (so a user can opt to choose a pic from the library). It seems just buttons in a overlay view...
Loading external DLL's ?
Anyone aware of - if Titanium Desktop is able to load external dynamic link libraries? (.so / dylib / dll) ? I've searched through the docs and Q&A's but can't seem to find anything.
MediaPlayer.Framework in appecelerator
hi, i'm developing an app and i need to use something similar to "MPMediaQuery" (objective-c) to retrieve all the items from my ipod library. is it possible in appcelerator with Titanium.Media? or, at least, a way to integrate the...
We need Code Snippet Library
We need a code Snippet Library Everytime I try and develop something using a control i haven't used before, the test code from docs, Doesn't work!! Something as simple as a view with an animation, Or even changing it, just animating the background of a...
Module with custom library
I'm creating custom module for iphone. How do I add several frameworks and also custom library in the module.xcconfig file? I put following line into module.xcconfig: OTHER_LDFLAGS=$(inherited) -framework AddressBook -framework UIKit...
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY on new KitchenSink Android why?
When I try and run the new KitchenSink for 1.5.0 I get the following error: [ERROR] Failed installing com.appcelerator.kitchensink: pkg: /data/local/tmp/app.apk [TRACE] Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY] Further up I found this: [TRACE]...
Integrating Third Party Libraries
Hi, I'm wandering if someone can point me in the right direction with regards to integrating third party libraries into my Titanium apps? I am building a PHP based app for Titanium Desktop, and would like to include some of the HP libraries not compiled...
Losing Titanium libraries?
I created an iPhone app, without major problems, for a large real estate firm.. And I need to make an Android app too.. But the iPhone project couldn't be run on the Android emulator, so I put the code aside, and started from scratch.. But the current...
Missing Shared Library com.google.android.maps?
I cant seem to find if anyone else is experiencing the same symptoms as I am, so here goes. Newbie, using windows XP. I'm getting this error message trying to load a simple maps app: [TRACE] E/PackageManager( 65): Package com.athardev.oho requires...
get music list on iphone
How can we create a listing of the music found in the iphone music library without displaying to the user the library chooser ? Thanks
Titanium.Media.AudioPlayer with iPod Library
I am considering converting my iPhone app to Titanium, but the most crucial piece is that I need to be able to play two different songs at once from the iPod library. This is possible using objective-c with AVPlayer. In the Titanium SDK, I assume playing...
Uploading Image From Library in a HTTP POST using HttpWebClient
I am trying to upload an image from the photo gallery using a multipart POST. I have the following code in the success callback of the Titanium.Media.openPhotoGallery function ~~~ var image = event.media; var tempFile =...
Showing 1-50 of 60 1 2