Seems like there is a bug in the video viewer scene. I built it for device and ran on my iPad mini trying to verify something asked in another thread and noticed this issue. Once you start playing a video inside this app the back button and the other tabBar buttons no longer respond. Even if you pause the video using the Youtube pause button you can’t use the app back button etc. In other words, once you start playing a video you are locked in that scene. This needs to be looked into in order to make the sample more useable. Thanks
I just tested this on my iPad 4 and I don’t see this issue.
Rob
Ok. Thanks for checking this out. I downloaded a fresh copy from Github and built it again. Now it runs fine. Not sure what happened to the code I have but no need to worry. False alarm.
The example has several errors. Please fix the issues on the repo. I wanted to get a Pro account but nothing convinced me that Lua or Corona SDK is easier after learning Objective-C and Java.
I used to have a Pro account but something was always not easy to fix and there aren’t a lot of examples avaiable for the work I needed done. In short, it was money wasted.
Can you let me know what errors you are seeing? What version of Corona SDK are you using?
Sure, here is a screenshot:
Build 2014.1262 might be the problem. Try the latest public release.
It was suggested that we use that build to support iOS 7.
I am really more curious about the build stability. Having spent a year learning Objective-C, none of these issues happen and I don’t pay extra dollars for it.
Why would someone who knows both Java and Objective-C use Corona SDK?
There is a project that is ideal for Corona. We only build once and support iOS 7 and Android. The design is identical for both. I think it is a waste of time and money to use native approach when designs are identical and supporting as many devices is crucial.
But it is also a greater risk on some cases with these kind of issues.
If you’re developing business apps, with native language you have direct access to the UI elements your OS exposes to you. With Corona SDK in order to use the “write once, deploy twice” approach you need to use the Widget 2.0 library. See in Widget subforum and judge for yourself. So benefits to you might be negligible IMHO since you have the native skills.
ksan, I will surely check it out.
It is not neglible in my opinion that is why despite a lot of effort learning native SDK’s, I still try to use Corona and encourage others to use it especially those focused on game development.
Faster development time is important. More than that, we like to reduce risks and costs. Apple keeps rejecting some apps for different reasons. I don’t clone but I don’t want to waste so much of my time for something that the App Store would reject.
Native tools are improving but are not perfect for all kinds of computers.
By that I mean having a 2009 model of Mac will not work very well for either iOS or Android development.
XCode 5, even after several bug fixes keeps crashing.
Similarly, the Android emulator is slow.
The only advantages for both is the ability to build and test on device easily. No need to copy APK file for Android or drag the app on XCode manager.
For games no doubt it is amazing. For business apps you get the 90% of your app out the door in record time. The 10% that really gets you. If you can work around the limitations indeed Corona SDK is the fastest and the best. Thats why I’m still using it but trust me it is not free from frustration.
A small reminder with regards to using native UI and widgets: with Corona Enterprise you can use any native widget, and still use Corona for all other parts of your app.
Regarding the Business Sample App. The first version attempted to support graphics 1.0 builds (build numbers < 2000) and Graphics 2.0 builds at the same time. Now that we are two public releases into the Graphics 2.0 engine, we have removed support for the old engine to clean up the code. Any one building new apps should be using the new engine.
1262 was put out as a backstop for people who were close to releasing a G1 based app that had some iOS 7 additions needed. However, its only a temporary thing until Apple or Google (or our other supported platforms) change the rules again on what they accept. All Graphics 2.0 builds have the latest iOS 7 support features. We will not be continuing the G1 line if the vendors change things. If they stop accepting builds because of reason X, we can only support the current builds going forward.
Rob
Rob, thanks for your response!
I read the info about Graphics 2.0. The app is working now with a different build.
I am about to explain Corona SDK to a business partner. She is actually a developer and I am teaching her mobile app development (Android NDK and Corona SDK). I am a technical reviewer of an upcoming Corona SDK book. I finished reviewing before Christmas last year. My friend and mentor did very well on that. Watch out for the release.
Re: Enterprise Edition. Everything about it is pretty reasonable except for the limit. I don’t recall that limit when I paid for a Pro account a few years ago. It’s more or less $300. Clearly we need pay more if we earn more. I understand the tradeoffs.
As long as you guys keep improving and keep on checking the requirements of Apple and Google, it’s fine. Apple’s very stringent now and heard of several apps rejected.
We do try and stay on top of industry changes and react to them in particular when they prevent people from submitting.
Rob
Hi!
I’m new to Corona. Can someone help me how do you compile this file? What I did was that I use CPM to launch and Corona Simulator to build to become an android file. After the .apk file is out, I copy it into a micro-sd card and place it into my note3. But error message follows as “There was a problem parsing the package”. I know something is wrong! Can someone please help. Thank you very much!
William Ng
tvka21,
You should download https://play.google.com/store/apps/details?id=com.funtrigger.appinstaller&hl=en
Then use that to install the app.
Yes, too many steps.
kgpdev,
thanks for your fast reply! Really apprecaite that. Unfortunately, the problem still repeat! :wacko:
Your device has a log file that all system messages and your Corona Lua “print” statements go to. If there are problems, they will be printed to this log file. All we can do is guess when we have no other information. Please look at your console log and look for any error messages. If you do not know how to do that, please carefully read this tutorial:
http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/
You will probably need to install some software and get used to working from the terminal/command line. Once you do, you can use the command line "adb install <path to your apk file> to actually install your app.
Rob
Thanks to Rob and kgpdev,
I tried out something and I think what is the cause of this problem. Though my programming experience was close to 20 years back which I learned Quick C at then; I still remember what is call isolating the issue or problem. It is the CPM which is giving the problem. Some how the CPM and Corona simulator create a different .apk file. When I place my micro sd into my phone the icon is totally different. When I use only corona simulator to build, I manage to build the app and install it! Thanks for helping!
Oh! By the way! As you know I’m still very new to Corona, don’t mind if I ask silly questions again! How do I place an app icon into the app as all generated apps only appear as the same corona logo! I also need to add in an accelerometer to my project but just can’t figure out how to combine it with a real-time simulating graph output whereby you can see the graph moving as you move your phone. So sorry for asking such elementary questions! That’s the problem when you are out of engineering and programming and went into sales over the last 20 years! I’m full of rust at this moment and need time to re-educate myself again!
Thanks again for all the troubles caused! Have a nice day!