For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 2 voices, and was last updated 13 years, 3 months ago by
support-octavio.
-
AuthorPosts
-
tteasdaleMemberThe iOS version of my app works great but when I converted for Android and resized to accommodate the 7″ screen, Mobione created additional duplicate code in the associate HTML file with a minor difference. The additional code has a 1 added to the app name. For example:
Original Code
<div id=”m1-AppName-lst_Race_date”
class=”m1-text m1-active-color-3 m1-font-21″>Date</div>Additional Code
<div id=”m1-AppName1-lst_Race_date”
class=”m1-text m1-active-color-3 m1-font-21″>Date</div>So in the HTML file, I have the correct section starting with <!– ***** AppName ***** –> and then below all of that correct code starts the next duplicate section with <!– ***** AppName1 ***** –>. I have manually removed the duplicate code but it then of course states that it was manually altered and reduplicates the additional code. As you can imagine, this does not allow my application to operate properly. Please help.
May 1, 2013 at 10:14 am #338698
support-octavioMemberHi tteasdale,
Thanks for reporting this issue. What mobione version are you using? Does this also happen if you create a new file and generate code for your android app?
May 1, 2013 at 11:00 am #338700
tteasdaleMemberI am using version 2.3.2 with HF1. If I create a new project from scratch, I do not have the same issue.
May 1, 2013 at 1:38 pm #338708
support-octavioMemberHi tteasdale,
In order to understand and fix the problem faster, can you please do the next:
backup your html file and then generate new code allowing the html file to be replaced. If the newly generated code still contains duplicate code, please describe a scenario using a new example project that we can run to replicate the problem, so we can dig in and investigate it.
May 1, 2013 at 10:10 pm #338724
tteasdaleMemberFound the problem and its my bad. In the short of it and as I mentioned before, I took my nicely functioning iOS app and converted it to the Android OS and in an effort to keep things separated, I moved/resaved the Android app to a new folder designated for my Android projects. My additional help screens and links, however, I failed to redirect to the new location path causing the generation process to 1) think that the Startup Screen was not correct (should have been a clue) and 2) think I had two sets of the same screens of the same name, thus adding the 1 to differentiate the items/objects in the HTML. Once I corrected the paths and regenerated the code, I no longer got the “Startup Screen” error message and the duplicate code was automatically removed.
Sorry for taking up your time on my bad coding.
May 2, 2013 at 3:50 pm #338776
support-octavioMemberHi tteasdale,
Thanks for sharing your success and the reason of your problem, closing thread.
-
AuthorPosts
