Questions tagged [appcelerator-titanium]
Use for programming or development questions related to Appcelerator's Titanium SDK for developing Native Mobile Apps using JavaScript. Please always include the "appcelerator" tag as well and do not use the ambiguous "titanium" tag.
1,254
questions
0
votes
1
answer
118
views
titanium-extension Error processing "launch": Unable to find running task in Visual Studio Code
I have an application that was developed using Titanium appcelerator (I know it was descontinued, but rigth now I don't have time to rewite the app in an other language) using the Visual Studio Code ...
0
votes
1
answer
246
views
appcelerator ERROR | Bad response from login (incorrect user data), please try again
I am not able to login into the Appcelerator Studio or using appc cli.
Below is the error message I am getting even after entering the correct credentials.
ERROR | Error: Bad response from login (...
0
votes
1
answer
234
views
Cannot Install Appcelerator CLI or SDK
I am trying to install Appcelerator CLI and SDK, but I get errors all the time. I´m using Windows.
When I do npm install appcelerator -g, in cmd, (run as admin) I get:
npm WARN deprecated har-...
0
votes
0
answers
26
views
Show blob image from sqlite database in titanium appcelerator in ios 12
I have an app made in appcelerator for ios with images stored in a Sqlite database. In ios 12.x.x when I try to get the images from the database the data type comes in BLOB. If I try to show this BLOB ...
0
votes
0
answers
15
views
Show image in ios appcelerator
I have some images saved in a sqlite database as base64. When I get the images from the DB, it returns as a Blob (at least on iOS 12). If i try to show that blob directly on an imageview it doesn't ...
0
votes
0
answers
25
views
Appcelerator android user to turn on gps settings
This may be a new function but not available in appcelerator docs. I want that at the launch application user will be prompted to enable the GPS. I don't want user to go inside the settings. Just ...
0
votes
1
answer
35
views
Background Service in Appcelerator titanium for iOS
I am facing some problem in background service.I have registered the backgrond service like:var service = Ti.App.iOS.registerBackgroundService({url:'/bgservice.js'});
in bgservice.js :I actually want ...
0
votes
0
answers
152
views
Appcelerator Studio build fails due to inclusion of native module analytics.google
When we try to run app on iOS Simulator, build always fails with below errors-
[WARN] : The app is using native modules (ti.safaridialog,analytics.google) that do not support arm64 simulators, we ...
0
votes
2
answers
187
views
Titanium ios build error: The folder “Headers” doesn’t exist
I am getting an error while building the titanium app for ios
[TRACE] error: The folder “Headers” doesn’t exist. (in target 'Test' from project
'Test')
[ERROR] ** BUILD FAILED **
[ERROR] The ...
0
votes
1
answer
68
views
Titanium geolocation distanceFilter property is not working as expected
Need a help here for geolocation API - even after using Titanium.Geolocation.distanceFilter = 10; 10 in meter callback function is getting triggered randomly without moving here and there. Any idea ...
1
vote
2
answers
172
views
new thread in Titanium Hyperloop
I want use Huawei Push Kit in my Appcelerator Titanium app with Hyperloop.
var tokenString = '';
var Activity = require('android.app.Activity');
var ActivityToken = require('com.huawei.hms....
1
vote
1
answer
311
views
Setup Android SDK for Appcelerator Titanium
appc ti setup check tells me that Android SDK not found. appc ti info suggested to tell Titanium where the Android SDK is located. The Android SDK is intalled in /usr/lib/android-sdk. If I try to ...
0
votes
0
answers
57
views
Rgraph svg chart in Appcelerator does not fire the click event
I recently updated Rgraph in my Appcelerator project, and I got a problem: the onclick function does not work. Here is a sample code:
head:
<pre class="code">
<...
0
votes
1
answer
251
views
How to use WKWebView with local file in appcelerator Titanium?
I tried to use the new WKWebview with a local URL for appcelerator
var WK = require('ti.wkwebview');
var webview = WK.createWebView({
url:'about.html',
});
win.add(webview);
My about.html file ...
0
votes
0
answers
140
views
Titanium evalJS slows loading of the webview - timeout waiting to evaluate js
I am developing Titanium application with a webview that is loading content from a remote url. In the load event I am injecting some code with evalJS. Using Titanium SDK 8.0.0+ the loading of the ...
1
vote
2
answers
1k
views
ld: building for iOS Simulator, but linking in dylib built for iOS, file 'Frameworks/TitaniumKit.framework/TitaniumKit' for architecture arm64
I am getting this error when I am trying to build my appcelerator app for ios
ld: building for iOS Simulator, but linking in dylib built for iOS, file 'Frameworks/TitaniumKit.framework/TitaniumKit' ...
1
vote
0
answers
251
views
Archive failed in Appcelerator when building for distribution for iOS
After having debugged my app using the simulator, I tried "Package -> IOS iTunes Store", but the process always ends with:
....
[INFO] : Invoking xcodebuilder
[ERROR] : ** ARCHIVE ...
0
votes
1
answer
62
views
Updating an application from titanium sdk 3.4.0.GA to 9.2.0.GA making my fonts looks very very small
Default uint is set to dp.
<property name="ti.ui.defaultunit" type="string">dp</property>
All the font size is set with dp unit in tss files. Like below
font: {
...
0
votes
0
answers
81
views
Why is the Titanium function canOpenURL IOS not working?
I am trying to test for the presence of another app installed on a device on iOS using the latest version of Titanium (currently 9.2.0GA).
For some reason the function canOpenURL() always returns the ...
2
votes
1
answer
153
views
How to detect model of iOS in titanium framework
Example :
iPad pro 3rd generation onward due to introduce bottom black bar notch.
Not exist in iPad pro 1st and 2nd generation. All four generation has same resolution. 1024 X 1366
if i fixed for this ...
2
votes
1
answer
214
views
Titanium UiTextField Clear button is not at all visible in Dark Mode for iOS v13
I have been facing an issue with clearButtonMode property of UiTextField in my input box. If I use app in light mode then everything work well but the moment I switched to dark mode that clear button ...
3
votes
1
answer
154
views
iOS 13 dark mode is not working using Titanium classic framework
I am trying to implement dark mode theme in our app for iOS 13 and above. I have followed this link Dark Mode in iOS 13. But I am facing some issue. I have attached the sample code below. I am ...
1
vote
1
answer
98
views
Titanium ellipsize property is not working for Label in iOS
In iOS ellipsize property is not working for me. The same code is working for android. I have attached the iOS screenshot for iOS issue below. Please help me to understand If I am missing something.
...
1
vote
1
answer
58
views
Any Titanium solutions for controlling Android audio from lock screen / home screen?
I am currently using Titanium.Media.AudioPlayer to play audio in my app. I am using the following module to allow control of said audio from the lock screen / homescreen in iOS:
https://github.com/...
0
votes
1
answer
61
views
what is the significance of setFrequency() function in titanium Js v7.5.0
I have been facing an issue regarding Geolocation in iOS/Android app. I am using Titanium Js and have upgraded Ti v7.5.0 to v8.3.1. I checked my legacy code and came to know that this below function
...
1
vote
1
answer
329
views
Appcelerator : How do I change the IOS simulator in titanium?
How do I change the IOS simulator in titanium?
I want to start up in the iPhone 11 simulator, but the iPhone SE starts up.
0
votes
1
answer
939
views
"DataCloneError: The object can not be cloned." in titanium 8.0.0
DataCloneError: The object can not be cloned." getting this while using SDK 8.0.0 for below code. any idea why am getting this ? this error i am not getting in SDK less than 8.0.0
Titanium is ...
0
votes
1
answer
53
views
The application has crashed with an uncaught exception 'org.applicationame.TiUIWebViewProxy' in 7.5.0 and 7.5.1 SDK
I am getting below error while using titanium SDK 7.5.0. Apps works well with 7.4.x. I am doing upgrade before that i want to address root cause why app is not working in latest and > 7.5.X
This is ...
1
vote
1
answer
617
views
ERROR Unable to find any Xcode installations that supports iOS Simulator 13.2.2
I tried this two question Question1 and Question2 nothing works for me. Tried reset sim also.
Below are log details:
appc run -p ios -T simulator -C
Output of this command :
Appcelerator Command-Line ...
0
votes
1
answer
262
views
ERROR -[ getFieldName:]: unrecognized selector sent to instance while starting IOS simulator for Appcelerator
I am trying to compile an Appcelerator Titanium application using xCode 11.5 in order to deploy to AppStore. While starting building the application I get this error.
I mention that the app worked ...
0
votes
1
answer
217
views
failed to leave a valid exports object in titanium 9.0.1
I have added screenshot which i am getting error while building app for titanium
SDK : 9.0.1
For SDK 8.3.1 and 7.4.2 this error not coming app is working fine for this SDK version only having issue ...
2
votes
1
answer
473
views
How to remove white color circular border in google devices like pixel
any one having idea how to make icon in google pixel without white border circular. I can see chrome icon doesn't have circular border. How to make it any help ?
You can see in screenshot google ...
1
vote
1
answer
243
views
Invalid value for the 'android:targetSandboxVersion' attribute in the AndroidManifest in titanium
I am getting below error while pushing app for beta release in google play store.
Invalid value for the 'android:targetSandboxVersion' attribute in the AndroidManifest.
I check in my tiapp.xml ...
0
votes
0
answers
104
views
Read NFC tag with iOS using Titanium Appcelerator
I'm trying to develop an app to read an NFC tag with an iOS device using Titanium Appcelerator.
For that I'm using this example:
https://github.com/appcelerator-modules/ti.nfc/blob/master/ios/...
0
votes
1
answer
26
views
how to use TM symbol in titanium UI component
I want to use TM (trademark symbol) while creating label.
Ti.UI.createLabel({
text: '© ' + (new Date().getFullYear()) + ' companyname 0xE2 0x84 0xA2',
font: {
fontSize: ...
1
vote
1
answer
59
views
Titanium 7.4.0 listSection having overlapping issue
I am new to developing a hybrid application. I am using titanium Js and have created a view. Inside that have lists and sections. I am facing an issue with list items are overlapping to each other. I ...
1
vote
0
answers
61
views
How to disable the context menu within Ti.UI.iOS.createDocumentViewer within appcelerator titanium project?
I'm using Ti.UI.IOS.DocumentViewer within an application for displaying word, excel, pdf etc.. When opening a document the viewer presents a context menu with actions to share, print, etc. the ...
4
votes
1
answer
398
views
I am Trying to run a titanium project in ios simulator but getting some node error
I am Trying to run a titanium project with appcelerator studio in simulator but getting some node error, I have used same node version from which it was developed, please help me out
Error below
...
1
vote
1
answer
36
views
How to use titanium inspector using titanium 5.2.2?
I am using Appcelerator titanium CLI to build ios app. I want to debug the app With Chrome DevTools but it seems like it's not compatible with the version which I have installed currently.
As per ti-...
1
vote
1
answer
104
views
Titanium Module (is there any module or support of App dynamics for titanium appcelrator)
We have Some question Related about app dynamics module in Appcelerator.
How to use the iOS libraries in the appcelerator module which supports the framework of appdynmics. Is it possible to add a ...
0
votes
1
answer
33
views
Appcelerator SQLite Like Operator syntax
I'm using appcelerator and working with appcelerator studio, however I'm confused of using the like operator in query string in appcelerator
values = Alloy.Globals.database_file.execute('select ...
0
votes
0
answers
134
views
Unable to package Appcelerator android module
Created sample mobile module app with 8.3.1.GA Ti SDK.
Tried to package the module.
Expected:
Module should be packaged without any errors.
Actual:
Throwing the below error
2020-04-07T07:14:28....
0
votes
1
answer
34
views
Appcelerator: Show push messages in the Notification Center when the app is in the foreground (open)
If the iOS app is open and a push message arrives, the push message does not appear in the NotificationCenter. I can process the content in the opened app. But the typical banner doesn't come.
Does ...
0
votes
1
answer
77
views
Titanium Android - Failed to compile Java source files
I have an android app compiled with SDK 7.4.0.GA. I'm trying to update it (to 8.3.1.GA) but, during the compilation, I have this error message, with 2 [ERROR] empty :
[ERROR] Failed to compile Java ...
0
votes
0
answers
62
views
How to convert JSON Object to Byte Array in Titanium Appcelerator
I am working on Titanium or Appcelerator, and want to convert JSON object to byte Array.
As I am using SQLite and I have large amount of data(JSON object) which takes a lot of time to process in SQL ...
0
votes
1
answer
76
views
Getting error while running the project in Appcelerator Studio
I'm continuously getting the following error while running my android project on titanium.
My Settings:
Java JDK 1.8
Node v8.16.0
Win 10 64-Bit
Python 3.6
Titanium 8.2.0 GA
Android SDK 28
[INFO]...
0
votes
1
answer
471
views
appcelerator titanium JAVA_HOME not detected
When I am testing java -version , javac -version im getting a proper version in the cmd output ., but when I run the app from appcelerator I'm getting this below error., JAVA_HOME has been set ...
2
votes
0
answers
93
views
appcelerator: Ti.Geolocation.reverseGeocoder crashes app
I'm running code to determine the name of city of the user's current location.
Whenever I call the reverseGeocoder the app immediatly crashes, even by just calling it with hardcoded coordinates.
Ti....
0
votes
1
answer
316
views
Is there a Javascript function to invert all the colors (negative effect) of the camera?
So, I am using Appcelerator Titanium (NOT ALLOY) to build an App (for Android mostly) that opens the camera and reads a QR Code. So far, so good, it does what it should be. But, there is some versions ...
0
votes
0
answers
63
views
Titanium http request leak
I have to make a load of subsequent http requests to load product images into the app as it has to function in an offline mode.
Around 2000 calls.
The http client seems toi have a memory leak which ...