Implement otr.js in titanium appcelator ios? - javascript

I'm trying to create a chat application using Titanium appcelerator for iOS. For that i have implemented OTR.JS in my node js application. That works fine, But now i want to implement OTR.JS in Titanium Appcelator.
I searching modules in Titanium Appcelator to implement OTR for my application. But I can't found any solution for this.
So can anyone clarify me, To use OTR.JS in my Titanium Appcelator Application. If there is any example, please suggest me.

The only Titanium module implementing OTR supports only Android platform: https://github.com/mnaamani/titanium_otr
However you can try using plain JavaScript implementation like this one: https://github.com/arlolra/otr

Related

how to develop a mobile application using nodejs/js frameworks?

I am new to node js,Is there any common js framework or tool to develop mobile application which support android,ios,windows mobile.
NativeScript might be of interest to you.
You can use ReactNative to develop ios/android app in javascript. For more details please go through the http://www.reactnative.com/
Go to AngularJS and Ionicframework. You can create the cross platform mobile apps. NodeJS only for backend, you can't create the mobile application using node.

Can meteor be used to develop mobile app completely

I am a novice in Meteor and have never worked with Android or IOS programming.
Currently I am using meteor to develop a mobile-device application.
So I am wondering, is it possible through meteor to develop a complete mobile application,I did some little research and saw that there are couple of packages to implement swipe or send notifications. But what if want to build a solid mobile application, like implementing alarm, snoozing it all? As told already I am novice in meteor and carry no knowledge of mobile development, so any suggestion for good tutorials is also welcome.
Yes sure, you can do that! Meteor supports building cross-platform mobile apps for iOS and Android from version 0.9.4.
To check it just do:
meteor create --example todos
cd todos
meteor install-sdk android
meteor add-platform android
meteor run android
Thant's it!
Actually you can build (almost?)any meteor with using cordova/phoneGap and run in on your Android/iOS device.
For more information you should read: https://www.meteor.com/try/7
Also I would recommend to watch this video: https://www.youtube.com/watch?v=4dJLPLWMImw

Is it possible to implement HTML5 (I plan to use WebRTC)as a WebView within a native Android application?

I am thinking about developing a android application to make a WebRTC call. Unfortunately the native WebView in android does not support such feature. I tried XDK with CrossWalk and it works with WebRTC well, but the problem is that it is a pure HTML, Javascript application. I suppose the capability of HTML5 application in android would be a problem? (Notification, service, communication with database). So what I am thinking is that maybe I can build a hybrid application with the framework of a native application and a WebView with it? Thanks in advance, that would help me a lot.
Yes, it is possible. I build this HTML5 , https://www.noupei.com/. Its fully HTML5, build using jQuery and jQuery Mobile. One of my college easily transpose it using a webview for android, https://play.google.com/store/apps/details?id=com.knowledge7.android.noupei
BUT
It is also possible to completely develop your whole application using HTML5, and then package it with something like phonegap, the advantage you have is that using something like phonegap allows you to access the native features of the Android Device.
For HTML5 technologies like Bootstrap that allows you to make very good mobile interfaces are fully mobile responsive. It is possible to make very beautiful and attractive interfaces as well as you also have very good javascript frameworks like AngularJS.

Speech to text with Titanium Appcelerator (for Android)

I want to implement an Speech to text plugin in Titanium Appcelerator using JavaScript.
Which API should be used for the same?
I came across this link. It is useful for the plugin development in Java. If anyone have knowledge about it, please tell me if I can use it to develop the plugin in JavaScript and how can it be used?
Solved the problem. The same API will work for the JavaScript too.

Will learning Titanium Appcelerator improve my understanding of NodeJS?

I am learning how to build mobile JavaScript Application in Titanium Appcelerator. I am reading some of the documentation and they are now using the V8 Engine as their JS interpreter for Android. And some of the approaches are a clone of Node. Can I get a clearer understanding of Node by learning how to build App using Titanium Appcelerator?
No. Titanium is an API around the native iOs, Android, etc libraries for building mobile apps. Most casual users will never delve into the internals of whatever js engine Titanium uses under the covers.
You will learn more about node.js by building node.js apps. If you want to learn about v8, you can always download the source. Same for node.js.
Learning Titanium will not help you 'learn' node.js or V8, but the advanced JavaScript programming patterns in both (callbacks, passing functions as first class objects,etc. ) will be similar.

Categories

Resources