পোস্টগুলি

2016 থেকে পোস্টগুলি দেখানো হচ্ছে

Android : Firebase Cloud Messaging

1. Create a new android project. 2. Copy  package name from  AndroidManifest.xml  file. 3. GO:  https://console.firebase.google.com/ 4. Create a new project on firebase. 5.  Now click on  Add Firebase to Your Android App . 6. You will get a  google-services.json  file. 7. Copy  google-services.json  file to  app folder   8.  Now go to build.gradle file and add the following code dependencies { classpath 'com.android.tools.build:gradle:2.2.3' classpath 'com.google.gms:google-services:3.0.0' } 9.Inside app level build.gradle file make the following changes. dependencies { compile fileTree( dir : 'libs' , include : [ '*.jar' ]) androidTestCompile( 'com.android.support.test.espresso:espresso-core:2.2.2' , { exclude group : 'com.android.support' , module : 'support-annotations' }) compile 'com.android.support:appcompat-v7:22.2.1' compile 'com.google.firebase:firebase-me...

Quick Example of registering a scheme in TiApp.xml, implementing the code in app.js / alloy.js

Quick example of registering a URLScheme in a Titanium app using the TiApp.xml without info.plist file. Just add the following into your TiApp.xml (I put it under the </iphone> tag. Works on Android and iOS. Link :  https://gist.github.com/jasonkneen/5736738

Hyperloop: required .aar file in android

1. Create a test project. 2. Enable Hyperloop.  3. Add  Third-party libraries  on Platform > android  4. Add the following code in index.js (function constructor(args) { var VideoView = require('com.twilio.video.VideoView');   var Activity = require('android.app.Activity'); var activity = new Activity(Ti.Android.currentActivity); var primaryVideoView = new VideoView(activity); $.container.add(primaryVideoView);   $.container.open(); })(arguments[0] || {}); 5. Build on android devices.

Android: GoogleMaps in Ti.UI.WebView

<script type='text/javascript'> $ . myView . open() ; var map = Ti . UI . createWebView({ top : 0 , left : 0 , width : Ti . UI . FILL , height : Ti . UI . FILL , backgroundColor : '#a9e1df' , borderRadius : 1 }) ; Ti . App . addEventListener( 'app:getCurrentPosition' , function (e) { Ti . Geolocation . purpose = "Для построения маршрута требуется Ваше местоположение." ; //Ti.Geolocation.showCalibration = false; if (OS_ANDROID) { var gpsRule = Ti . Geolocation . Android . createLocationRule({     provider : Ti . Geolocation . PROVIDER_GPS ,     accuracy : 100 ,     maxAge : 10000 }) ; Ti . Geolocation . Android . addLocationRule(gpsRule) ; } Ti . Geolocation . accuracy = Ti . Geolocation . ACCURACY_BEST ; Ti . Geolocation . distanceFilter = 10 ; Titanium . Geolocation . getCurrentPosition( function (result) { if (result . success) { map . ...

Create an Appcelerator Android Module With armeabi-v7a,x86 architectures

Create a Titanium module, edit the manifest and change the " architectures " line to architectures: armeabi-v7a,x86 , then cd android >  appc run -p android --build-only . Verify the libs and dist/<whatever>.zip file only contains the desired architectures.

About Me

Hey Guys, It's me Md.Aminul Islam, Software Engineer at Grameen Solutions Ltd and Technical Support Engineer at Appcelerator . Passionate about information technology, artificial intelligence, machine learning and I'm a forever learner. I got my master's degree from the United International University and bachelor's degree from Ahsanullah University of science and technology. My current job responsibilities are  Mobile Application Development (Android, iOS, and Appcelerator), The Web and Rest API Development (JavaScript, Node JS, Express JS) and  Cloud Mobile Computing, ArrowDB and Proxycodeing. Research Interest on  Natural language processing (NLP),  Machine Learning,  Deep Learning and Big data  I can be reached anytime via email at aminulaust@gmail.com or my skype, aminul_aust