Barcelona Skin
QuiQRun!, the social, fast barcode scanner and creator!
I’m very happy to release the first version of QuiQRun! for Android! In the next weeks I may do a couple of articles on the blog on how some things are done. (Basic4Android and Java).
I want to thank everyone that did test and translate the app!
I’m looking for people who can translate about 150 terms and some short sentences for my new app QuiQRun! If you can help me, send me a mail to alain.bailleul@pandora.be.
I already have English, Dutch, Italian, French, German, Spanish and Portuguese.
What can I offer?
1. The full version of QuiQRun!
2. A skin in QuiQRun! with your favorite colors
3. Full credit in the apps credits screen
4. Eternal gratitude!
How do I use it in B4A?
The translations are stored in a language file, eg. en-us.lng.
They are stored in a predefined format:
{0000};Scanned
{0001};Scan
{0002};Create
{0003};Setting new skin, one moment...
{0004};Tap to get more info!
{0005};This QRCode is expired!
...
In Basic4Android, It checks if it has a translation, if not it uses the default you put in the GetString function. Here is the snippet I use:
Sub Process_Globals
Public LangStrings As Map
Public BOM As Int = 65279 ' Byte Order Mark for Windows UTF-8 files
End Sub
Sub Activity_Create(FirstTime As Boolean)
Dim R As Reflector
R.Target = R.RunStaticMethod("java.util.Locale", "getDefault", Null, Null)
Dim tmpLang As String = R.RunMethod("getLanguage")
Select Case tmpLang
Case "nl"
LoadLanguageFile("nl-be.LNG")
Case "fr"
LoadLanguageFile("fr-fr.LNG")
Case "it"
LoadLanguageFile("it-it.LNG")
Case "es"
LoadLanguageFile("es-es.LNG")
Case "de"
LoadLanguageFile("de-de.LNG")
Case Else
LoadLanguageFile("en-us.LNG")
End Select
' using it:
ToastMessageShow(GetString("{0003}","Setting new skin, one moment..."), true)
End Sub
Public Sub LoadLanguageFile(setLanguageFile as String)
LangStrings.Initialize
If File.Exists(File.DirAssets, setLanguageFile) Then
Dim txtR As TextReader
txtR.Initialize(File.OpenInput(File.DirAssets, setLanguageFile))
Dim line As String
line = txtR.ReadLine
Do While line Null
line = line.Replace(Chr(BOM), "")
LangStrings.Put(line.SubString2(0,6), line.SubString(7))
line = txtR.ReadLine
Loop
txtR.Close
End If
End Sub
Public Sub GetString(iCode As String, iDefault As String) As String
If LangStrings.ContainsKey(iCode) Then
Return LangStrings.Get(iCode)
Else
Return iDefault
End If
End Sub
I’m currently working on my new Android app called QuiQRun and this is the first time it is presented to the public. It is currently in the testing phase so it won’t be long until I will release it to Google Play.
What is QuiQRun?
QuiQRun consists of two main parts:
1. The White side: Save – Share – Scan QR Codes
• Scan QR Codes and barcodes with our fast build in scanner
• Decrypt codes created with QuiQRun Security and read codes generated by other apps
• A human readable summary and the raw QR data
• Save codes for later use. All codes are organized in a nice list for easy retrieval.
• Share your QR Code on Facebook, Twitter, Email, Dropbox and many more…
• Use the QR Code immediately on your smartphone
2. The Black side: Make – Share – Protect QR Codes
• Make QR Codes for Websites, Wifi, Contacts, locations, coupons and many more…
• Protect your QR Code with QuiQRun Security
– Encryption
– Prevent saving the QR Code
– Password or PIN protect
– Set an expiration date
• Share your QR code on Facebook, Twitter, Email, Dropbox and many more…
• Use the QR Code immediately on your smartphone
And here are the first screenshots! QuiQrun on Android
QuiQRun is written in Basic4Android. If you are a licensed user of B4A you can download an exclusieve preview version from the B4A ‘Test my App!’ forum! I would definitely appreciate the feedback 🙂
More information and screenshots can be found at QuiQRun
The coming weeks I’ll keep you up to date. Follow me on Twitter: QuiQRun