[Q] How to Create Your Own Apps ? - Galaxy S II Q&A, Help & Troubleshooting

Im New Here
I Want To Know How Can I Create My Own Apps ?
WHich Programmin Language I Should Need To Learn
Help Me Plzzzz

If you honestly have to ask a question like that in a forum like this, I doubt you have the aptitude/initiative to learn the necessary skills. If you did have those skills, you'd already know the answers to that question.
Edit - OK. I'll throw you a bone. Java, C, and no doubt you could use others. Now then, I think you have a lot of learning to code to do.

MistahBungle said:
If you honestly have to ask a question like that in a forum like this, I doubt you have the aptitude/initiative to learn the necessary skills. If you did have those skills, you'd already know the answers to that question.
Edit - OK. I'll throw you a bone. Java, C, and no doubt you could use others. Now then, I think you have a lot of learning to code to do.
Click to expand...
Click to collapse
ok give me java c tutrials

WTAF ??!!
Now I'm certain you don't have the aptitude to do it :-/
ubaid200980 said:
ok give me java c tutrials
Click to expand...
Click to collapse

ubaid200980 said:
ok give me java c tutrials
Click to expand...
Click to collapse
It's mildly insulting to me and anyone else who has studied Computer Science that you seem to think you can learn how to create apps off a tutorial. No doubt you think you can learn how to do this after just a couple of hours reading this magic "java c tutrial".

Stop feeding the troll
Sent from my GT-I9100 using xda premium

Epic Trolling
Sent from my GT-I9100 using xda premium

Ahm,
Being a self-taught programmer, I'll feed the troll:
Go to youtube, find a tutorial on how to install "Eclipse", maybe even "Eclipse for Android".
Go to google and type "learning java for android".
You can probably get a 'hello world' app going in under a day if you have any aptitude.
That's it, troll fed.

YaronGur said:
Ahm,
Being a self-taught programmer, I'll feed the troll:
Go to youtube, find a tutorial on how to install "Eclipse", maybe even "Eclipse for Android".
Go to google and type "learning java for android".
You can probably get a 'hello world' app going in under a day if you have any aptitude.
That's it, troll fed.
Click to expand...
Click to collapse
Self taught is one thing. It still takes a lot of time and effort. Seeing as how this dude clearly can't seem to search for himself, I would venture a guess he doesn't have the aptitude necessary to learn how to do this on his own.

Related

How to learn creating custom ROM

I wish to ask the expert custom ROM makers here what knowledge do I need to learn how to make custom ROMs. My background is I am a programmer and developer in windows and web applications for 15 years. So where should I start? Thank you.
Sent from my GT-I9100 using XDA Premium App
Best advice is to learn about android, learn some app development etc.
Unless you want to become a 7zip chef. That's easy.
Rawat said:
Best advice is to learn about android, learn some app development etc.
Unless you want to become a 7zip chef. That's easy.
Click to expand...
Click to collapse
Whats 7zip chef? Yes I know a little about app development with android. Android is java and I used to be Java certified since Java has been released by sun. Any other knowledge gap I need to fill? Should I learn more of linux stuffs?
Sent from my GT-I9100 using XDA Premium App
I guess you'll wanna learn some C too.
Sent from my GT-I9100 using XDA App
fenguinpower said:
I wish to ask the expert custom ROM makers here what knowledge do I need to learn how to make custom ROMs. My background is I am a programmer and developer in windows and web applications for 15 years. So where should I start? Thank you.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
:0 start learning "how to place the question in the right topic"...
i believe if u gonna make research and if u will pm some of the many developers here - maybe one that lives close to your area- he/she will help u out for sure with some details. i dont think they will release the details for public...otherwise use google mate.
Moved to Q&A
First best to learn about android in general. There are way too many people here who think applying a theme to a zipped stock rom makes them cool...
If you want to be regarded as a dev, stick to the coding side As you know java, smali should be simple to you..
Learn how to modify binary applications etc.
Don't fall into the lame "7zip to open the rom, drag and drop a few files, then re-zip" that some people (can they even be called people???) do... And stick away from theming something and calling it a rom.
It's just lame and not cool... But if you read up on how android works, you will get the hang quickly, and if you are knowledgeable about java, it should be easy to get going modifying things... Then you will truly join the "devs" and be one of the bunch

