Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Page 2 of 4 FirstFirst 1234 LastLast
Results 26 to 50 of 86
Like Tree11Likes
  1. Thread Author  Thread Author    #26  

    Default Re: [How to] edit apps for use with multi window.

    The script isn't mine. I found no way around the decompile failure until I tried it manually.
    Option 9 failed on me so many times I stopped using the script.

    At the time the method was introduced to Note 2 users, gmail and youtube were system apps, the process worked for them.

    But you need root to get to the system apps. If you have root you don't need this method, just install the mod for all apps.
    If you unlocked the bootloader, there is a multi window control mod that is flashed in recovery. That's the method I use now.
  2. #27  

    Default Re: [How to] edit apps for use with multi window.

    For say Chrome I can decompile it, along with Gmail, but I had to do the manual decompling because using the program to do it didn't work.. it closed out. If I can get it to decompile manually, is there a way to recompile it manually via the command prompt? For the path I went to the actual C: drive to the java folder opened it up till I got to bin, copied that address (which is different from what's found in CLASSPATH for java.. is that wrong to do? When I tried to use the path from CLASSPATH to put it into the path section, I couldn't get anywhere with this process. Don't know what I'm doing wrong.
  3. Thread Author  Thread Author    #28  

    Default Re: [How to] edit apps for use with multi window.

    There are manual recompile instructions in the guide.
  4. #29  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by pool_shark View Post
    There are manual recompile instructions in the guide.
    Uh where? I followed it and for recompiling I thought he just referred BACK to using the script which didn't work for me.. He gives a manual way to decompile using the command prompt, but doesn't give a manual way to use the command prompt to recompile. The only instructions I see to recompile is to use the Script.bat file. I'm looking for a way to manually recompile using the command prompt, unless someone can let me know what I'm missing/why it's not working using the Script.
  5. Thread Author  Thread Author    #30  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by dominick_7 View Post
    Uh where? I followed it and for recompiling I thought he just referred BACK to using the script which didn't work for me.. He gives a manual way to decompile using the command prompt, but doesn't give a manual way to use the command prompt to recompile. The only instructions I see to recompile is to use the Script.bat file. I'm looking for a way to manually recompile using the command prompt, unless someone can let me know what I'm missing/why it's not working using the Script.
    Right under the decompile instructions using the manual method.


    To decompile the apk type:
    apktool d -s --no-src mms.apk (mms is the file name used in this example).
    When the app has been decompiled it will look like the following:
    I: Copying raw classes.dex file...
    I: Loading resource table...
    I: Loaded.
    I: Decoding AndroidManifest.xml with resources...
    I: Loading resource table from file: C:\Users\js\apktool\framework\1.apk
    I: Loaded.
    I: Decoding file-resources...
    I: Decoding values */* XMLs...
    I: Done.
    I: Copying assets and libs...

    You will now have a folder with the named mms (mms is the apk file used in this example) inside "desktop\apk-multi-toolv1.0.10\apk-multi-tool\other".
    Now you can perform the same steps as above to modify the xml file.
    After saving the xml file, go back to the command line and recompile the apk by typing the following:
    apktool b mms (mms is just the example used here).

    If the app compiles successfully you will see the following:
    I: Copying classes.dex file...
    I: Checking whether resources has changed...
    I: Building resources...
    I: Building apk file...

    If the app does not recompile successfully this app cannot be used.

    After successfully compiling the app, you now have to sign the apk file in order to install it onto your device.
    The apk you'll need to sign is located in the "desktop\apk-multi-toolv1.0.10\apk-multi-tool\other\mms\dist" folder. mms is only the file name used in this example.
    You can move this file up to the "other" folder.

    To sign the apk file, type the following:

    java -jar SignApk.jar -w testkey.x509.pem testkey.pk8 "mms.apk" signed.mms.apk (mms is only the file name used in this example).

    You should now have a properly signed apk modified to work with multi-view.
    You can now transfer the signed_.apk file to your device to be installed. The previous version of the app must be uninstalled first.
  6. #31  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by pool_shark View Post
    Right under the decompile instructions using the manual method.


    To decompile the apk type:
    apktool d -s --no-src mms.apk (mms is the file name used in this example).
    When the app has been decompiled it will look like the following:
    I: Copying raw classes.dex file...
    I: Loading resource table...
    I: Loaded.
    I: Decoding AndroidManifest.xml with resources...
    I: Loading resource table from file: C:\Users\js\apktool\framework\1.apk
    I: Loaded.
    I: Decoding file-resources...
    I: Decoding values */* XMLs...
    I: Done.
    I: Copying assets and libs...

    You will now have a folder with the named mms (mms is the apk file used in this example) inside "desktop\apk-multi-toolv1.0.10\apk-multi-tool\other".
    Now you can perform the same steps as above to modify the xml file.
    After saving the xml file, go back to the command line and recompile the apk by typing the following:
    apktool b mms (mms is just the example used here).

    If the app compiles successfully you will see the following:
    I: Copying classes.dex file...
    I: Checking whether resources has changed...
    I: Building resources...
    I: Building apk file...

    If the app does not recompile successfully this app cannot be used.

    After successfully compiling the app, you now have to sign the apk file in order to install it onto your device.
    The apk you'll need to sign is located in the "desktop\apk-multi-toolv1.0.10\apk-multi-tool\other\mms\dist" folder. mms is only the file name used in this example.
    You can move this file up to the "other" folder.

    To sign the apk file, type the following:

    java -jar SignApk.jar -w testkey.x509.pem testkey.pk8 "mms.apk" signed.mms.apk (mms is only the file name used in this example).

    You should now have a properly signed apk modified to work with multi-view.
    You can now transfer the signed_.apk file to your device to be installed. The previous version of the app must be uninstalled first.
    Lol wow I'm blind.. wth. Sorry about that.. Thank you so much! I successfully recompiled a signed Chrome browser app for my Galaxy Note 2!!!! Woohoo Happy New Year! Had three questions. Think it's a stupid question perhaps, but now that it's signed, can I rename the file to whatever I'd like or does it need to say signed.Chrome_18.0.1025469 for it to work? Also if an update comes out, do we know for certain the update won't work, where we will have to uninstall it, do this work on the new update again or have some reported the update working while retaining the ability to use it in Multiview? Lastly what sort of spaces do we need when adding the code to the xml file? Do we paste the code RIGHT after say the > or does there need to be a space.. likewise with the /category one, do we need a space between the beginning of that < and the last part of the code or is it ok that they meet like so ><? Seems like it properly was able to process the beginning code, but when it got to the last part of it it had problems I'm thinking due to the way the code is spaced. Thanks again so much! Happy New Year!

    EDIT: Update.. even though the Chrome one worked via the process, I can't seem to get it to add to the Multiview pane on the left side.. tried to drag it from the App tray, from a shortcut on a homescreen.. nothing seems to work.. am I missing something?
    Last edited by dominick_7; 01-01-2013 at 12:28 AM.
  7. Thread Author  Thread Author    #32  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by dominick_7 View Post
    Lol wow I'm blind.. wth. Sorry about that.. Thank you so much! I successfully recompiled a signed Chrome browser app for my Galaxy Note 2!!!! Woohoo Happy New Year! Had three questions. Think it's a stupid question perhaps, but now that it's signed, can I rename the file to whatever I'd like or does it need to say signed.Chrome_18.0.1025469 for it to work? Also if an update comes out, do we know for certain the update won't work, where we will have to uninstall it, do this work on the new update again or have some reported the update working while retaining the ability to use it in Multiview? Lastly what sort of spaces do we need when adding the code to the xml file? Do we paste the code RIGHT after say the > or does there need to be a space.. likewise with the /category one, do we need a space between the beginning of that < and the last part of the code or is it ok that they meet like so ><? Seems like it properly was able to process the beginning code, but when it got to the last part of it it had problems I'm thinking due to the way the code is spaced. Thanks again so much! Happy New Year!

    EDIT: Update.. even though the Chrome one worked via the process, I can't seem to get it to add to the Multiview pane on the left side.. tried to drag it from the App tray, from a shortcut on a homescreen.. nothing seems to work.. am I missing something?
    You can name the file whatever you like.

    The modified apps will not take updates due to the incorrect signature. If you want the update you will have to uninstall the modified app and install the app from the play store. If you want to use the updated app in multi view you will have to repeat the process, unless the developer added support.

    You can uninstall the app just like any other app, either from the app drawer or from settings.

    You paste the first line below the line shown and the other lines above the line shown.
  8. #33  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by pool_shark View Post
    You can name the file whatever you like.

    The modified apps will not take updates due to the incorrect signature. If you want the update you will have to uninstall the modified app and install the app from the play store. If you want to use the updated app in multi view you will have to repeat the process, unless the developer added support.

    You can uninstall the app just like any other app, either from the app drawer or from settings.

    You paste the first line below the line shown and the other lines above the line shown.
    Awesome thank you. Have no problem installing or uninstalling and redoing the process for newer updated apps but do you happen to know why even though Chrome was decompiled and recompiled with signature correctly it for some reason can't be added to the Multiview pane? Is there a certain way to add them to multiview that I'm not aware of?
  9. Thread Author  Thread Author    #34  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by dominick_7 View Post
    Awesome thank you. Have no problem installing or uninstalling and redoing the process for newer updated apps but do you happen to know why even though Chrome was decompiled and recompiled with signature correctly it for some reason can't be added to the Multiview pane? Is there a certain way to add them to multiview that I'm not aware of?
    Did you check to see if chrome was in the edit pane?
    Some of the apps go into the bar automatically, others go into the edit pane, and others just don't show, but they still work.
  10. #35  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by pool_shark View Post
    Did you check to see if chrome was in the edit pane?
    Some of the apps go into the bar automatically, others go into the edit pane, and others just don't show, but they still work.
    Yea when I click Edit only Polaris that I put there is in there..
  11. Thread Author  Thread Author    #36  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by dominick_7 View Post
    Yea when I click Edit only Polaris that I put there is in there..
    Others had chrome in the bar. Check the credits link in the OP. I think they had a working chrome there.
  12. #37  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by pool_shark View Post
    Others had chrome in the bar. Check the credits link in the OP. I think they had a working chrome there.
    Hmm yea I see that. I downloaded what was made available, but I kind feel better about it and more secure if I could figure out how to do it myself. Oh one other thing I was wondering was why it does a ping check when you try to get the Script working? Seems kind of odd to need an internet connection no?
  13. Thread Author  Thread Author    #38  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by dominick_7 View Post
    Hmm yea I see that. I downloaded what was made available, but I kind feel better about it and more secure if I could figure out how to do it myself. Oh one other thing I was wondering was why it does a ping check when you try to get the Script working? Seems kind of odd to need an internet connection no?
    Security is the reason I started making my own.
    The script isn't mine, I can't answer that.
  14. #39  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by pool_shark View Post
    Security is the reason I started making my own.
    The script isn't mine, I can't answer that.
    My antivirus said it was a very low level threat, as in not harmful, but still.. isn't that kind of strange? Like do you ever wonder why would it need internet connection to work?
  15. Thread Author  Thread Author    #40  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by dominick_7 View Post
    My antivirus said it was a very low level threat, as in not harmful, but still.. isn't that kind of strange? Like do you ever wonder why would it need internet connection to work?
    I didn't notice that it did a ping.
  16. #41  
    DroidXcon's Avatar

    Posts
    11,645 Posts
    Global Posts
    11,775 Global Posts
    ROM
    Stock for now

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by dominick_7 View Post
    Hmm yea I see that. I downloaded what was made available, but I kind feel better about it and more secure if I could figure out how to do it myself. Oh one other thing I was wondering was why it does a ping check when you try to get the Script working? Seems kind of odd to need an internet connection no?
    Because its setup to check for updates to the application I believe. So it checks for connection then asks if you would like to check for an update

    From my Galaxy Note 2 via Tapatalk
    If i've made life easier buy me a Macchiato
  17. #42  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by DroidXcon View Post
    Because its setup to check for updates to the application I believe. So it checks for connection then asks if you would like to check for an update

    From my Galaxy Note 2 via Tapatalk
    Ah ok that makes sense. Made me feel wary when I saw it but that would make sense. Still don't get why the one I was successful with though won't let me put it on the multiview:/
  18. #43  
    DroidXcon's Avatar

    Posts
    11,645 Posts
    Global Posts
    11,775 Global Posts
    ROM
    Stock for now

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by dominick_7 View Post
    Ah ok that makes sense. Made me feel wary when I saw it but that would make sense. Still don't get why the one I was successful with though won't let me put it on the multiview:/
    Yeah I don't know enough to to have an answer for that

    From my Galaxy Note 2 via Tapatalk
    If i've made life easier buy me a Macchiato
  19. #44  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by pool_shark View Post
    I didn't notice that it did a ping.
    I see other directions referring to framework.. is that why it's not working, because I don't have that?
  20. Thread Author  Thread Author    #45  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by dominick_7 View Post
    I see other directions referring to framework.. is that why it's not working, because I don't have that?
    No. I didn't install that either. You only need that if you're doing the ROM framework.
  21. #46  

    Default Re: [How to] edit apps for use with multi window.

    Hmm.. don't get it.. successful decompile, successful recompile, it says signed on the title.. but nothing but pure unadulterated fail.
  22. Thread Author  Thread Author    #47  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by dominick_7 View Post
    Hmm.. don't get it.. successful decompile, successful recompile, it says signed on the title.. but nothing but pure unadulterated fail.
    What app?
    I can try it tomorrow.
  23. #48  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by pool_shark View Post
    What app?
    I can try it tomorrow.
    Chrome. I know it's been apparently done by others but would Definitely like to know how/why it doesn't work for me even though it says it's successful.
  24. #49  

    Default Re: [How to] edit apps for use with multi window.

    Chrome already works with Multi View anyway?
  25. Thread Author  Thread Author    #50  

    Default Re: [How to] edit apps for use with multi window.

    Quote Originally Posted by dominick_7 View Post
    Chrome. I know it's been apparently done by others but would Definitely like to know how/why it doesn't work for me even though it says it's successful.
    Check your edits to the xml, it worked for me.

    Quote Originally Posted by A2H GO View Post
    Chrome already works with Multi View anyway?
    Unless the app has been updated to accomodate multi view or you're rooted and have the mwc tool, no it doesn't.
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. How-To Enable ADB for the Kindle Fire (Windows)
    By Jerry Hildenbrand in forum Amazon Kindle Fire
    Replies: 9
    Last Post: 10-19-2012, 08:05 PM
  2. Replies: 1
    Last Post: 07-25-2012, 04:52 AM
  3. How to "enable video" in settings for use with Skype
    By rocksdahouse in forum Samsung Galaxy Tab 10-inch
    Replies: 1
    Last Post: 10-03-2011, 10:28 AM
  4. [HOW-TO] Work-arounds for issues with stock Nook Color ROM
    By hitman-_-45-_- in forum Barnes & Noble Nook Color
    Replies: 21
    Last Post: 03-25-2011, 05:36 AM
  5. App for using an Android device as input to a PC
    By johnssm in forum Market Help
    Replies: 0
    Last Post: 12-10-2010, 08:56 PM

Posting Permissions