Announcement

Collapse
No announcement yet.

Sc8 not ready for mobile

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sc8 not ready for mobile

    I did some testing. Created one project with 2 apps (grid + form)
    Here are the results from the server:

    THOSE ARE SCREENSHOOTS FROM APP RUNNING ON PC (Firefox)
    Grid
    mo_pc01.jpg
    Form
    mo_pc02.png


    HERE ARE THE SAME SCREENS RUNNING ON MOBILE DEVICE IN DESKTOP MODE
    Grid
    mo_g02.jpg
    Form
    mo_g01.jpg
    Attached Files
    -----------------------------------------
    Arthur Klisiewicz
    dATA POINT SOFTWARE
    www.datapointsoftware.com

  • #2
    I had to put 2 more images in separate post because the ADMIN DOES NOT ALLOW TO PUT MORE THAN 5 images in one post. I see no reason for that!

    FINALLY MOBILE VERSION
    mo_02.jpg

    DESKTOP VERSION (looks better than mobile)
    mo_01.jpg


    as you can see none of the screens look god and resizing basically does not work at all. Also the grid template allows the grid to extend beyond the visible area with horizontal scrolling (in some rare cases this might be expected). Am I missing something or simply SC8 is not ready for mobile at all.
    Last edited by aka; 10-13-2014, 03:43 PM.
    -----------------------------------------
    Arthur Klisiewicz
    dATA POINT SOFTWARE
    www.datapointsoftware.com

    Comment


    • #3
      DEAR NETMAKE - when you fix mobile templates ? At this stage mobile forms are useless

      Art
      -----------------------------------------
      Arthur Klisiewicz
      dATA POINT SOFTWARE
      www.datapointsoftware.com

      Comment


      • #4
        Hello. I need to display pdf files in mobile using fpdf, but it dont work. Any ideas? Thank you.
        Sign up with Testking free ged practice test ccna for getting incredible online testking courses Testking prince2 foundation exam questions and past exams and simmons.edu We also provide best ju.edu

        Comment


        • #5
          The only option I see is to use pdf.js from http://mozilla.github.io/pdf.js/ but it has some issues (see: http://blog.pdftron.com/2013/08/08/h...in-html5-apps/) or the ultra cool http://viewerjs.org/

          Comment


          • #6
            FPDF allows you a few options in outputting PDFs. You can force the download, save the file to a filesystem, or you can display them on the page, but what you can't do is generate a PDF and show it inline.Here's what you'll do:

            Create a new file (maybe, show_pdf.php):

            require("../fpdf.php");

            $pdf = new FPDF();
            $pdf->AddPage();
            $pdf->SetFont('Arial','B',16);
            $pdf->Cell(40,10,'Hello World!');
            if (preg_match("/MSIE/i", $_SERVER["HTTP_USER_AGENT"])){
            header("Content-type: application/PDF");
            } else {
            header("Content-type: application/PDF");
            header("Content-Type: application/pdf");
            }
            $pdf->Output();

            You may need to pass in specific data parameters via $_GET to make this work right as you expand this code.

            To show it on the page, you'll do something like this:

            else if ($cur_page == $no_of_paginations){
            ?>
            <iframe src="show_pdf.php?id=asdfasdf"></iframe>
            <?php
            }

            Comment

            Working...
            X