- This topic has 6 replies, 2 voices, and was last updated 10 years, 8 months ago by support-octavio.
-
AuthorPosts
-
DmitryKuzhanovMemberHi Everyone! I’m building an Iphone app with the offline map functionality. It’s going to be (hopefully) an offline university map that would help students get to know the Uni.
I managed to setup Open layers application, configure the map so it works with locally-stored files, attached geolocation, dynamic screen with layers etc. I also introduced the routine that adds pointers to the map after transaction from a certain page (if you come from Library page to the map in adds Library point and removes it after going back)
DmitryKuzhanovMemberthe whole thing took me from 3 to 4 months. I bought apple Dev membership and successfully tested the prototype on my iphone.
It all worked fine, until I started trying to populate the app with actual data – add lists of places and trying to link them to the map.I’ve noticed that weird errors started appearing – after pushing some buttons the transition led to the blank white screen and app was blocked. This was happening both in testing environment and my iphone.
In the log I’ve noticed things like:event.returnValue is deprecated. Please use the standard event.preventDefault() instead
Failed to load resource: net::ERR_FAILED http://127.0.0.1:9090/get/INTERNAL_WEBSIM/chrome.ext/cordova-loader.js
Failed to load resource: net::ERR_FAILED http://127.0.0.1:9090/get/INTERNAL_WEBSIM/chrome.ext/rte-loader.js
The more list items and text fields I add, the more pages start collapsing like that.
I can send you the dropbox link with project via email.
The app size doesn’t exceed 5 Mb (including tiles)
I use latest licensed Mobione 2.6.1
Cordova 2.9
Openlayers 2.12
I’ve tried many ways of solving this issue but nothing helps so far.
Any help, comments would be greatly appreciated,
Thanks,
Dmitry
support-octavioMemberHi Dmitry,
Try closing the previous instances of simulator before you run your project in it. Do you still get this error?
Also if your UI fails to render this typically indicates that the DOM is corrupted. The starting point for such errors is to inspect your custom html (html widget code) and you js code that manipulates the dom. I recommend opening the project in the Simulator. Then press F12 or right-click menu>Inspect to open the Chrome Dev Tools.
For assistance with coding issues we request the smallest possible project. This is much more efficient for all of us to assist with as it focuses our attention directly to the area(s) of concern, i.e., don’t throw a big project over the wall at us to do project wide debugging as those usually go to the end of the queue.
DmitryKuzhanovMemberHi Octavio,
Thanks a lot. Your simple answer helped me figure out the problem. One of the pages generated by map widget was causing these issues. I’m on my way to finish app. Have about 30 pages linked to map and to the main screen.I will never regret buying Mobione,
Cheers!
support-octavioMemberHi Dmitry,
Great news! Good luck with your development.
DmitryKuzhanovMemberHi Again,
I was just wondering if you guys collect requests. (it may be not very subtitle under this post)
Could you please make it possible to set larger icons on tab screens? just like we have for custom buttons and images
30-30 PNG is not good enough for Apple retina display. It Looks blurry and cheap as a result.
It would be great to be able to set larger icon (70-70) and shrink it to the appropriate size.Thanks!
support-octavioMemberHi Dmitry,
This is a good suggestion, I have passed on to dev team.
-
AuthorPosts