1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

QR Codes


Last Updated:

  1. mfowler70

    mfowler70 Member This Topic's Starter

    Joined:
    Sep 11, 2009
    Messages:
    24
    Likes Received:
    0
    Have you guys thought about adding BBCODE to assist users in creating QR Codes for use on the forums? It should be fairly easy to do and would be pretty cool to use from our android phones.

    Title: QRcode Barcode Generator
    Tag: QR
    Replacement:
    Code (Text):
    1. <img src="http://qrcode.kaywa.com/img.php?s=5&d=http%3A%2F%2F{param}" alt="qrcode"  />
    Example:
    Code (Text):
    1. [QR]www.androidforums.com[/QR]
    Note: Due to the way the generator is setup, I don't think it'll work if http:// is included in the link. Should also be easy to alter the replacement code for use with text.
     

    Advertisement
  2. PsychoKlown

    PsychoKlown Member

    Joined:
    Nov 10, 2009
    Messages:
    22
    Likes Received:
    0
    I was just going to make a post about this. You could also use Googles free QR generator.

    Here's an example.
    Code (Text):
    1. http://chart.apis.google.com/chart?cht=qr&chs=350x350&chl=market%3A%2F%2Fsearch%3Fq%3Dpname%3A{param}
    You would just need to put your package name. This would be perfect for developers.
     
  3. Phases

    Phases Community Manager Administrator

    Joined:
    Sep 9, 2008
    Messages:
    8,403
    Likes Received:
    18,677
    [qr]HappyThanksgiving![/qr]

    HTML:
    1. [qr]HappyThanksgiving![/qr]
    2.  
     
  4. alok

    alok Member

    Joined:
    Sep 8, 2009
    Messages:
    6
    Likes Received:
    0
  5. PsychoKlown

    PsychoKlown Member

    Joined:
    Nov 10, 2009
    Messages:
    22
    Likes Received:
    0
    The first code I included was for market searches.

    We could make this the BB code
    Code (Text):
    1. http://chart.apis.google.com/chart?cht=qr&chs=350x350&chl={param}
    This would allow users to create links.

    And we can also make it so that new posts have an option to include the package name (i.e. link to market). That way developers just add their package name in their post so we can instantly find them in the market.
     
  6. Phases

    Phases Community Manager Administrator

    Joined:
    Sep 9, 2008
    Messages:
    8,403
    Likes Received:
    18,677
    How's this?

    For URLs etc:
    [qr]androidforums.com[/qr]

    HTML:
    1. [qr]androidforums.com[/qr]
    2.  
    --------------------------

    Market Searches:
    [market]barcode[/market]
    HTML:
    1.  
    2. [market]barcode[/market]
    (Seems to only work with one word searches)

    -------------------------

    Ouch:
    [qr]Just testing
    thisismy@email.com
    mywebsite.com
    I like cake.[/qr]

    (Well, that one didn't turn out well.)

    .... after the (possible) 4.0 upgrade in a couple months I'll redo the wysiwyg editor buttons to include these things. Also, try to combine these two into one with an option for market or not.
     
  7. BottledHate

    BottledHate Well-Known Member

    Joined:
    Nov 28, 2009
    Messages:
    463
    Likes Received:
    11
    great idea! i was just thinking about how much easier things would be with more qr codes on the site!
     
  8. Howie

    Howie Well-Known Member

    Joined:
    Oct 28, 2009
    Messages:
    1,412
    Likes Received:
    71
    Try putting + between each word. Like market://search?q=:barcode+scanner
    Haven't tried it, just guessing...

    edit: ok I just tested it and worked for me. It returned 25 results. Also seems you do not need the : that was in it originally so just market://search?q=barcode+scanner
     

Share This Page

Loading...