facebook

Add information to my app – refresh vs. update

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #350015 Reply

    JacopoT
    Member

    Hello,

    Since I am new in the ‘App Development’ world, I hope you can help me.

    I am developing an app regarding some art news. Let’s suppose I released my app and some people already downloaded it. If I need to add an extra information (e.g. a latest news) into a new page of my app, do I have to create a new page, save it, add this to my app, and re-upload the app on to the Apple Store? Is there any simple way where, if I update my app, by adding a news for example, this information will be uploaded automatically onto my app? I do not want people to go onto the Apple Store, go to the ‘Updates’ page, and update my app, any time I add something new (e.g. a news) to my app.

    I am sure there is a simple way where I can simply update my app, and automatically users will see the news that has been added, by simply refreshing the page on the app.

    Any advice? Can you please explain how to do, maybe by adding some screenshots?

    Thank you for your help in advance guys,
    J.

    #350021 Reply

    Code_A
    Member

    Yes this can be done by setting up your app to load the data dynamically from external source (i.e., a web server). The data could be stored in a database, an xml file, a json file, etc. During the ‘refresh’ call, your app would then connect to the server, grab the data, and then dynamically update the pages with the “latest” info.

    If you have set your app with all the data stored locally (i.e., entered the content within M1) then your app is static, meaning that it can only be updated through new versions released to the app stores for the users to download.

    #350025 Reply

    JacopoT
    Member

    Thank you for your response.

    So basically, you are saying that this is only possible through an external server, right? How can I setup this on MobiOne? Do I have to add some particular codes or is there any other tool? Where can I make the app “dinamic” or “static”?

    I would need some more information (e.g. website link, explanation, or screenshot) on this, since I am not an expert and I have no idea how to link a website to an app.

    Thank you in advance,
    J.

    #350029 Reply

    Code_A
    Member

    I am going to address your questions one at a time.

    @JacopoT wrote:

    So basically, you are saying that this is only possible through an external server, right?

    Yes, unless you want to distribute updated versions.
    @JacopoT wrote:

    How can I setup this on MobiOne?

    M1 is a client-side application, which means all you will setup within the app is code to connect to a server to retrieve your data.
    @JacopoT wrote:

    Do I have to add some particular codes or is there any other tool?

    Yes, you will need to either setup a web service to return database info, or setup an RSS feed, or upload files to a server for your app to read, etc.
    @JacopoT wrote:

    Where can I make the app “dinamic” or “static”?

    Static and Dynamic are not settings, but rather implementations of how you setup your app. Either all the necessary data is packaged with the app when it launches (static), or your app will have the ability to communicate to a web server to retrieve information to populate the app’s content (dynamic).

    @JacopoT wrote:

    I would need some more information (e.g. website link, explanation, or screenshot) on this, since I am not an expert and I have no idea how to link a website to an app.

    The solution (i.e., tools and methods) depends on how often you are going to need to update the app, and how the data needs to be organized when your app receives it back from the server.

    #350076 Reply

    Code_A
    Member

    This RSS Reader Example may be helpful to you too.

    #350086 Reply

    JacopoT
    Member

    Thank you for your response.

    However, do you know any video tutorial which explains step by step how to do it? I have no idea, where to add the codes etc.

    Finally, can I only use a real website where to get the news from or is also there a platform where I can add the information and automatically this comes through to my app?

    Thanks,
    J.

    #350118 Reply

    Code_A
    Member

    @JacopoT wrote:

    Thank you for your response.

    However, do you know any video tutorial which explains step by step how to do it? I have no idea, where to add the codes etc.

    Finally, can I only use a real website where to get the news from or is also there a platform where I can add the information and automatically this comes through to my app?

    Most likely, your code will go in your _custom.js file, which can be found in your project’s www folder. I have never setup an RSS feed but the above RSS reader example and a Google search on how to setup an RSS feed should be enough to help you get started (looks like it can be done through WordPress – probably YouTube videos out there on how to set it up).

    Also, be sure to visit the MobiOne Learning Center for more examples and documentation.

    Sorry I can’t be of more help.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Add information to my app – refresh vs. update

You must be logged in to post in the forum log in