Share My Creation Penalty World Cup

Attachments

  • 1.png
    1.png
    214.8 KB · Views: 3,440
  • 2jpg.jpg
    2jpg.jpg
    390.4 KB · Views: 673
  • 1.png
    1.png
    214.8 KB · Views: 715
  • 5jpg.jpg
    5jpg.jpg
    392.3 KB · Views: 657
  • 6.png
    6.png
    240.2 KB · Views: 759
  • 7.png
    7.png
    260.3 KB · Views: 750
Last edited:
I tried your app and it doesn't start, it crashes, this is the log:
Code: Copy
** Activity (main) Create, isFirst = true **


java.lang.OutOfMemoryError


	at android.graphics.Bitmap.nativeCreate(Native Method)
	at android.graphics.Bitmap.createBitmap(Bitmap.java:810)
	at android.graphics.Bitmap.createBitmap(Bitmap.java:787)
	at android.graphics.Bitmap.createBitmap(Bitmap.java:754)
	at anywheresoftware.b4a.objects.drawable.CanvasWrapper.Initialize(CanvasWrapper.java:76)
	at com.ddrmic.penaltyworldcupbrazil2014.main._activity_create(main.java:1359)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at anywheresoftware.b4a.BA.raiseEvent2(BA.java:174)
	at com.ddrmic.penaltyworldcupbrazil2014.main.afterFirstLayout(main.java:98)
	at com.ddrmic.penaltyworldcupbrazil2014.main.access$100(main.java:16)
	at com.ddrmic.penaltyworldcupbrazil2014.main$WaitForLayout.run(main.java:76)
	at android.os.Handler.handleCallback(Handler.java:733)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:136)


	at android.app.ActivityThread.main(ActivityThread.java:5001)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
	at dalvik.system.NativeStart.main(Native Method)

Tested on a Nexus 7 tab, on my HTC One works fine so far.
 
:)
The same here. Galaxy note 2 N7105. Game crashes after progressbar is around 90%
 
Thanks to you too Jaames. Interesting thing is that i tested game on 4 devices and everything works fine. When i put it on google play first show one non working phone and then ton of them :)
BTW i added this line to manifest file and it seems to be OK now
Code: Copy
SetApplicationAttribute(android:largeHeap,"true")
When google refresh app version I let you know :)
Thx again
 
I don't think that will work, you better find what's taking so much memory.
Well maybe you are in general right, but before this line of code game didn't work on:
http://www.gsmarena.com/lg_optimus_4x_hd_p880-4563.php
http://www.gsmarena.com/samsung_i9500_galaxy_s4-5125.php
Android Virtual Device Sony Ericsson Arc S

After that line of code in Manifest file game works on every of that 3 device.
So i see some progress :)

Also i find some other developers who solved same problem with this.

However i am loading all graphics in activity_create to speed up game later.
If 2 full screen, 3 medium and 32 very small flag images is to much, I don't know what to say...
 
Of course, i know you are right.
But one question did you update or you previously deleted old one?
on a small sample testing i noticed that update crashed or load without sounds...
Fresh new install seems to be OK.

Everything is a little strange and confusing...

I still cant believe how is that out of memory ( total app is about 4MB )
i know that i must load bmp file for picture which is much larger but ....

Thx again for testing
 
It worked fine on my LG Optimus G Pro. Good game!
However, is it totally random? I can't move the glove when computer shoot the ball.
 
I have a Samsung Galaxy Note 4
It works now however something curious happened that I've never seen before.

A pop up message box showed up right after loading that read 'Possible viras on your device' with an option to 'Scan' or 'Cancel'.

This popup came fron your app. Is this an ad or something?
 
Last edited:
You need to analyse the memory use, there are free Apps on Google Play which allow you to do this. You need to see if using the App uses more and more memory. Then you need to look at bitmap sizes and also how the bitmap variables are defined and if you are defining too many instead of reusing them, ideally they should be defined as globals and reused don't define lots of them, you need to be clever about this. Samsung devices seem to be more sensitive to memory use for Apps than other devices.
 
I have a Samsung Galaxy Note 4 ...
I know it's offtopic, but Samsung Galaxy Note 4 is not released yet. How that comes that u own one?

Now ontopic :) . I received update notification for your game, updated it and now it works well. Nice game tho, Thumbs UP
 
It worked fine on my LG Optimus G Pro. Good game!
However, is it totally random? I can't move the glove when computer shoot the ball.

When is your turn you just need to touch your target. after that computer choose random one of 6 position
(up/down) AND (left/center/right)
and animation starts...
 
I have a Samsung Galaxy Note 4
It works now however something curious happened that I've never seen before.

A pop up message box showed up right after loading that read 'Possible viras on your device' with an option to 'Scan' or 'Cancel'.

This popup came fron your app. Is this an ad or something?

Yes, its an ad. I asked my ad network to remove that scary ad, and they remove it imidietaly :)
 
I know it's offtopic, but Samsung Galaxy Note 4 is not released yet. How that comes that u own one?

Now ontopic :) . I received update notification for your game, updated it and now it works well. Nice game tho, Thumbs UP

Whoops I meant Note 3.
Just wishful thinking I guess :p:p
 
Back
Top