[Q] Looking for some programmers that know how to use pseudocode - General Questions and Answers

Hi guys im new to the site as in being a member and posting stuff I usually try mods for my phone and stuff but I wondered if there are any programmers here that know how to use pseudocode and can help me with my assignment that i have

Zarakisama24 said:
Hi guys im new to the site as in being a member and posting stuff I usually try mods for my phone and stuff but I wondered if there are any programmers here that know how to use pseudocode and can help me with my assignment that i have
Click to expand...
Click to collapse
Pseudocode isnt really code, its more like a placeholder of english arranged in a code like manner that sets a template for the code that you are going to write in the future.
For example if i have some really long code that does a bunch of math, in pseudocode you can instead just write something like "doMath(). Pseudocode isnt actually there for getting stuff done but more there as a way of planning how your code will work when you actually start writing it for real.

Hjax said:
Pseudocode isnt really code, its more like a placeholder of english arranged in a code like manner that sets a template for the code that you are going to write in the future.
For example if i have some really long code that does a bunch of math, in pseudocode you can instead just write something like "doMath(). Pseudocode isnt actually there for getting stuff done but more there as a way of planning how your code will work when you actually start writing it for real.
Click to expand...
Click to collapse
I know I get some of the aspects of it but I have a actual pseudo-code assignment for my class due in about a week or so and I'm hoping someone knows how to go about writing pseudo-code and ill post my assignment for some help if anyone minds helping me out.

Related

Learning to Develop on Android

