appcelerator

Appcelerator vs Android SDK

♀尐吖头ヾ 提交于 2019-12-02 17:33:58
I have been looking at appcelerator it seems pretty fine! Without a doubt, one of the advantages of appcelerator is its support for multi-platform. I am interested in building an android app and maybe a iphone app later on. So it is not crucial to support multiple platforms at the moment. If you disregard supporting multiple platforms and just focus on android development. Is appcelerator still advantageous? Does it lack any features of "Android sdk"? (When I say "Andorid sdk" I mean development with Eclipse with native Android sdk, if it makes any sense) We looked at Appcelerator when

changing Android picker font color on titanium appcelerator

北慕城南 提交于 2019-12-02 17:30:24
问题 I am using a picker on my application of type time picker. The picker works fine on iOS devices, however when I go to the android application, it appears, but the font color is white, and cant see the numbers. I do not want to change the background to a darker color because it doesnt match the rest of the application and wont be matching the ios app. I was wondering if there is a way to change just the font to black or gray color. I have already tried some of the solutions posted, and

Facebook installs tracking for Android

我们两清 提交于 2019-12-02 13:51:36
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 installs in Android: protected void onResume() { super.onResume(); AppEventsLogger.activateApp(this); } I

changing Android picker font color on titanium appcelerator

佐手、 提交于 2019-12-02 12:57:20
I am using a picker on my application of type time picker. The picker works fine on iOS devices, however when I go to the android application, it appears, but the font color is white, and cant see the numbers. I do not want to change the background to a darker color because it doesnt match the rest of the application and wont be matching the ios app. I was wondering if there is a way to change just the font to black or gray color. I have already tried some of the solutions posted, and changing the themes, but it has not worked out for me. You need to create custom theme <resources> <style name

Fetching data from JSON.parse array

我与影子孤独终老i 提交于 2019-12-02 11:31:30
问题 I am stuck in this problem, I am calling a webService that returns me a json response. now i want to fetch a particular value from that response but after searching on internet and struggling a lot couldn't fix it. here is my code: var xhr = Titanium.Network.createHTTPClient({ onload : function(e) { Ti.API.info("Received text: " + this.responseText); alert('success'); }, // function called when an error occurs, including a timeout onerror : function(e) { Ti.API.debug(e.error); alert('error');

appcelerator titanium - hide navigation bar android

久未见 提交于 2019-12-02 11:23:07
Is it possible to hide permanently the Android bottom navigation in Appcelerator Titanium? Many questions about this subject but no fine solutions. <fullscreen> true </fullscreen> in tiapp doesn't work with titanium 5.5.1 $.index.addEventListener('open', function(e) { $.index.activity.actionBar.hide();}); doesn't work. 'Window':{navBarHidden:true,tabBarHidden:true,fullscreen:true} in tss doesn't work etc. Thank you. Ricardo Pereira This method always worked for me, set the app to fullscreen without nav bar and tab bar. Assuming your main Window's id is not set or is set to 'index', only this

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

℡╲_俬逩灬. 提交于 2019-12-02 10:12:40
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 ti.modules.titanium.geolocation.GeolocationModule.requestLocationPermissions [WARN] : dalvikvm: VFY:

Build error when create a Titanium Module

怎甘沉沦 提交于 2019-12-02 09:30:23
问题 I have create a new Mobile Module Project, but when i try to build it, i have this error: BUILD FAILED C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA\module\android\build.xml:165: no executable specified Did something wrong? I did the following step: -Installed Appcelerator Studio -It automatically installed Titanium SDK and i selected to install Android SDK -Installed JAVA JDK -Createed new module and tryed to build it 回答1: To fix this, edit the file: C:\ProgramData\Titanium\mobilesdk

Appcelerator/ Titanium: Getting Android credentials to push notifications

放肆的年华 提交于 2019-12-02 07:41:18
I want to be able to send push notifications using Titanium on Android. However I get a back-end error whenever I try this, which I believe is to do with invalid credentials. I tried following the docs but they seem out of date. Here's what I did: I went to the Google API manager and enabled "Google Cloud Messaging". Under Credentials > OAuthConsentScreen, I added an email, product name and urls Under Credentials > Create credentials > OAuthClientID > Web Application, I gave it a name and put some URL's under Authorized JavaScript origins like localhost. Does this need to be something specific

Build error when create a Titanium Module

旧时模样 提交于 2019-12-02 07:05:53
I have create a new Mobile Module Project, but when i try to build it, i have this error: BUILD FAILED C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA\module\android\build.xml:165: no executable specified Did something wrong? I did the following step: -Installed Appcelerator Studio -It automatically installed Titanium SDK and i selected to install Android SDK -Installed JAVA JDK -Createed new module and tryed to build it To fix this, edit the file: C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA\module\android\build.xml Or for any newer SDK versions, just use e.g. 5.3.1 instead of 5.2.2 On