What to do after creating a rom?

I have created a rom and themed it. But i wnt some performance tweaks and some apps which i could integrate in settings.apk
Sent from my GT-S5360 using xda app-developers app
hell_lock said:
I have created a rom and themed it. But i wnt some performance tweaks and some apps which i could integrate in settings.apk
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Looking forward for your rom..
-------------------------------------------------------------------------
Sent from my GT-S5360 using xda premium
maybe u coulf add rom control with its tweaks?
So start looking at performance tweaks and such, and if you are adding some stuff to pre-compiled APKs then look into smali and the tools you need to use to manipulate it.
thewadegeek said:
So start looking at performance tweaks and such, and if you are adding some stuff to pre-compiled APKs then look into smali and the tools you need to use to manipulate it.
Click to expand...
Click to collapse
Smali is too hard for me! I only undrstnd xml
Sent from my GT-S5360 using xda app-developers app
hell_lock said:
Smali is too hard for me! I only undrstnd xml
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
If all you understand is XML then you are going to be hard pressed as what you want to do will need to be done by editing the smali or the Java source code
Sent for a corner cell in Arkham
[RANT]
Oh boy...I just love it when people start saying
"I'm building a ROM", "I'm doing dev work", "I want to be a recognized developer"
Then I make suggestions and I get "That's too hard", "Do you have a download link" "Cn u teac me hw mak a custm kernel?"
Yet they are totally unwilling to actually invest some time into these things and LEARN it.
Guy's Rome wasn't built in a day, and your ROM isn't going to be either. Look around, read, SEARCH SEARCH SEARCH. Download other people's stuff not just to Kang it, rename/re-post it under your name, but to LEARN, to figure out how it works, so you can UNDERSTAND. This isn't like a store, where you walk in and go "I want one of those, and I'll take one of them, and please get me that, where can I find this, etc, etc." Make little modifications, tweaks on top of tweaks, and keep doing that until it's soemthing new, soemthing different, and THEN post it. But please don't limit yourself, to what is "Easy" or "Comfortable", it's not the way to get anywhere with real development work, much less in life. Put some time into it, and some effort. I really do wish you all luck, but you guys have to stop looking for the easy way to get some quick credit.
[/RANT]
@OP I know of zero performance modifications that you can do in XML, and if you are looking to use someone else's work and use that then start searching and make sure you ask before you use it.
thewadegeek said:
[RANT]
Oh boy...I just love it when people start saying
"I'm building a ROM", "I'm doing dev work", "I want to be a recognized developer"
Then I make suggestions and I get "That's too hard", "Do you have a download link" "Cn u teac me hw mak a custm kernel?"
Yet they are totally unwilling to actually invest some time into these things and LEARN it.
Guy's Rome wasn't built in a day, and your ROM isn't going to be either. Look around, read, SEARCH SEARCH SEARCH. Download other people's stuff not just to Kang it, rename/re-post it under your name, but to LEARN, to figure out how it works, so you can UNDERSTAND. This isn't like a store, where you walk in and go "I want one of those, and I'll take one of them, and please get me that, where can I find this, etc, etc." Make little modifications, tweaks on top of tweaks, and keep doing that until it's soemthing new, soemthing different, and THEN post it. But please don't limit yourself, to what is "Easy" or "Comfortable", it's not the way to get anywhere with real development work, much less in life. Put some time into it, and some effort. I really do wish you all luck, but you guys have to stop looking for the easy way to get some quick credit.
[/RANT]
@OP I know of zero performance modifications that you can do in XML, and if you are looking to use someone else's work and use that then start searching and make sure you ask before you use it.
Click to expand...
Click to collapse
This.
You won't develop a ROM overnight. Go learn some real programming and stop compiling other peoples work and making a ROM that is "your own."
Sent from my HTC One X using xda premium
rohan32 said:
This.
You won't develop a ROM overnight. Go learn some real programming and stop compiling other peoples work and making a ROM that is "your own."
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Who are you referring it to? I cooked a rom and I think that I have made the rom. Of you don't have anything to help me then please don't comment. I don't understand smali but I know how to read tutorials and add more features in the rom by smali editing like swipe to remove, 14 toggle etc.
Sent from my GT-S5360 using XDA
I never ask for an easy way out. I add features in my rom manually!!
Sent from my GT-S5360 using XDA
He was being helpful, he is bringing up a attitude that is rampant here on XDA, namely the "cooking" of ROMs. There are WAY too many people who just cook a ROM in a kitchen and claim to have "developed" it. No, you just re-packaged somebody's work, it's not the same thing. I'm not saying it's useless, but it causes way to many "developer" wanna-be's that just aren't interested in actually learning something. Up above we posted suggestions and you responded with
Smali is too hard for me! I only undrstnd xml
Click to expand...
Click to collapse
That creates the impression that you aren't wanting to try any other methods for creating ROMs. If you were trying to say that you don't know smali, then maybe you should have said something like,
I don't know smali so I'm not sure how well I could implement features like that. Do you guys have any suggestions?
Click to expand...
Click to collapse
Not only is that easier to read, but it also communicates much more clearly what you are trying to say/ask. But the way that post is currently worded it makes it sound like you are just wanting to re-package somebody's work and use it as your own.
thewadegeek said:
He was being helpful, he is bringing up a attitude that is rampant here on XDA, namely the "cooking" of ROMs. There are WAY too many people who just cook a ROM in a kitchen and claim to have "developed" it. No, you just re-packaged somebody's work, it's not the same thing. I'm not saying it's useless, but it causes way to many "developer" wanna-be's that just aren't interested in actually learning something. Up above we posted suggestions and you responded with
That creates the impression that you aren't wanting to try any other methods for creating ROMs. If you were trying to say that you don't know smali, then maybe you should have said something like,
Not only is that easier to read, but it also communicates much more clearly what you are trying to say/ask. But the way that post is currently worded it makes it sound like you are just wanting to re-package somebody's work and use it as your own.
Click to expand...
Click to collapse
This is very true, I'm new to porting and I'm starting with porting so I can learn the ins and outs of a rom so at a later time I can learn to develop, even in porting I've had to back smali and make some edits to get things working so sooner or later you will have to as well.. I'm currently reading a begginers guide on java for android.. Google is my best friend and I'm trying to learn as much as I can because I have an idea of my 'ideal' rom.. I can't wait for someone else to do it so I can port it and I know it will never be the way I want.. I'm doing it mainly for myself and I hope one day I can share with others
Sent from my Nexus S 4G using xda premium
Best thing to do is get on the good side of a dev and ask them to teach you, I had great help from some of the best devs on XDA, but as above its not something you can just learn easily, I already had a pretty good knowledge of Java and XMLs etc before i got a smart phone lol, If you stick to it then you should get somewhere, Java is a pain in the ass though, editing .smalis is probably the hardest thing for a new dev
Think About It
TO GET STARTED
Fix Bugs
Test it,
Decompile APKS and modify them if you have permission
Add features and tweaks
Put it up on git.
Help YOUR USERS and stop asking silly questions
snowman77 said:
TO GET STARTED
Fix Bugs
Test it,
Decompile APKS and modify them if you have permission
Add features
Put it up on git
Help YOUR USERS and stop asking silly questions
Click to expand...
Click to collapse
Done all dat.. Srry to ask dis question. Seems like people here are not helpful. Everyone is a flamer.
Sent from my GT-S5360 using XDA
hell_lock said:
Done all dat.. Srry to ask dis question. Seems like people here are not helpful. Everyone is a flamer.
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
I haven't seen one post of someone flaming you in this thread. We tried to give you some advice and you said it was too "hard" so we all shut up and left you alone.
thewadegeek said:
I haven't seen one post of someone flaming you in this thread. We tried to give you some advice and you said it was too "hard" so we all shut up and left you alone.
Click to expand...
Click to collapse
I prefer bein left alone so pls dont comment again..
Sent from my GT-S5360 using XDA
hell_lock said:
I prefer bein left alone so pls dont comment again..
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
Well then you shouldn't have started the thread, I'm not trying to "flame" by any means... but if you wanna add some performance settings and mods I'll give you some advice thewadegeek gave me, take a look at aokps or cm9 or whoever's git repo you feel has some similar features to those you wish to add and start there, you'll get a good understanding of how everything works... at that point it comes to the fine details and making sure everything works.. when you have issues at that point you then can ask for help on getting the fine details fixed since at that time you'll have specific issues that someone can help with
Sent from my Nexus S 4G using Tapatalk 2
evol4g said:
Well then you shouldn't have started the thread, I'm not trying to "flame" by any means... but if you wanna add some performance settings and mods I'll give you some advice thewadegeek gave me, take a look at aokps or cm9 or whoever's git repo you feel has some similar features to those you wish to add and start there, you'll get a good understanding of how everything works... at that point it comes to the fine details and making sure everything works.. when you have issues at that point you then can ask for help on getting the fine details fixed since at that time you'll have specific issues that someone can help with
Sent from my Nexus S 4G using Tapatalk 2
Click to expand...
Click to collapse
Thanks.. Thats what I wanted
Sent from my GT-S5360 using XDA
hell_lock said:
Thanks.. Thats what I wanted
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
No problem man, good luck to ya
Sent from my Nexus S 4G using Tapatalk 2

