Questions tagged [titanium-android]

The Titanium SDK provides community developers with an unmatched ability to create quality native, mobile web or rich hybrid applications to all platforms from a single code base, using JavaScript.

The Titanium SDK provides community developers with an unmatched ability to create quality native, mobile web or rich hybrid applications to all platforms from a single code base, using JavaScript. With over 5,000 APIs, Titanium allows you to deliver an immersive user experience at a fraction of the time compared with traditional native platforms, and without compromise.

The Titanium SDK is an open source SDK with more than 591,461 community developers contributing constantly to further enhance and extend it. Independent developers, ISVs, and partners can create Modules to extend the SDK with mobile user interface controls, access to 3rd party services, and leverage any native platform API.

97 questions
1
vote
0 answers

Appcelerator - save an image to external storage on Android 8

I'm trying to save an image to external storage on Android 8.0.0 but the write always fails, the code works fine on Android below 8. I've requested the storage permission, the app has permission to read and write to external storage var imageBlob =…
1
vote
1 answer

Cannot read property 'sdks' of undefined - Appcelerator TiSDK 5.5.1ga

Facing the below issue when trying to build Android module using Appcelerator studio 4.8.1 and Titanium SDK 5.5.1 GA, I am getting the below error. Not able to resolve this. | ERROR | An uncaught exception was thrown! Cannot read property 'sdks'…
1
vote
1 answer

Titanium Android: indicatorColor property is not working Activity Indicator

I just tried to change the color of the Activity indicator in Titanium's android App and found that the property is not working as expected. I wrote the following code to do so : var win = Ti.UI.createWindow( { backgroundColor : "#fff" }); var…
user7521832
1
vote
1 answer

one place to catch all sudden exceptions in titanium?

I am new to Titanium Android App development and going through an unpleasant scenario of "Network goes off" during use of my app. I tried reproducing it on my emulator, but going "Airplane mode" while app still working. I tried below in…
1
vote
1 answer

Titanium - Android module - Failed to compile Java Source files

I am having an issue of Android module compilation. I have created a module for some compression/decompression task and therefore I need to use Base64 Java class and hence adding the required package to import Base64. import…
Prashant Saini
  • 3,539
  • 1
  • 10
  • 24
1
vote
1 answer

Titanium - Set Android SearchView/SearchBar (in a separate view and not a part of Action Bar) to TableView's search property

I want to add SearchView to another View. I can't place it to ActionBar(I hide native actionBar and create custom view instead). When I add it to View and set search:searchBar to TableView, my app crashes. I use Appcelerator Studio, platform is…
1
vote
0 answers

Runtime Error - Java Exception occured

I am doing an android application using the Appcelerator Titanium. While run the app in the device, i am getting the following error. I don't know what is the problem in my code. [ERROR] : TiExceptionHandler: (main) [13,3502] ----- Titanium…
Anbu Raj
  • 831
  • 2
  • 8
  • 25
1
vote
2 answers

Appcelerator - Converting circular structure to JSON

I have a problem with converting a JSON in string. On iOS all works perfect but on Android I have this error: [ERROR] : TiExceptionHandler: (main) [2,20592] - Message: Uncaught TypeError: Converting circular structure to JSON This is my code: var…
amurcia
  • 801
  • 10
  • 26
1
vote
1 answer

Titanium appcelerator model and collections persistance

I am about to retrieve datas from remote and create model and collections, here are each part of the app (the controller, the view and the model). If i really understand using model in titanium is like storing into database so the data persists even…
1
vote
0 answers

ContentProvider implementation in Titanium Android Module

Is it possible to implement a ContentProvider in a Titanium Android module? I have the ContentProvider already written as a Cordova plugin for a hybrid/Cordova style app but I want to port it to Titanium. My problem is that I can't see how or where…
1
vote
0 answers

Titanium - Get image file from filesystem on Android

I have a problem getting an image from filesystem. On iOS works fine. First of all, I save a remote image in the filesystem with this function: img.imagen = url from the remote image (e.g. http://onesite.es/img2.jpeg) function descargarImagen(img,…
amurcia
  • 801
  • 10
  • 26
1
vote
1 answer

Appacelerator Titanium Studio error at build: failed to run dexer

I've installed Appcelerator Studio. And I've chosen a Titanium classic build under:Get Started Quickly With Sample Apps. I then run the application as an Android build (connected to my Android device via USB) and get the following errors: [ERROR] :…
1
vote
1 answer

Not able to get user public_profile information and email through Facebook module Android Titanium?

I am not able to get user public_profile info and email in Facebook module. Facebook module Version 4.0.5 Titanium sdk 4.1.0 I have followed all steps described on documentation. Appcelerator Documentation But only able to get name and id. Although…
1
vote
0 answers

Uploaing image to server in titanium

I am trying to upload image from gallery to server,i am selecting the image and converting the image to bytes by using the following code. Titanium.Media.openPhotoGallery({ saveToPhotoGallery : true, allowEditing : false, success :…
1
vote
1 answer

reload tableview on click of picker element with updated data in titanium

I have a json response like this which is coming from API call. `{ "id": "7", "issue_title": "Apr - May 2015", "issue_no": "Issue 1.4", "cover_image_url": "http://www.link.org/apr--may-2015-7.jpg", "synopsis_pdf_url": "", "advertisers_pdf_url":…
Bunny
  • 237
  • 2
  • 13