Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

XBMC Backup/Restore App!

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

    #46
    Yes i disabled it for amlogic as many devices roms dont suport write to external sd.
    Everything is possible if we work together!
    ApkFreak

    Comment


      #47
      Okay I understand. That's why restore from external sd does work. BTW most recent AMLogic roms I have tried do support write to external sd.

      Comment


        #48
        You are probably right,
        but when i was making this app sd write wasnt there for most roms,
        so i did it like that to dont confuse users:"
        Will probably update it at some point
        Everything is possible if we work together!
        ApkFreak

        Comment


          #49
          Hi lewy. I wanted to test this on my phone which is running lollipop and here is some behavior I have noticed. If you hit backup and there is no kodi installed it just says success and makes an empty kodi.zip file. I think it would be better to do a check for all the folders first and if none exist then just give a message saying nothing to backup and make no zip.

          When I tried it with a full setup it made the kodi.zip fine on my internal storage but when I go to restore it again it just says success instantly but it does nothing. It might just be a lollipop issue and I will try it on my rockchip devices later but would it be easier to just give people a file explorer on backup and restore so they can select where to save to and to select a certain save so people could then make multiple back ups?

          If I remove the kodi.zip backup file completely and hit restore it also says success instantly even tho it has done nothing. Maybe some different message there again if nothing is found.

          Only suggestions mate, I will report back after testing on rockchip.
          To Infinity and Beyond.... XBMC

          Comment


            #50
            Thanks for the info.
            I should update the app soon so its valuable information
            Everything is possible if we work together!
            ApkFreak

            Comment


              #51
              Here is another for you if you are going to be updating it.

              On a phone it goes to portrait mode. All the buttons look ok etc but your text gets really truncated and you only see part of the first letters. Maybe remove them for portrait mode.

              Also I think the App/Icon name is a bit too long, maybe just "Kodi Backup".

              To Infinity and Beyond.... XBMC

              Comment


                #52
                Thanks,
                Will look into it to.
                Everything is possible if we work together!
                ApkFreak

                Comment


                  #53
                  Originally posted by lewy20041 View Post
                  Thanks,
                  Will look into it to.

                  I have just found and fixed your bug mate. I am just fully testing it and I will come back with the code fix for you in 10 mins.
                  To Infinity and Beyond.... XBMC

                  Comment


                    #54
                    Seems to be working great now.

                    In Restore$RestoreXBMCO.smali you had the same code referring to external_sd twice. Once on line 77 and once on line 85. The one on line 85 should have pointed to sdcard.

                    Change line 85 from
                    Code:
                        const-string v8, "/mnt/external_sd/KODI.zip"
                    to
                    Code:
                        const-string v8, "/mnt/sdcard/KODI.zip"
                    To Infinity and Beyond.... XBMC

                    Comment


                      #55
                      Such mistake.
                      Will fix it for nexr ver.
                      Realy apriciate you help
                      Everything is possible if we work together!
                      ApkFreak

                      Comment


                        #56
                        Me again lol. I have nothing to do all day and after I got it working I decided to have a look at the layout also because I get a bit OCD when things don't look right.

                        Fixed the layout so the text doesn't get truncated and replaced the lightning bolts with the kodi icon. Got rid of the excess space that was left on the main screen down the bottom and made it more like the backup page.

                        Also changed the main icon to a different color so I don't accidentally launch it instead of Kodi when I'm drunk and shortened the name so it all fits.

                        Hope you don't mind mate, I am happy as hell now because it all does what I need. Great job you did mate. Here is the version if you want to take a look. https://www.androidfilehost.com/?fid=24052804347766074



                        Last edited by Flumpster; 06-28-2015, 13:19.
                        To Infinity and Beyond.... XBMC

                        Comment


                          #57
                          Nice
                          Will take a look once i have more time.
                          Everything is possible if we work together!
                          ApkFreak

                          Comment

                          Working...
                          X