[Q] Tutorial for complete beginners

How about a tutorial for complete beginners as regards rooting and flashing Roms? I mean from the ground up including an explanation of different terminology such as..... :- Insecure ROM.....that means there must be a secure ROM, what's the difference and why and when are they used?
Stock ROM....as opposed to what? and what are the advantages/disadvantages of using either?
Same with Kernels, there seem to be so many to choose from........why would I want to choose a paricular one over another?
I find that in the available tutorials, so much is already taken for granted...I for one don't fully understand most of the terms used, and I think that sometimes this makes the following of instructions more difficult because a question is raised in my mind that isn't answered so I'm a bit nervous about carrying on..I'm sure there are qute a few users out there who would like to get their hands dirty, but are reluctant to do so because they feel that even the so called tutorials for beginners are difficult to follow.
This by no means a criticism of these tutorials, which I'm sure are easy to follow by those with the required level of knowledge, but there are some of us who need a more explanatory text.
I am talking about the galaxy s2 gt 19100 in particular. The suggested post deals with an HTC phone, which, while being an android device, has its own peculiarities, making it different to deal with than the sgs2.
I know I could probably google all the answers to my questions, but, as I read somewhere, if we could google everything we needed, forums would be redundant.
So, how about it guys?
Go on xD !
After all there is nothing wrong in trying to help! There are already lots in here but most seem to be obsolete as people don't even answer doubts there ! So if you can write one up and maintain it then good !
Yep that's the key. If you're going to do it, you have to be prepared to keep it up to date/maintain it & be prepared to answer every single question that gets asked. Otherwise it just ends up getting lost/buried/out of date like all the others.
Feel free to do it yourself.There are too many models and roms etc to group things together.
Sent from my GT-N7000 using xda premium
So what have you decided ? Going ahead or what ?
nikufellow said:
So what have you decided ? Going ahead or what ?
Click to expand...
Click to collapse
Sorry, is that aimed at me?:silly:
Pulse8 said:
Sorry, is that aimed at me?:silly:
Click to expand...
Click to collapse
Can you give us an eta of when your guide is going to be ready.
Sent from my GT-N7000 using xda premium
Pulse8 said:
Sorry, is that aimed at me?:silly:
Click to expand...
Click to collapse
Yeah have you decided ?
---------- Post added at 10:25 AM ---------- Previous post was at 10:23 AM ----------
theunderling said:
Can you give us an eta of when your guide is going to be ready.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Lol this ain't a Rom for asking ETA's !
nikufellow said:
Lol this ain't a Rom for asking ETA's !
Click to expand...
Click to collapse
I never said it was.
Sent from my GT-N7000 using xda premium
theunderling said:
I never said it was.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Nah ...... don't mind just bad old me !
I'm not sure what's happening here but it appears that the erstwhile student is now being asked to take on the mantle of tutor. A strange turn of events if ever there was one. How can I, a mere person asking for instruction, guidance and knowledge, assume a position at the front of the class, and teach those from whom I thought I would receive such wisdom?
................either that or your too lazy to do it yourself.
Sent from my GT-N7000 using xda premium
Pulse8 said:
I'm not sure what's happening here but it appears that the erstwhile student is now being asked to take on the mantle of tutor. A strange turn of events if ever there was one. How can I, a mere person asking for instruction, guidance and knowledge, assume a position at the front of the class, and teach those from whom I thought I would receive such wisdom?
Click to expand...
Click to collapse
All the guides you're asking about are out there. If you have difficulty understanding a term or phrase, then look it up.
How did you get through any amount of school with this kind of an attitude?
ctomgee said:
All the guides you're asking about are out there. If you have difficulty understanding a term or phrase, then look it up.
How did you get through any amount of school with this kind of an attitude?
Click to expand...
Click to collapse
I sat in class and listened and was taughtby my teachers!
I can't remember any of them telling me to go to the local library because everything I needed to learn was there if I could be bothered to go and look for it............which would have rendered them redundant!
Pulse8 said:
I sat in class and listened and was taughtby my teachers!
I can't remember any of them telling me to go to the local library because everything I needed to learn was there if I could be bothered to go and look for it............which would have rendered them redundant!
Click to expand...
Click to collapse
That's a poor analogy.
What you're asking for is for someone to come up with a lesson plan that uses much simpler terms because you can't understand the one that already exists.
Classes in school have pre-requisites. You can't take Calculus right away. You have to take Algebra, then Geometry, etc., before you can move to Calculus.
What you're asking for is for someone to come up with a "Calculus for Dummies" guide because you're too lazy to go learn Algebra and Geometry first.
http://forum.xda-developers.com/showthread.php?t=1826497
Those are pretty easy-to-follow guides, just read the guides again if you didn't understand them the first time
ctomgee said:
That's a poor analogy.
What you're asking for is for someone to come up with a lesson plan that uses much simpler terms because you can't understand the one that already exists.
Classes in school have pre-requisites. You can't take Calculus right away. You have to take Algebra, then Geometry, etc., before you can move to Calculus.
What you're asking for is for someone to come up with a "Calculus for Dummies" guide because you're too lazy to go learn Algebra and Geometry first.
Click to expand...
Click to collapse
I take your point, although I wouldn't admit to being lazy per se, I just need shoving in the right direction. And yes, I realise I need to to start at the bottom first, and that's what I was asking for (bad english). I need a crash course in the basics, not a dummies guide in calculus.

