PBQRlib 1.00 Beta [Updated Download Link]

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Mohawk70
Enthusiast
Enthusiast
Posts: 400
Joined: Thu May 11, 2006 1:04 am
Location: Florida, USA

PBQRlib 1.00 Beta [Updated Download Link]

Post by Mohawk70 »

PureBasic 4.61 QR Code Generator UserLib (Win x86 only at the moment)

Very limited right now but working !
I plan on adding more than 50 different types of QR Code formats that it wil be able to generate.

Voice Call to Phone, SMS, MMS, Skype - Call/Chat/Send File, Facebook Like, Google Plus +1,Email, Website, MeCard,vCard & more. When that's all complete I have something special I want to add to it if there's enough interest shown here !

Download https://drive.google.com/file/d/1FNyZbM ... R4sJ9/view

Files in ZIP:
PBQRlib100Beta PB lib
PBQRlib100_PBLIB_Test.exe Compiled Test App
PBQRlib100_PBLIB_Test.pb Source Test App (Code Below)

Code: Select all

;
; /* PBQRlib 1.00 BETA Test Code */
;
; Library Name      : PBQRlib100Beta
; Library Version   : 1.00 BETA
; Library Type      : PureBasic User Library
; Library OS        : Windows 32-Bit
; PureBasic Version : 4.61 32-Bit
; Description       : Create QR Code Images
; Author            : David Tupponce
; Email             : mohawk70@gmail.com
; Date              : WED 01-AUG-2012
;
; Copyright © 2012 David Tupponce
;
; IMPORTANT ! - There MUST be a sub-directory named QRcodes !

EnableDebugger
DisableASM

PhoneNumber.s = "2155551212"
QRImageSize.i	= 4
QRImageERCL.i	= 4
;QRImageSize.i			Image Size : Valid Range --> 1-5
;QRImageERCL.i			Error Recovery Level : Valid Range --> 1-4 1=L, 2=M, 3=Q, 4=H
;QRInternational.i	Make QRCode valid for callers from countries outside North America 0=No/1=Yes
;=======================================================================
res = qrInit()
If res = #True
  Debug "Initialized !"
  QRInternational.i	= 0
  res = qrSMS(@PhoneNumber.s,QRInternational.i,QRImageSize.i,QRImageERCL.i)
  If res = #True
    Debug "Success ... QR Code Image Saved !"
  EndIf
  QRInternational.i	= 1
  res = qrSMS(@PhoneNumber.s,QRInternational.i,QRImageSize.i,QRImageERCL.i)
  If res = #True
    Debug "Success ... QR Code Image Saved !"
  EndIf
  QRInternational.i	= 0
  res = qrMMS(@PhoneNumber.s,QRInternational.i,QRImageSize.i,QRImageERCL.i)
  If res = #True
    Debug "Success ... QR Code Image Saved !"
  EndIf
  QRInternational.i	= 1
  res = qrMMS(@PhoneNumber.s,QRInternational.i,QRImageSize.i,QRImageERCL.i)
  If res = #True
    Debug "Success ... QR Code Image Saved !"
  EndIf
  QRInternational.i	= 0
  res = qrTEL(@PhoneNumber.s,QRInternational.i,QRImageSize.i,QRImageERCL.i)
  If res = #True
    Debug "Success ... QR Code Image Saved !"
  EndIf
  QRInternational.i	= 1
  res = qrTEL(@PhoneNumber.s,QRInternational.i,QRImageSize.i,QRImageERCL.i)
  If res = #True
    Debug "Success ... QR Code Image Saved !"
  EndIf
Else
  Debug "Not Initialized !"
  End
EndIf
res = qrCleanup()
Select res
  Case #False : Debug "Cleanup Error"
  Case #True  : Debug "Cleanup Complete !"
EndSelect

End

; IDE Options = PureBasic 4.61 (Windows - x86)
; EnableThread
; EnableXP
; EnableAdmin
; EnableOnError
; Executable = PBQRlib100_PBLIB_Test.exe
; CompileSourceDirectory
Last edited by Mohawk70 on Sun Apr 28, 2019 11:39 pm, edited 1 time in total.
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PBQRlib 1.00 Beta

Post by IdeasVacuum »

Sounds interesting - download fails here unfortunately.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Mohawk70
Enthusiast
Enthusiast
Posts: 400
Joined: Thu May 11, 2006 1:04 am
Location: Florida, USA

Re: PBQRlib 1.00 Beta

Post by Mohawk70 »

IdeasVacuum wrote:Sounds interesting - download fails here unfortunately.
I just tried after reading your message [21:54 GMT -7 my time] and it worked fine - try again...
Don't right click the link in the forum ! When the page loads scroll down to the gray download button and there'll be a Captcha box. DON'T click the green button at the top of the page - that's an ad for another download on the file sharing site ! if you still can't DL PM me and I'll send it to your email if you want.
User avatar
Mohawk70
Enthusiast
Enthusiast
Posts: 400
Joined: Thu May 11, 2006 1:04 am
Location: Florida, USA

Re: PBQRlib 1.00 Beta

Post by Mohawk70 »

Judging by the # of views there's definitely a good amount of interest in a QR-Code User Lib so
I'll keep posting progress here at milestones in the project.

Now able to create :
YouTube
WiFi
Website URL
MeCard
vCard (All versions)
BizCard
Send SMS/MMS
Telephone #
Skype
Google Plus Profile
Google Plus +1
Facebook Profile
Facebook Like
Plain Text
Send Email ...
and several others I'm sure I forgot to list !

:D
dige
Addict
Addict
Posts: 1251
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: PBQRlib 1.00 Beta

Post by dige »

Looks good! Do you create the data code with PB commands or do you using a lib?
You can also decode a QR code, you can?
"Daddy, I'll run faster, then it is not so far..."
quasiperfect
Enthusiast
Enthusiast
Posts: 157
Joined: Tue Feb 13, 2007 6:16 pm
Location: Romania
Contact:

Re: PBQRlib 1.00 Beta

Post by quasiperfect »

download link dead
Registered user of PureBasic
User avatar
Mohawk70
Enthusiast
Enthusiast
Posts: 400
Joined: Thu May 11, 2006 1:04 am
Location: Florida, USA

Re: PBQRlib 1.00 Beta

Post by Mohawk70 »

quasiperfect wrote:download link dead
I'll be posting an updated version soon - been busy with other things and haven't been doing much coding for a while now ...
Post Reply