[Q] Final year project on android - Android Q&A, Help & Troubleshooting

Hey gus i needed a bit of help.I am a computer science engineering studentFor my final year I am doing an android app where you write java code it sends the code to cloud gets executed and output is returned back.Can anyone give an overview on how to implement this?

just a thought.
android already uses java so if the java apps are not very complex you could do local processing. Else, the way i see it, you would need java compiler web services (some linux scripting and php should to the trick) and an android upload app for .java files.
i hope this gives you an overview into the minimal functionality involved into the project.

Related

Best Books/online classes

Any thoughts on the best books and/or online classes to learn Java and Android developing.
There is one Android class at a UC school by me but it is $650 for like 6 meetings.
Thanks
1) Best source to get started with Java: http://java.sun.com/docs/books/tutorial/
2) For Android, check out "Busy Coder's Guide To Android"
It's not free, but it's not expensive either ($40 for 1 year subscription and updates).
You get 3 books: basic & advanced Android, together with a tutorial.
If found these books very informative and it helped me alot during my first Android application.
Covers up to Android 2.1 API.
Big Java by Cay Horstman is an excellent book and the one my university recommends for our Software Workshop 1 (Java) module.
We're ranked 5th in the UK for computer science so we can't be that wrong
http://www.anddev.org/
Lots and lots of tutorials.
finally a forum dedicated to this...**** yes im excited. now i know what imma be doing in my spare time at school hahahah. i already was on the forums 24/7....
So, is it alright to step directly to android?
Or is it Java first??
I would say Java first...
Another good book: Professional Android Application Development
And don't forget the tutorials and sample code at http://developer.android.com/resources/samples/get.html
RationalGaze said:
I would say Java first...
Another good book: Professional Android Application Development
And don't forget the tutorials and sample code at http://developer.android.com/resources/samples/get.html
Click to expand...
Click to collapse
The first book above is now into it's second edition which is obviously the one, of the two, to go for given the rate at which Android is changing. I've just bought that & the last edition of Thinking in Java.
Two more great books, they are very good, from the basics up to professional. They are updated with Android version 2 so relatively new:
Apress' Beginning Android 2
http://apress.com/book/view/1430226293
Apress' Pro Android 2
http://apress.com/book/view/1430226595
Oh and Java books are not so mandatory because Android is not REALLY Java, it's Google's own implementation, the basics are Java, but almost
everything is possible without knowing Java and reading these books.
Chapell said:
Oh and Java books are not so mandatory because Android is not REALLY Java, it's Google's own implementation, the basics are Java, but almost
everything is possible without knowing Java and reading these books.
Click to expand...
Click to collapse
The principal programming language for Android is Java. What you mean perhaps is that Android doesn't use the common Java class libraries such as AWT & Swing, but rather its own.
To code effectively you must understand OOP, the Java language & Android's class libraries. There's no way around that.
cauli said:
The principal programming language for Android is Java. What you mean perhaps is that Android doesn't use the common Java class libraries such as AWT & Swing, but rather its own.
To code effectively you must understand OOP, the Java language & Android's class libraries. There's no way around that.
Click to expand...
Click to collapse
Yeah, I know that the programming language is Java. What I mean is if someone has knowledge about OOP and has experience with other programming languages (C++, C#, etc) there is no need to buy a book about Java. Just learn the syntax in 1-2 hour(s). During Android programming you'll be using the Android's classes almost all the time, so it's not the same like really programming some java app from the beginning.
Here is a good set of video tutorials targeted towards programmers that provides a quick down and dirty intro to Android programming and concepts.
http://android.voxisland.com/
I find the biggest challenge having never really learned Java much is learning the Android API. Coming from C the syntax is very familiar.
I am looking to start learning on my own and got this link form Andrew Web.
http://oreilly.com/catalog/0636920001690
Anyone have or heard anything about these videos?

Graduation project

Hello all, I have a question about developing an application for my graduation project. The idea is to develop an application in which the various books/information sources get a place and can be placed under different semesters/years. The information as provided has to have an easy way of updating for teachers(probbebly web-based). The aplication also has to work on iOS. Can you guys give me an idea on how to start i think HTML5 is a good option.
For cross platform application you can try PhoneGap(phonegap.com) with Dojo (dojotoolkit.org).
Front end is only half!
killerbee12345 said:
Hello all, I have a question about developing an application for my graduation project. The idea is to develop an application in which the various books/information sources get a place and can be placed under different semesters/years. The information as provided has to have an easy way of updating for teachers(probbebly web-based). The aplication also has to work on iOS. Can you guys give me an idea on how to start i think HTML5 is a good option.
Click to expand...
Click to collapse
HTML5 will be great, but it will be difficult for a school to update as a native app. I suggest simply using a mobile-ready website. jQuery Mobile is great for this, and it handles all the cross platform issues. Have you given any consideration to serverside code? Php, .Net, and Node.js are all great options. Talk with an administrator about what kind of system they use to store files & links currently. You could fairly simply make a page that scans a file share they maintain to build the page .
Are all current (including budget) phones capeble of running .net or PHP? I'll probebly host the site/app myselve for a while during the test phase so if i go web-based it will be PHP since my host is a linux host. I'll have a look tomorrow, I'm studying to be an officer on a ship not an programmer so all programming is new, I did some vb/php but nothing fancy.
i started with icenium, but found out that icenium doesn't offer to store the webfiles on your own server. So thats not an option.

How to write code with an Android device?

Hi all, with this thread I'd like to share with the community, and with your help of course, knowledge and Android apps to develop in differente programming languages using an Android device.
I tried several IDEs and I've always spent a few time to search and try them, so now would be great if anyone'll share his opinion and which IDE he use, either to simple script or big programme.
At the moment I don't have available any Android Device, so I can't test them, and make any video. (Soon I'll buy a tablet)
Jave
Sand IDE for Java developers (free) https://play.google.com/store/apps/...GwsMSwxLDEsImNvbS5qaW1teWNoZW4uYXBwLnNhbmQiXQ..
Java/C++
AIDE - Android IDE - Java, C++ (free) https://play.google.com/store/apps/...pps#?t=W251bGwsMSwxLDEwOSwiY29tLmFpZGUudWkiXQ..
AIDE Premium Key (9,99€) https://play.google.com/store/apps/...GwsMSwxLDEwMiwiY29tLmFpZGUucHJlbWl1bS5rZXkiXQ..
Arduino
ArduinoDroid - Arduino IDE (fee) https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid
I'll make videos as soon as I buy the tablet.
Write here which you tried!!!

Just Curios

What are the advantages of developing android apps in C++ rather than in JAVA?
The biggest advantage for me is that you can have a shared codebase between the platforms.
The best example is creating cross-platform games. If you write the game code in C++ you only need to write a small amount of code specific for current platform (e.g. Android) that just runs your C++ code right after the start.
Just take a look at Cocos2D-x game engine project (its open-source) and how many platforms it supports because its written in C++.
What are the advantages of developing android apps in C++ rather than in JAVA
OkieKokie said:
What are the advantages of developing android apps in C++ rather than in JAVA?
Click to expand...
Click to collapse
Mainly for game. Most of the mainstream 3D engine are written in C/C++, so for game developer, they can make use of the current c/c++ 3D engine directly without rewriting from scratch.

[Q] Developing for the Android, where to begin?

I am toying with the idea of developing for the Android. It's mostly for fun and to see where it goes. I am a programmer, but do not know Java specifically. If i was to learn Java, i would need to learn it from scratch, but for a programmer, not for a newcomer to the programming field.
I downloaded Android Studio and can follow the guides, but i wonder: Is it better to learn Java first and then Android? Or is it better to learn Android first? And regardless of which, is there a level of basic learning that is "enough" to foray into the other. I ask this because it seems that guides for Android expect one to know Java already. Then again, someone told me he learnt how to do Android, and found Java snippets on the web as he went along.
If there is no specific answer, please lend your advice or personal experience. I am very interested in hearing what other have to say about this.
Do both together
Hey there,
I was a bit worse off than you because the only "programming" experience I had was MS Excel formulas but with some effort now feel pretty good about getting even relatively complicated things working in Android. Basically, I would recommend you learn both Java and Android at the same time.
Here's why:
- you need to get the Android Studio tool set up anyway, and it will do a great job showing you syntax issues and recommending changes as you go. In this way you can rely on Android's developer tools to help you learn basic Java.
- the Internet is chock full of sample code for Android. You can use that as a base, deploy it to a device, change it around, deploy it to a device (or emulator) again, and so on. It will give you both hope and eventual confidence when you're able to see the changes you make in Java actually reflected in an app. It makes it more fun too.
- in the end the majority of your time will be learning the Android SDK frameworks, and I was often able to use the Android documentation examples themselves to teach myself both Java and the Android platform's ins and outs.
Dive in and enjoy!

Categories

Resources