appcelerator

Trouble installing Android SDK for Appcelerator studio on windows 7

送分小仙女□ 提交于 2019-12-01 07:29:14
问题 I have trouble installing Appcelerator studio on windows 7. I am getting the following error when trying to create a new mobile project (Alloy project) and run the same on an android device. Works fine on mobile web. [ERROR] : No valid Android SDK targets found. [ERROR] : Please download an Android SDK target API level 23 or newer from the Android SDK Manager and try again. The android SDK is already in place and have properly referenced it. Still no luck there. Please find the platform

Problems with refresh function for page, in Appcelerator

拥有回忆 提交于 2019-12-01 06:25:46
问题 Titanium SDK version: 1.6.1 iPhone SDK version: 4.2 I am using JavaScript. I am developing an app that is fetching information from an API. In this app, on this page, I got two ways of "refreshing" the content. When the window is focused and when I tap the refresh button. The problem is every time I do a fresh of the page there is a "copy" of the content under the new content. It is like the app just keeps layering on new copies of the content on top of the others on each fresh. What am I

Titanium HTTPClient returns too 'fast'

心不动则不痛 提交于 2019-12-01 05:56:16
问题 I have the following function: getTasks: function() { var taskRequest = Titanium.Network.createHTTPClient(); var api_url = 'http://myawesomeapi.heroku.com/users/' + Ti.App.Properties.getString("userID") + '/tasks'; var tasks = []; taskRequest.onload = function() { var response = JSON.parse(this.responseText), len = response.length, i = 0, t; for(; i < len; i++) { task = response[i]; var newTask = {}; newTask.rowID = i; newTask.title = task.title; newTask.description = task.description;

Appcelerator titanium Android push notification GCM failure?

眉间皱痕 提交于 2019-11-30 16:57:21
i've setup push notification for Android and IOS in new project in Appcelerator studio , the IOS working fine , but the android not , my issue is the android devices token is successfully taken and registered but when i send a push from Appcelerator studio IOS success when Android failed. I've enabled this API's in google developer console . and created API key : and i used the API key in Appcelerator ASC : i don't understand why i can take the Android device token but i am not able to send push notification ? i found the solution the document of appcelerator is not updated yet so here what

Post iOS10 / Xcode 8.0 “Missing Push Notification Entitlement” error after build for iTunes Store

£可爱£侵袭症+ 提交于 2019-11-30 12:18:23
Whilst building for iTunes store and submitting the archive, I receive this error from apple: Dear developer, We have discovered one or more issues with your recent delivery for "XXXXXXXXX". Your delivery was successful, but you may wish to correct the following issues in your next delivery: Missing Push Notification Entitlement - Your app includes an API for Apple's Push Notification service, but the aps-environment entitlement is missing from the app's signature. To resolve this, make sure your App ID is enabled for push notification in the Provisioning Portal. Then, sign your app with a

Appcelerator titanium Android push notification GCM failure?

佐手、 提交于 2019-11-29 23:51:27
问题 i've setup push notification for Android and IOS in new project in Appcelerator studio , the IOS working fine , but the android not , my issue is the android devices token is successfully taken and registered but when i send a push from Appcelerator studio IOS success when Android failed. I've enabled this API's in google developer console . and created API key : and i used the API key in Appcelerator ASC : i don't understand why i can take the Android device token but i am not able to send

TableView: content hidden on rows that are not screen visible (android)

一笑奈何 提交于 2019-11-29 18:01:58
I've a calendar widget, that is a TableView rotated -90 degrees, after set the TableView data, I add a View rotated 90 degrees the TableViewRows, and set to those Views the new height and width. On 'scrollend' event, if this reach the TableView limits, at the end of the TableView I push another 20 rows to the end of the TableView data, and at the beginning I unshift 20 rows to the beginning of the TableView data. This works perfectly on iOS, but on android there is a issue that I can't understand why: all the screen visible TableViewRows are fine (5), but when I scroll to the other

Post iOS10 / Xcode 8.0 “Missing Push Notification Entitlement” error after build for iTunes Store

感情迁移 提交于 2019-11-29 17:54:25
问题 Whilst building for iTunes store and submitting the archive, I receive this error from apple: Dear developer, We have discovered one or more issues with your recent delivery for "XXXXXXXXX". Your delivery was successful, but you may wish to correct the following issues in your next delivery: Missing Push Notification Entitlement - Your app includes an API for Apple's Push Notification service, but the aps-environment entitlement is missing from the app's signature. To resolve this, make sure

Remove a user through dashboard, but the user is still logged in?

六眼飞鱼酱① 提交于 2019-11-29 16:17:10
I have created an Appcelerator iPhone app based on Firebase authentication, which works very well. But now I come across some unexpected behaviour. My setup is as follows: on app start, the user must login or register. During registration, the account is created, and the corresponding account data (uid, name, email, date etc.) is also stored in a /users/uid data entry. When I remove a user from Firebase through the Dashboard, by removing it from both /users/uid and the "Login & Auth" tab, it looks all clear. But when the user opens the app, he still remains logged in. How can I enforce

How to request run-time recording permission on Android 6.0?

淺唱寂寞╮ 提交于 2019-11-29 08:51:48
Since Android 6.0, we need to request permissions during app runtime. In my app, i'm using local storage, camera, geolocation and audio recording permissions. So, requesting for local storage, camera and geolocation is ok with that snippet : https://github.com/appcelerator-developer-relations/appc-sample-ti510/blob/master/app/controllers/permissions.js But i've not found how to request for audio recording permission...I actually use titutorial.audiorecorder module for Android and it crashes when i tried to record since Android 6.0 because permission for recording is not enable. More