You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, October 6th 2011, 6:07pm

tablet uses incorrect tiles despite proper recognition by krpano

Hello,

I try to describe my problem in english egain to have more potential problem solvers.

i have a asus transformer android tablet. it is correctly identified by krpano: istablet, isandroid, isflash and istouch are true.

but this tablet still uses the wrong tiles. it loads the multiresolution tiles that are actually intended for desktop. so the performance on the tablet is very poor.

can someone help me with these problem?

maybe someone has a hint what options to enable and to disable in krpano to achieve a optimal result on mobile devices

thank you

2

Friday, October 7th 2011, 2:26pm

So nobody can help?

Further tests have shown that always on Android-Devices, Desktop-Tiles are used. Tested with Android Desire and Asus Transformer T101.
The frightening is that the flash-application runs fairly smoothly at the Desire despite the multi-resolution. On the other hand, it runs pretty poorly on the Transfomer.

Can anyone confirm this or has a solution?

The only thing I can imagine is that the resolution of the transformer cause the problems.

I could live with the desktop-tiles on mobile devices, but it should have a presentable quality.

3

Friday, October 7th 2011, 2:43pm

Hi,

I assume you were using the 1.0.8.12 version, right?

try using the 1.0.8.14 version - the 1.0.8.12 wasn't able to detect Android tablets,

see here the 1.0.8.14 news post:
krpano 1.0.8.14

this part:

Quoted

Improved Multi-Device Support
  • The devices attribute can now be used on xml tags.
  • More devices checks.
  • Android Mobile/Tablet Detection

    On Android there is no real and reliable way to detected if an Android device is a Mobile Phone or a Tablet Device - so krpano uses the diagonal screen size as decision:
    When the screen size is...
    ... smaller than 6 inch then the device will be detected as Mobile.
    ... bigger than 6 inch then the device will be detected as Tablet.

    Notes About Android 3.* Tablets
    • The krpanoJS HTML5 viewer is now also ready for Android 3.* Tablets (when using the setting useHTML5("always") during embedding it could be already tested). The controls (including Multi-Touch) are working but the current Android Chrome Browser has still some graphic errors with the CSS 3D transforms (which can be only fixed by Google), so there is currently no automatic HTML5 usage on Android for the moment.
best regards,
Klaus

4

Friday, October 7th 2011, 3:42pm

I thought so too. But I use the newest version.

on desktop:
INFO: krpano 1.0.8.14 (build 2011-09-01)
INFO: Flashplayer WIN 10.3.183.10 PlugIn

on tablet and mobile android:
INFO: krpano 1.0.8.14 (build 2011-09-01)
INFO: Flashplayer AND 11.0.1.152 PlugIn

Meanwhile, my test scene consists of not more than that

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 	<image type="CUBE" multires="true" tilesize="729" progressive="false">
			<level tiledimagewidth="4737" tiledimageheight="4737">
				<cube url="panos_test/pano001_d.tiles/l3_%s_%0v%0h.jpg" />
			</level>
			<level tiledimagewidth="2369" tiledimageheight="2369">
				<cube url="panos_test/pano001_d.tiles/l2_%s_%0v%0h.jpg" />
			</level>
			<level tiledimagewidth="1185" tiledimageheight="1185">
				<cube url="panos_test/pano001_d.tiles/l1_%s_%0v%0h.jpg" />
			</level>
			<mobile>
				<cube url="panos_test/pano001_m.tiles/mobile_%s.jpg" />
			</mobile>
			<tablet>
				<cube url="panos_test/pano001_t.tiles/tablet_%s.jpg" />
			</tablet>
		</image>


i hope you can help me anyway.

thank you.
mjdevil has attached the following image:
  • IMG_1522.jpg

5

Friday, October 7th 2011, 7:38pm

a solution that works:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
		<preview url="panos_test/pano001_d.tiles/preview.jpg" />
 
		<image type="CUBE" multires="true" tilesize="729" progressive="false" devices="desktop">
			<level tiledimagewidth="4737" tiledimageheight="4737">
				<cube url="panos_test/pano001_d.tiles/l3_%s_%0v%0h.jpg" />
			</level>
			<level tiledimagewidth="2369" tiledimageheight="2369">
				<cube url="panos_test/pano001_d.tiles/l2_%s_%0v%0h.jpg" />
			</level>
			<level tiledimagewidth="1185" tiledimageheight="1185">
				<cube url="panos_test/pano001_d.tiles/l1_%s_%0v%0h.jpg" />
			</level>
		</image>
		
		<image type="CUBE" devices="iphone">
			<mobile>
				<cube url="panos_test/pano001_m.tiles/mobile_%s.jpg" />
			</mobile>
		</image>
		
		<image type="CUBE" devices="ipad">
			<tablet>
				<cube url="panos_test/pano001_t.tiles/tablet_%s.jpg" />
			</tablet>
		</image>
		
		<image type="CUBE" devices="mobile">
			<cube url="panos_test/pano001_m.tiles/mobile_%s.jpg" />
		</image>
		
		<image type="CUBE" devices="tablet">
			<cube url="panos_test/pano001_t.tiles/tablet_%s.jpg" />
		</image>


but actually the krpano.swf should do the decision itself !?

This post has been edited 1 times, last edit by "mjdevil" (Oct 7th 2011, 7:56pm)


6

Sunday, October 9th 2011, 10:41pm

Hi,

right, there was a small bug - the detection of the <tablet> or <mobile> images doesn't work when using the short <cube> syntax - this will be fixed in the next release,

best regards,
Klaus

7

Tuesday, October 11th 2011, 5:53pm

Thank you.