This is a migrated thread and some comments may be shown as answers.

Android App not sizing correctly

8 Answers 83 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Zane
Top achievements
Rank 1
Zane asked on 16 Jan 2014, 07:39 PM
Hi,

Congrats on a very good product.

We have noticed a slight issue though.

We developed an application, tested in on mostly Samsung devices ranging from the Galaxy SIII mini to Note 10.1 and all worked well.

We then encountered a strange phenomenon when installing on a Samsung Tab 2 - when the app started and the initial screen literally only showed across half of the screen. When you would press the "update" button, the screen would flash and resize correctly.

We have since acquired a 7inch tablet to test and subsequently deploy on. This issue persists. After porting the code from tables to DIVs - no update.

We even installed the JiterzCoffeehouse demo app - it does the same.

I have attached a screen print.

The behaviour is the same with or without a CSS linked in.

Please advise.

Zane

8 Answers, 1 is accepted

Sort by
0
Christoff
Top achievements
Rank 1
answered on 17 Jan 2014, 12:24 PM
Hi, 

We are experience the same problem. Any ideas?

Christoff
0
Zane
Top achievements
Rank 1
answered on 18 Jan 2014, 07:33 AM
Hi,

Some more information.

One of the devices in question is the Huawei Mediapad 7 running Android 4.0.3.

The issue still persists, even when changing Cordova versions etc.

Any help would be sincerely appreciated.

Regards,

Zane
0
Zdravko
Telerik team
answered on 21 Jan 2014, 03:21 PM
Hi Zane,

Thanks for your feedback.

I tried to reproduce this behavior using JiterzCoffeehouse demo on Samsung P6800 Galaxy Tab 7.7 and Asus Transformer Prime TF201. Both of them show the app in full screen.

We haven't seen anything like that before.Did you try to debug on the device and check for problems?

Regards,
Zdravko
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Peter
Top achievements
Rank 1
answered on 03 Feb 2014, 08:35 AM
I have seen the same thing happen both in the Device Simulator when launched from Visual Studio 2013 (see attached image), and on my Droid Razr running Android 4.1.2.

After reading the other comments, and having used Cordova with PhoneGap, it seems to me like it may be a bug specific to AppBuilder's Android native wrapper.  Invoking geolocation/mapping may play a part too.

It is not easy to reproduce, but I might suggest several orientation changes--that has seemed to be involved in triggering it in both the simulator and on my phone.

I would very much like to be assured that this will be fixed—I do not want to devote a lot of time developing with Kendo and AppBuilder only to have this bug still appearing on Android devices when the app is ready for release.  I would not release an app with this issue—it’s not acceptable.

Thanks in advance for any support.

Peter
0
Peter
Top achievements
Rank 1
answered on 03 Feb 2014, 11:12 AM
I think now that it may be the current version of Kendo UI Mobile, themed for Android, maybe just Jelly Bean, causing this problem as I saw it happen in my phone's browser when I went to the demo site at http://demos.kendoui.com/mobile.  

I selected Adaptive Widgets -> Grid and changed from portrait to landscape orientation a couple of times.  The grid demo page then would not resize properly in portrait orientation.

My phone is a Droid Razr with Android 4.1.2.
0
Zdravko
Telerik team
answered on 05 Feb 2014, 03:51 PM
Hello,

Thank you all for the provided feedback.

I was able to reproduce this misbehavior at last. It seems that using the "Refresh" button in our Simulator when in landscape orientation causes it. Then you have to refresh again in portrait orientation in order to fix.
For mobile devices the scenario is the same. There our LiveSync service takes the role of the Refresh button and again when used in landscape orientation causes this issue.

I made a bug item in our product backlog and a fix will arrive as soon as possible.
Thanks and stay tuned.

Regards,
Zdravko
Telerik
Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
0
Zdravko
Telerik team
answered on 06 Feb 2014, 10:41 AM
Hi,

The latest information is that the issue has something in common with Kendo projects.

There are some workarounds that we want to share until the fix comes alive.
  • for iOS - update your kendo.mobile.min.js file to v2013.3.1324. If you don't have a license for it use the workaround from here.
  • for Android - remove this line of code in your app.js file
Thanks and stay tuned.

Regards,
Zdravko
Telerik
Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
0
Zane
Top achievements
Rank 1
answered on 06 Feb 2014, 10:44 AM
Hi,

Thanks for the feedback. It seems the issue is less prevalent with the recent update to Telerik Appbuilder.

Will monitor and revert.

Regards,

Zane
Tags
Report a bug
Asked by
Zane
Top achievements
Rank 1
Answers by
Christoff
Top achievements
Rank 1
Zane
Top achievements
Rank 1
Zdravko
Telerik team
Peter
Top achievements
Rank 1
Share this question
or