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

Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

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

    Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

    I am trying to build a mobile project with PhoneGap but having problems when trying to open separate UX components from the main component.
    When I attempt to do so, the screen shows up blank and freezes and the wait icon stays up.

    Wonder if there is something that I am missing ?

    Does it only work when everything is in one UX component and placed in individual panels ?


    Please Help.

    #2
    Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

    You can use embedded components, but at this time probably not advisable... specially if the embedded UX contains controls that need to be offline. The embedded component requires an ajax callback to load it. EDIT: DK: No longer true. See posts below.

    How large is your main UX and how large is your embedded UX? In terms of # of controls... and Lists?

    Do you have your URL for Ajax Callbacks set properly in the PhoneGap Build Builder?
    Last edited by Davidk; 07-11-2015, 09:03 PM.

    Comment


      #3
      Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

      I am at this time using a very small test mobile project because I want to see it work first before moving on to a larger project.

      So my main UX has about 7 controls in all. I do not have any list controls.

      I have web security active. My first UX control is a UX with an embedded login section .
      Does that make a difference ?

      Comment


        #4
        Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

        I was thinking that some new functionality wasn't in the pre-release yet... but it is... so... regarding my prior post... "nevermind". There is a new option for Embedded Components and for the action "Open a UX Component".

        The property is named "Method for opening UX in a PhoneGap or static HTML application". One of these options is pre-compiled... which compiles your embedded UX into a .js file and sends that file along to PhoneGap Build with your main UX. There is information on this in the pre-release notes. There are other options for this property as well. Very powerful stuff.

        Comment


          #5
          Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

          However, according to the release notes, pre-compiled doesn't allow you to use security.

          But, sure, a small app I would not use embedded, just make it all be one UX.
          Peter
          AlphaBase Solutions, LLC

          [email protected]
          https://www.alphabasesolutions.com


          Comment


            #6
            Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

            From the pre-release notes:

            Benefits of the Pre-computed Method
            The primary benefit of the precomputed method is speed. No callback is necessary, so the child UX will load very quickly.

            Limitations of the Pre-computed Method
            Since the child UX component is pre-computed at the time the PhoneGap application (or Static HTML) application is build, there is no concept of what the user's security groups are and what the value of any session variables are. Therefore this option is not appropriate if you have any server-side show/hide expressions, or if certain controls have associated security settings. Also, any data in the component will have been rendered at design-time so you may need to write Javascript code to set certain control values in the child UX after it has been rendered.

            Comment


              #7
              Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

              My first Embedded UX surprise came when I discovered that I had to publish it to the website so it could be loaded at run time. (DUH!)

              My second Embedded UX surprise came when I had connection strings that I set in the PhoneGap setting, but aren't smoothly passed into the Embedded UX, as I had a list in the embedded UX. I haven't come up with a solid way to do this that my feeble brain can fathom.

              I can force it by making connect string changes for each publish site and then returning the connect string to the default for testing. I'm sure there's a better smooth way, but as always, time is the challenge.

              I have Embedded UX working, but not quite as smooth as I need it to be to avoid sleepless nights.
              Carl ~ Dallas, TX
              I'm so old that pool balls came with Roman Numerals

              Comment


                #8
                Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

                In a mobile app should be all of UX components embedded? I have similar situation, security is turn on and when I login, I call another ux component but it doesn't work.

                Comment


                  #9
                  Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

                  It has to be published to the web URL location and web component permission has to be set to Always_Allowed or Login_Required.

                  You have to have internet connectivity. It is dynamically loaded from the web, not embedded in the PhonGap build.
                  Carl ~ Dallas, TX
                  I'm so old that pool balls came with Roman Numerals

                  Comment


                    #10
                    Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

                    Thanks Carl, my code meets these requirements. I call one a5w page but the source code is showed rather then the action.

                    Comment


                      #11
                      Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

                      I only embed a component in PhoneGap, not an A5w page. Never tried, I only embed UX components.

                      As UX components can be web components, embedding an A5w would make sense, but my minds stalls out embedding an A5w in a PhoneGap app.
                      Carl ~ Dallas, TX
                      I'm so old that pool balls came with Roman Numerals

                      Comment


                        #12
                        Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

                        Thanks again, but if I don't want to use ux component "as embedded"? See: I have one menu component and I need to call other component without make it embedded in first component? Sorry if my question is basic.

                        Comment


                          #13
                          Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

                          I've successfully embedded UX components into panels, but never embedded an A5w into a PhoneGap app.

                          It makes sense that the A5w is delivered as source code (HTML/CSS) but the PhoneGap built app isn't a browser that will dynamically render the HTML/CSS.
                          Carl ~ Dallas, TX
                          I'm so old that pool balls came with Roman Numerals

                          Comment


                            #14
                            Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

                            Just on question:
                            Right, but I used a5w because I didn't have success using ux directly. If I try again my question is: can I use ux components not embedded?

                            Comment


                              #15
                              Re: Creating a mobile app with PhoneGap build .... can I use separate or embedded components ?

                              Not really, although I've asked for that. Embedded works well other than requiring connectivity.

                              There is a method of passing arguments or the embedded UX can reach into its parent and extract and update controls.
                              Carl ~ Dallas, TX
                              I'm so old that pool balls came with Roman Numerals

                              Comment

                              Working...
                              X