yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] hellsonlyangel:
WOW, thanks for the feedback guys, appreciate it very much. I guess the best thing to do is to read some tutorials and reread what i know about Java (which isn't a whole lot).

And big thanks to andrews240 for the digits and billc.cn for the book reference. Will look it up them when i have the spare time.

ANDROID HERE I COME!!!!!!!!
[G1 Android Development] jc1337:
How do I go about learning how to develope Android 1.5 applications?

I really would like to learn how to develope apps for Android over the summer. I have a lot of ideas that I believe would make some pretty nice apps. Where are some good places to go for someone who is completely new to developing for Android? Thank you for your time and any information provided. :)

If admin could please move this post to here it would be very nice. I didn't look good enough before I posted I guess. :rolleyes:
[G1 Android Development] jashsu:
1. Learn Java (if you don't already know it)

2. Get the sdk and view the sample code

3. ??

4. Profit
[G1 Android Development] JoshHart:
http://www.amazon.com/Head-First-Ja...=sr_1_1?ie=UTF8&s=books&qid=1242712200&sr=8-1

If you don't already know Java you need to learn that first, I know UC Berkley and some other schools use this book for into to Java. I have the book it's a good read. If you don't know about programming in general yet you may need some other books to get the basics down cause this book isn't real real basic but if you've taken an intro class or something it will definitely get you started. Like the other poster said view the sample code to get a feel for the sdk.
[G1 Android Development] jc1337:
Thank you to both of you for replying. I don't know Java but I am not new to programming. I have went out and got a book on learning Java so I am going to start reading that.
[G1 Android Development] padalabra:
I'm making a mental note of this & when I make my billions off my uber $0.99 killer app, I'll keep you in mind.
[G1 Android Development] zer0day:
There's also a notepad tutorial on the developer site to get you started.
[G1 Android Development] andersnp:
Yes, you need to know Java. If you already know programming, learning Java is really easy.

Next, read through the tutorials on the android developer site. They are really useful. http://developer.android.com/guide/tutorials/hello-world.html.

I would recommend reading a book. I have "Unlocking Android" by F.Ableson, and it is a very good introductory book.
[G1 Android Development] Senorkabob:
For an intro to Java I also highly recommend the Head First series. They help you relate to the examples and grasp the concepts MUCH easier than anything I've seen.
[G1 Android Development] jc1337:
I am just borrowing this book from my school but am wanting to buy one. Should I get something like "Unlocking Android" that is specifically for Android or should I be more interested in getting a book like "Head First Java"?
[G1 Android Development] zer0day:
Well, if you don't know java, get a java book first, otherwise you won't understand stuff in the android book.
[G1 Android Development] Senorkabob:
Get the java book first. The Android book will teach you about the OS, the framework, SDK, etc. Its useless if you dont know the language that will harness it.

http://oreilly.com/catalog/hfjava2/chapter/ch02.pdf

Check out that PDF, its a sample chapter from the head first series. Makes grasping the concepts pretty easy.
[G1 Android Development] brandenk:
I dont know why I didnt just ask a long time ago! These recommendations have already gotten me past the wall I ran into with an inferior "teach yourself java" book. I think I am going to order that Head First Java book.
[G1 Android Development] Senorkabob:
Yeah a lot of people cant learn just by looking at text alone. I bought the Head First Design Patterns book when I started to develop and it taught me better than any class I've ever taken.

And no. Im not a spokesperson for them. I just highly recommend their product. They work with psychologists and such to understand how people learn and how the brain retains information, then they throw it at you using those methods.
[G1 Android Development] eladkatz:
Blogs and other links

Check out mine and other blogs - allot of info out there

My blog is http://developreality.blogspot.com/

you can also check out:

http://www.anddev.org/

http://modmygphone.com/ - nice forums there

and of course - http://developer.android.com/ for android getting started information

you can also post questions on http://groups.google.com/group/android-discuss and other android discussion groups.

HtH,

Elad Katz.

P.s. if you want to see a project in progress - check out - http://code.google.com/p/bestcardgameever-android/

an ongoing fun game project for android!
[G1 Android Development] jc1337:
Thank you so much for everyone who has helped answer my questions. I really appreciate it!
[G1 Android Development] smurphete:
Keep in mind alot of the hard copy stuff would not take into account the changes in 1.5.

So when their examples do not compile etc, keep that in mind, might save you some frustration.

I think the google team have done a great job with their documentation. They have heap of sample API's with code ready to view and you can play with as soon as you get the emulator up and running.
[G1 Android Development] :
Learning Java, any tips?

Before I start asking questions, let me introduce myself ;-) My name is Gerard, and I just turned 18 years old. I live in New Jersey (USA) and am a [sort of] proud owner of a T-Mobile G1. I'm very computer-literate and have been doing web design since I was 12 ([X]HTML/CSS, Flash, and some JavaScript/PHP). I'm going to Rutgers University this fall and I'm planning on majoring in Computer Science (I want to be a programmer when I'm older).

