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

Image Upload Mobile Safari

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

    Image Upload Mobile Safari

    So I built (quite awhile back) a UX component that was to be used for uploading images from a mobile device into a mySQL database table where I house all uploaded files with all kinds of different unique identifiers. Anyway it had been working fine in both mobile safari and chrome on iOS and chrome on Android, but now all the sudden I am getting weird behavior when tapping a button with the image upload action javascript on it, sometimes the options to take a photo and choose a photo come up and other times nothing happens (this occurs across browsers and even different devices running the same version of a specific OS such as an iPhone 5S and an iPad mini). Any idea if there is an issue here? I saw in some pre-release notes there was a bug in the Image Upload action tied to the scaling option and am wondering if this bug could be causing my issue (I don't want to go to a pre-release as this seems very frowned upon for the use in production). Thanks

    #2
    Re: Image Upload Mobile Safari

    So I guess I am the only person having this issue...

    I decided to start from scratch and completely recreate the image upload dialog (every text field, the image field, containers, buttons, ect..), and in order to test this I didn't use it where I normally do but tied a button in my landing page menu to opening this dialog and what do you know THE UPLOAD BUTTON WORKS!! I closed it and reopened it multiple times and BOOM, worked perfect! So I decided to live on the edge and rename the dialog to the proper name (i.e. by renaming it and publishing this would now be the dialog that would open throughout my app where I call the dialog of that same name). Go to test it and what do you know...BROKEN!! However, leaving the name as it was and pointing that menu button I alluded to earlier to it (after I republished and logged out from the app then logged back in) I was able to get the upload button to work from the menu button but when after going to the image upload dialog within the app and then coming back to the menu button it was broken again... I'm seriously at a loss for why it is having this odd behavior, please, does anyone know why this is acting so weird? I get this behavior whether I am in chrome or safari on iOS.

    Comment


      #3
      Re: Image Upload Mobile Safari

      These are tough to reproduce because there are so many variations. The best process is to build a sample which reproduces what you're seeing and post it with a dump of a table (which includes some test data). Also include the build version of Alpha you're using. Without having a sample to work with, it's all a guess as to how everything's put together. And when I say a sample... I mean everything. So many times someone will report a problem they're having with a UX... it's examined... a solution found... and then the poster writes back with... "ok... but i'm running this in a tabbed ui". That's time wasted.

      Comment


        #4
        Re: Image Upload Mobile Safari

        Way too many components to create a one to one replica for a test so I have created a test account, the credentials are below and these are the steps.

        1) You need to head to etrucktools.com on a mobile device using either google chrome or safari.

        2) Once you login (credentials below) and the landing page loads you will want to tap the menu button in the upper left-hand corner and scroll that list if necessary to find the button right above "Log Out" which is "Test Image Upload". When you hit this button you are opening the component I have attached to this message. As of recent testing the upload button here is no longer working.

        3) After you do that tap the "Back" button in the upper left hand corner to take you back to the home page and then swipe to the left to see the dashboard. You will see a list that has one item in it with a yellow background.

        4) Tap this and when the action sheet comes up tap "Start (Continue) this Run".

        5) Once the next page comes up you will see another list. Tap any one of these and when the action sheet comes up tap "Log Stop Details" (it may ask to use your current location, only applies if you wanted to use the navigation so you can hit okay or cancel there).

        6) Once you are in this next window tap the "Attach Images" button at the top of the screen and you'll see the next panel card come into view. In the list header tap "attach image" and at this point you will be bringing up that same component that is attached to this message. However, because you came from a "Stop" it is setting the stop ID on the client side initialize complete event from the parent object.

        Again I just tested this and this upload button is still unresponsive.

        Username: [email protected]
        Password: Pa$$w0rd (that is a zero)

        m_uploadFiles.zip

        Comment


          #5
          Re: Image Upload Mobile Safari

          Hi Josh,

          Actually... it is working... on both Nexus 7, Chrome, and iPad Safari. At step 2, the Upload Image button is working.

          Comment


            #6
            Re: Image Upload Mobile Safari

            Did you go through to the other place it exists and see if it works? I've hd it work intermittently at step 2 at the further steps it breaks down. And then when coming back to step 2 it's broken.

            Comment


              #7
              Re: Image Upload Mobile Safari

              Yes... I see that going back and forth causes a number of issues. No idea where they are, however. It seems that if you add a category value and save the record, then the Image update will work all the time... but the image can never be saved.

              It's impossible to say where the issues are without knowing what's being called where... the site is very complex. Here's a screen shot of some the errors I'm seeing.

              I'd guess that the Image Upload button isn't working because a "image process" flag has already been set.
              Attached Files

              Comment


                #8
                Re: Image Upload Mobile Safari

                The only thing really being called is when the upload image dialog is being opened it grabs a pointer to the parent object and looks for a bunch of ID fields (that may or may not be there depending what the dialog was) on the OnInitializeComplete event. I can't imagine anything else that would stop that button from working..

                Do you know of another way to implement mobile image upload? Maybe a way to do it without using the action JavaScript, actually write all the code? I thought maybe it was an image process flag stopping it from letting it be called again but I don't know where it'd be happening. Thanks for looking through it!

                Comment

                Working...
                X