So I've been palying around with the Android SDK. I've done a bit of developing before, but never in Java. The Android APIs are pretty well documented, but I'm missing the basics of Java programming (data types, declaring variables and constants, file operations, etc.).
Does anyone have any suggested references? I've been digging some myself but it's slow going.
If you haven't already, check out http://www.helloandroid.com , http://www.anddev.org , and look for O'Reilly books on Java or skip the first five chapters of "Java for Dummies."
Both of those are really focused on Android specifically. Anddev.org is really for developers while HelloAndroid.com is more of a blog and not much technical info.
Here's the best site I was able to find about the Java basics.
http://en.wikibooks.org/wiki/Java_Programming/Overview
After that it just learning the APIs, and I think Anddev is really going to be the site to watch on that.
I thought I'd share in case there are other aspirng developers watching.
Developing Thread
I didn't know where to add this, but if you need to move it to the right thread please do.
I want to start developing, but I don't know any Java. I'm sure that you guys probably know some books that I can pick up to start learning. Actually any advice or resources would be great since.
Ever since i got the G1 and seeing everybody speaking code it realy started to interest me. So any help would be greatly appreciated.
Thank you
I heard the dummy books aren't that good to start off with, but thanks I'll still look at it.
Bump,
Come on people i know you have some ideas, so i can learn java or anything to develop for Android.
Im also thinkin about starting or trying to develop for Android, like how would I start off makin a custom rom build?
Come on guys
See here
Christopher3712 said:
Come on guys
See here
Click to expand...
Click to collapse
that would have worked great if you spelled develop right LOL
The thing with programming textbooks is no one can ever agree on what book is "best". Some people like books that are basically just giant lists of functions and their syntaxes, some people like books with a lot of examples, some people like books that primarily explain the most basic functions in plain English. Some folks don't like to use books at all and learn programming purely from studying others' source code.
A lot of the Java-specific books written in the past decade are written without requiring pre-existing knowledge of C++, which would be good if you have never programmed in any language before. I think the "Headfirst Java" volume is supposed to be well-regarded, but I can't say that from personal experience.
Of course, you could always just find your local community college/adult school/vocational center and sign up for Java classes. Some community colleges might place Java far down in the CS track and make you take prerequisite courses. Depending on how the course is set up, what text it uses, and how much ground it intends to cover, it may or may not have prerequisites.
Good luck
neoobs said:
that would have worked great if you spelled develop right LOL
Click to expand...
Click to collapse
lol, i'm just all over the place today! no matter, i made my point
Christopher3712 said:
lol, i'm just all over the place today! no matter, i made my point
Click to expand...
Click to collapse
I wasnt referring to apps, but thanks?
Christopher3712 said:
Come on guys
See here
Click to expand...
Click to collapse
OMG hahahahaha i love it!
Learning to Develope on Android
I want to learn how to develop apks, use the SDK to its fall extent. I put Debian on my phone and windows x , made a couple of my own themes. However, i want to do more i just don't how the knowledge to do so. i tried to read on how to use java, c++, c.net, etc but I'm just not picking it up all to well. I just installed Ubuntu on my computer but my knowledge of Linux is very little. I'm welling to put the time and effort into learning how do these thing but I'm getting no where. Watching people like JK come out with roms just makes me want to do the same. i also just updated to the new SDK but for some reason it won't work (haven't gone around to find out why thou). Can anyone help me out, maybe point to toward some good sources, books, or whatever. i love messing with me G1 i just want to take it to the next level. i finish school on the 20th of this month and i have till July 15th of free time ( i leave for Basic Training). so i would like to get started between these times.
If a similar thread was already made i'm very sorry i searched like crazy to find one but had no luck, so please don't get made if there is one just point me to it.
THANK YOU
www.android.com
find source code to play with and read, read, read!
dead2hill said:
www.android.com
find source code to play with and read, read, read!
Click to expand...
Click to collapse
I have read so much my head could explode, but i think I'm reading from the wrong sources or just not getting it at all. I'm reading some books i got from friends with Master Degrees in this stuff and they are just confusing me.
The major problem is I'm a fantastic hands on learner but i have no one with the spare time to help on any of these. I've been taking the Cisco Academy Online and didn't get any of it until i had someone help with a hands on learning and it all just flowed right into me easily now i'm close to getting my CCNA.
But i'll keep reading till i get it, some day
fankly i would say if you wanna make apps then read a buch of tutorials, stare ata lot a source code. and create a few simple things first. i have not bothered with any of the sample's with the SDK because i just don't like them. i do however read lots of code daily and am currently trying to find the best way to get my app running. i am one of those people that if handeed source code i could tell you what it does and when, but if told to write a program that does something it will take ages for me to figure out. even with a year of both java and VB .net under the belt i still don't know much since those classes where a long time ago. read lots of code and you could probably benefit from having a java book around too
I found the sample code and tutorials shipped with the SDK very educational, and would recommend the soon-to-be Android developer to plow thru them. They give you (at least they gave me!) a basic understanding of how Android apps are supposed to work.
If you're not used to general Java development at all, I recommend starting out with a beginners book on Java development first.
/Mats
@hellsonlyangel - I have the same desire to learn how application development as you, particularly Android development. I've done the same as you over the years, reading tons of books and online tutorials on programming, but learning very little. I am taking a very general, but comprehensive, scripting course right now as a part of my Network Admin degree program, and I fell that I understand more after 2 weeks in this course than I did from all of my self study attempts. Sometimes, there's just no substitute to structured learning programs. The ISBN for the book that my course is using is 1418836338. It can be had on the cheap, used for around $8, just in case you want to check it out. Good luck.
hellsonlyangel said:
I want to learn how to develop apks, use the SDK to its fall extent. I put Debian on my phone and windows x , made a couple of my own themes. However, i want to do more i just don't how the knowledge to do so. i tried to read on how to use java, c++, c.net, etc but I'm just not picking it up all to well. I just installed Ubuntu on my computer but my knowledge of Linux is very little. I'm welling to put the time and effort into learning how do these thing but I'm getting no where. Watching people like JK come out with roms just makes me want to do the same. i also just updated to the new SDK but for some reason it won't work (haven't gone around to find out why thou). Can anyone help me out, maybe point to toward some good sources, books, or whatever. i love messing with me G1 i just want to take it to the next level. i finish school on the 20th of this month and i have till July 15th of free time ( i leave for Basic Training). so i would like to get started between these times.
If a similar thread was already made i'm very sorry i searched like crazy to find one but had no luck, so please don't get made if there is one just point me to it.
THANK YOU
Click to expand...
Click to collapse
So the best way I found to learn this is through trial and error. I will write code for a simple program, for instance a clock app. I will work on it until it does what I want it to then I will trash the code and build it again using what I just learned. It's just a lot of practice and don't get too deep until you have a full grasp of the concepts behind programming. You'll just get stuck and frustrated.