That being said, I decided that I should learn Java to get a head start in my computer science class, as that's the first language we learn from what I've been told. I have a Java book on my Kindle (yay) and I've been learning for about a week now. It seems pretty easy, but I have yet to reach the harder topics.

So, what does this have to do with "Dream Android development"? I want to know what it takes to make custom Android builds (like JF, Haykuro, Cyanogen, etc.) and what it takes to make Android apps. I'm not asking for the tools required, but the knowledge. Will learning Java alone allow me to do this stuff, or are there other things I'll need to teach myself before becoming an "XDA-Developer"? :-D

I'm not looking to be the next Haykuro (hell, I'm technically already older than him lmao). Any help would be appreciated though.

Thanks,

Gerard

P.S: I've already familiarized myself with installing custom Android builds onto my phone, so no need to stress that. I'm currently running Cyanogen's 3.4.6 build.
[G1 Android Development] born2die:
Hi gardb,

so let's start, for creating Android Apps you must know Java and/or C(++). So learn, learn, learn, code, learn, code and understand what you're doing!!!!!!!

For creating Custom Build's you don't need to know Java. It's "just" a zip, with the new files in it. And the Place where they should be and so on. It sound's very easy, but i don't think it's so. You must here also understand what happens when you delete/add some files, teh best way is learning by trial and error. The rest you find in this board i think.

greetz,

born2die
[G1 Android Development] :
Thanks for the quick reply, b2d (can I call you that? lol). So I need to know C/C++ for apps as well? Hopefully I can finish learning Java and start learning C before the summer's over (I might be busy).

And for the custom builds, you mean that they don't do any actual programming? How does that work? :-X Man, I'm lost lmao.

(Sorry if these questions could've been answered by a search :-\ )
[G1 Android Development] jashsu:
Not really. Knowing them could be useful if you ever wanted to create some native libraries, but for run-of-the-mill Android apps, its all Java (or rather, Java syntax). Everyone learns code differently, but I think one universally good tip (for any language) is to study sample code and the source code of working programs.

As for creating custom Android builds, whether or not you need to code depends on what exactly you want to customize. If you're just going to be replacing a couple of apks in system directory, you probably just need to know how to use an archiver. More complex modifications would require you to know some Linux environment fundamentals and you might also need to know how to disassemble and reassemble dalvik bytecode to get some apps ripped out of a different build to work in yours.
[G1 Android Development] :
For making custom builds a good knowledge of linux is needed, and programming second.

You do use java to write apps for android, but most of the libraries are android specific. If you have a good understanding of the syntax of an object orientated language like (Java, C++, maybe even .NET) you'll have no problems. Programming is 10% syntax and 90% knowing the libraries you're using.

Download Eclipse and the android SDK and get them up and running (the documentation is really good, follow it and you'll have no problems). Take a look at the samples and build them, copy them and change them and you'll learn enough to start from scratch.
[G1 Android Development] born2die:
@grardb: you can do so ;-)

So you don't need to know C/C++, but since a while you can also programm in C/++ programs for Android. But i think for the beginning it's enough to know Java!

And if you want to do only some changes, moving/replacing apks, then you don't need special knowhow. But you should know linux a bit. Most of the chef's are scripting a little bit, what i have seen. For scripting on android, you must know the linux shell scripting! But for the beginning learn Java, know what you're doing, and DON'T copy&paste! You can use samplecode, but write it yourself!

greetz,

born2die/b2d ;-)
[G1 Android Development] VValdo:
A thought..

Check out this link. It's got some great info on learning Java. Also, install Eclipse and the SDK and start fooling around with building stuff... It took me about two weeks or so from knowing ZERO java to writing a very simple number-guessing game w/a scrolling UI for my G1.