0 programming experience, but I want to develop on android. Where should I start?

Hi,
As the topic says, I have little to no programming experience (a little html, but that's about it) and would like to learn how to Program, on android.
Does anyone have any useful links on where I can start down this long road?
Tia
Sent from my SGH-I747 using xda app-developers app
colhavoc said:
Hi,
As the topic says, I have little to no programming experience (a little html, but that's about it) and would like to learn how to Program, on android.
Does anyone have any useful links on where I can start down this long road?
Tia
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
This is your right place friend
http://forum.xda-developers.com/showthread.php?t=1272270
If you want to develop ROMs, the above reply is sufficient, if it is apps you want, then start by learning Java. Then go to developer.android.com, you'll find all the needed resources there..
Yeah, it's programming I want to do. Java it is then.
Thanks for the information. Any recommendations for literature?
colhavoc said:
Yeah, it's programming I want to do. Java it is then.
Thanks for the information. Any recommendations for literature?
Click to expand...
Click to collapse
You will be using Eclipse. Trust me
http://www.eclipse.org/documentation/
colhavoc said:
Yeah, it's programming I want to do. Java it is then.
Thanks for the information. Any recommendations for literature?
Click to expand...
Click to collapse
http://www.vogella.com/android.html
http://developer.android.com/training/index.html
These links would be sufficient to get you started.
Was looking for the same thing, thanks for links!
Really good way to start is this site right here, gives you the fundamentals etc.
http://codecademy.com
Excellent
premsrj said:
http://www.vogella.com/android.html
http://developer.android.com/training/index.html
These links would be sufficient to get you started.
Click to expand...
Click to collapse
Excellent.......

[Q] Wich course choose to start developing

Hi everybody,
I'm an Italian guy who's looking for starting developing on android, but right now I'm pretty doubtful about wich course to start from.
I'm gonna explain you my plan:
I was looking for an Android course in E-Leaning mode and after a deep research I found a good IT italian school that uses the Cisco Webex platform (they made me try it with a tutor of them).
They do courses for Java, Android, and many others..
I thought that instead of starting directly to Android, I would need some Java skills, then I was thinking to apply the Java basic course (40 hours + OCA certification that could also be a good thing for my Cv) on first, then in a second moment apply the Android developing course (80 hours).
I'm an IT technician, doing Helpdesk and similar things, i studied programming at the high school, ending with java and databases in the last year, but it has been 4 years ago and I don't remember it so well..I'm more skilled in programming languages like C, Visual Basic and similar..
About Java, I just remember a few things about Object Oriented..
Somebody told me that I don't need Java to learn Android, cause they're different.
Finally the question is, what would you suggest me to do?
Learning Java, then Android is the perfect thing to do. As Android app basically contains both XML and Java, if you're skilled enough in Java, then developing in Android will be much easy.
Learn c,c++, java.. then ur good 2 go
Sent from my E15i using xda premium
syahazu said:
Learn c,c++, java.. then ur good 2 go
Sent from my E15i using xda premium
Click to expand...
Click to collapse
C was my best..but never did anything of C++.
Then finally I applied to the Java course. :victory:
Thanks for your advices, I'd appreciate to read more about your thought on the subject.
Btw let's see how it goes :laugh:
Take a breath and skip the Java course
There is no better learning than actually applying a skill in trying to solve a real problem. This applies even if you're just starting to learn a language. Will you end up learning more if you take both courses? Yes. Will your CV look more impressive? Maybe. Is it a good way to spend your time? I'm not so sure.
The truth is, jumping directly into Android development will quickly improve your Java skills as well. If you have some knowledge of C and VB, you will be able to follow along from the very beginning. It might be slightly overwhelming at first, but I guarantee that after the first couple of exercises, your "lack" of Java knowledge will no longer slow you down. And if you get stuck with any Java-specific issue, the answer is always on the web a couple of Google searches away.
If I were you, I'd save time and money and go directly for Android. After that is done, you can spend your spare 40 hours on something that will give you a better bang for your buck, for example a UI design course. Or maybe iPhone development.
is there any video material course like bootcamp but for android studio, it takes a while for me to get where to look since its not same order of files and things when you work with eclipse and android studio
@Iluvatar The Killer
so, ur very great then ha3..
Im just an ordinary computer science student ....
Sent from my E15i using xda premium
syahazu said:
@Iluvatar The Killer
so, ur very great then ha3..
Im just an ordinary computer science student ....
Sent from my E15i using xda premium
Click to expand...
Click to collapse
Maybe..
But it has been 4 years that i'm no longer programming (instead of my 8 years of learning programming languages starting from really basic programs like Basic, Assembler, Turbo Pascal) I have to focus all my memory right now..gnnn.!
What an effort..! :laugh:
Well, be strong-hearted..
May the F0rce b with u
Sent from my E15i using xda premium
syahazu said:
Well, be strong-hearted..
May the F0rce b with u
Sent from my E15i using xda premium
Click to expand...
Click to collapse
Yes I will!!!
And thanks for the force
I just started the course this week.. It seems to be great!!! (The java language, and the training course)
:thumbup:
Sent from my Nexus S using xda app-developers app

Categories

Resources