Skip to content

Instantly share code, notes, and snippets.

@Amimul100
Amimul100 / gist:98dd3f25b0c5809f7875
Created August 12, 2014 08:35
ACS push notification for Android
Hello, Here is the Code sample and the steps to successfully configure and send an ACS push notification for Android. I have tested this and it's working.
TESTING ENVIRONMENT
CLI version 3.3.0,
Titanium SDK version 3.3.0.GA
Android Device Nexus -4 -4.4.2
API -19
STEP TO TEST
@Amimul100
Amimul100 / gist:d314d9d3a51a1b044a02
Last active August 29, 2015 14:05
Working with a SQLite Database in Titanium
Hello, I have tested the Project on "Working with a SQLite Database" from the Appcelerator Documentation. It's working for both android and ios platform.
TESTING ENVIRONMENT
CLI version 3.3.0,
Titanium SDK version 3.3.0.GA
Android Device Nexus 4-4.4.2
9 iPhone Ratina
CODE SAMPLE
@Amimul100
Amimul100 / app.js
Created August 12, 2014 05:20
Pull to Refresh Event for ScrollView, ListView.
Hello, we have tested this Pull to refresh widget with the code below. and it's working.
TESTING ENVIRONMENT
CLI version 3.3.0,
Titanium SDK version 3.3.0.GA
Mac OS.
CODE SEGMENT
/*Setting up an Android Application
First, add the CloudPush module to your project:
1.Open your project's tiapp.xml file.
2.In the Modules section, click the Add button (green plus sign).
3.Select ti.cloudpush and click OK .
In your project's JavaScript, require the module and initialize it with the CloudPush.retrieveDeviceToken()
method.On successful retrieval of the device token, set the CloudPush.enabled property to true to enable
the device to receive push notifications. You must call retrieveDeviceToken() before any other CloudPush
Hello, Rodolfo, Thanks for writing us. Right now titanium does not provide a module for printing documents via Bluetooth for android OS. But logicallabs provide two Android Bluetooth Module, which are available in appcelerator marketplace.
If you would like to purchase, please follow these links here:
1. https://marketplace.appcelerator.com/apps/5221#!overview
2. https://marketplace.appcelerator.com/apps/6611#!overview
You can also create a Native Module connecting to the printer.
To create new titanium module please follow this link:
@Amimul100
Amimul100 / gist:fbe161f8ad7512575502
Last active August 29, 2015 14:04
PayPal module for iOS
Hello, Thanks for writing us. Yes, I also find that the Appcelerator marketplace link does not provide the module to download. I searched and found out that the module is not out of service and works fine in iOS.
Also, I found a Github repository of the Paypal module. You can download the module from here. https://github.com/appcelerator/titanium_modules/blob/master/paypal/mobile/ios/ti.paypal-iphone-1.8.0.zip
Again Thanks,
Regards
Mostafizur Rahman
Appcelerator Customer Service
Hi, We have tested the issue, and encountered the same problem.
h5. TESTING ENVIRONMENT
Ti CLI 3.3.0
Titanium SDK: 3.3.0.GA and 3.2.X.GA
iPhone and iPad Device
h5. TEST CODE
Hi, We have tested this issue using "Android notifications using intents" test case and it's working.
h5. TESTING ENVIRONMENT
Mac OS
Ti CLI 3.3.0-rc
Titanium SDK: 3.3.0.RC and 3.2.X.GA
Android Device and Emulator
h5. TEST CODE
@Amimul100
Amimul100 / gist:fc9d426cb3382312d2b8
Created July 16, 2014 07:26
Property displayHomeAsUp in menu/actionbar not working when set in alloy xml
/*Hi, we have tested this project, and it's working.
h5. TESTING ENVIRONMENT:
Ti CLI 3.3.0-rc
Titanium SDK: 3.3.0.RC and 3.2.X.GA
Min SdkVersion="10", Target SdkVersion="14"
Android Device and Emulator
Hi, Here is a example i Tested in Both iOS and in Android.
Test Result:
In iOS AudioPlayer progress event stops firing when state changes to stopping.