Get source of Android Appd - Android Q&A, Help & Troubleshooting

Hello,
I would like get the sources of apps like gallery3d or of the stock android launcher and modify them.
I know the best way is too download it with git, but i havent linux and i didnt want to download the full androidsource (i could it via a vm).
My question: can i download tge sources of these apps anywhere?
If not, could somebody upload the gallery source and the launcher source from gingerbread for me?
Metin
Sent from my HTC Desire using XDA App - sorry if it isnt correct english, my english isnt perfect

Android.googlesource.com/packages/Launcher2.git
^^ clone this
Do the same for other apps you need
From my fingers to your eyez

There are GIT Clients for Windows and Mac, just google it.

thanks portablegit works out for me

i made a new project with eclipse and copied all in the project but there are a huge count of errors is that normal?

MetinKale38 said:
i made a new project with eclipse and copied all in the project but there are a huge count of errors is that normal?
Click to expand...
Click to collapse
Do you have the android sdk?

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

Thx for moving.
Ok ive solved it, if i copy all it doesnt generate the R. Class, ive to copy the resources first
Sent from my Desire - sorry if it isnt correct english, my english isnt perfect

Related

[Q] What is an Easy way To Develop Android Games/Apps

EDIT: How Can I Easily Make a Sidescrolling Platformer Using An Easy Scripting Language For Android
Bump
Nobody Answered Yet I Modified My Post
Im Really Eager to start Making Simple Platforming Games For Android
bump Someone please post
There is no easy way. Anything that is worth doing is always worth the work you need to do.
Here is a Java-Script Builder
Don't know if you know anything about writing script or anything but you can PM(private message) me with an email address and I'll send you a zipped attatchment with a program for windows pc. It's called Sencha-Touch 1.1.1 App Maker.
I'm sure if your running windows on your PC and your here then you already have java runtime. Just update it if necessary at Java.com. Just click where it says "Do I Have Java" to check and update your version.
You will probably also have to go to Oracle(the java website) and download and install the "Java SE 7u2" for developers from the download section.
If you Need direct links to the Java's, I will include them in email to you.
Hope this gives ya some insight.
Can't get the zip to upload to an email but can give ya the website link in one. Don't think I'm allowed to post outside links.
hi
shubshub said:
bump Someone please post
Click to expand...
Click to collapse
Have you tried out DaVinci Studio? it's a dev tool based on HTML5 and JavaScript...
You can get it for free at their website and ask questions on their forum if you need help with it.
Eclipse + Android SDK
I highly recommend using the standard Eclipse setup with the Android SDK. Java is pretty easy to learn, and can create games that are very simple to complex. I was confused where to start off as well, and tried out AndEngine. There isn't much documantation for AndEngine, so I followed Kilobolt's tutorial on game development. One of the best tutorials of programming that I have ever seen. I am working on a platformer at the moment, and everything is going pretty well. In simple, google "Kilobolt". He has tutorials for setting everything up. However, the tutorial begins with standard Java development, and Android comes into play when you are ready to port the game. Good Luck. :good:
Thanks for the info, I'll check it out.

Apktool + ICS + Ubuntu 10.04

Hello dear readers forum. I have a question that has matured well, very important to me now, and it is compiling and decompiling applications from the operating system Android ICS 4.0.X.
Tried and aapt from the android-sdk and a bunch of files from xda-forum, but when trying to compile the application, climbs a lot of mistakes, I read that you need to remove ODEX from the archive, and then put in place - about
I work in Ubuntu 10.04. I can read, Google has enjoyed, was looking for.
Having tried all the options from the forum and those that could be found.
For the record - I work with the phone THL W1 - which was just installed Android ICS.
Why do it?
I want to add the Russian language and some change.
I hope for a clear and wise response. Believe me, if I had not tried to find anything - I would not write here.
Sorry for my English. I am writing a google translete.
P.S. I love xda forum)))

[HELP]New emoji in stock Mms.apk in CM9

