Android App not sizing correctly

9 posts, 0 answers
  1. Zane
    Zane avatar
    3 posts
    Member since:
    Jul 2013

    Posted 16 Jan 2014 Link to this post

    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
  2. Christoff
    Christoff avatar
    1 posts
    Member since:
    Apr 2013

    Posted 17 Jan 2014 Link to this post

    Hi, 

    We are experience the same problem. Any ideas?

    Christoff
  3. Zane
    Zane avatar
    3 posts
    Member since:
    Jul 2013

    Posted 18 Jan 2014 Link to this post

    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
  4. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 21 Jan 2014 Link to this post

    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.
  5. Peter
    Peter avatar
    2 posts
    Member since:
    Feb 2014

    Posted 03 Feb 2014 Link to this post

    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
  6. Peter
    Peter avatar
    2 posts
    Member since:
    Feb 2014

    Posted 03 Feb 2014 Link to this post

    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.
  7. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 05 Feb 2014 Link to this post

    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)
  8. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 06 Feb 2014 Link to this post

    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)
  9. Zane
    Zane avatar
    3 posts
    Member since:
    Jul 2013

    Posted 06 Feb 2014 in reply to Zdravko Link to this post

    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
Back to Top