question about xml editor, and porting? - Windows Mobile Development and Hacking General

I use a translator when writing this post.
I have a question about the XML editor of an android. I wanted to see what they consist of files in the system, android, but still found nothing that could be at work. It is possible to porting applications HTC hero from running on the Samsung Galaxy?

Related

[Q] Add a new languaje for htc Hero

Hi, I'm working on a project of international collaboration with Ethiopia and as part of the work I need to translate the menus of htc hero.
I'm trying disassembling applications and modifying system files, but when I try to install them on the phone gives me problems when modifying the file update.zip
anyone knows how to do this?
thanks.

[Q]Modifying Cyanogen: "vendor" overlay or fork?

Hi all,
I've been theming a little but figured it'd be better to compile from source (something to do with custom layout xmls). I'm quite new to ROM compiling so I have a question for the ROM builder here: what is the way to go for modifying/adepting CM?
I can "fork" it and use the structure and build files from the original and just replacing/editing the files in those directories. But a more elegant way would be to add the modifications in a seperate vendor overlay and use that instead (with the DEVICE/PRODUCT_PACKAGE_OVERLAYS). That way I can keep the original files and keep the modifications in a seperate directory. I've been experimenting with that a little, but with no succes so far. So I'm not even sure it can be done.
Thoughts, opinions?
krispijn_s said:
Hi all,
I've been theming a little but figured it'd be better to compile from source (something to do with custom layout xmls). I'm quite new to ROM compiling so I have a question for the ROM builder here: what is the way to go for modifying/adepting CM?
I can "fork" it and use the structure and build files from the original and just replacing/editing the files in those directories. But a more elegant way would be to add the modifications in a seperate vendor overlay and use that instead (with the DEVICE/PRODUCT_PACKAGE_OVERLAYS). That way I can keep the original files and keep the modifications in a seperate directory. I've been experimenting with that a little, but with no succes so far. So I'm not even sure it can be done.
Thoughts, opinions?
Click to expand...
Click to collapse
The way I did it on Floyo is the following:
I forked the android_vendor_cyanogen repository, and then add this line to the products/common.mk:
Code:
# Common CM overlay
[B]+#PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/floyo[/B]
PRODUCT_PACKAGE_OVERLAYS += vendor/cyanogen/overlay/common
Then all my floyo specific theming goes under overlay/floyo in the same repository. You can see my initial commit for this here - unfortunately its not just theming stuff there....
To build the CM untouched theme for floyo, I (almost) only comment the above line and rebuild. In my case, I have also changed some default colors in the code itself, under the framework/base package and the CMParts package. To build the CM theme I undo these changes as well and then rebuild.
One final note, if your building just one ROM with one theme, you should not have any problems with this. If your thinking of using this to build the framework-res.apk only, and possibly other files your theming, and then pushing only them to a CM6 based ROM, from my experience you'll run into all kinds of sh**.
The way I make the CM theme today, is I do the above changes (comment the above line and undo my default colors code in the code of the framework and CMParts). Then do a completely clean build (remove the entire out directory first). Finally I do a full recursive diff of the entire ROM against the entire regular floyo ROM and package only those files which changed under system/framework/ and system/app/. Basically, I am releasing 2 different ROMs, just to save bandwidth I only package the diffs.
Hope this helps.
Exactly what I wanted to know.. thanks man!
krispijn_s said:
Hi all,
I've been theming a little but figured it'd be better to compile from source (something to do with custom layout xmls). I'm quite new to ROM compiling so I have a question for the ROM builder here: what is the way to go for modifying/adepting CM?
I can "fork" it and use the structure and build files from the original and just replacing/editing the files in those directories. But a more elegant way would be to add the modifications in a seperate vendor overlay and use that instead (with the DEVICE/PRODUCT_PACKAGE_OVERLAYS). That way I can keep the original files and keep the modifications in a seperate directory. I've been experimenting with that a little, but with no succes so far. So I'm not even sure it can be done.
Thoughts, opinions?
Click to expand...
Click to collapse
If you want just to change xmls - i think apktool is more simple way to do this .
hawst said:
If you want just to change xmls - i think apktool is more simple way to do this .
Click to expand...
Click to collapse
True, but I want to do more than that eventually... also compiling is fun and it gives me a better understanding of Android

[Q] Khmer Unicode For Android