[Q] I'm a dev, would it be hard to a cornerstone

Hello,
I'm extremely good with computers and done a few years worth of programming. I saw cornerstone and it looked really good. How would one go about integrating it into a asus or other rom build. I took a look at the source and it looks like a matter of adding the files. Is this somewhat correct? Also if i managed to whip up a version could it brick my device (to the point where I can't reflash or nandroid) from flashing it?
Thanks
roflcopterofl said:
I'm extremely good with computers and done a few years worth of programming.
Click to expand...
Click to collapse
Hah. If that's really true I don't think you would be asking those questions.
horndroid said:
Hah. If that's really true I don't think you would be asking those questions.
Click to expand...
Click to collapse
I never said I was good with android. I've been in the community for under a year and never did much dev on it because of various other projects. The smartest teacher I ever met once told "If you lie about what you know you are only deceiving yourself". I'm not going to lie, I know nothing about android besides rooting and rom flashing. With that said I wouldn't know how it would be incorporated and what is occurring when you flash it (what is modified).
I would watch where you flash you smart ass comments because you can't judge what someone knows based on a internet comment.
roflcopterofl said:
I never said I was good with android. I've been in the community for under a year and never did much dev on it because of various other projects. The smartest teacher I ever met once told "If you lie about what you know you are only deceiving yourself". I'm not going to lie, I know nothing about android besides rooting and rom flashing. With that said I wouldn't know how it would be incorporated and what is occurring when you flash it (what is modified).
I would watch where you flash you smart ass comments because you can't judge what someone knows based on a internet comment.
Click to expand...
Click to collapse
Well, considering that you know nothing about Android development, and TBH if you were really interested in Android development and had years of programming experience, it should be very easy, provided you know anything about Java, to begin programming Android. But with a few years of programming experience, you should know a lot of Java, right?
I've been in the community for under a year and never did much dev on it because of various other projects. The smartest teacher I ever met once told "If you lie about what you know you are only deceiving yourself". I'm not going to lie, I know nothing about android besides rooting and rom flashing. With that said I wouldn't know how it would be incorporated and what is occurring when you flash it (what is modified).
Now let's put that aside and possibly stop trolling, and get the main focus of this thread.
luna_c666 said:
Well, considering that you know nothing about Android development, and TBH if you were really interested in Android development and had years of programming experience, it should be very easy, provided you know anything about Java, to begin programming Android. But with a few years of programming experience, you should know a lot of Java, right?
Click to expand...
Click to collapse
Java isn't the only programming language that exists. I'm sure you realize that. I can already tell my your abrupt attitude that you have something against me (I'm sure because of the rooting thread). No reason exists why that should occur. It was a simple question where no trolling should reside.
Edit: Maybe I misinterpreted your comment, if so my apologizes. Yes I've been doing java for the last 6 months (on and off but I've came back fully for the last month). The other months were simple learning and reverse engineering(Which the 5 months could be questionably be worthless seeing that after I went back to the code I was reverse engineering everything made 25 times more sense then before)
Android is based on java. It uses a linux kernel. You should familiarize with these. No I wasn't being snide- the rooting thread was weird I admit, but I was actually just giving an earnest answer- you may not be the only one that reads it.
horndroid said:
Hah. If that's really true I don't think you would be asking those questions.
Click to expand...
Click to collapse
Listen, smart-ass, you ever heard of specialization? Just because someone is a physicist doesn't mean he knows everything in the field of physics. Just because someone is a programmer doesn't mean he knows everything about programming. If you have an allergic reaction, would you go to a proctologist or an allergist? If the proctologist would admit to his ignorance of someone's allergic reaction, would you question that he's a doctor at all?
I'm an engineer. Would you doubt I'm an engineer if if I told you I know nothing about chemical engineering?
This is why when programmers talk to each other, they don't say "I'm a programmer". Usually, they say "I'm a java programmer" or "I'm a visual basic programmer", etc. I once knew a C++ guy that almost pulled his hair out over the fact that you could only send one value from one method to another in java. Surprise surprise, the languages are designed differently as well.
I give up... not !!!..... but the troll will be no more
I realized right before I posted the last post that nothing will bring you out of your misconceptions.
The OP asked a legitimate question which you are now derailing by grandstanding as if you know anything. You've posted a lot in this thread already and in none of those posts have you been of any help. At the very least, you could help by keeping this post back on track by giving a proper response within topic.
I too am extremely good at computers and have been doing programming since 1982. But for the life of me I also wouldn't know how to integrate Cornerstone into ICS. Now since the poster asked the question relating to that, and you've so far posted more than anybody here in this thread, we are waiting for your answer to the OP's question...if you have any.
horndroid said:
I was doubting his claim that he was extremely good at computer. "Extremely" is the keyword.
Click to expand...
Click to collapse
horndroid said:
The only misconception here is you think I was doubting the OP's specialization, which I clearly wasn't.
Click to expand...
Click to collapse
^^^^^^^^^^^
If you read those two quotes from what you posted, you will see how stupid you look right now.
Horndroid, I think you are talking a lot but you don't really know the IT world...
I'm an IT professionnal, I'm developing in Java for about 4 years now and I don't know anything about Android development...
Do you really think a dev knows every programming language and every platform ?
I don't want to be rude but your answers are realy just spam to me and I really think you don't know what you are talking about !
The OP was just asking a question if you don't have any useful answer to give, avoid spamming his thread !
Horndroid .....not knowing
It seems that right now you're the one specializing in it.
WHY DONT YOU BOTH SHUT UP AND LET PEOPLE ACTUALLY ANSWER THE QUESTION
Sent from my HTC Vision using XDA
roflcopterofl, maybe you should ask the mod to delete this thread and try again. Good luck with finding what you need. Hope this event doesn't persuade you to give up. I hear there are a lot of people interested in working with cornerstone, so someone is bound to have the information you are looking for.
From what I've read from the developer who was working on officially integrating Cornerstone in to CM9 (and then abandoned), the Cornerstone code is a mess and kind of hard to work with. If you're not experienced with Android development specifically, it's going to be tough (although not impossible - just very difficult).
typci said:
roflcopterofl, maybe you should ask the mod to delete this thread and try again. Good luck with finding what you need. Hope this event doesn't persuade you to give up. I hear there are a lot of people interested in working with cornerstone, so someone is bound to have the information you are looking for.
Click to expand...
Click to collapse
+1 on this.
I am interested in working on this to. Not chemically, mechanically or even EXTREMELY. Just interested. Please don't tell my allergist or proctologist though
We can get the source code from the Onskreen site or is it on github too?
Woodrube said:
+1 on this.
I am interested in working on this to. Not chemically, mechanically or even EXTREMELY. Just interested. Please don't tell my allergist or proctologist though
We can get the source code from the Onskreen site or is it on github too?
Click to expand...
Click to collapse
https://github.com/onskreen/cornerstone
Haha ok thanks. Nothing wrong with a little argument of it leads to progress. I've been doing java for half a year but recently I've really picked it up. The other programming languages were lua (for a day lol), basic, visual basic, Html (markup but still). I do not know every language nor do I claim to. GoodIntentions won that argument by a long shot. My statement wasn't mean to be relative to other's knowledge. It was simply saying that I've done things like this in the past and have no fear. Could a mod lock this before it gets flamed.
Thanks

