Acktie Mobile QR - Has anyone used this QR reader module

You must Login before you can answer or comment on any questions.

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.

Thanks, Lee

— asked 9 months ago by L F
0 Comments

13 Answers

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.

Thanks,

Tony

— answered 9 months ago by Acktie LLC
answer permalink
2 Comments
  • Im trying to use the modules but every time i receive an error saying couldn find the module and tiapp.xml says that is not supported by 2.0.1 Ga, 2.1.0 ga and the newest SDK, any suggestions?

    — commented 8 months ago by Mario Navarro Palos

  • Hi Marco, Can you email support@acktie.com with the modules you are using and the issue you are seeing? Also, We did have a bug in our example on github that I just fixed so if you were trying to use it on Android it was not working but it should work now with now (just to a git pull to update).

    Thanks,

    Tony

    — commented 8 months ago by Acktie LLC

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 support@acktie.com that would help.

Thanks,

Tony

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.

Thanks,

Tony

@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.

Error ERROR][TiJSError( 361)] (main) [266,2680] ----- Titanium Javascript Runtime Error ----- [ERROR][TiJSError( 361)] (main) [1,2681] - In ti:/module.js:372,8 [ERROR][TiJSError( 361)] (main) [1,2682] - Message: Uncaught Error: Requested module not found: com.acktie.mobile.android.qr [ERROR][TiJSError( 361)] (main) [1,2683] - Source: throw new Error("Requested module not found: " + request); [ERROR][V8Exception( 361)] Exception occurred at ti:/module.js:372: Uncaught Error: Requested module not found: com.acktie.mobile.android.qr

Build Version Titanium Studio, build: 2.1.2.201208301612 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

Thanks Tony. Yes I have the following module reference in tiapp.xml

Snippet:

<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.

Thanks,

Tony

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.

Thanks, Lee

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).

Thanks,

Tony

— answered 8 months ago by Acktie LLC
answer permalink
1 Comment
  • Hi, It crashes when I run in on the device too, but there is no conclusive error, it just says "XXX has unexpectedly stopped working". I've going to delete my project and build it again from scratch. Maybe that will help.

    — commented 8 months ago by L F

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.

Your Answer

Think you can help? Login to answer this question!