- This topic has 8 replies, 3 voices, and was last updated 10 years, 5 months ago by Lofi.
-
AuthorPosts
-
LofiParticipantI tried the mobile development and it’s kind of impressive. I have some serious concerns though:
* First of all: Is there a way to create an offline build of my app? Having to upload the source code to some server and even depending on that server being online is an absolute NO-GO for a serious company.
* Is there an example about how to use the cordova stuff? I tried to get my gps coordinates, but couldn’t get them (I did check the Geolocation permission). An example would be very helpful
* The multi page example that you create with the MyEclipse Mobile Application wizard gets in an “endless loop” on Android. You can navigate to one window or the other, but you never get out of the app. How do you exit the application? There’s no way except killing the task.
* Is there some kind of logging? When there’s an error (javascript or whatever) in the app on the tablet/phone, then it’s very difficult to find it. My app works on the MyEclipse Mobile Web Simulator, but doesn’t on the Android phone.
Thank you very much for the help! 🙂
support-octavioMemberHi Lofi,
Thanks for your feedback.
Offline builds:
Offline build support is coming in the next release (late march/early april).api examples:
We will be providing more cordova/phonegap examples as we get closer to the next release. In the near-term the cordova api site provides good examples across platforms http://docs.phonegap.com/en/3.3.0/index.htmlTerminate android app:
We’ll look at the multi-page example. This snippet may be helpful http://stackoverflow.com/questions/17940353/phonegap-android-exit-app-not-workingLogging:
We will share more details about a really cool new feature coming out soon that will greatly improve realtime app debugging on ios and android. In the meantime I believe you can use the android sdk tools. I have not used them so I’ll discuss with the dev team.Again thanks for you feedback.
Octavio
Genuitec Mobile Team
LofiParticipantHello Octavio,
that sounds exciting. Especially the offline building. It’s really important for a company to build their products without depending on another company’s infrastructure. I’m looking forward to the next release.
Regarding logging I needed some feedback that the user could give me. I found a solution: http://eclipsesource.com/blogs/2012/08/14/debugging-javascript-on-android-and-ios/
Thank you very much for your help! 🙂
LofiParticipant@support-octavio wrote:
Hi Lofi,
Thanks for your feedback.
Offline builds:
Offline build support is coming in the next release (late march/early april).Are offline builds still scheduled for the next release? I’m asking because MobiOne doesn’t support them. I have to do the architecture for a new software now and as mentioned earlier, a dependency on a cloud-based service is a no-go for us and I’ll have to check out something else.
And if so, will offline builds work with both android and ios? Would I need an apple computer to make e. g. an iPad build?
Thank you very much for the information. By the way, is there an eta on MyEclipse 2015? I’m eagerly awaiting it.
Brian FernandesModeratorLofi,
Yes, the ability to build offline is coming with MyEclipse 2015. However, you would need to have a Mac for any iOS related build if you want to do it offline, I’m afraid there is no way for us to circumvent that.
An early access release of 2015 is set for release in mid to end May.
Do let me know if you have more questions.
LofiParticipantThank you Brian.
I can live with solving an internal dependency (getting a mac) instead of solving an external dependency (a cloud service that can change at any time).
Looking forward to the new version.
LofiParticipant@support-octavio wrote:
Logging:
We will share more details about a really cool new feature coming out soon that will greatly improve realtime app debugging on ios and android. In the meantime I believe you can use the android sdk tools. I have not used them so I’ll discuss with the dev team.Is it that time of the year? 🙂 I guess you’re talking about gapdebug. But for my understanding you need a pc connected to the device in order to use gapdebug. What I’d like to have is e. g. that a customer can activate logging on his device and send it to me – without having to connect to a pc first. Is that possible? Which kind of device logging do people use?
Brian FernandesModeratorLofi,
Yes – the solution that Octavio was talking about was GapDebug, while in private beta now, it should be going public in the next day or so, let me know if you need access.
As far as the logging is concerned, are you looking for the ability to get the user to run the app in a special mode (may not be the same as debug mode) and then have the app itself send errors to you? Or maybe produce a local log file that the user can send to you?
LofiParticipantAccess would be great, although I wouldn’t get to try it until next week. So I’ll wait for the public access. But thank you very much for the offer.
As a first step I’d need a logfile that I can look at myself. When I test my mobile phone app I don’t always have access to a pc. Of course it’s also useful if e. g. a poweruser can switch on logging and tell me the few error lines that appeared on his system.
Here’s e. g. a nice article:
http://eclipsesource.com/blogs/2012/08/14/debugging-javascript-on-android-and-ios/
What logging do people use? In Java the best known is log4j. What’s it for Javascript?
Thank you for the hints.
-
AuthorPosts