Solved

How can I get my Android users to see these options?

Posted on 2013-11-01
4
304 Views
Last Modified: 2013-11-04
Attached is a mockup of the MECARD that my iPhone users are getting after they scan a certain QR code.

My Android users are getting the same info except for the web address. How do I need to code things so my Android users are getting the website?

Here's the image: http://www.myqardboard.com/images/qardboard_mecard.png

Here's my php code: http://chart.apis.google.com/chart?cht=qr&chs=140x140&chl=MECARD:N:<?php echo $last_name; ?>, <?php echo $first_name; ?>;ORG:<?php echo $the_company; ?>;TEL:<?php echo $the_phone; ?>;EMAIL:<?php echo $the_email; ?>; URL:<?php echo $the_url; ?>">

My Android users don't see the "URL." iPhone users do. What do I need to do different?
0
Comment
Question by:brucegust
  • 2
4 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39618823
If you post a link to the page you might get an Expert to show enough interest to post a response.

Cd&
0
 

Author Comment

by:brucegust
ID: 39619315
0
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 39619738
It could be a typo but there is a space before the " URL:" code in your php code above.  I'd say you're getting lucky with the iphone and it's ignoring the space but the android isn't.
should be:

http://chart.apis.google.com/chart?cht=qr&chs=140x140&chl=MECARD:N:<?php echo $last_name; ?>, <?php echo $first_name; ?>;ORG:<?php echo $the_company; ?>;TEL:<?php echo $the_phone; ?>;EMAIL:<?php echo $the_email; ?>;URL:<?php echo $the_url; ?>

Open in new window

0
 

Author Comment

by:brucegust
ID: 39620561
I see it!

I fixed that and I also learned today that not all QR Scanners are created equal. I'm going to reconfigure my page so there's another option for just the URL so I've got all my bases covered.

Thanks!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now