Help modifying Skype orientation mode - Android Software/Hacking General [Developers Only]

Hi. I'm new to this forum and I hope I can be precise and clear.
The new update of Skype forces us to use the app in landscape mode, which is kind of annoying. Searching on Google, I found that there are mainly two ways to force the app to keep portrait mode: using another app to control orientation or modifying this setting in Androidmanifest.xml file. I went for the second option.
Then, following a first tutorial (with apktools) , I was able to decompile the Skype apk, and add android:screenOrientation="portrait" to the XML file, as you can see in the pic, and recompile it. The problem is that when I tried to reinstall Skype using the modified apk, I got the error "application not installed", as you can see below.
Following a second tutorial (using apktools) , I decompiled the apk, added android:screenOrientation="portrait" to Androidmanifest.xml but when I tried to recompile I got the error "invalid resource directory name" (check out the print screen).
Any solutions? Am I doing something wrong? Thank you.
Sent from my GT-P3110 using xda premium

Edit: I was able to install the modified apk but it still opens as landscape...
Sent from my GT-P3110 using xda premium

I'll try to take a look when I get home in about an hour, but they might be setting the orientation in java. Is the app always in landscape or just sometimes?
Sent from a Toasted Devil

netwokz said:
I'll try to take a look when I get home in about an hour, but they might be setting the orientation in java. Is the app always in landscape or just sometimes?
Sent from a Toasted Devil
Click to expand...
Click to collapse
Always landscape

Nvm,solved problemas.
Sent from my GT-P3110 using xda premium

Related

[App] Samsung Galaxy S Launcher (TouchWiz)

All credit goes to rolle3k from the Nexus One Forums, all I'm doing is reposting it here for the Evo users
Original thread
Features
-It does not include the Samsung widgets
-It does work on Froyo and Eclair... I'm running it on the DamageControl Rom
-1 to 7 homescreens
-Application Dock
-App drawer is iphone like style
I would recommend you download the app "Home Switcher" from the market, if you didn't already... Makes it very easy to switch between home replacement apps, and set as default.
Download
TO ADD APPS TO THE DOCK, open up the all the applications by pressing the applications tab, then press menu, then press edit, and drag your apps to the dock as you wish.
Heres some pictures
nice contribution. thanks
This is one of the many reasons I love android! Something on another android device you want? Wait a few days and it shall be so!
Can't install says unable to parse
Sent from my PC36100 using XDA App
kpkimmel said:
Can't install says unable to parse
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
What rom are you using?
kpkimmel said:
Can't install says unable to parse
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
You are using the built-in application installer most likely, try something like Apkatcher and try installing it again.
Can't get it apkatcher just shows black screen with cancel button
Sent from my PC36100 using XDA App
working perfect and uses less memory than stock htc launcher
Im running the current ota update stock and loaded this launcher perfectly ( allow install of third party apps under settings, used apollo file manager). All you need is the samsung widgets plus the 4g toggle ( look in other posts) and you have the epic without a keyboard. Thank you for the option. Love android. PS apple i have reception no matter how i hold my big a$$ phone.
Can someone send me the file...won't let me download
Sent from my PC36100 using XDA App
Forget it can't install no matter what I tried Apollo astro..says can't install
Sent from my PC36100 using XDA App
Everytime I dl it says corrupted
Sent from my PC36100 using XDA App
kpkimmel said:
Everytime I dl it says corrupted
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
It did that for me as well, I had to download with a computer, then transfer the files to the phone. For some reason when I downloaded directly with the EVO, the file kept getting cut off at 13kb. The file is like 1.5mb
Can someone who's downloaded this and installed it successfully please upload the. apk to RapidShare or something? The problem is that download link lists the file at 1.4mb but when you actually download it the file only ends up being 13kb or something. I believe there is something wrong with that particular download link/site. Thanks
EDIT: posted this before I saw the post above. Sorry and thanks
nice, love the style. any chance on getting widgets?
http://dl.dropbox.com/u/1929316/TouchWiz30_rolle.apk
Love it
Sent from my PC36100 using XDA App
Better one
Sent from my PC36100 using XDA App
Sorry here is what the apps bin looks like
Sent from my PC36100 using XDA App
First, thank you for this, I love it! Second, is it possible to remove the dots at the top? My taskbar already looks busy enough...
<3
Edit: Only on the main screen, the dots on the apps page is useful.
Not without rewriting the apk...you can do it...don't think its worth the time
Sent from my PC36100 using XDA App

Text2Icon problems

Every time I try to change my icons to the files that Text2Icon or SimpleText create, I get force closes using Launcher Pro Plus. Anyone else having this problem? How do I fix this without switching launchers? I like LPP for the widgets.
Sent from my HERO200 using XDA App
I also got this but just copy the file with a file browser to other location before changing, using Quick Pic to assign them.
I just tried that, didn't work.
Sent from my HERO200 using XDA App
Text2Icon has recently had a chance that may fix this issue. If you email me vial the email link on the market i will be more than willing to provide additional support