W
[G1 Android Development] :
Wow, thanks for all the replies, guys.

Looks like custom builds might be a bit too much for me at the moment (especially the Linux part - I have Ubuntu installed but I'm much more of a Mac person), but I'm still looking forward to making apps for Android!
[G1 Android Development] cyanogen:
If you are looking for a good Android-specific development book, I highly recommend "The Busy Coders Guide to Android Development". Best one I've seen so far. The prerequisite for this is Java, but Java is easy to learn if you know general programming concepts.
[G1 Android Development] :
Weird delayed double-post.

Delete me ;-)
[8125, K-JAM, P4300, MDA Vario Software Upgrading] dudes_czc:
how to change language to english in Qtek Wiza200

What software do i use and Rom firmware do i download,,, pls help
[8125, K-JAM, P4300, MDA Vario Software Upgrading] samxein:
If you are speaking about the hardware keyboard I am using AEKMap to change language.

If you want to change your rom to an english one first CID/SIM unlock your phone using this guide & then take a look at xda2_haseeb's & CRACING's threads for the latest roms.

They are making english (WWE) roms for our Wizards :).-
[Upgrading, Modifying and Unlocking] Lonewolf Darkmoon:
Hello, I have followed many of the forums to upgrade my phone to WM6.1 and it seemed I had it all working well but now I am having all sorts of trouble. I started getting patched to recorded calls when I tried calling home, so I decieded to redue my ROM. but now I can not get my camera to work and if I try to dial ##000000 or ##3424 they do nothing. THe dialing of those 2 numbers will say Dialing, then Connected then hang up, but never put me into diagnostics mode. Can anyone tell me what I have done wrong or how I might fix it? Thank you.
[Upgrading, Modifying and Unlocking] Lonewolf Darkmoon:
Am I posting this in the wrong area? Or has any one else had these types of problems?
[G1 Themes and Wallpapers] johnnylicious:
very nice so all we do is push this thru adb?
[G1 Themes and Wallpapers] Stericson:
Yes but it is only the white clock for now....you need to push services.jar to /system/framework

The batt meter I will release later, it requires a update file....Which would wipe out themes people may have had installed, and reflashing a theme would erase it again...so....this would have to be incorporated into an actual theme. The white clock wont be affected by a theme because it is usually not replace during a theme update.

Stericson
[G1 Themes and Wallpapers] johnnylicious:
thanks alot bro. will push right now :]]

can't wait for what else you can cook up for the lock screen!!
[G1 Themes and Wallpapers] Stericson:
Please let me/us know if it works for JF's 1.5 build.

:)
[G1 Themes and Wallpapers] johnnylicious:
okay here's the problem.

i dont have adb avaiable because im on a mac and don't really know how to use this thru terminal

i know you can push this thru the terminal emulator on the g1

think you can give me the codes to push it thru

i tried this

su

mount -o rw,remount /dev/block/mtdblock03 /system

push /sdcard/services.jar /system

gives me an error saying i couldn't push

any ideas.

thanks.
[G1 Themes and Wallpapers] frankwhitten:
I just replaced the file in the framework folder and resigned the update. Also, this works on JF's 1.5 build from what I see. Haven't had it on for any extended period of time so I don't know if any errors will occur.
[G1 Themes and Wallpapers] johnnylicious:
okay i found the right prompt but it didnt work