where did you learn how to develop?

Hey guys, chances are you've seen me post on forums, because I do... quite alot. In fact one of my earlier posts should be right below this one.
Generally in my posts, I make all sort of grammatical flourishes and pretend to know what I'm talking about (I do have half of an idea).
The problem is though, for the most part... I don't.
So my big question to you guys is... where did you learn how to develop? Be it ROMs, apps, themes, exe's, msi's, tar's, or whatever else you guys can come up with? Because Google searches just leave my mind reeling.
Thank you in advance.
Thebeastglasser
thebeastglasser said:
Hey guys, chances are you've seen me post on forums, because I do... quite alot. In fact one of my earlier posts should be right below this one.
Generally in my posts, I make all sort of grammatical flourishes and pretend to know what I'm talking about (I do have half of an idea).
The problem is though, for the most part... I don't.
So my big question to you guys is... where did you learn how to develop? Be it ROMs, apps, themes, exe's, msi's, tar's, or whatever else you guys can come up with? Because Google searches just leave my mind reeling.
Thank you in advance.
Thebeastglasser
Click to expand...
Click to collapse
These might be good places to start.
Android Chef Central
Android App Development - From Scratch
you could start off by learning a programming lanuage like VB or even C# its up to you
then when you get better start moving to a mobile programming lanuage C# or java as far as i know.
to make things faster you could get used to a game engine like unreal,unity 3D and others make a few small apps then move to something bigger.
you can google how to learn differant programming lanuages.
what i did was start by makeing small scripts that modded to OS of my computer, CMD, fake CMD virus stuff like that.
you can also find lots of sample projects to look at to see how differant things work
besieger1 said:
what i did was start by makeing small scripts that modded to OS of my computer, CMD, fake CMD virus stuff like that.
you can also find lots of sample projects to look at to see how differant things work
Click to expand...
Click to collapse
You wouldn't happen to have any links to those... would you?
http://developer.android.com/index.html is super helpful! Start off by learning the basics. Dont expect to make anything special for awhile...