Page transitions for AOKP ROMS...

Hi everyone,
I am using AOKP ROM build 40 and I want to change page transitions or app opening transitions....
Please can anyone help me with this....I had seen some really cool transition animations like the dialog box popping from the bottom in one of my friends SG ACE ROM....
Thanks
Sent from my GT-P1000 using xda app-developers app
I just use GO Launcher as my default launcher and use the animations/transitions from there. So many to choose from and for different scenarios too.
Personally, I set all my "effects" to Random. That way every time I switch home screens or enter the app drawer, it's different!
marcooshiro said:
I just use GO Launcher as my default launcher and use the animations/transitions from there. So many to choose from and for different scenarios too.
Personally, I set all my "effects" to Random. That way every time I switch home screens or enter the app drawer, it's different!
Click to expand...
Click to collapse
I am asking for animations which are for built in things...like the dialog box for everything or any app opening....I figured out that it can be done by editing anim folder in Res folder of framework.apk....but still I need someone to give me some some animations which are in XML format so that I can edit the apk....
Sent from my GT-P1000 using xda app-developers app
Framework Tool from market will give you that and more.
Sent from my GT-P1000 using Tapatalk 2

Screen Recorder. Lets find the CSC hook

As I stated I'm trying to figure out the csc hook to enable in the features file for the screen recorder. I've recompiled the framework and apk but didn't see anything figure a few more eyes wouldn't hurt. So here are the files for the screen recorder
APK
http://db.tt/7xCjgvUl
FRAMEWORK
http://db.tt/JLR3H57d
LIBRARY
http://db.tt/1PwVNwYq
I will try launching with actions discovered through terminal later tonight to see I'd I can get anymore answer. But anyway...
Sent from my SCH-I605 using xda app-developers app

Editing Apps

The goal is to be able to change small things in some apps.
For example, there is an app called SnapChat which allows you to send a picture for 3 seconds and then closes the picture. In this scenario, I would like to be able to edit the .apk file to allow to stay for 4 seconds. Would this kind of this be possible?
How so?
Um....you can do this within the app.....stock....
Sent from my Eclipsed S3 running that KTOONZ Sauwce
post this in android hacking. it is not a verizon gs3 topic. you'll find more support there.
Matthenson20 said:
Um....you can do this within the app.....stock....
Sent from my Eclipsed S3 running that KTOONZ Sauwce
Click to expand...
Click to collapse
I know, it was a poor example. But I'm just wondering if it would be possible to do small changes like this to apps?
Dgameman1 said:
I know, it was a poor example. But I'm just wondering if it would be possible to do small changes like this to apps?
Click to expand...
Click to collapse
most apps are customizable. there are threads over in android general/hacking specifically about this topic.
OK I have looked a lot. I want to change a lot of things not just an app. I want to change my app icon color I want to change the color of my clock widget my wheat her widget the resize outline of the box also the color of the lock on the lock screen. Anybody pm me plz I am clueless at this stuff.
Sent from my SCH-I535 using xda app-developers app
You can change alot of things in apps just by playing around with them. Using Apktool or another decompiling tool, you can change alot in the res/values folders Theres alot of stuff you can play around with in the various xml files
tihsllub said:
OK I have looked a lot. I want to change a lot of things not just an app. I want to change my app icon color I want to change the color of my clock widget my wheat her widget the resize outline of the box also the color of the lock on the lock screen. Anybody pm me plz I am clueless at this stuff.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
use the search box at the top of the page. type in theme/mod apk's. pages of stuff will come up. here's 1 place to start- http://forum.xda-developers.com/showthread.php?t=2069287
So you are saying I can't decompile or recompile apks on my phone? I have to use adb to push/pull and then use a program to decrypt the XML then I can change the values to what I want?
Sent from my SCH-I535 using xda app-developers app
tihsllub said:
So you are saying I can't decompile or recompile apks on my phone? I have to use adb to push/pull and then use a program to decrypt the XML then I can change the values to what I want?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
You're gonna have to adb push/pull unless you build your own ROM.
You can get apktool from here: https://code.google.com/p/android-apktool/
[email protected] OK. :/ hard drive crashed.
Sent from my SCH-I535 using xda app-developers app
You can swap out images but you definitely can't change app settings like animations and such without the right tools and procedures.
[email protected]'$ [email protected]@XY
OK. I don't want yo change animations just yet. I want to edit app icon colors widget colors. I pretty much want to theme everything.
Sent from my SCH-I535 using xda app-developers app
use 7zip on your computer to swap out png's. change app's name from whatever.apk to whatever.zip then move it to your computer using 7zip open the archive. don't extract or unzip. navigate to res folder and open it. find the png files you want to change and insert your png files you want. make sure they are the correct size, in the correct format (png) and are named correctly. exactly as they are in the zip file. then close the zip transfer it back to your phone and rename back to whatever.apk i do suggest doing some more research before doing this. there are a lot of threads dedicated just for this. use the search engine at the top of the page. XDA provides it for this exact reason.

Categories

Resources