Developer's startup kit for android development - Samsung Galaxy W I8150

For the benefit of newbies developers that want to venture into Android app development, here's a packed up .zip with all the tools you need and a readme.txt to guide you step by step on what to install and what is used for what....
Also included a sample stupid program I wrote just for fun while beginning to learn the tools which includes API to read from resource image and an asset sound file. That should be the fundamentals API you need to create an extremely simple app.
good luck!
I cant post in s/w development forum due to being a newbie so posted in here instead....

You forgot to attach zip archive.

Related

Newbie Questions: tons of them : mostly mkrom RomKitchen

Hello All,
Firstly, I would like to say how great this website is and tip my hat off to all the people involved in maintaining this site.
I am very new to the whole XDA modification scene and have a ton of newbie questions. I know some of these questions have been asked before; however I still have not grasped the concepts fully. I have tried to restate the questions asked before so that I (and hopefully other newbie’s ) can fully understand how to modify XDA’s.
Any help anyone can provide will be greatly appreciated.
So here goes the questions:
When creating a customized ROM (using MKRom) my understanding is that one has re-create the initobj.txt and the Default.reg. Is it possible just to install all the applications you want, and then download the initobj.txt and the Default.reg and place them in the cfg directory for the custom ROM?
If this does not work, how does one know what to edit in these files?
When MKROM request a Rom image, is it requesting the backup ROM IMAGE? Will any image do?
When backing up a ROM, what option does one have to select to backup the operating system, settings and programs inside the ROM? Does CE do all of this?
What is CE, Boot, GSM stand for in the boot menu?
If one wants to just create a new boot image, what is the simplest way? Does one have to create a whole new ROM?
If one wants to just have the unlocking software, what is the simplest way? Does one have to create a whole new ROM?
When creating a Rom using RomKitchen, it asks you add Add your own ROM files? Is this your backup rom?
In RomKitchen one of the readme files asks for:
bootimage.bmp,_initobj.txt,_initdb.ini,_default.reg,xipchain
Is the default.reg and the initobj.txt in this directory have to be pre altered for the new programs one wants in the Rom like the way the MKROM wants them? Does the setup program create them for you?
Is the bootloader.nb0 file specific to the boot loader you have?
Very confused what is exactly needed in the /CFG directory.
In the CFG directory do you place your backup Rom dump?
Hi ...
Do you call these as newbie questions ??!! :shock: ... I can hardly wait to see your advanced ones :wink:
If I got you right, you want to "create" your own ROM instead of doing like most of us by "cooking" a new ROM in one of the kitchens like www.yorch.net
I may advice you to move this thread to the "Hacking it" forum which I see it a better place than here.

DLL Compiler / Compilation Tool Needed!!

Sorry for the new thread - but I need a compiler that will rebuild dlls from the decompiled state after a rom dump. I attached a sample dll that I want to work with.
I know there was one here at some point in the past - but I can't seem to locate it, or anything about it
Mods - please do what you wish with this after (hopefully) it gets answered!
I'll keep an eye on the thread Matt. I've also copied it over to the dev/hack thread, since it's frequented by quite a few members that may be able to answer this for you.

Ubuntu / Linux auto sign tool?