where to start for first time app?

ok so i have had a few ideas for apps and i finally think i have a great one, ya i know we all think our ideas are great. without going into to much detail it will allow users to scan barcodes and look up/ add info about that item kind of like a wiki page. there is alot more too it but i dont know any of you and am not just going to give my idea away ;p so my question is where to start. i have little interest in learning to code im more of an idea guy, im thinking finding venture capital and hiring coders? im not looking to make it rich off of this app so i dont mind offering up most of whatever proceeds that would be generated, i just want it to be the app that i want with the features i want thats why im not willing to just put all my ideas up here for someone to take and skew. so what are your tips/ stories from starting your first app? what do i need to have? stay away from? etc?

[APP][2.2+]SharedPreferences Sample (Source code and APK inside)

Right for the time being i'm going to keep things short and sweet.
I've been developing android apps since December last year and if I'm honest i love it but my apps just haven't worked out and it's knocked enough confidence for me to stop making apps and work on other things but i have actually missed the android world and i wanted to give a little back to community as a lot pro's on the internet have really helped me learn new things and although there's still ALOT i don't know, i know enough to help some beginners.
One of the hardest things i learnt was SharedPreferences because at first it just seemed way to hard and it was annoying because using SharedPreferences in your app can make a huge difference and once i knew the basics i realised how relatively easy it is so i put together 3 ways or examples on how to use it and those 3 things are...
Saving Text, Saving Integers and saving an image.
Now i am aware that there other things you can do with SharedPreferences but i find those 3 things quite useful.
I'm actually hoping to create more examples at some point so i can not only help other developers but just to make sure i keep my knowledge up to scratch.
Oh if anyone has any questions about the code or someone finds a serious mistake then please don't hesitate to ask me!
If you could give me a thanks then that would also be great as i wouldn't mind becoming a bit more known on here!
Thank you!! xD
This thread is also in the "Java for Android App Development" section so if either one is in the wrong place then please let me know, thank you.

Categories

Resources