One of my apps in trying to add a splash screen when the app is first opened, however when I export the app the image does not show.
I know this has been covered many times before, but the stage thing with me is when I make a test app which just shows a scene with the image, it shows properly.
The I've is a PNG, I've tried resizing the image, I think it's now 89kb in size. I've tried moving folders etc.
The scene shows before the rest of the app as the background is present, just no image.
Any advice or hints on where I'm going wrong.
Cheers
Phil
I done some more testing, I changed the image to something else, didn't show. I changed the image to an image I used else where in the app and it showed.
I then put the image I want to use in and it didn't show. I then put the image I want to use in a different scene and it did show! But putting that image back into the scene I want and it didn't show.
Hope that made sense.
The splash screen as I'm calling it is the scene I want the image to show. If I use the image I want shown, or any other image that has not been used in the app before then it won't show. If I use a image from another scene then that will show.
If I try adding the image to another scene within the app it will show.
The splash screen originally had nothing apart from the image I'm trying to show. It now has a rectangle element as the background and that's it.
In the opening task for my app I have the action show splash scene, the task then does the things I need doing then shows the main scene and destroys the splash scene.
The splash screen as I'm calling it is the scene I want the image to show. If I use the image I want shown, or any other image that has not been used in the app before then it won't show. If I use a image from another scene then that will show.
If I try adding the image to another scene within the app it will show.
The image that works has been used previously in the app. The image that does not work is the image I want to use.
If I create a test app with just the splash screen and image it works correctly so I think by sending you just the image and scene will prove pointless.
If I sent the whole project that might help you to reproduce it?
I've now done away with the scene all together, I've put the splash image in the first scene and the use element visibility to hide it once the app is ready. It works this way.
Some images of my scenes showed perfectly if I ran it from Tasker and did not show when I tried it from the standalone application.
Finally find out that the problem was that the resolution of the images, was greater than that of the scene.
When lowering the resolution of the images, it fixed the problem.
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/hgMMVUKm6OA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
The video I've just made shows what I wanted to achieve with the first screen that comes up.
However another issue, which I remember being raised months ago but can't find the thread, was the destroy scene action. When I show a new screen, I have a 400ms wait then destroy previous scene with no animation. As you can see in the video, it brings the previous scene to the front then destroys it.
I sent the image and scene as requested. The issue is still present but it's now even more confusing. In another scene, I have a image, if I add another image, the image I'm adding does not show. If I copy and paste the first image, the pasted image shows but the copied (1st)image fails to show.
Again, nothing in the logs, no errors when exporting as app etc.
Yeah adding from local media from images that I know that work from previous versions of my app.
I think I've done that correctly, I've sent two logs to you, one from the app and one from tasker itself, along with image and scene name that is not being displayed.
sorry, but those aren't the logs I meant (see links).
Raul, same request for you please, yes.
Thanks,
Pent
I've created the logs as described but I am fairly certain there is nothing to be found in there. The troublesome scene is created without any error. Even when I manipulate the image, nothing unusual in the log.
The issue is somewhere in the app creation process. The "long term log" doesn't seem to create a log of the app creation itself. Any way to get a log of whatever app factory is doing?
Thx
Yes it was previously created. Up until today I've had no issues at all with images (at least in this project).
26-10-2017 E: 22.03.06#E: exe: Get_color CC / Element Image [ Scene Name:Schalter_overlay CC Element:Schalter_icon Image:cust_appshortcut_edit ]
It's all the log has to say about this. I've checked in the apk and file "cust_appshortcut_edit" contains my image.
It's really strange behaviour and has brought my app to a halt in terms of pushing updates out.
It seems I can't get ANY new image to display in this or any other scene of the project. It's like I've reached a limit of images an app can take. I am not even using many images. Just an icon here and there.
@Pent can you please take another look at this? It can potentially end all my app activities...
https://www.reddit.com/r/tasker/comments/55wyzz/help_scene_menu_icons_show_up_when_run_from/
@Pent can you please take another look at this?
I can't reproduce it, so I need the logs I described :-(
If you copy and paste a image that works, then I think you might find the original image will not display but the new pasted image will.
I've send you an email to orders(at)apps.dinglisch.net with two logs. It was the only address I could find.
I'm using android 7.0 on Galaxy s7.
Tasker 4.9u4 and a compatible app factory
1.I see pictures
2.I see pictures
3.I see pictures
Approximately this looks like this problem on me on android 7.0
Would it help to send you an affected exported app? I can't think of anything else to try.
I've tried my exported app on a different device with a different Android version (6 instead of 7) and the issue is still present.
Would it help to send you an affected exported app? I can't think of anything else to try.
What if you create the app on those devices with the project exported as XML and the images copied over ?Would it help to send you an affected exported app? I can't think of anything else to try.
Actually, that might help, yes, thanks.
31-10-2017 ActionArgIcon: 08.40.31#ActionArgIcon: getBitmap: max: 408x222 uri: android.resource://agraetz.lifxcc/drawable/cust_appshortcut_log
31-10-2017 MyBitmap: 08.40.31#MyBitmap: rscheme: name: cust_appshortcut_log host: agraetz.lifxcc pkg: agraetz.lifxcc resolvedPkg: net.dinglisch.android.tasker max: 408x222 tint 0
31-10-2017 MyBitmap: 08.40.31#MyBitmap: warning: rrb: normal: null bitmap
31-10-2017 MyBitmap: 08.40.31#MyBitmap: fromURI: null
31-10-2017 SEI: 08.40.31#SEI: warning: no bitmap
31-10-2017 SEI: 08.40.31#SEI: alpha: 255
Erm... It seems my tasker won't update via the play store anymore after installing the pre-version from above. Do I have to uninstall first?