Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / App acts differently when run from installer and run after installation or if just run after installation

Author
Message
JRNTexas
13
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 10th Apr 2015 03:31
I have an app that is behaving badly. It's probably my code. But problems in the code don't seem to be the issue, but the code could be.

I'm using version 2.0.10.

My app uses a configuration file that determines the action the app will take. When I broadcast the file to any of my systems (I have 8 different Android systems) it works as expected. When I install it from dropbox and the installer asks if I want to run the app, it works as expected.

However, IF I don't run the app directly from the installer (run it from the icon) or if I run the app from the icon after running it from the installer, it skips the first set of instructions which it does flawlessly otherwise.

The app is a little complex and I can't put some example code here without a lot of effort.

I was wondering if anyone else had experienced a similar problem where their app runs as expected in all cases except when run from the icon on the "desktop"?
JRNTexas
13
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 10th Apr 2015 04:00
I wanted to add, "Receive email" but just editing the post wouldn't allow me to do that. So pardon this post...
JRNTexas
13
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 10th Apr 2015 04:42
I found out my problem, strange but true...

In Photoshop, I created a new file. I did not notice that it was "Grayscale". I saved it as a completely transparent png. It was to be used as a "placeholder" and was clear, all pixels transparent.

Windows and broadcast to my Androids accepted the file as it was but once installed as an app, the app jumped over the area of code that referenced the grayscale png file!

I just went through a bunch of lines of code and the configuration file, until I reduced it to the png. I tested it with all of the code unchanged (compiled and run on my Androids) finally changing only the png file and with the grayscale png in play it would jump over that code, with a png in play that did not use greyscale, it worked fine.

Still pretty strange...

Login to post a reply

Server time is: 2024-11-25 20:53:40
Your offset time is: 2024-11-25 20:53:40