Thanks Perry, much appreciated. You probably gathered that my technical knowledge is limited but I learn a little more with every issue we overcome. The help and advice from the forums has been awesome as usual.
Punchybog
Don't have an account yet? Then register once and completely free of charge and use our wide range of topics, features and great options. As a registered member on our site, you can use all functions to actively participate in community life. Write posts, open topics, upload your pictures, put your videos online, talk to other members and help us to constantly improve our project and grow together! So, what are you waiting for? Become a part of us today!
Login or registerTo get support for a technical issue such as installing the software, to query a purchase that you've made/would like to make, or anything other than using our software, please visit our Customer Service Desk:
Open a Ticket Thanks Perry, much appreciated. You probably gathered that my technical knowledge is limited but I learn a little more with every issue we overcome. The help and advice from the forums has been awesome as usual.
Punchybog
Hi
I sent Perry the mfa and log (below). He thinks it may well be a bug as as my app used to work with out any problems or any changes other than the updates to MMF2.5 and it works fine in windows. Any ideas how I might fix this?
12-06 10:49:38.151: I/MMFRuntime(14206): java.net.MalformedURLException: Protocol not found: /data/data/com.cyberscapeuk.gatecounter/files/Data.txt
12-06 10:49:38.151: I/MMFRuntime(14206): java.net.MalformedURLException: Protocol not found: /data/data/com.cyberscapeuk.gatecounter/files/Notes.txt
12-06 10:49:38.161: I/MMFRuntime(14206): java.net.MalformedURLException: Protocol not found: /data/data/com.cyberscapeuk.gatecounter/files/receipt.txt
12-06 10:49:38.181: W/dalvikvm(14206): threadid=1: thread exiting with uncaught exception (group=0x40c4d1f8)
12-06 10:49:38.181: I/MMFRuntime(14206): Crash reporting disabled
12-06 10:49:38.181: E/AndroidRuntime(14206): FATAL EXCEPTION: main
12-06 10:49:38.181: E/AndroidRuntime(14206): java.lang.NullPointerException
12-06 10:49:38.181: E/AndroidRuntime(14206): at Application.CRunApp.setGlobalValueAt(CRunApp.java:1539)
12-06 10:49:38.181: E/AndroidRuntime(14206): at Actions.ACT_SETVARG.execute(ACT_SETVARG.java:41)
12-06 10:49:38.181: E/AndroidRuntime(14206): at Events.CEventProgram.call_Actions(CEventProgram.java:1843)
12-06 10:49:38.181: E/AndroidRuntime(14206): at Events.CEventProgram.computeEventList(CEventProgram.java:1634)
12-06 10:49:38.181: E/AndroidRuntime(14206): at RunLoop.CRun.f_GameLoop(CRun.java:5308)
12-06 10:49:38.181: E/AndroidRuntime(14206): at RunLoop.CRun.doRunLoop(CRun.java:571)
12-06 10:49:38.181: E/AndroidRuntime(14206): at Application.CRunApp.loopFrame(CRunApp.java:1018)
12-06 10:49:38.181: E/AndroidRuntime(14206): at Application.CRunApp.playApplication(CRunApp.java:758)
12-06 10:49:38.181: E/AndroidRuntime(14206): at Application.CRunTimerTask.run(CRunTimerTask.java:49)
12-06 10:49:38.181: E/AndroidRuntime(14206): at android.os.Handler.handleCallback(Handler.java:605)
12-06 10:49:38.181: E/AndroidRuntime(14206): at android.os.Handler.dispatchMessage(Handler.java:92)
12-06 10:49:38.181: E/AndroidRuntime(14206): at android.os.Looper.loop(Looper.java:137)
12-06 10:49:38.181: E/AndroidRuntime(14206): at android.app.ActivityThread.main(ActivityThread.java:4424)
12-06 10:49:38.181: E/AndroidRuntime(14206): at java.lang.reflect.Method.invokeNative(Native Method)
12-06 10:49:38.181: E/AndroidRuntime(14206): at java.lang.reflect.Method.invoke(Method.java:511)
12-06 10:49:38.181: E/AndroidRuntime(14206): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
12-06 10:49:38.181: E/AndroidRuntime(14206): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
12-06 10:49:38.181: E/AndroidRuntime(14206): at dalvik.system.NativeStart.main(Native Method)[/QUOTE]
Thanks Perry and Fernando I really appreciate the help, I'll PM a link to the mfa Perry if that's okay. I've tried both "\" & "/". The mfa I am sending has "/" at the moment. Its confusing because I haven't changed anything since publishing the app several months ago and all was fine then even without the "\" or "/".
Thanks
Hi
I've changed the expressions but I am still getting the same error
So change DataStorageDirectory$( "Android object" ) + "receipt.txt" expressions to DataStorageDirectory$( "Android object" ) + "/receipt.txt"?
Hi
I don't have a file named "filesreceipt.txt". I do have a file called receipt.txt? I'm using it to save data entered in the in the edit box. I have previously used in the app and it has worked okay. I have not added in data element or binary data. Can I send you the mfa by PM?
Its strange because I have the same problem when building earlier versions of the app which worked before.
Thanks, I know you are busy.
K
I tried both 18 and 19 but no luck. I'm glad it worked out for you though.
Hi
Do you think you'll have a chance to look at my apk file this week?
Thanks
Kev
As my problem seems to be similar to Yos I have sent you (Fernando) mt apk by PM.
Thanks
I've created a test app with the same settings that are in my app and it builds on my device okay. Has anything changed in one of the updates that will not now work if I build my earlier app. ie new INI or other objects that I need to update?
Thanks again
P
Hi
My app ran without any problems and I published it. Now several months later I wanted to upgrade it but when I run and build it on my device it will not run with the message "Unfortunately, Gate Counter has stopped." I haven't changed anything major other than graphic except for updating MMF2 and the SDK. Any ideas how to fix this?
Thanks
P
Hi
What is the best screen size to develop my game with. I have a Advent Vega Tegra Note 7 inch tablet with a screen resolution of 1280 x 800 with 215 PPI.
Thanks
Hi
Sorry for the delay in responding and thanks for the advice and example file. I couldn't actually apply it to my problem but that's probably my lack of understanding. In the end I just used the several always conditions with the <= values for each range and it works well.
Thanks
P
I know how to di it in excel using IF so I'll give it a go using IFF and let you know how it goes.
Thanks
Hi
I want to be able to take a number and multiply it by a different number depending on the range of numbers it comes between. For example:
If a number is between 11 and 20 I want to be able to multiply it by 2 and it comes between 21 and 30 I want to be able to multiply it by 3.
How would I write this in the expression editor.
Thanks
Hi
I want to be able to take a number and multiply it by a different number depending on the range of numbers it comes between. For example:
If a number is between 11 and 20 I want to be able to multiply it by 2 and it comes between 21 and 30 I want to be able to multiply it by 3.
How would I write this in the expression editor.
Thanks
Thanks, I'll give the Active System Box a try.
Hi
Is it possible to have a graphic object that is shown on top of the button object. The button object always appears above no matter what order I put them in the frame?
Thanks
Thanks I'll give it a go...
...works a treat, thanks again.
Almightyzentaco (Fusion 2.5 Tutorials)
Captain Quail (Firefly Tutorials)