maybe im doing it wrong :/
[G1 Themes and Wallpapers] DeadBody79:
i also cp it to /system and reboot, but still black clock :(

can you make a update.zip with glosstheme battery lockscreen and white clock ?
[G1 Themes and Wallpapers] 313:
Aw man good stuff.. im going to see if i can port the ORIGINAL gloss suite with the sexy jet black status bar before moon made it more gray because of complaints of the clock
[G1 Themes and Wallpapers] daveid:
Any clue on the white notification text? Can't get that one going... Thanks for this!

BTW - this works great on JF 1.5.

Edit - I tried copying the status_bar.xml from a 1.1ADP theme over, and had troubles with it not booting. I just tried one more time - this time the only thing that I have changed is the status_bar.xml in my framework_res.apk, re-signed it & my update.zip, did a nandroid (just in case!) and it is booting now.... but, all I get are force closes upon bootup, and a loop.

So, now I am restoring my nandroid of the system partition, which should get me back up and running. Can you tell me what I am doing wrong. When I compare the two xml's in HxD, there is only one difference (which I assumed was the text color), should I be modifying the new xml manually, or has something changed?

Thanks for being so patient with me, this is the last piece of the theme I am trying to get right...
[G1 Themes and Wallpapers] Stericson:
DUH! I'm so sorry guys, you have to push this to /system/framework Then it will work. Sorry that was my fault.

Anyone that put it in /system can either remove the file from there or move it to the correct location.

rm -r /system/services.jar

That will remove it.

White notification text I can get but it will need to be replaces in framework-res.apk. I will postthat file tonight possible along with the battery meter on the lockscreen.

Stericson
[G1 Themes and Wallpapers] daveid:
Thanks a million, I guess I already knew that it needed to go into the framework directory - cause that's where I put it! ;)

But the notification text is just kicking me in the ass. The battery % on the lockscreen sounds cool - is that just an xml edit or does it require another app to be installed?
[G1 Themes and Wallpapers] Stericson:
Looks like someone already ported the white notifications text for 1.5, here is the link http://xdaforums.com/showpost.php?p=3719895&postcount=1

You can just flash the update or pull the xml file from it, which is statusbar...something something, don't remember, but just pull all the statusbar xmls in res/layout and put them in your own framework-res.apk and you'll be good to go.

The batt meter is a conbination of edits I made to the source it requires some new files and a new framework.apk, the easiest way to do this would be to take my framework-res.apk and put your drawables in, whatever they may be.

At any rate I'll see if I can get that up tonight.

Stericson
[G1 Themes and Wallpapers] daveid:
You got a bad link in that post, I tried looking for threads that ended in 95, but couldn't find it.. ;) Care to correct it, thanks...
[G1 Themes and Wallpapers] johnnylicious:
for some reason i can't mount my phone anymore?

could this be because of removing the original services.jar?
[G1 Themes and Wallpapers] Stericson:
Fixed and tested.
[G1 Themes and Wallpapers] daveid:
Much obliged, running off to try this out now.

Edit - So, I dropped the xml into my framework, made a quick update, and bingo bango! Got white text, no force closes, I am rocking this now! Thank you again, just gotta finish setting up my apps like they were before (and custom ringtones - why can't that be backed up?) and I can make a final 1.5 nandoid stable backup!
[G1 Themes and Wallpapers] Stericson:
I believe that this could be a side effect but I'm not sure, I can mount it fine in recovery, just not while the phone is on....

Maybe you can try putting the opriginal service.jar back and let me know if it is from mine?

Stericson
[G1 Themes and Wallpapers] daveid:
I used your services.jar, and can still mount while the phone is on. You are talking about mounting the sdcard via the usb cable, right?
[G1 Themes and Wallpapers] brandenk:
So I put together the JesusFreke ADP 1.5 with the custom lock screen from Stericson and keeping black text for notifications and the date. You should be able to rename to update.zip and flash if you already have JFv1.5 without having to wipe. And for me it took a long time to make it past the animated android logo so be patient.

DOWNLOAD HERE [37.1MB]
[G1 Themes and Wallpapers] circa85:
Oh wise and venerable St. ericson, do you know if it would be possible to replace the colon in the time with a period? or increase the font size slightly? I'm thinking something along the lines of
[G1 Themes and Wallpapers] Stericson:
Wow bringing up dinosaurs ;)

Increase the font size, yep its possible.

Change the colon to a dot...very easy, take the font from your phone and edit it. Replace the colon with a dot.

Stericson
[G1 Themes and Wallpapers] LatinSilEighty:
hey umm i dont know if maybe I might be the only one but ever since i updated my phone with your lock screen/battery meter my phone doesnt timeout anymore unless i push the hangup button. i dont know if this is the first time but it kinda anoying that it doesnt timeout by itself
[G1 Themes and Wallpapers] Stericson:
try rebooting your phone, this mod wouldn't not have an effect on the screen timeout.

Stericson
[G1 Themes and Wallpapers] LatinSilEighty:
hmm i already tried that let me try flashing a theme without the lockscreen and stuff

lol i feel bad my bad Stericson it was the program "dark key's" messing everything up sorry for doubting you :-D
[G1 Themes and Wallpapers] ultra spikey:
How hard would it be to use bigger images for the battery meter on the lockscreen?
[G1 Themes and Wallpapers] nabzilla1990:
dont know where to post this its a mix of other peoples work including you

I thank ultraspikey kron2 and Stericson and haykuro

I took the files from the contacts.apk from Kron2's magic theme for rc33 and took some drawables and xmls and put theme in the contacts apk from ultraspikey's aero also did the same for phone.apk

for the framework and lock screen took drawable png files from haykuro's hr5 build magic and placed them in the framework-res

just push the two files from the magic.zip you do need the android.policy.jar from here for it to work also need to push that
[G1 Themes and Wallpapers] warrmr:
Where do i find this statusbar.xml as i have looked in the framework-res.apk /res/drawable and cant find it and all the xmls in there are encrypted
[G1 Themes and Wallpapers] namsir:
it's in framework-res.apk /res/layout folder
[G1 Themes and Wallpapers] pershoot:
it appears to fill the entire background correctly. confirmed.
[G1 Themes and Wallpapers] warrmr:
Cheers for that, any idea how you can open these files to mod them as they just come up as "null" in N++ and in plain old notepad they come up as garbage.
[G1 Themes and Wallpapers] pershoot:
if i wanted to shift the box to the top of the screen (along with the data), could i resize zlockscreen.9.png to 320x480 to accomplish this? any other edits i may have to make?

if i wanted to get rid of the box completely, could i put a transparent background in place oif zlockscreen.9.png?

thx.
[G1 Themes and Wallpapers] Stericson:
No size limit on the battery images, make them as big or little as you want.

Stericson
[G1 Themes and Wallpapers] Beast84:
:eek: DUDE!!! Its your wedding day! Get the hell outta here! ;)
[G1 Themes and Wallpapers] Stericson:
If you want to get rid of the box, just make it transparent. The data will still be there though.