Dear All,
I would like to know if i can add font support for HD2 android? My browser can not read Khmer languages while browsing. Please any body help me to make my browser support Khmer Language.
Thank in advance.
Any body can help me please? :-(
same problem here... :/
Sent from my HTC HD2 using XDA Premium App
If I know where the damn Fonts folder is located on Android and how to create the Virtual keyboard then I will implementing it
Anyway, I was hoping that Android has the same file directory as the Unix machine and devices like Nokia N900.
Linux and Nokia N900:
/usr/share/fonts
Windows:
C:\Windows\Fonts
Android???
If someone could englightening on this matter and directing me to the right place on a SDK of the Virtual Keyboard then I would deeply appreciated.
We've got to add Khmer language support to Android. It has been nearly 5years long and still no Khmer support. This is outragous.
maxximuscool said:
If I know where the damn Fonts folder is located on Android and how to create the Virtual keyboard then I will implementing it
Anyway, I was hoping that Android has the same file directory as the Unix machine and devices like Nokia N900.
Linux and Nokia N900:
/usr/share/fonts
Windows:
C:\Windows\Fonts
Android???
If someone could englightening on this matter and directing me to the right place on a SDK of the Virtual Keyboard then I would deeply appreciated.
We've got to add Khmer language support to Android. It has been nearly 5years long and still no Khmer support. This is outragous.
Click to expand...
Click to collapse
check /system/fonts
Sent from my HTC HD 2 powered by HYPERDROID
Khmer fonts
The Fonts folder is under system (System\Fonts)
My Galaxy Tab is rooted, I am using ASTRO File Explorer but can not copy fonts to that folder. Anyone can help?
maxximuscool said:
If I know where the damn Fonts folder is located on Android and how to create the Virtual keyboard then I will implementing it
Anyway, I was hoping that Android has the same file directory as the Unix machine and devices like Nokia N900.
Linux and Nokia N900:
/usr/share/fonts
Windows:
C:\Windows\Fonts
Android???
If someone could englightening on this matter and directing me to the right place on a SDK of the Virtual Keyboard then I would deeply appreciated.
We've got to add Khmer language support to Android. It has been nearly 5years long and still no Khmer support. This is outragous.
Click to expand...
Click to collapse
thanhvv said:
The Fonts folder is under system (System\Fonts)
My Galaxy Tab is rooted, I am using ASTRO File Explorer but can not copy fonts to that folder. Anyone can help?
Click to expand...
Click to collapse
Using Root Explorer and mount R/W to overwrite the system file.
Once rooted, installing the font is not the hard part. The font still doesn't render correctly. It's missing a script or something that can assemble the subscripts.
Khmer Keyboard is easy: Install MultiLing Keyboard and it's Khmer plugin from Android Market.
I have installed this two but viewing web site still not correctly display.
Do you have any idea on how to fix this ?
hollow1 said:
I have installed this two but viewing web site still not correctly display.
Do you have any idea on how to fix this ?
Click to expand...
Click to collapse
Android can read Khmer Unicode but lacks the script to properly display it. This problem touches the multi keyboard as well. To correctly display webpages in Khmer, take a look at the Khmum Browser from Beeline at Android Market.
CafeKampuchia said:
Android can read Khmer Unicode but lacks the script to properly display it. This problem touches the multi keyboard as well. To correctly display webpages in Khmer, take a look at the Khmum Browser from Beeline at Android Market.
Click to expand...
Click to collapse
I got it to displayed the characters properly but the bottom consonants won't get rendered. This pathetic, tried everything but couldn't get it to rendered unicodes.

[Q] Customizing existing NAND ROM

I 'm using [July 24th] [Sense 3.5] Energy™ -.¸¸.·´¯ Sense 3.5 build that just works! NAND ROM that best suits my needs. However I saw [11 SEP] Barebone CM7 v2b and came to idea to make similar thing with this rom for my personal use.
I would also like to implement NativeSD ROM, with that difference of leaving system folder on NAND rom. To be absolutely clear here, I 'm using linux OS and I 'm quite familiar with modifications that have to be done, so I don 't ask for help with that.
I would like to know is it possible to deploy nand rom to android emulator, and than use android emulator for development purposes for further customization, or is there some other tool that can be used for this? I did install android kitchen and I not very pleased with that.
When removing or adding system or market apps is it just enough to add/delete them, or are there some other things that I need to pay attention to?
Also when removing apps how can I see framework dependences to remove them as well if they are not needed anymore by other app?
I hope that is not to complicate to understand what I meant with this topic.
Thanks in advance.
The answer to my question about framework dependencies of a certain *.apk file that I want to remove, can be found in AndroidManifest.xml of that same *.apk file. Although manifest file is encrypted, information about what framework libraries are used can be viewed with aapt command (exp: aapt l -a someapp.apk).
I suppose this is the right way for doing this. Please correct me if there is a better way.

[Q] Guide on how to use libraries

Hello Friends,
I have just been introduced to android libraries and have checked out a lot of them. But I have no idea how to use them in my android app.
So can someone post a guide on how to Search, Download, and integrate them in our android project. As I have searched on internet and got to know that we have to put the jar in lib folder, and use the particular classes, but can someone guide how to do the same and how to use them in out layout to give cool effects to our app.
Thanks
In the layout you need to put the full name of the class (including the package):
Code:
<com.example.test.MyButton
... />
You have already answered the question how to integrate them.
For search this is the best starting point: http://forum.xda-developers.com/showthread.php?t=2226547
Second is Google.

Categories

Resources