lungojs in trigger.io - trigger.io

Hi I am looking for using Trigger.io to create mobile app but use the Lungojs for the GUI part. I am unable to find reference of using these two without any issues . would like to hear from some with experience .

I'm interested in Lungo too, so thought the best way would be to try it.
I took the Lungo JS example app from https://github.com/TapQuo/Lungo.js/tree/master/example
Put it into the /src folder of a default Trigger.io project and built it for Android without any problems. Tested it on an Android 4.1 device and it works great. :)
The built kitchen sink app is available here: https://dl.dropbox.com/u/579708/android/lungojs/lungojskitchensink21.apk

Related

How to compile FileMQ in iOS?

I want to implement FileMQ for file transfer from iOS to android in my iOS app.
I tried the steps given here but it causes errors at many steps. Also I need to know how should I use the downloaded library.
How should I compile FileMQ for iOS and use it?
Any information in this regard is appreciated!
I downloaded a C version of the library from the link mentioned in the question and compiled it on linux machine. I made some changes in the headers to make it iOS compatible as the headers were generated for linux. Now I am using the same copy in my iOS project.

MergJSON LiveCode External for iOS standalone setup

Currently we are only testing LiveCode 7.0.4 to see how it works and if we want to even use it. In our apps we need JSON from our server and have setup the mergJSON library/External in Livecode. So far, this is working very nicely in standalone tests for both MacOS and Windows. Today I started doing some simple tests on iOS and I am having a hard time with it.
I found answers where we need to use the Copy Files section in Standalone Settings, and that we need to copy the *.lcext file for mergJSON. Also watched the youtube how-to video that had mergSettings. There are no .nib files for mergJSON. Only .so, .dylib, and .dll, and the .lcext. I tried to add the .bundle file like the video, but the app will not launch, only black screen. Are other files required for mergJSON? And where do we put them? Do they stay in the same Externals folder structure or in project folder. Also, does an IOS runtime folder need to be created like in Widows/Mac? The app runs, no errors, but no JSON results are returned. I guess I am just a little confused on the Externals setup for iOS.
Just quick notes of our environment. We have Xcode 6.2 and the iOS Sdk 8.2. Live Code is 7.0.4 GPL (just testing and learning this way for now, will purchase commercial once I learn more.) I think the mergJSON I have is 1.0.15, downloaded from mergext.com. (which appears to be offline today) I have only tested on the simulator.
Thanks for any help.
You only need to include the lcext file in the copy files section of standalone settings. No need to setup a runtime folder for iOS etc.

Creating an iOS library or framework using libgdx (roboVM)

Is it possible to create an iOS library or framework using libgdx (RoboVM) that can be imported into Xcode?
Background:
One of my colleagues has created a 3D visualisation app as a libgdx project for android and windows desktop. It can be compiled to run on iOS using RoboVM. However, I would like to wrap extra native user interface elements around it using Xcode. I know its possible to build the user interface programmatically via RoboVM but I would be keen to investigate if its possible to bring the existing work into Xcode. I don't need to edit the 3D visualisation component but add extra GUI elements around the 3D Vis window. I thought compiling the libgdx (RoboVM) code to a framework or library might be a solution that could be imported?!
Yes you can do it.
All you need to create a method, say initRoboVM(), This will be called by your code when you want to initialize libgdx. You'll need to pass the app path in, which you can hardcode when you're testing.
initRoboVM() will need some modifications, namely it should not call your Java app's main method, well, at least, that's what well behaving libraries should not do IMO. It should also not call rvmShutdown.
You can get further information from here
Thanks :)
I asked the RoboVM team directly. Their answer: It's not a native function, but it certainly can be done.
The complete message...
Hi,
Sorry for the late reply. This use case is not something we're going
to do now. It is possible though if you're prepared to do some
patching of RoboVM. Search the RoboVM Google Group and you should find
others who have managed to get this working.
We get this request every know and then so we will add support for
this eventually.
Regards, Niklas

Can't access camera PhoneGap 3.3

The Problem
I'm attempting to build my first PhoneGap app for iOS. I am using version 3.3.x.
For whatever reason, I can't seem to get the Camera feature to work on my iPhone 5S (haven't tested any other devices).
What I've tried
I've installed the Camera Plugin
I've added the feature to the config.xml file on the platform/ios/www level.
I've tried using PhoneGap docs examples.
I've tried using other online examples.
I've tried buying the PhoneGap 3 book and going step-by-step through their method.
None of that seems to matter
What works
I've used a <input type="file" accept="image/*;capture=camera">, this works, but it's not really what I'm looking for. I'm trying to actually access the Camera API.
Geolocation plugin I've tried and it works fine.
Accessing external API's I have gotten to work.
What also doesn't work
Contacts Plugin also doesn't seem to be working with the examples on the PhoneGap Docs.
Possible Clues
I am running / building the app from within Xcode. I've also tried building using the Command-Line Tool but I'm not sure how to run it on my iPhone once it's been built through CLT. I don't know if this matters or not.
There seems to be a "lag" in launch time when I include any scripts associated with the Camera API.
Since I've used so many different code snippets from verified sources, I doubt it has to do with the js, html or css that I'm writing. I believe this to be a dependency issue, but I have no idea what it could be, and there's not much help out there for PhoneGap yet.
Any advice or suggestions would be greatly appreciated!

Is it possible to use MJSIP api with Blackberry?

I am trying to develop an VOIP application for blackberry,after a long surf i came
to know about mjsip api.But i have a doubt that is it possible to use this api
with blackberry development to create VOIP application.Please anyone knows the answer
help me.
Thanks, it's a nice project you found there! There is an J2ME version MjSipME, and the only thing I can say now for sure is that it compiles with Blackberry without any errors.
UPDATE You right, there are missunderstanding with packages/folders structure.
Steps to compile:
download mjsip2me_1.6.zip
create blackberry project (I've used components 4.6)
in project src folder create such structure:
alt text http://img691.imageshack.us/img691/9311/structure.jpg
extract mjsip2me_1.6.zip, copy files and folders:
from mjsip2me_1.6\src\org\zoolu\ to project\src\org\zoolu\
from mjsip2me_1.6\src\j2me\local\ to project\src\local
from mjsip2me_1.6\src\j2me\microtools\ to project\src\org\zoolu\microtools
from mjsip2me_1.6\src\j2me\net\ to project\src\org\zoolu\net
copy mjsip2me_1.6\src\j2me\ExceptionPrinter.java into project\src\org\zoolu\tools
copy mjsip2me_1.6\src\j2me\RotatingLog.java into project\src\org\zoolu\tools
refresh your project, clean and build
It's j2me midlet so don't expect it will start on bb device, but at least it compiles.

Resources