Default.PNG Android CRASH with newTextField

Hi,

I did spent hours to find out why my Android crashed after an Corona Update.

Result;
The new Default.png in combination with a

native.newTextField( 50, 150, 680, 80 )

immediately at start brings it crash.

In the Moment the Default.png is still visible and the newTextfield would appear
it crash.

Only Solution I have to do a minium Delay of 1 Second till I show the newTextField.

Does anyone else experienced that prob and has another solution than a Delay?
I will also fill a bug report now.

greets
chris
[import]uid: 4795 topic_id: 20744 reply_id: 320744[/import]

Sorry… I am really kind a pissed off.

does ANYONE from Ansca even TEST Updates?

The Android NEW FEATURE “Default.png”

does let crash the APP when immediately after App Start:

  • An Alert Box is called.

or - showAds() is called

or - a newTextField() is created.
:frowning:

that did cost me now 2 Days playing around, making first a fix for that, just to find out it even crash at another place … etc.

Nightly Builds OK… but please… TESTED and not just a Minute.

chris

[import]uid: 4795 topic_id: 20744 reply_id: 81563[/import]

So it means we are unable to use inneractive Ads on Android apps if we do use any kind of splashscreen as the own “Default.png”? :\
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 20744 reply_id: 81568[/import]

It is possible…
it just need me 2 days to figure out WHAT all let crash the app since that small update with the Default.png.

showAds is just ONE from several reasons.

if you make a delay from 1000 ms before showAds it will work

Kind a like

 whatplatform = system.getInfo( "platformName" )  
  
 local listener = {}  
 function listener:timer( event )  
 showAds()   
 end  
  
 if (whatplatform == "Android") then  
 timer.performWithDelay(1000, listener )  
 else  
 timer.performWithDelay(1, listener )  
 end  
  

I just feel xxxxxx loosing so much time, getting the feeling Ansca spending more time for Gamecenter features and other stuff while Testing and basic features came less importing before releasing updates.

So for example… we had a fine ListView before… the last releases are just around a new cool native Listview and Gamecenter stuff and things like a working Push Notification, native Android Widgets (real widgets), Cloud Features… all that stuff what makes that devices so special are not in Prio.

:frowning:

All fine… I just have to see soon some real Corona Improvements and not just bug fixes and kiddy features.

chris
[import]uid: 4795 topic_id: 20744 reply_id: 81573[/import]

Hehe @chris, I really appreciate your insight about that. Looks like you prefer coding business apps and if so, it`s my main idea too.

Btw, I am trying to cross my iOS app for Android Market, and so as I use Ads of Inneractive, I need to use it on Android also and so I need it working as you need. :slight_smile:

So, Ill try to implement this "delay" into my code to see if Ill be able to see any Ads showing in the debug apk.
Keep in touch.
Thanks,
Rodrigo. [import]uid: 89165 topic_id: 20744 reply_id: 81575[/import]

I code to make business… yes… but its not just about business apps :slight_smile:

It seems also Ansca Guys do think native Android Widgets, Cloud Features or Push Notifactions are only for NON-Game apps…

and so they focus in huge amount on GameCenter and the next great Box2D, Bezire Curve… whatever Feature.

BUT from my point of view, one basic Thought is missing.

USERS LOVE that stuff about I mentioned. That make that whole market running, trendy and so successful.

We could do so great things with ALL - Games & Apps -

  • Android Widgets showing latest Game News,Ranks
  • Cloud Syncing for HighScores, Backups …
    Seems I am one from a small group thinking that :frowning:

:slight_smile: anyhow i am not giving up to promote and suggest such features :slight_smile:
Chris
[import]uid: 4795 topic_id: 20744 reply_id: 81577[/import]

@chris , you`re not alone as you may think. :slight_smile:

I am looking forward also being able to code ANY business app WITH CORONA SDK. Honestly, I think these guys are really hard-work, and so IMO I believe that they do “hear” your (and mine) suggestions as well, BUT they are not “machine”, I mean, they are doing a beautiful work, they give us attention all the time, we have the more than awesome Mrs. @Peach Pellen always looking forwarding about helping anyone here, even being “test-drivers”, etc etc etc…So I know you know all of this too…maybe think a little bit different than me, but its nice and ok, were human-being and so we are like this. :slight_smile:

