User Tag List

Results 1 to 10 of 10

Thread: JSON Object Black Screen

  1. #1
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb JSON Object Black Screen

    Hey people!
    I am a owner of the JSON extension for android devices that came from ClickStore but everytime i run a application on my device with this extension on, it gets a black screen with no further action to be made
    I tested and this black screen appears as soon as i place the extension into one of my frames, it works fine on pc though
    My question is, is there any fix to this or the extension is no longer supported?
    thanks!

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    did you try to build the example mfa that comes with teh object?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker

    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2010
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn´t get really a example with the JSON object for android so i assume testing the windows example (Wikipedia JSON API Usage Example) on my phone, same result black screen showing only the title of the application in white letters, same result with a blank new project with just the object placed, it even transforms my top bar into black as show in the attachement image.
    Screenshot_2018-01-06-16-02-33.jpg

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just downloaded the Android JSON version tonight and am getting the same thing as well. The application is a black screen and it appears to be hanging when I run it. I tried creating a new application with nothing on it (including the JSON object) and am able to compile and push to my phone. This base application works as expected. I then add the JSON object. I dont connect it to anything, just add it to the application. When I compile and run the application the screen is black. I have a Windows application that uses the JSON object and works when I compile as a Windows application. When I replaced the JSON object with the Android JSON object and everything else is the same, the application works on Windows but the screen is black on my phone. There was no specific demo application that came with the Android JSON version of the object so I couldnt really test that. Does anyone have this object working on Android? Any suggestions/recommendations on getting this object to work?

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    can u post a logcat from device?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes. Heading out of town for work. Will be back EOW and will take a look at getting that info. I pushed the apk via Dropbox rather than adb so I'll need to figure out how to get that info.

  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a logcat for you but not sure how I should post it. Let me know. During the run with this particular logcat, the application just hangs the phone it seems. I had to turn the phone off, then back on. Once I did that, I could "kill" the app. I'm going to try a few different combinations of the build api to see if I can get a different response.

  8. #8
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have tried a number of target Android versions as well as build APIs etc. Many combinations and I am still unable to get the JSON object to work on Android. The application hangs to the extent that I have to turn the phone off and back on just to get enough control to kill the app. All I am doing is creating a new application and adding the JSON object. I am not changing any properties or even using the object. Its just added to the project.. thats it. Is anyone with the Android exporter working, able to create an application that has the JSON object in it?

  9. #9
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think something else is going on here. I may be missing something in the exporter or some configuration. I tried creating a blank mfa targeting Android. I put an edit box in the frame and compiled. This works fine with default settings. I then added a location object and gave it GPS and Internet permissions. After compiling and installing the application screen goes black again (as if the app is hanging). I have to kill it to close it. API is 27 but I have tried several others. Still digging into this but if someone has a suggestion where to look that would be great.

  10. #10
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2014
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In case anyone looks at this and wonders if I found a solution; I had two competing problems here. First, as much as I tried, I still did not have the environment setup correctly for the Android exporter. This is much more challenging than it should be but after several installs/uninstalls of Java and SDK, I finally got that working. Its best to test this with a blank application that has some Android object in it. If you can get this to compile without any object interaction and run on your device then you are good to move on to the next challenge. The second issue was actually related to the JSON object. I found a bug report on the author's github indicating that the black screen issue had been fixed but there was some trouble updating the source on the clickstore. In short, I PMd the author and received a link to the newest version of the JSON object for Android. Once I put this in the correct location I was able to export my project for Android. The resultant apk installed correctly and didnt hang the device. I am very glad I stumbled on the fix as I was contemplating the "heavy" work of doing everything with the stringparser. That would have been a challenge. Long story short, I am able to move on with my development. Thanks to the object author, LB.

Similar Threads

  1. Alt Tab black screen with full screen
    By Lukiester in forum Fusion 2.5
    Replies: 6
    Last Post: 2nd September 2017, 09:48 AM
  2. Black Screen
    By Eliyahu in forum Android Export Module Version 2.0
    Replies: 5
    Last Post: 15th July 2013, 11:30 PM
  3. Subapp Black Screen
    By virtualrom in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 16th September 2011, 04:44 PM
  4. How I fill the screen black?
    By Eskyz in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 23rd May 2011, 09:41 PM
  5. Black Screen?
    By Person in forum Hardware Accelerated Runtime
    Replies: 4
    Last Post: 7th September 2008, 07:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •