Announcement

Collapse
No announcement yet.

HSTouch deploy issue Iphone and Android

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HSTouch deploy issue Iphone and Android

    I work with HS2 and hstouch/iphone/tablets for many years and it always worked great. But now I have an issue with deploying from hstouch to my devices. I tried two different devices an iphone and a android tablet. Both have the same issue.
    I have several hstouch projects and the problem is the same by all, all of them cannot be fully deployed. Al these projects worked great over the years but suddenly only parts of the projects are deployed. Nothing is changed, no computer, no device, no path, no nothing. The projects are all working great in the windows client. But on a device buttons, status trackers, backgrounds, etc., so all kind of elements, are not deployed. I checked if the files from these non deployed elements and found out that they all are there. In the same directory as the elements that are deployed.
    There are 2 attached files. 1 is a screenshot from my desktop, the other from my iphone, so that the issue is made clear.
    I took a better look to my Iphone and my Android tablet and saw that both devices have the issue as mentioned, but the screens are not complete the same. So the same HSToch screen are slightly different on both devices. For example on the Iphone are more or buttons. Also text differs.
    I use HS2, HSTouch 1.0.76 and windows 8.1.
    I searched this forum and found no similar issue. Also I asked the helpdesk, but they say that they don't support HS2 anymore :-(
    Please help?
    Attached Files

    #2
    I see that you are using a network path for your graphics, have you tried keeping your graphics locally (just moving one graphic should work for a test)? Also when you click deploy are you clicking the option to deploy the graphics?

    Comment


      #3
      I am having a very similar issue, that I reported months ago. I really though I was the only one with this issue. And BTW, I am using HS3.

      I created a bugzilla bug (1481) for this. If you also feel it is similar, please add your info to this bug ticket and perhaps it gets some attention?

      http://homeseer.com/bugzilla/show_bug.cgi?id=1481
      stefxx

      Comment


        #4
        HSTouch deploy issue Iphone and Android

        I marked the option deploy sound and graphics. As mentioned I use HSTouch for many years and suddenly I got this issue. I did not change something.

        I did some research maybe this will help. When I start HSTouch and the project opens and I then do the first deploy I get some strange errors reported. Every next deploy I don’t get those errors. The following files are reported missing at the first deploy:

        volume-background@2x.png
        realtime-energy-button@2x.png
        pinkStatusSmall-OFF.@2xpng
        pinkStatusSmall-ON@2x.png
        pinkHeaderBTNsmall-pressed@2x.png

        I also get an error: “error deploying graphic files to client, not all files may have been deployed”.

        In the .xml file there are no files with @2x there is as a whole no @ sign in the .xml file. For example the file volume-background@2x.png is found in the .xml file but without the “@2x”. In the .xml file is this string: <BackImageFile>\Default\Sliders\volume-background.png</BackImageFile>.
        For all the other files, like <PointerImageFile>\Default\Sliders\realtime-energy-button.png</PointerImageFile> it’s the same thing.

        These files are in the correct directory also without the @2x in the name. Why only these 5 files, I don’t know. What I do know is that the image is actually deployed. For example the image realtime-energy-button.png is shown up on the iphone and on the android tablet. And other images which are not causing a reported error, are (as it looks like) not deployed.
        An example is the background from the start screen, the file “320x480\intrigue-inset-320.jpg”is not shown on the IPhone or tablet, is on the contrary in the correct folder and is mentioned in the .xml file <Screen_BackgroundImage>\iPhone\Backgrounds\320x480\intrig ue-inset-320.jpg</Screen_BackgroundImage> and not reporting an error.

        Comment


          #5
          I am sure the @2x is something to do with scaling of the images/projects, is this something you have used in any of your projects?

          Comment


            #6
            HSTouch deploy issue Iphone and Android

            @sddroog: I will do that, but the link you published is not working. Please publish the correct link. I also contacted the Homeseer helpdesk but they say they don't have any other report for this error. My ticket is B8661C (http://helpdesk.homeseer.com/). So maybe you can ask them also.

            @mrhappy: The files are actually original HSTouch files which came with the program. The original files are where they belong in the standard skins directory and in the .xml file is the correct path mentioned to those files without the @2x. The only place where @2x is mentioned is in the error screens. And only for the mentioned five files. I don't use the scale option because that is not possible for IPhone. My issue with the deploy not only occurs with one (this) project but with all the projects I have. Also with "original" Ipad and IPhone xml files I got years ago from the internet.

            Comment


              #7
              I upgraded my iOS client this morning and the one time that I got to a screen that I designed it looked like above. Some of the buttons didn't display.

              I have not deployed the project again though.

              Now the app tells me it has no internet connection and just sits there.

              Gary

              Comment


                #8
                The link was valid when I posted it, but they just changed the links to bugzilla. The correct link now is http://bugzilla.homeseer.com/bugzill...ug.cgi?id=1481
                stefxx

                Comment


                  #9
                  @mrhappy: The files are actually original HSTouch files which came with the program. The original files are where they belong in the standard skins directory and in the .xml file is the correct path mentioned to those files without the @2x. The only place where @2x is mentioned is in the error screens. And only for the mentioned five files. I don't use the scale option because that is not possible for IPhone. My issue with the deploy not only occurs with one (this) project but with all the projects I have. Also with "original" Ipad and IPhone xml files I got years ago from the internet.
                  After the latest update, all of my screens are gone on iPhone. Attempting to re-deploy the corresponding project, which hasn't changed in several months and worked before, now results in the same errors: multitude of pop-up errors about missing images, all of which have @2x inserted before the file extension. I haven't changed a thing and haven't moved a thing. Everything worked until last two updates. I am running HS2 and iPhone app 2.21.



                  I have examined my xml file for the project and there is NOTHING containing "@2x" in it. I also restored my latest backup from May (last change) and tried deploying that project -- same fiasko...

                  Comment


                    #10
                    This is a double-post of my solution, in hopes that it may help others following this thread:

                    After multiple retries to deploy any project onto the iPhone, from three different PCs, the solution was to uninstall the app from iOS device, reboot, reinstall and re-enter all of connection settings again. After that, I was able to connect to my HS2 installation from my iPhone, albeit with a blank screen again (not even default project visible). This allowed me to try deploying my working configuration again. This time, everything deployed without errors. I still have no idea what was the origin of multiple missing file errors, with each missing file name including the "@2x" ending...

                    Comment


                      #11
                      HSTouch deploy issue Iphone and Android

                      PROBLEM SOLVED!

                      The problem was that in the .xml files the path to the root directory was not mentioned. In the .xml file there was only the path from the root directory as chosen under designer options. By the way not for all files. Some files had the path with the network string. See below.
                      For example for the most files in.xml the path was:
                      <BackImageFile>\Toren Interface tablets\Sliders\Lights slider 1-background.png</BackImageFile>
                      When I changed that with a network string like below:
                      <BackImageFile>\\TORENSERVER\Users\Ralf\Documents\HSTouch\Sk ins\Toren Interface tablets\Sliders\Lights slider 1-background.png</BackImageFile>


                      The path from the root directory as chosen under designer options is C:\Users\Ralf\Documents\HSTouch. So somewhere the problem is within HSTouch, because for many years it worked great and suddenly the path under designer options (C:\Users\Ralf\Documents\HSTouch) with the short string (<BackImageFile>\Toren Interface tablets\Sliders\Lights slider 1-background.png</BackImageFile>) did not work anymore. It is the correct path but not as a network string with //TORENSERVER
                      A hell of a job to change all the paths in the .xml file, but after a few hours it worked fine for me.

                      Comment


                        #12
                        Originally posted by VirtualPanther View Post
                        This is a double-post of my solution, in hopes that it may help others following this thread:

                        After multiple retries to deploy any project onto the iPhone, from three different PCs, the solution was to uninstall the app from iOS device, reboot, reinstall and re-enter all of connection settings again. After that, I was able to connect to my HS2 installation from my iPhone, albeit with a blank screen again (not even default project visible). This allowed me to try deploying my working configuration again. This time, everything deployed without errors. I still have no idea what was the origin of multiple missing file errors, with each missing file name including the "@2x" ending...
                        I have the same "@2x" issue after updating the iPad iOS and HSTouch. I dont know which update caused the issue, or if it did at all. I will try the uninstall and reinstall the app and see if this fixes it. I also have an issue where the app will run fine when first launched, but if you leave the app and go back to it, it crashes after a few seconds. I can start it again and it works fine, but will crash if I leave it and go back. Wierd.

                        Comment


                          #13
                          Originally posted by ediehl View Post
                          I have the same "@2x" issue after updating the iPad iOS and HSTouch. I dont know which update caused the issue, or if it did at all. I will try the uninstall and reinstall the app and see if this fixes it. I also have an issue where the app will run fine when first launched, but if you leave the app and go back to it, it crashes after a few seconds. I can start it again and it works fine, but will crash if I leave it and go back. Wierd.
                          I tried this, and unfortunately it didn't help. I still get the missing file errors, showing the "@2x" in the filename. The application still loads to the iPad, and appears to work properly until I leave the HSTouch app and return to it. A few seconds after returning to the app it crashes (closes). I have to start it again, and it will work fine.

                          The "@2x" is nowhere to be found in my .xml file. I checked the files for many of the error messages, and they were all correct except for the addition of "@2x". Any ideas?

                          Comment


                            #14
                            X2@

                            This all is interesting. I just started to get this error when i try to deploy my HS touch projects. Has anyone found a solution?

                            Comment

                            Working...
                            X