you can move the data to the top of the screen by resizing the image to the full size of the screen, however, the box wont auto adjust for the data when it appears, disappears.

Stericson
[G1 Themes and Wallpapers] Stericson:
Runs off!....got married....it was great! now off to celebrate...oh and boy did I get trashed last night...woooo...anyways..off topic sorry!

Stericson
[G1 Themes and Wallpapers] Beast84:
HAHA nice! Congratulations man. Take a break & have some fun with your new bride. We'll all be here when you get back
[G1 Themes and Wallpapers] missxoash:
I second this. Get outta here, Stericson.
[G1 Themes and Wallpapers] namsir:
read this... :)

http://xdaforums.com/showthread.php?t=514412
[G1 Themes and Wallpapers] beagz:
Question:

What can be edited on the lockscreen as far as text size, placement, etc.?

Please provide instructions if possible. Thanks.
[G1 Themes and Wallpapers] brandenk:
Here is my battery meter I just made. If anyone wants it let me know and I will post a link.
[G1 Themes and Wallpapers] beagz:
I can make use of that!

Please post or PM me. Thanks
[G1 Themes and Wallpapers] nabzilla1990:
I like it too great job wheres the link
[G1 Themes and Wallpapers] brandenk:
All right, here you guys go. At 100% is shows full green and at 0% it shows full red but all the other values have the multicolored lights and they are removed (instead of greyed out) when the meter goes down. Im no expert and I just made this because I knew it would be useful for me so if you have suggestions let me know.

Download [37.5 MB]
[G1 Themes and Wallpapers] beagz:
Thank you. :)
[G1 Themes and Wallpapers] :
theming

has anyone been able to drop images into this framework and get it to work? ive been trying all friggin day and looking at ddms and it seems that all services load, but the screen is still the android boot
[G1 Themes and Wallpapers] pershoot:
In to stericon's framework? Ya a lot of us.

Desribe the steps you are using.

Thx.
[G1 Themes and Wallpapers] :
i opened the framework from dude-blue and stericsons side by side. sorted out the pngs from dude-blue in the drawable folder and put them in stericsons drawable, resigned and pushed...
[G1 Themes and Wallpapers] pershoot:
you ensured no xml's are replaced, and your packing stericson's framework-res.apk inside your update.zip within framework?

can u try pushing stericson's services.jar also, to see if there is maybe some conflict happening between the services.jar in your update and his xmls?
[G1 Themes and Wallpapers] diaztradeinc:
Has anyone got this to work with haykuro 6.0r1? When i push services.jar to system/framework i reboot and get stuck at a loop. Any help on this would be great.