titanium

Android Sharing Intent

会有一股神秘感。 提交于 2019-12-24 19:12:47
问题 Is there any way I can add/list my app with other apps like facebook, gmail, whatsapp and viber in sharing intent on android .? here is the sample image 回答1: I don't how this would be done using Titanium, but in the conventional way (using Eclipse), this is how I do it in one of my apps: CODE: In your manifest XML file, add the tag as shown below. This is to be done for an Activity that will handle data shared by the user. For example, if my Activity is named Composer , then the structure

zxing barcode scanner autofocus issue on reading second qr code

北城以北 提交于 2019-12-24 17:53:26
问题 I'm using the zxing (http://code.google.com/p/zxing/) library for doing qr code reading on Android and iOS. It works great for reading the first qr code, however then it runs into issues. An easy way to reproduce is to read a qr code, and then place another qr code in front of the device. The scanner will not read the new qr code. After moving the device so that the qr code is completely off the screen, then moving the device to refocus on the qr code, it will read it successfully. Is there

zxing barcode scanner autofocus issue on reading second qr code

一个人想着一个人 提交于 2019-12-24 17:53:19
问题 I'm using the zxing (http://code.google.com/p/zxing/) library for doing qr code reading on Android and iOS. It works great for reading the first qr code, however then it runs into issues. An easy way to reproduce is to read a qr code, and then place another qr code in front of the device. The scanner will not read the new qr code. After moving the device so that the qr code is completely off the screen, then moving the device to refocus on the qr code, it will read it successfully. Is there

equivalent to android's share intent concept for iPhone using titanium?

人走茶凉 提交于 2019-12-24 16:22:49
问题 I want to add share content functionality in my iOS app. I am developing an app in titanium for iPhone. I want to add a share button that when a user clicks will open a dialog box contains many different option like Facebook, twitter, email , and print. 回答1: Unless this has been included in the Appcelerator Framework, you are going to have to write a module "Share Screen" iOS 6 回答2: There is a module for this that wraps the Social.framework on iOS. Ive used it in my own apps and its quite

Titanium [ERROR] Application Installer abnormal process termination

爱⌒轻易说出口 提交于 2019-12-24 14:17:31
问题 I am trying to run default example apps in titanium studio, but I am getting error. I installed jdk1.6.0_45, jre1.6.0 and set the properties of Environment Variables too. what was the problem, any suggetions? [ERROR] Application Installer abnormal process termination. Process exit value was 1 回答1: Have you installed all required Android SDKs? If you are using latest Titanium SDK, you need to install Android SDK 2.3.3 (API 10). Check more details in Installing the Android SDK guid in Titanium

titanium content assist is not working for my simple app

心已入冬 提交于 2019-12-24 13:26:24
问题 This is myFirstApp in titanium but its not showing me content Assist So please give me right suggestion so i can work with better in titanium. 回答1: I have not selected yet Titanium SDk which is If you right click on a project, select "Properties" and then "Project Build Path," what SDK file is selected there? description : refer here 回答2: well, open tiapp.xml and make sure you select an SDK. but I can tell from from my experience with Titanium Studion - intelisense doesn't always work.

Issue with displaying the radio button label in tianium?

别说谁变了你拦得住时间么 提交于 2019-12-24 12:23:55
问题 I have created a radio button from the following link, https://github.com/yozef/TiRadioButtonGroup. I am able to see the radio buttons but the respective radio button labels are not showing. How can we display the radio button labels. My code: View: <Alloy> <Window class="container"> <View id="radiopicker" ></View> </Window> </Alloy> Style: ".container": { backgroundColor:"red", layout: 'vertical' } "#radiopicker": { width: '90%', top: '25dp' } Controller: (function() { var radioButton =

Can't see titanium module in the list even after successful installation

て烟熏妆下的殇ゞ 提交于 2019-12-24 11:21:39
问题 I am on a Mac Machine I have installed module but while adding from tiapp.xml the module is not showing the list. Can anyone help on this problem. Thanks in advance. 回答1: There are a couple of ways to install a module. 1) The first way you mentioned by going into Studio. Help > Install Mobile Module. A module dialog will pop up, enter the URL of the module's ZIP file, or click Browse and locate the ZIP file using finder. 2) If you are having trouble you can install it manually by unzipping

npm install web3 into Appcelerator Titanium SDK > 6.x

孤街醉人 提交于 2019-12-24 07:46:50
问题 I would like to install web3 into my mobile App project. However I am having issues with accessing it without having a buch of red screens saying I can't access these files within it. I tried to manually update the paths etc; What I've done is in my App folder: npm install web3 Then I see the node_modules folder in my App directory... however, I am not able to require the module in my index.js file with a simple: var Web3 = require('web3'); // throws error var web3 = new Web3(); function

Determine if window is active in webkit

梦想与她 提交于 2019-12-24 07:17:33
问题 Is there some css selector or something of the like that allows you to apply different styles to elements in an inactive page/window in webkit? There is for scrollbars: http://www.webkit.org/blog/363/styling-scrollbars/ I'm using this to make a Titanium desktop application feel more native on Mac OS X. Thanks! 回答1: See: http://www.thefutureoftheweb.com/blog/detect-browser-window-focus These events work in every major browser (Firefox, Internet Explorer 6/7, Safari & Opera). Demo: http://www