XDK splash screens, Crosswalk for Android build

Discussion and feedback on Construct 2

Post » Sat Sep 13, 2014 11:22 am

Come back with some update about 9patch support using Intel XDK . From what IntelRobest said, 9patch as a splash screen is not supported, So anyone here made it work it's just placebo.

IntelRobert wrote:We don't currently support 9 patch. There is already a request to add it, but it is queued up behind some other issues so I don't know when it will be there.

Cipriux wrote:@IntelRobert I read on another topic that placing a 9patch png as a splash image make it avoid distortion. Is this true? because I tried several 9.png images an all of them are distorted on my Samsung galaxy s2 with aspect ratio 16:10
The left is the original one and on the right is a snapshoot from my phone
Image
I know the 9patch image is properly generated, it has the 1 pixel black border as it should, I did my homework
B
78
S
21
G
23
Posts: 513
Reputation: 18,623

Post » Sat Sep 13, 2014 1:15 pm

I might be wrong about the 9patch. I am checking with Paul who wrote the article.
Intel Corporation
B
15
S
3
Posts: 193
Reputation: 1,552

Post » Sat Sep 13, 2014 4:51 pm

@IntelRobert

Thanks.
B
5
S
1
Posts: 41
Reputation: 455

Post » Tue Sep 16, 2014 2:47 pm

xach wrote:So intel https://software.intel.com/en-us/html5/ ... ld-options recommends you use 9 patch.

They suggest you use the http://developer.android.com/tools/help/draw9patch.html Android SDK Draw 9-patch.

I just used that utility because it was quicker but there is still alot we could learn. I'm not saying its perfect but it did display my splashscreen on my device a whole lot better. And if we all want to keep using crosswalk intel just told us we have to understand 9-patch.


@IntelRobert

How are things going on this 9-patch thing? I Think we would all like to know how we are supposed to be handling our splashscreens that were change with no explanation as to how we are to use them.
B
5
S
1
Posts: 41
Reputation: 455

Post » Tue Sep 16, 2014 4:25 pm

I was told that 9-patch never worked in XDK. They are looking into adding support, and I will know in a few days. Feel free to PM me for an update.
Intel Corporation
B
15
S
3
Posts: 193
Reputation: 1,552

Post » Wed Sep 17, 2014 1:51 pm

IntelRobert wrote:I was told that 9-patch never worked in XDK. They are looking into adding support, and I will know in a few days. Feel free to PM me for an update.


Ok were you told that it does not work in the compiled application or the splashscreens? Because the article that is referenced only targets splashscreens with 9-patch. And if the case is that there is no 9-patch solution then why did we change the aspect ratio on the splashcreens in the first place?
B
5
S
1
Posts: 41
Reputation: 455

Post » Fri Sep 19, 2014 3:17 pm

Paul updated the document so please look at the splash screen section again: https://software.intel.com/en-us/html5/ ... ld-options

We have to get 9 patch working, we need to clean up the unused splash screens in the APK. If there is something else that needs to be done for splash screens, please PM me.
Intel Corporation
B
15
S
3
Posts: 193
Reputation: 1,552

Post » Fri Sep 19, 2014 8:48 pm

yes please, clean & well managed splash screen management is a must have
B
43
S
11
G
4
Posts: 428
Reputation: 7,454

Post » Fri Sep 19, 2014 11:04 pm

IntelRobert wrote:Paul updated the document so please look at the splash screen section again: https://software.intel.com/en-us/html5/ ... ld-options

We have to get 9 patch working, we need to clean up the unused splash screens in the APK. If there is something else that needs to be done for splash screens, please PM me.


Paul should update the update where he says a Nexus 7 2013 is 16:8 ratio (2:1!) It's 16:10 (1920x1200).

(for example, the Samsung S3 has a 16:9 screen ratio and the Nexus 7 2013 edition has a 16:8 ratio)
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Oct 16, 2014 8:01 am

@IntelRobert Intel XDK 1332 I tried to uncheck Splash screen plugin, but it still uploads unwanted splashscreen in updated project.
B
97
S
35
G
29
Posts: 3,139
Reputation: 28,361

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: jefftrier and 3 guests