titanium

Titanium Mobile: cant navigate between pages

南笙酒味 提交于 2019-11-30 06:05:12
问题 i am new to Titanium and i am have 2 seemingly simple problems while trying to use it for the Android. 1) i am trying to navigate to the next page on click of a button. but instead it is showing me a blank black screen. i know my second page CreateNewMeetup.js is correct because i tried displaying it as the landing page of my app and it works. my codes are as follows:- ApplicationWindow.js ... var button = Ti.UI.createButton({ height:44, width:'auto', title:'Create New Meetup', top:20 });

What are the advantages and disadvantages of using Phonegap and Titanium? [closed]

家住魔仙堡 提交于 2019-11-30 02:57:56
I am planning to create a cross platform application which works in Android, iPhone and Blackberry? I thought of using Phonegap or Titanium. My questions are as these: Whether in cross platform if it is possible to achieve all the native behavior of all phone models, something like in Android menu and iPhone gestures? Apart from cross-platform advantage, what are other advantage do it have? What are the disadvantages? Is there any limitation when it comes to comparing to native app? Whether I can use same code without any modification in all the devices or i have to change the code with

PhoneGap vs. Titanium

谁说我不能喝 提交于 2019-11-29 20:25:32
PhoneGap and Titanium allow you build native iPhone Apps based on HTML and JavaScript. Has anyone gained experience with both? What are the differences? davejohnson There is a pretty lengthy discussion about PhoneGap VS Titanium (and Corona) on StackOverflow already that might be useful. One of the big differences is that PhoneGap is MIT licensed and Titanium is (just recently changed) Apache licensed. This article is a good summary of the practical and philosophical differences. Note its from an Appcelerator evangelist, but I still think its pretty impartial. In fact I think he shares

How to get the number of unread messages PubNub

拥有回忆 提交于 2019-11-29 20:19:59
问题 Hey i'm using pubnub Services to add chat functionality to my Titanium App but i'm wondering if there is a way to get the number of unread messages. there is no info about this on api references What i tried to save the numbers of messages in history then reloading new history and calculate the difference but it's so stupid and complex solution any body know how to achieve this ? Thanks 回答1: Track Read/Unread Messages on PubNub Years back we promised we'd make it super easy method for

how to install sdk Android with titanium

走远了吗. 提交于 2019-11-29 18:14:34
I download the last version of titanium but I can't add sdk Android , how do that I download sdk but the problem still here (Althoug I download sdk, the window shows an message that an it can't find the sdk) I read one sentence which maybe the solutioin of this problem the sentence is : "For Studio 3.2.0 and prior, to setup the platform SDKs, use the Studio Dashboard view as described in the Legacy Setup". Maybe I have to use Studio Dashboard for add sdk . Please can anyone help? You can do this in two ways. Method 1 Open Titanium Studio Click on the dashboard button in your Titanium Studio A

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

Failed to Load JNI shared library when trying to use titanium

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-29 15:17:39
I am having difficulty with Titanium cross mobile development platform, i am getting error "failed to load JNI shared library c:\programfiles\java\jdk 1.6.0 _45\bin\server\jvm.dll. could any one help.Thanks in advance. Anand Did you read System Requirements ? From Documentation: For Windows, the 32-bit version of Java JDK is required regardless of whether Titanium is running on a 32-bit or 64-bit system. Try to install additional 32bit version of Java (without removing the 64bit) and set the system variable. You can refer the following links for it Failed to load the jni shared library jvmdll

Having trouble to get the files from android emulator (Titanium)

 ̄綄美尐妖づ 提交于 2019-11-29 13:08:54
guys! I have trouble to get files from my android emulator! ① Here is my emulator info: Genymotion for personal use - Samsung Galaxy Note 3 - 4.4.4 - API 19 - 1080x1920 ② And here is the file's tree of the emulator: I had stored two mp3 files for test in the Internal storage directory, and the path is /storage/emulated/0/Download . As you can see, the two mp3 files are in the Download directory. My trouble is that I can never get the two files right path. ③ Here is my code: if(Ti.Filesystem.isExternalStoragePresent()){ var sdkDir_1 = Ti.Filesystem.getExternalStorageDirectory(); console.info('-

separation of logic and UI in titanium (javascript)

无人久伴 提交于 2019-11-29 07:13:35
i'm new to appcelerators titanium and javascript and i'm interested in coding an iphone app. i recognized that there is a need of "many" code for creating the UI. that's no problem so far, but i tend to separate that code from my application logic wisely. what are the best practices? [update] tweetanium is a great example how to structure a titanium mobile application ok, i just found a cool practice. i include the con_file.js with the application logic the view_file.js with Titanium.include('../controller/con_file.js'); now i'm able to access the hole data structure. i'll have a try: i tend

getting error msg install failed missing shared library

时光毁灭记忆、已成空白 提交于 2019-11-29 03:01:32
i have made one application which uses google maps APi,i am using titanium 1.2.2 and mobile sdk 1.5.1 for android,wenever i am trying to run the app on emulator,console shows an error [INSTALL_FAILED_MISSING_SHARED_LIBRARY] what does this error means and how to fix it?? I had the same issue. Make sure you have changed the target from Android### to Google APIs in the AVD Manager. Open Android SDK Manager Select Tools -> Manage AVDs Select a/the virtual device and click edit In the target Select Google APIs... If this target does not exist in the list, you need to install the Google APIs for the