Author Topic: Problem with SETSHOEBOX  (Read 7212 times)

Offline Kyo

  • Dr. Type
  • ****
  • Posts: 350
    • View Profile
Problem with SETSHOEBOX
« on: 2015-Sep-08 »
Hi Guys,
I have a problem with my Media Folder!

My Media folders it's to big to put it inside the app (105 MB).

If I leave the Media folder, inside the app, the game does not install and crashes!

But with external Media Folder the game start fine, but  appear all images in the gallery in Android phone (over 1.000 images, it's horrible  >:D)

I use SHOEBOX, for hide all Image files on Android phone, but in my Zopo ZP 900 it works well, but in my Samsung Note 4 the App crash (don't start).

Why?

I use for test the same APK and the same data.sbx!

« Last Edit: 2015-Sep-08 by Kyo »

MrTAToad

  • Guest
Re: Problem with SETSHOEBOX
« Reply #1 on: 2015-Sep-08 »
It sounds like the device is running out of memory during the decompression process.  I dont know whether all files are decompressed and then loaded or whether its just the required file.

Offline Kyo

  • Dr. Type
  • ****
  • Posts: 350
    • View Profile
Re: Problem with SETSHOEBOX
« Reply #2 on: 2015-Sep-08 »
It sounds like the device is running out of memory during the decompression process.  I dont know whether all files are decompressed and then loaded or whether its just the required file.

But in Galaxy S3, in Galaxy Tab 10 and other device work fine ... In Note 4 don't work ....
It's possible that the problem i 64 bit system????

No solution ...????

MrTAToad

  • Guest
Re: Problem with SETSHOEBOX
« Reply #3 on: 2015-Sep-08 »
It could also be due to the fact that its an external file.  Are you sure your media file is too big to be added to the apk ?

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4147
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: Problem with SETSHOEBOX
« Reply #4 on: 2015-Sep-08 »
Have you read the info here - http://developer.android.com/google/play/expansion-files.html

Maybe your non-working machine is not downloading the extras? Or maybe it's not looking in the right place for them (path issue?) Why it works on one device and not another I have no idea. Does the non-working machine have enough RAM or space on the SD card?
I came. I saw. I played.

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3678
    • View Profile
    • Space Fractal
Re: Problem with SETSHOEBOX
« Reply #5 on: 2015-Sep-08 »
im should take a look into this issue. Also shoebox is not a proctection and is easy to been extracted.

On Android. The shoebox file from APK needs to been copied into the internal memory, and then again extracted the file required. So here showbox is the way using with the expansion files, but im cant do that without a real project.

Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Kyo

  • Dr. Type
  • ****
  • Posts: 350
    • View Profile
Re: Problem with SETSHOEBOX
« Reply #6 on: 2015-Sep-09 »
I read yours answers and thank you to all .... but:

1) If I start the game without the Data.sbx the game start fine but without the gfx, music and sfx
2) If I put again the Data.Sbx the game crash (the problem it's the read of SBX)
3) The Data.sbx it's the same that I use in other android smartphone (work also on pc and Mac)
4) With compress PNG, the Data.sbx it's 80 MB, if I leave the files inside the app, the installation of app the app ilast for a very long time and at the end the game don't work

On play store there are games that are great over 1GB that install in few seconds and work perfectly!

For external OBB i don't know if the limit it's 50MB (i see game with external OBB over 100MB), but  my game download the external pack from my FTP directly on Download folder!

Sorry for my english!  :nw:

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10713
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Problem with SETSHOEBOX
« Reply #7 on: 2015-Sep-09 »
Can you get the console output somehow?

Offline Kyo

  • Dr. Type
  • ****
  • Posts: 350
    • View Profile
Re: Problem with SETSHOEBOX
« Reply #8 on: 2015-Sep-09 »
Can you get the console output somehow?

Hi Kitty,
the error it's only on Galaxy Note 4, on PC, Mac and other device (32 Bit) work fine ..
how do I make a console output on smartphones?  :S

MrTAToad

  • Guest
Re: Problem with SETSHOEBOX
« Reply #9 on: 2015-Sep-09 »
You would need to install a log viewer on the offending Android machine, let it start before the program runs and then stop it at the end.  At which point you can post it here.

Offline Kyo

  • Dr. Type
  • ****
  • Posts: 350
    • View Profile
Re: Problem with SETSHOEBOX
« Reply #10 on: 2015-Sep-09 »
You would need to install a log viewer on the offending Android machine, let it start before the program runs and then stop it at the end.  At which point you can post it here.

Where can I find the log viewer? PlayStore??? Name of App???

------------------------------------------------------------------------

I download aLogCat and this is the result:



You want the .txt file?
« Last Edit: 2015-Sep-09 by Kyo »

Offline Kyo

  • Dr. Type
  • ****
  • Posts: 350
    • View Profile
Re: Problem with SETSHOEBOX
« Reply #11 on: 2015-Sep-10 »
No solution????  :nw:

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10713
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Problem with SETSHOEBOX
« Reply #12 on: 2015-Sep-11 »
Does not make sense to me. Do you own that device? Could you run the debug version?

Offline Kyo

  • Dr. Type
  • ****
  • Posts: 350
    • View Profile
Re: Problem with SETSHOEBOX
« Reply #13 on: 2015-Sep-11 »
Does not make sense to me. Do you own that device? Could you run the debug version?

Yes it's mine.
OK now I test with Debug version ... Wait!

--------------------------------------------------

Ok tested in Debug mode ....


« Last Edit: 2015-Sep-11 by Kyo »

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3678
    • View Profile
    • Space Fractal
Re: Problem with SETSHOEBOX
« Reply #14 on: 2015-Sep-11 »
im cannot see where its actuelly crash, other than its a display issue im have not seen before.

So you must try to connect this problem device to your pc using the USB cable, and start start _logview.bat from this folder:
Compiler\platform\android\bin

Here its will also logout the internal log, what its trying to do, when you run the app.

Also there was a a another minor issue with the BLUETOOTH permission issue, which is fixed in a recent Android Extras release.

PS. Which device and android system is it on?

PPS. Shoebox is not a protection at all. Its might have crashed why its copied the big file to the internal memory. Using a big shoebox file inside a APK is not a good idea at all!
« Last Edit: 2015-Sep-11 by spacefractal »
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.