I have been toying with the idea of making a theme. Sounds like fun and the How To's here are really thorough (by the way, I appreciate that, those things must have been quite the labors of love).
As you can tell from the thread title, my OS of choice is obviously Ubuntu. The autosign tool sounds pretty convenient, but I notice it is for Windows. I've searched a bit, but honestly I am getting tired of thumbing through thread after thread looking for the answer and was hoping for a friendly nudge in the right direction.
Anyway, long way around to these questions:
1, when I re-sign an apk, do I use test-keys, do I create my own key, or do is that something JDK will create for me to use?
2, I don't want to create a theme that makes people need to wipe before switching, the template is up to date on the How To thread? Are there templates for JF ADP1.1, and maybe even RC8 as well? Or was there a thread I could read about taking the necessary parts of JF's update and building a template of mine own from that?
3, To actually resign an apk, you have to edit some hex code right? If there truly is NO tool for Linux, I could use some directions on where to find how to manually sign a file. Then hopefully I can find / convert / create a tool in Linux to handle the dirty work for me.
I guess this is what I get for coming in so late into the game.
Also, I am curious if anyone else creates themes in anything other than Windows... any *nix creators out there?
ok, first off to resign an apk or a zip you dont have to do any hex editing at all, in fact, to make a theme you dont have to do any hex editng.
2nd, use my default themes as in the stickies as a template to build your theme, it will not wipe.
3rd to resign in linux, which I haven't done, you will probably need the original signing tool which can be found in jf's recovery.img .zip[ he provided a while ago. I believe it is stickied on android development.
This is the command to resign them
java -jar testsign.jar >inputfile> <outputfile>
Hope this helps
Stericson
Thanks for the super quick reply
Ok, I'll give a search for "testsign.jar", that should get me in the right direction. Once I have that I guess it is time for some experimenting. It shouldn't be hard to develop a shell script that takes every file of xxx type, from a directory and then pass them as values to the testsign.jar app one by one. I had a shell script do something like this to rename all of my photos.
I resign the apk and zip files then.
Thanks Stericson, now I am off to find that testsign.jar, make sure I have the up-to-date default themes, and play around a bit.
EDIT:
SignApk.jar is a tool included with the Android platform source bundle.
testkey.pk8 is the private key that is compatible with the recovery image included in this zip file
testkey.x509.pem is the corresponding certificate/public key
Usage:
java -jar signapk.jar testkey.x509.pem testkey.pk8 <update.zip> <update_signed.zip>
Click to expand...
Click to collapse
This is what I need isn't it? I thought that sounded familiar, I had this downloaded from the whole "let's explore how to root my phone" process.
oh yea, ooops, that is right...sorry I have a custom version of the tool I use. Sowwy.
But that is right.
that cmd line will sign both apks and zips
Stericson

[Q] Any help understanding the language inside .smali files?

I'm getting deeper into some of the modding that I want to do, and I've opened up StatusBarIcon.smali inside services.jar, along with StatusBarIcon.xml inside the framework-res.apk
The XML is FAIRLY understandable for me, but the stuff inside the .smali file is REALLY hard to make sense of.
Is there any such thing as a tutorial on the programing language used within, an online help or somesuch for it?
I have done programming before, but it's been a long time (read: BASIC and then the programing language for the Ti-85). Still, I'm a fairly quick learner if I can get a hand up.
Thanks.
MDM
no one reply?
i have same question like you
http://s.android.com/tech/dalvik/dalvik-bytecode.html
Enjoy
Found this in a google group. This maybe useful
" All opcodes (commands) are here: http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html , here is some info about registers: http://code.google.com/p/smali/wiki/Registers , and types: http://code.google.com/p/smali/wiki/TypesMethodsAndFields "

LG Theme Template (Android Studio Project)

I've seen a lot of people asking how to exactly theme the LG devices, a while ago i made a template in Android Studio.
This is based on another Template i found that was just for Settings.
Anyone familiar with Android Studio should know what to do with this.
Included in the template package is: "common", "settings" and "_app"
"common" is used for the package: com.lge (which is comparable with SystemUI/Framework-res)
"settings" is used for: com.android.settings (Settings App obviously)
"_app" is the app for the theme itself.
If you want to provide themeing to more apps, you will have to add them yourself.
Make a new folder for the app you want to theme, let's say: Phone.
In this folder you add the resources and manifests to make this work (you can copy/modify them basically from 'common' or 'settings')
Add this folder to 'settings.gradle' (main folder)
Code:
include ':_app', ':common', ':settings'[COLOR="Red"], ':phone'[/COLOR]
Build all the seperate files (common, settings and phone (and whatever else you might add))
Then build app, making sure the other files are built and inside "_app\src\main\assets"
I won't be explaining stuff, hope everyone will work together on this one.
Anyways, here's the ZIP file, show me some love for this, and please show the stuff you make using this :good:
[
Mod Edit, link removed.
Thread Closed and PM sent regarding this thread....
Mjuksel said:
I've seen a lot of people asking how to exactly theme the LG devices, a while ago i made a template in Android Studio.
This is based on another Template i found that was just for Settings.
Anyone familiar with Android Studio should know what to do with this.
Included in the template package is: "common", "settings" and "_app"
"common" is used for the package: com.lge (which is comparable with SystemUI/Framework-res)
"settings" is used for: com.android.settings (Settings App obviously)
"_app" is the app for the theme itself.
If you want to provide themeing to more apps, you will have to add them yourself.
Make a new folder for the app you want to theme, let's say: Phone.
In this folder you add the resources and manifests to make this work (you can copy/modify them basically from 'common' or 'settings')
Add this folder to 'settings.gradle' (main folder)
Code:
include ':_app', ':common', ':settings'[COLOR="Red"], ':phone'[/COLOR]
Build all the seperate files (common, settings and phone (and whatever else you might add))
Then build app, making sure the other files are built and inside "_app\src\main\assets"
I won't be explaining stuff, hope everyone will work together on this one.
Anyways, here's the ZIP file, show me some love for this, and please show the stuff you make using this :good:
[
Mod Edit, link removed.
Click to expand...
Click to collapse

Categories

Resources