TO summarize, LET`s wait a little more about these suggestions you and I have about features, and so on regarding a better development of business apps.

BTW, I want to be able to build better apps (not games only) and I believe we all will get this by anytime with the capitains Mr. Carlos & Walter and their tripulation as well. We just need to keep trusting on their work - that is - Corona SDK and its APIs regarding the nice CROSS-platform development. :slight_smile:
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 20744 reply_id: 81613[/import]

Evening,

Firstly, please realize that it is Sunday, so unfortunately not all threads are going to get seen immediately by staff.

Secondly, what update did this crash first appear in? If it’s a daily build then NO, we do not thoroughly test every single aspect of every daily build - to do so would make daily builds impossible, we have always stated that there may be issues with them and we do not guarantee they will work perfectly, or even at all.

Let me know the bug/case # you filed and I will bring this up in our next meeting.

Peach :slight_smile:

PS - Thanks Rodrigo, I do what I can and Carlos, Walter and the entire Ansca team work ridiculously hard to help developers make great applications. [import]uid: 52491 topic_id: 20744 reply_id: 81645[/import]

Hi @all,

Rodrigo, I do see things very similar like you.
Also myself was wondering just a few month ago, when I was reading posts from ppl, who seemed quiet a bit angry. Than i wrote… 'oh great Ansca team, and i love Corona and they do all their best … etc". You will still find that posts and even Answer from Ansca Team how they like my answers when I calmed down other users :slight_smile:

Fact is, somehow I just CAME also in Situation where i just could understand why that users come so unhappy.

Myself I feel part of the Team, as I develop with that tool, send Bug Reports, make Suggestions etc. Just after MONTHES and YEARS if you see for example that BASICS, like that stupid getTunerVolume is still not working (I have patience, but after such long time, REMOVE that not working API or make it run)… similar with other basics, where I see less progress, instead focusing on GameCenter and Marketing Tools, but not on Device Specific Features, like that Android Widgets or really trendy things like Cloud and or local Notifications that also work in the background (I don’t even talk from full Multitasking Functionality)

@peach. thanks for your interest to bring the bug up in the next meeting, at all I wish you bring that whole topic up in the next meeting, that there is a STRONG Interest for things like mentioned above… to make Apps (games/apps) that use the ACTUAL highest Technics that are offered from Apple/Android. Why another listView … when one is already working, why spending on Algorithms, like Bezire Calculation, when that could be done by ourself handwork or Community SourceCode… but we Developers can’t create Multitasking functionality, iCloud, Android Widget Functionality by ourself. Peach, do you remember, when I asked you (month ago) about to refresh the Icon badges, even the app is in the background (without defining hundreds of future Notifications)… remember the getTunerVolume problem …

About the ‘last’ mentioned bug… I created a Bug Report directly in our Bug Tracker:
#11686 (in an email i got it states its #11685) and in that FogBugz Tracker for Ansca:
Another Case (with the Widgets) I got a #11536, I can’t even find in the Bug Tracker now.

And yes… i am waiting… still waiting …

I am not really angry, I still work with Corona and will even continue, as its for me still the best for now… but it seems we can’t always just talk honey, when we have to make a strong suggestion and it looks otherwise we come not heart!

So please, don’t come lost in details, better take a break or a meditation to see from a distant whats really needed. Otherwise it will come like with Adobe… only BUGFIXES and no really progress.

Be sure, I appreciate all your work… and even just your answer!
I just had to make clear statement now.

All the best and hugs :slight_smile:
Chris

[import]uid: 4795 topic_id: 20744 reply_id: 81648[/import]

@Peach… btw… you could update the Bug Report for that Topic.

Just as I don’t have time right now to research longer how to support ansca in a easy way, so i write it here.

in bugs.anscamobile.com
its with id: 11686 … when I click on it ( i thought I could update it)
I get " NO CASE associated with that Number" :frowning: :frowning:
I wrote only about Android Default.png & newTextField() Crash,
BUT it seems it crash whatever native Output happens.

  • newTextField
  • showAds
  • Alert

… maybe more.

chris

[import]uid: 4795 topic_id: 20744 reply_id: 81650[/import]

@Chris, I have not so much to say anymore, but I tell you that I really understand what you`re talking about and I do respect all your “ideas”/suggestions here as also I give +1 for many of them. :slight_smile:
Thanks,
Rodrigo. [import]uid: 89165 topic_id: 20744 reply_id: 81651[/import]

I’ll pass all of this along; does the bug report mention the version this started with? If not please post here and let me know.

Forgive the short response, I was up early today and am in dire need some sleep but wanted to check in first.

Peach :slight_smile: [import]uid: 52491 topic_id: 20744 reply_id: 81654[/import]

Hi Peach,

As mentioned it started with the Default.png implemented in Android.
Looked myself right now in Daily Build Summary to see… from 2011.707 that feature came out :slight_smile:

short answers are fine as long really productive :slight_smile: No need to excuse when you just do your best!
Also remind please, also I speak direct and strong, its nothing personal , instead it should be seen as constructive critic. We do not make a real progress when all is always JUST FINE :slight_smile:

Have a beautiful Sunday

chris
[import]uid: 4795 topic_id: 20744 reply_id: 81656[/import]

Hi Peach :slight_smile:
just to keep you updated…
next bug report… now about Inneractive Ads and wrong size

http://developer.anscamobile.com/forum/2012/01/22/next-bug-inneractive-ads-galaxy-nexus

chris
[import]uid: 4795 topic_id: 20744 reply_id: 81661[/import]

Daily builds are untested builds (we never claimed that they are tested). We have always stated that you should use daily builds at your own risk and we recommend using the release builds if you need a stable release. Our developers will test out their bug fixes/new features and it does go through some automated tests before being released as a daily build, but doesn’t go through our suite of tests that we perform for a release build.

Early on we only released tested builds. Now we make daily builds available to our subscribers who want to play with our latest features and bug fixes. We expect to get bug reports and feedback about our daily builds and in the end it helps us provide a better product.
[import]uid: 7559 topic_id: 20744 reply_id: 81724[/import]

@tom
for now I take you just by word

And as you expect we send you bug reports and I am sending more and more.

I expect for the next public release that for example (getTunerVolume) works as described
(but not till now since years, even in public releases)

Also that the Local Notification can be renewed even if the app is in the background and I do
not have to generate a century list of future notifications to make that feature useful.

All of my other Reports I posted in the Bug Tracker… [import]uid: 4795 topic_id: 20744 reply_id: 81727[/import]