Hi everybody,
first of all I'm sorry if I'm posting in the wrong place
I'm trying to add new emojis to stock Mms.apk of cm9...
(Like emoji 2 for Iphone in iOS 5.1+ and in the new version of Whatsapp)
I'm not so practice with application development, so I'm here to ask if anybody can help me...
I have decompiled the original app, added the new emojis in res/drawable (png 40x40 32bit), added the strings in public.xml but now I can't go on...
I tried to rebuild and sign app, but when i put in in my system folder and try the mms application, new emojis don't appear anywhere...
Can someone tell me where I'm wrong or what I'm missing?
Maybe the libemoji.so needs editing?
If so, how can I modify a .so file?
I'm on Windows 7
Thank you all for your attention and I'm sorry if this is a noob question...
Regards
Stefano
Edit: Ok, I understood that the way i was moving war wrong... I need to compile the app from source... So I downloaded all the files needed by cyanogenmod github (https://github.com/CyanogenMod/android_packages_apps_Mms) and I downloaded the repository as a zip file... I also understood that the file that need to be edited is emojiparser.java and I suppose that I know how to edit it, but what I don't know is how to recompile the apk file to be installed on the device... Some advice?
Please, help! :'( :crying:
Phone: Samsung Galaxy S Plus (i9001)
ROM: CyanogenMod 9 by ivendor RC4
Kernel: CastagnaIT 6.6 ExtremeUndervolt
Baseband:I9001BOKQ3
Recovery: CWM 6.0.1.2 Touch
News?
Does anybody have news?
Have you tried simply copying over the Messaging app from CM10?
Sent from my Galaxy Nexus
It seems that mma application of CM10 can't be used on CM9 and looking TO the code it doesn't support newest emojis... Am I wrong?

[Q] I want to know how to change the system camera apk of the GS3.

Greetings!
Well, is how the title says. I want to start making my own systems apps. For instance, I want to start developing a camera apk for my GS3 but the problem is that I don't know how to do it. I don't know how to open those internals files like xml files(they do not open correctly with a note app), .rsa files, .mf files, .sf files, .dex files, .arsc files and the list continues. How to compile and discompile apks or flashable files...
All of this is because I want to star my own proyect, and through this way, to enter the android developing community of the GS3!
If anyone could help me to accomplish this I would be VERY grateful! If theres a guide (I tried to look for one but my research did not throw any result) that would be better!
Hope you could understand me because English is not my main language, but hey, I'm learning
Thank You SO MUCH for YOUR TIME!
Personally I think you should start to learn the programming and code from your toaster, but hey - if you want to damage your S3 - it is your free will (I hope)
OK, let's go to the matter, first. Assessing your coding skills based on your questions, I decided that you should start your learning from this.
Furthermore, to be more presice against your questions, if you would become literate expert in above linked knowledge, feel free to use
this as a small sample.
If it made you curious, why not try for even more interesting news?
OMG ROTFL:laugh::laugh::laugh::laugh:
Logic says go to the Android Development Hacking / Chef Central and the other similar forum on XDA .
jje
JJEgan said:
Logic says go to the Android Development Hacking / Chef Central and the other similar forum on XDA .
jje
Click to expand...
Click to collapse
I doubt, as he does not know even how to open xml files...
Well, I am now trying to do my best. I think I can manage myself with the info I found...

[Q&A] Definitive guide to Rooting the Gear S

Q&A for Definitive guide to Rooting the Gear S
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for Definitive guide to Rooting the Gear S. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Thank you!
Thanks for the tutorial....worked first try!
Wow, I have never seen rooting of anything so well explained.
I mean, even I may be able to do it, if I can figure out the gain over potential risk if I screw it up.
Thanks for the great write-up!
Does anyone know how I can chnge the clock font I want my custom font
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
On my gear s sorry
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
Why are the last two posts in the rooting guide thread?
ronaldheld said:
Why are the last two posts in the rooting guide thread?
Click to expand...
Click to collapse
it was my first really long post and I didnt know if I would get hit with a size limit or such. plus I cant stand when then happens and some genius comes in and post something totally off right in the middle of a writeup.
I meant cricket2979's posts
ronaldheld said:
I meant cricket2979's posts
Click to expand...
Click to collapse
no clue, he's been blowing up my inbox too....
Forgot this thread was here. Anyway I just copied and pasted my last post in the Dev forum to here so a mod can just delete it.
Originally Posted by ooms View Post
The system apps can't really be edited, unless you know how to decomplie them. They aren't opensource they are licensed under flora. They are c++ native apps(you can even install your own tpk apps if you find/make them).
Im on my phone right now, but you can do some editing of colors and images, which isnt too hard. You have to find the .edj files, use edje_decc to decompile them, you will end up with a edc file and a build.sh file to recompile.
Pretty much what i've found is we will not see custom watch faces on the lockscreen, till Samsung allows us. I have figured out some ways to customize the default digital time lock screen.
If you change any of the api permissions in the xml files make sure to update smack as it will reject it.
Ive been able to pull packages using Sdb. For instance I pulled, /usr/apps/com.samsung.w-contacts2, which has some images that are decompiled, like home screen icons. So I havent actually decompiled anything. Sdb pulls all of the folders and signatures. If I wanted to edit a couple of images then push it back to my watch, how would that be done?
For those that do not know what the directory structure looks like, as I asked in my previous post, download DiskInternals Linux viewer
http://www.diskinternals.com/linux-reader/ Open the program and browse to rootfs.img file of Cipherswitch and mount the image. It allows you to view the files on the image.
What exactly is Flora? I thought all linux distros were open source. Isnt Tizen based on Linux?
---------- Post added at 06:05 PM ---------- Previous post was at 05:57 PM ----------
@ooms ya, when I pulled that particular app, it came in folders. Now that I think about it, its just a usr folder. I was hoping to theme the whole os.
Raiderman said:
Forgot this thread was here. Anyway I just copied and pasted my last post in the Dev forum to here so a mod can just delete it.
Originally Posted by ooms View Post
The system apps can't really be edited, unless you know how to decomplie them. They aren't opensource they are licensed under flora. They are c++ native apps(you can even install your own tpk apps if you find/make them).
Im on my phone right now, but you can do some editing of colors and images, which isnt too hard. You have to find the .edj files, use edje_decc to decompile them, you will end up with a edc file and a build.sh file to recompile.
Pretty much what i've found is we will not see custom watch faces on the lockscreen, till Samsung allows us. I have figured out some ways to customize the default digital time lock screen.
If you change any of the api permissions in the xml files make sure to update smack as it will reject it.
Ive been able to pull packages using Sdb. For instance I pulled, /usr/apps/com.samsung.w-contacts2, which has some images that are decompiled, like home screen icons. So I havent actually decompiled anything. Sdb pulls all of the folders and signatures. If I wanted to edit a couple of images then push it back to my watch, how would that be done?
For those that do not know what the directory structure looks like, as I asked in my previous post, download DiskInternals Linux viewer
http://www.diskinternals.com/linux-reader/ Open the program and browse to rootfs.img file of Cipherswitch and mount the image. It allows you to view the files on the image.
What exactly is Flora? I thought all linux distros were open source. Isnt Tizen based on Linux?
---------- Post added at 06:05 PM ---------- Previous post was at 05:57 PM ----------
@ooms ya, when I pulled that particular app, it came in folders. Now that I think about it, its just a usr folder. I was hoping to theme the whole os.
Click to expand...
Click to collapse
So digging around, in the contact app folder in res/edje you have 4 .edj files you will need to decompile using edje_decc and edit then recompile.
Flora = http://floralicense.org/
So all the system apps in the source are already pre-compiled, there are some .h files that refer to the apps and "distributor" level api's but no .c files.
So till they release the source can't do too much custom stuff. Kind of like how they release the source of the Note boot loader but it's worthless because it's locked with proprietary information that they won't release.
Just the other way around.
root gear s
Hi i have gear s SM-750
R750XXU1BNJ7 . Can i root my gear s??
sory for my english
porki18 said:
Hi i have gear s SM-750
R750XXU1BNJ7 . Can i root my gear s??
sory for my english
Click to expand...
Click to collapse
Who is the wireless carrier?
porki18 said:
Hi i have gear s SM-750
R750XXU1BNJ7 . Can i root my gear s??
sory for my english
Click to expand...
Click to collapse
What Country did you buy it in?
root
ooms said:
What Country did you buy it in?
Click to expand...
Click to collapse
Poland , From shop rtv agd . Gear s it is not brand
porki18 said:
Poland , From shop rtv agd . Gear s it is not brand
Click to expand...
Click to collapse
I have that one posted in my thread in General
OK this isn't about rooting the gear s my ? Is can you pair an AT&T gear s to a Sprint Note 3???????
AT&T $199.00 Verses Sprint $384.00 if possible I'll go with the 2 year with AT&T!!
THANKS
Sent from my SM-N900P using XDA Free mobile app
poland firmware uploaded today.
Following the Gear S thread... quick question for another device...
@Cipher,
First of all, great thread, I've been following only for a couple hours and I've read every post from the last month or so (starting when it was posted by someone else and taken over by you in this thread) I'm excited to get started on rooting my Gear S.
On another note altogether though, I was wondering if you knew of a resource where I could get info on rooting the Galaxy S4, AND Galaxy S4 active. I'm currently trying to root both to work with DoCoMo here in Japan and I've read some success stories but have had no luck myself. I'm fairly versed in Linux, Android, and some rooting experience with other devices but I can't seem to get these ones to cooperate.
I've tried the "TowelRoot" and the other vairiant from Geohot with no success. I just finished my 7th attempt with the Kingo root, again, no success. Both Galaxy phones are running 4.4.2. One is the "active" variant, and one is straight up S4. I'm ultimately trying to get all my devices to work on the DoCoMo network here in Japan and I know I can do it with the right resources. Any help you can provide is GREATLY appreciated. Please feel free to email me if you have the time. Keep in mind we are 15 hours or so ahead of you guys so it may take me a minute to respond. Thanks again, I look forward to hearing from you.
K.F.
Hungarian Gear S Users
Hi All,
I to be useful South Korean Gear S, and to be useful Hungarian Telenor nano sim. To refresh sammobile.com firmware :
Product Code: XEH
PDA: R750XXU1BNJ7
CSC: R750OXX1BNJ7
MODEM: R750XXU1BNJ3 ,
and root : SM-R750T T-MOBILE by cipherswitch !
This a perfect work and everything works perfectly, thank you for your work CIPHERSWITCH !
Excuse me the bad English i hope so I helped some users with this information.

Categories

Resources