Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Active Phone number on smart phone?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Re: Active Phone number on smart phone?

    Yes
    Bill Griffin
    Parkell, Inc

    Comment


    • #17
      Re: Active Phone number on smart phone?

      So, I'm thinking that if I put this javascript in the OnClick property of a phone number field in a grid that is embedded in a panel, then simply clicking the phone number will cause a mobile phone device to pop up that Call window. I have put the code there, but am unable to test on a mobile device because I'm not ready to install V12 on my server, AND I can't figure out how to get the 'Remote Test' thing to work.. (too ignorant of that stuff, I think).

      Code:
      if (A5.flags.supportsTouch !=false) {
      	window.location = 'tel:'+this.value;
      } else {
      	alert('Not running on a mobile phone device.');
      }
      Carol King
      Developer of Custom Homebuilders' Solutions (CHS)
      http://www.CHSBuilderSoftware.com

      Comment


      • #18
        Re: Active Phone number on smart phone?

        I don't think that will work unless you have set this.value somewhere. It should be referencing the value on your grid, or better yet your UX component. The this.value comes from the list component.

        DO you have a smart phone that is on the same network as your a5 developer? you need a QR scanner (I use something called Scan) on my iphone) and jusr scan the QR code and your browser will open the page
        Bill Griffin
        Parkell, Inc

        Comment


        • #19
          Re: Active Phone number on smart phone?

          Hi, Bill. Yep, I figured I would have to get the value in the field and not use this.value... I know how to do that. BUT, regarding the Remote Test, I can't even get as far as you are suggesting because it errors right away and cannot write to a file of some kind. Short video: http://screencast.com/t/xDv6H3nTsSZ
          Carol King
          Developer of Custom Homebuilders' Solutions (CHS)
          http://www.CHSBuilderSoftware.com

          Comment


          • #20
            Re: Active Phone number on smart phone?

            Just tried it Carol and it works! I copied your code and put it in the onclick event for the phone field in a read only grid.

            I would, however, use a list control instead of a grid now you are moving to V12. They are so much more flexible and the appearances you can create are great.

            Ignore the above, spoke too soon. Like Bill says the this value does not return the correct phone number.

            Will try something else shortly

            Comment


            • #21
              Re: Active Phone number on smart phone?

              That's good to know, Lance. I'm using an embedded grid because I need to display address, email, type of contact, and several phone numbers for my contacts in one spot. I ended up deciding I did not want to make a bunch of list controls to return the different phone number values..but maybe I'll learn more and decide to use list controls later. I just started out trying V12 so have a lot to learn.

              Now if I can just figure out how to do a Remote Test...
              Carol King
              Developer of Custom Homebuilders' Solutions (CHS)
              http://www.CHSBuilderSoftware.com

              Comment


              • #22
                Re: Active Phone number on smart phone?

                Okay,

                changed the code to
                Code:
                var pno = {grid.object}.getValue('G','MOBILE',{grid.rowNumber});
                
                
                
                if (A5.flags.supportsTouch !=false) {
                	window.location = 'tel:'+pno;
                } else {
                	alert('Not running on a mobile phone device.');
                }
                Where MOBILE is the phone number field and all works fine

                Comment


                • #23
                  Re: Active Phone number on smart phone?

                  This forum is so great! We managed to get to the simple answer to my first question in this thread! YAYYY.
                  Carol King
                  Developer of Custom Homebuilders' Solutions (CHS)
                  http://www.CHSBuilderSoftware.com

                  Comment


                  • #24
                    Re: Active Phone number on smart phone?

                    For some reason I cannot upload a picture anymore! So this maybe harder to explain. Go to the remote test button and fast preview. Then when the dialog is open select QR code as the output. Then under Host name settings select IP Address, an input box pops up, then press the show IP address of my machine link, another dialog pops up showing a numeric IP address, copy that into the input box next to IP Address then select Ok. You should get the QR code ready to scan with your phone
                    Attached Files

                    Comment


                    • #25
                      Re: Active Phone number on smart phone?

                      Are you running Windows 8? I get the same error on my windows 8 box but my win 7 is fine. I sent a bug report in.

                      Bill
                      Bill Griffin
                      Parkell, Inc

                      Comment


                      • #26
                        Re: Active Phone number on smart phone?

                        Are you asking me, Bill? I have windows 7.
                        Carol King
                        Developer of Custom Homebuilders' Solutions (CHS)
                        http://www.CHSBuilderSoftware.com

                        Comment


                        • #27
                          Re: Active Phone number on smart phone?

                          Sorry Carol, yes I was asking you.
                          Bill Griffin
                          Parkell, Inc

                          Comment


                          • #28
                            Re: Active Phone number on smart phone?

                            Bill, I was able to get the Remote Test thing to start working. I studied the path in the error message that it said it could not write file to and then followed that path in Windows Explorer and found that there was NOT a RemoteTest folder in the last folder in the path. So I created the folder. Then it started working.

                            C:\Users\Owner1\AppData\Roaming\Alpha Software\Alpha Anywhere Version 12\Installations\CProgramFilesx86a5V12\RemoteTest\
                            Carol King
                            Developer of Custom Homebuilders' Solutions (CHS)
                            http://www.CHSBuilderSoftware.com

                            Comment


                            • #29
                              Re: Active Phone number on smart phone?

                              Cool , I was able to get rid of that message and have another, but it is only on my win 8 system. Were you able to get your phone test done?
                              Bill Griffin
                              Parkell, Inc

                              Comment


                              • #30
                                Re: Active Phone number on smart phone?

                                Yes, Bill! The solution was to put the last javascript code Lance posted above in the OnClick property for the phone field in the read-only grid that I have embedded in a panel. It works beautifully. Bill, Thank you so much for posting Bob Moore's video (and tell him thanks)! It definitely pointed Lance and I in the right direction.
                                Carol King
                                Developer of Custom Homebuilders' Solutions (CHS)
                                http://www.CHSBuilderSoftware.com

                                Comment

                                Working...
                                X