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

sample/concept to share... Iphone log in pad and coding a backspace key for dialog

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

    sample/concept to share... Iphone log in pad and coding a backspace key for dialog

    if you are like me desperate to launch a Mobile app
    and with lack of proper login screen for iphone.
    with the annoying pop up keypad normally seen on iphone/ipad

    I have successfully created a simple elegant keypad for that purpose
    it is linked to the ordinary user security database, where i added a new field
    called "mobile_pin", which is typical 6 digits numeric.

    The coding for the backspace/error correct key as follow:

    var dtl = {dialog.Object}.getValue('mobile_pin');
    dtl = dtl.substring(0, dtl.length - 1);
    {dialog.Object}.setValue('mobile_pin',dtl);
    {dialog.Object}.setValue('label1',dtl);

    see sample, my number 1 button has these codes.

    var dtl = {dialog.Object}.getValue('mobile_pin')+'1';
    {dialog.Object}.setValue('mobile_pin',dtl);
    {dialog.Object}.setValue('label1',dtl);

    my number 2 button has ...

    var dtl = {dialog.Object}.getValue('mobile_pin')+'2';
    {dialog.Object}.setValue('mobile_pin',dtl);
    {dialog.Object}.setValue('label1',dtl);


    My "clear" button would have these :
    here i actually reset geolocation watch event, in case you had it on,
    i then re apply/track/update user's latest GPS coordinate.
    there are many field on my dialog.


    {dialog.object}.resetForm(false);
    {dialog.Object}.geolocation.clearWatch();
    {dialog.Object}.setValue('mobile_pin','');
    {dialog.Object}.setValue('userid','');
    {dialog.Object}.setValue('display_name','');
    {dialog.Object}.setValue('label1','');
    {dialog.Object}.setValue('ulink','');
    {dialog.Object}.setValue('guid','');
    {dialog.Object}.setValue('user_password','');
    {dialog.Object}.setValue('latitude','');
    {dialog.Object}.setValue('longitude','');
    navigator.geolocation.getCurrentPosition(geoLocateSuccess,geoLocateFailed,{enableHighAccuracy : true, timeout:15000, maximumAge:30000});
    {dialog.Object}.submit();

    REMEMBER:
    to have a label to represent the keypad entry value, so user can see what is being keyed
    "this one very important" to prevent the ipad/iphone virtual keypad from popping up !!!!"
    so make sure you keep the actual mobile_pin field hidden....

    place this dialog on a simple blank a5w page of your choice
    i called it mob_pin.a5w

    please insert these meta codes, to prevent iphone user from stretching the display !!!
    yes, a fixed size data all the way, user can operate with one had in portrait mode.

    <!doctype html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
    <meta name="format-detection" content="telephone=no" />
    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
    <script language="javascript">

    in addition, on iphone, please download an excellent browser called
    "perfect browser" which give you full screen view on your iphone screen.
    instead the default with showing other apple tools.

    you will like the way alpha5 work on iphone


    see picture for more explanation,

    the submit, function etc are conditionally disabled,
    once the validation match the mobile_pin entry,
    your dialog would have user name, password shown.

    so the condition , if user_id field <> "" then enable
    by the way, once you hit clear, all critical button would be disabled nicely.

    100% done under the spirit of sharing & DIY,
    no complicated codes.

    Ken Tjiaiphone pad.png

    #2
    Re: sample/concept to share... Iphone log in pad and coding a backspace key for dialo

    once you passed this log in, you decide what to do.
    i have the function to open up another mini screen with
    plenty of button to push, this apps design for mobile worker
    with button to push,, avoiding virtual popup keyboard
    which i was told can not get disabled , at least on my iphone.

    Comment


      #3
      Re: sample/concept to share... Iphone log in pad and coding a backspace key for dialo

      Ken Tjia - thank you for posting this information, very useful as we are designing for primarily iPad. I have another question for you regarding the appearence on iPad. We have designed at 980 pixels page width as we intend to primarily use portrait mode. However, the buttons and grids (everything) are very small - still workable, but we'd like the overall appearance to be larger. Do you know anythinng about this? Should we use a smaller page width and force iPad to zoom?

      Appreciate it if you know anything on this subject.

      Thanks,
      Mark

      Comment


        #4
        Re: sample/concept to share... Iphone log in pad and coding a backspace key for dialo

        Hi, i intend to work on an ipad interface, similar idea no keyboard pop up
        instead utilizing touch and pin # concept...

        i hope to start on it this afternoon, see if i can post the result

        Comment


          #5
          Re: sample/concept to share... Iphone log in pad and coding a backspace key for dialo

          Great - look forward to your progress and thanks for the reply. I did also find meta tag info for hiding the safari browser - maximizes the screen space and looks more native. Just need a button on the home screen of the ipad to lauch the site.

          Comment


            #6
            Re: sample/concept to share... Iphone log in pad and coding a backspace key for dialo

            please give me the link to such meta, that would be nice
            allowing to eliminate the use of "perfect browser"
            whihc by the way is very good

            Comment


              #7
              Re: sample/concept to share... Iphone log in pad and coding a backspace key for dialo

              Here's the site - talks about iPhone, but the settings are the same for safari in iPad.

              http://developer.apple.com/library/i...lications.html



              Here's what it says:
              Hiding Safari User Interface Components

              On iOS, as part of optimizing your web application, have it use the standalone mode to look more like a native application. When you use this standalone mode, Safari is not used to display the web content—specifically, there is no browser URL text field at the top of the screen or button bar at the bottom of the screen. Only a status bar appears at the top of the screen. Read “Changing the Status Bar Appearance” for how to minimize the status bar.

              Set the apple-mobile-web-app-capable meta tag to yes to turn on standalone mode. For example, the following HTML displays web content using standalone mode.




              <meta name="apple-mobile-web-app-capable" content="yes" />

              You can determine whether a webpage is displaying in standalone mode using the window.navigator.standalone read-only Boolean JavaScript property.

              Comment

              Working...
              X