Hi all, Has anyone used the Acktie Mobile QR module yet? I need to know which versions of Android it supports.
The official Appcelerator bar code scanner doesn't support Android 4.0+.. so I'm hoping this Acktie module does.
Hey Lee, I wanted to let you know I just tested our Android QR module against 4.0.4 and 4.1 and it work fine. I used our example on github (https://github.com/acktie/Acktie-Mobile-QR-Example) to test it.
I have pulled down the latest APP.js and I am also getting the "Module Not Found" fatal error.
"[WARN] Could not find Titanium Module id: com.acktie.mobile.android.qr, version: 1.1, platform: android [WARN] Couldn't find app module: com.acktie.mobile.android.qr
"Runtime Error: Location 372,8, module.js, requested module not found."
"Module not supported by Titanium 2.1.0. GA"
The modules are in Resources/Modules/Android/com.acktie... I have also tried putting a copy of the module in Resources/Modules/com.acktie...
PS: I've now lost a day of valuable project time on trying to make this work. Not cool at all. Especially as this is a paid-for product, I expect it to work as promised.
Lee, I wanted to make sure you are installing the module in the correct location. Here is the official Appcelerator documenation: http://docs.appcelerator.com/titanium/2.0/#!/guide/Using_Titanium_Modules.
I am not sure why the error is saying "Module not supported by Titanium 2.1.0. GA" I tested it last night on 2.1.1 (that is the version check into github).
Maybe there is an issue with putting the modules in the "Resources/modules" directory (I am not sure I see that working). For our testing, we put our modules under the /Library/Application Support/Titanium/ directory (the appcelerator doc above explains it more).
If you can send us any logs to debug at firstname.lastname@example.org that would help.
Lee, I think I found the way to install the module without unzipping it to the /Library/Application Support/Titanium/ directory. According the Appcelerator documentation you need to put the module.zip (in this case com.acktie.mobile.android.qr-android-1.1.zip") in the root directory of your project (one directory above "Resources") and keep it in the zipped form. The first time you run the build it will install the module in the correct location.
@mario did you get it working?
@AcktieLLC, I have tried it all, still getting a module not found error. I installed the zip file on the project level, (titanium installed it correcty in the root) - not working.
So I installed the files on the program level (not something I've needed to do before, but anyway). I'm on a PC (windows 7) and have tried every possible location and variation, including:
C:\ProgramData\Titanium\modules\android\com.acktie.mobile.android.qr C:\ProgramData\Titanium\modules\com.acktie.mobile.android.qr C:\ProgramData\Titanium\android\com.acktie.mobile.android.qr C:\ProgramData\Titanium\modules\win32\android\com.acktie.mobile.android.qr C:\ProgramData\Titanium\modules\win32\modules\android\com.acktie.mobile.android.qr C:\ProgramData\Titanium\modules\win32\com.acktie.mobile.android.qr
Still not working... Either I'm thick or something somewhere is incompatible.
Build Version Titanium Studio, build: 126.96.36.199208301612 Build: jenkins-titanium-rcp-master-232 (origin/master) Date: 30 August 2012, 16:14:46
Lee, I just wanted to follow up. Can you verify that the entry for the module in the tiapp.xml?
I don't have a Windows 7 machine readily available but do have a XP machine I am going to install Titanium and try to run the github example for Android.
Thanks Tony. Yes I have the following module reference in tiapp.xml
<modules> <module platform="android" version="1.1">com.acktie.mobile.android.qr</module> </modules> </ti:app>
Lee, I am having problem getting Android dev env working on my windows box.
To determine whether it is the Acktie module misbehaving have you tried to install a different Android (native) module from the marketplace?
In thinking about the issue, it looks like you are doing everything correctly. The modules are built on a Mac but we have not heard of any issue where the modules would not run on a windows box. We have quite a few users using this module in there mobile applications.
I will see if I can get my dev env working on Windows.
Hi Tony, Yes, my other moduleswork fine, and I've been installing the modules on a project level using the zip.
I just tested my platform by quickly creating a new app with the titanium barcode/qr module https://marketplace.appcelerator.com/apps/770?1712127186 and it worked first time.
Please do let me know if you can get a windows environment up & running. That way we can find out where the problem possibly lies.
Lee, I was able to install the app and module on Windows 7 in an Android 4.1 simulator. I realized I have not asked if you are using a device to run the example or the simulator. I did discover a bug where the module errors out on the simulator but the reason being it there is no real camera (and this is after the module/app is loaded and running).
Update: I have now got it working on the device!
I did I full delete and rebuild and it's now working perfectly. Thanks for all your patience Tony
Hold 5 while I test the emulators
Yip, all working now, also on the emulators. Some code must have been caching somewhere. Thanks again, Lee
Update to all of you friends.... Seems that the new version is working fine. To install the module just download the zip form marketplace, in Titanium/help choose install titanium module and select the .zip.
To use it, in Tiapp.xml add the new module at your project, and thats it. Its working fine for me.
Think you can help? Login to answer this question!