[Q] Development of an App? - Online Courses, Schools, and Other External Resour

I need to create an app from scratch for my local school. I have some experience in Python. What do I need to learn and how can I go about making this app?
It also needs to be able to support all types of devices, such as Windows and Apple.

Each platform (android, iOs, WindowsPhone) needs an own app. So you have to code same app three times.
But there are some frameworks like PhoneGap which creates all three apps out of one code.
If you want to use PhoneGap ur App must be coded in Html, & JavaScript.
If you want to code native Apps, you have to use Object-c for iOs, Java for Android and C# or C++ for WindowsPhone.
Regards

I cant program an app in C for Android. I didn't know that.
Sent from my SHV-E300S using xda app-developers app

EmptinessFiller said:
Each platform (android, iOs, WindowsPhone) needs an own app. So you have to code same app three times.
But there are some frameworks like PhoneGap which creates all three apps out of one code.
If you want to use PhoneGap ur App must be coded in Html, & JavaScript.
If you want to code native Apps, you have to use Object-c for iOs, Java for Android and C# or C++ for WindowsPhone.
Regards
Click to expand...
Click to collapse
Which is better to learn? Html or Java? I have plenty of time to learn the language, just need to know where to start. I would moest likely use PhoneGap.

there is no comparison of both the languges but if you are asking for development then you must go with java :thumbup:
Sent from my GT-S5830 using xda app-developers app

Depending of the complexity of the App, the time you have it for delivery it and other factors, you can choose from make a native App or a Hybrid App.
Native App: You need to use the native languague of each platform, which means that you need codify the same app for each platform on their native languge.
Hybrid App: One code for all platforms, in this case you codify the app with web technologies like HTML and JavaScript using frameworks like PhoneGap, Appcelerator and many others you can find in the web.
Other thing that is important when you are choosing between those two approach is that the performance of the native App will be always better, but for simple Apps, the hybrid approach offers a good overall performance.
Best regards!

Related

[Q] learning how to develop apps

i want to start making apps for android but dont know where to stat i have the sdk on my desktop but thats about it. If someone could please help me or push me in the next step please do so.
Just go to the dev guide on the Android website to start making your first Hello World app. As for language, Android (I could be wrong) uses Java. Again, I could be wrong.
Sent from my GT-I9000M using XDA App
Indeed, Android uses Java. I'd suggest learning it before attempting to program for Android or else you'll feel like it's gonna be too difficult. There's plenty of books on Java, and some powerful Google searching will lead you to step-by-step guides to learning Java.
Also, go through the Android Dev Center for a lot of information. There's plenty of guides there on things like 'how to design your app to flow with the overall android feel' and 'designing icons to fit general android homescreen look'.
You're gonna want to download Eclipse for Java Programming. It's a free Java development environment much like Dreamweaver and Visual Studio are for web development.
Oh, and PLAN! Like any good development project, your project will not get anywhere if you don't know where to start and when to end it.
Plan first. Then plan the planned elements. Java is object-based programming, and just like building a house each object needs to be solid or else it'll crumble to pieces.
Same here. Thx for the advice.
elindemann said:
Indeed, Android uses Java. I'd suggest learning it before attempting to program for Android or else you'll feel like it's gonna be too difficult. There's plenty of books on Java, and some powerful Google searching will lead you to step-by-step guides to learning Java.
Also, go through the Android Dev Center for a lot of information. There's plenty of guides there on things like 'how to design your app to flow with the overall android feel' and 'designing icons to fit general android homescreen look'.
You're gonna want to download Eclipse for Java Programming. It's a free Java development environment much like Dreamweaver and Visual Studio are for web development.
Oh, and PLAN! Like any good development project, your project will not get anywhere if you don't know where to start and when to end it.
Plan first. Then plan the planned elements. Java is object-based programming, and just like building a house each object needs to be solid or else it'll crumble to pieces.
Click to expand...
Click to collapse
Actually, you're doing things the hard HARD ...HARD way....
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go. It takes far less time to learn JavaScript , CSS and HTML then it does to learn pure JAVA, and then learn to implement Android's API.
There are a few things that Titanium Mobile can't do, but they are always working on it to make it better. And of course - it's free
I've made a few apps using it. Including an HTML eBook reader, Chinese Flashcard App, and a Simple Chat Client.
Their JavaScript API takes a bit to get used to, but after that, you can easily spit out a simple app in about a day or so.
I have a web-app Template that lets me dump a Web-app (html/css/js) into a project, and spits out a nice new shiny Android app ready for the market.... I also wrote code that lets you access the Menu Button on android too. So it's not like using PhoneGap where it's just a Browser session with an icon on your phone.
PM me if you're interested, and i'll show you everything i learned about Titanium Mobile so far (i'm still learning actually). Or if you want an app done, i can do it for you... free if it's easy enough
DaoMingJin said:
Actually, you're doing things the hard HARD ...HARD way....
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go. It takes far less time to learn JavaScript , CSS and HTML then it does to learn pure JAVA, and then learn to implement Android's API.
There are a few things that Titanium Mobile can't do, but they are always working on it to make it better. And of course - it's free
I've made a few apps using it. Including an HTML eBook reader, Chinese Flashcard App, and a Simple Chat Client.
Their JavaScript API takes a bit to get used to, but after that, you can easily spit out a simple app in about a day or so.
I have a web-app Template that lets me dump a Web-app (html/css/js) into a project, and spits out a nice new shiny Android app ready for the market.... I also wrote code that lets you access the Menu Button on android too. So it's not like using PhoneGap where it's just a Browser session with an icon on your phone.
PM me if you're interested, and i'll show you everything i learned about Titanium Mobile so far (i'm still learning actually). Or if you want an app done, i can do it for you... free if it's easy enough
Click to expand...
Click to collapse
Wow, I'm very interested. I might check it out.
sent from my pimp hero running Froyo CM6 and the XDA app
If you know the C or C++ language you could try out MoSync, depends what you like, some programmers like the level of control and speed you get from C++. If your content with simpler apps then maybe phonegap or appcellerator for you.
I guess that when mobile apps get more sophisticated javascript programs will be just as complex as C++ programs.
Thats my view, but then I like C++ better.
/Tony
MoSyncTony said:
If you know the C or C++ language you could try out MoSync, depends what you like, some programmers like the level of control and speed you get from C++. If your content with simpler apps then maybe phonegap or appcellerator for you.
I guess that when mobile apps get more sophisticated javascript programs will be just as complex as C++ programs.
Thats my view, but then I like C++ better.
/Tony
Click to expand...
Click to collapse
It really depends on how much control and you really need. If you're going to write games, then you do need speed that C++ and the Native Application Development API on android can give you. If you're writing a social networking app, the speed of C++ would really be an overkill.
As far as i've read, PhoneGap still has a lot of issues. And the build process is a bit more complicated than on Titanium Mobile.
If you're just using the regular Android API to write apps, i don't notice a lot of difference in speed execution between writing it in pure Java, or using Titanium mobile (using native code and UI elements - i don't mean putting everything into a WebView).
The current app that i'm writing now i don't think can be written using Titanium Mobile or PhoneGap (unless i added some native functions and did my own fork of PhoneGap).
More or less, i'm writing an App for Android and JRE/Linux systems that will allow me to enumerate, and access USB status bits, and USB data frames of a given USB device, and then allowing that USB device to be accessed through a TCP or UDP connection.
I might be able to do this with Titanium Mobile, but i don't think i can. As the only files you're allowed to access are on the SD card, application data directory, and temp directory.... i think there's one other place you're allowed to access too, but i never used it. However later today i might just try to see if i can access the /Dev/DSP01 (aka sound card) on an android device. If i can, i think i could write it using titanium mobile. I'm already halfway done with this app in pure java, so i wouldn't actually rewrite it in Titanium Mobile now.
DaoMingJin said:
if you want to develop apps for android, Titanium Mobile (appcelerator.com) is the best way to go.
Click to expand...
Click to collapse
Thanx mate!
If you looking a book or something to teach you the basics Beginning Java Programming for Dummies and Android Application Development in 24 Hours are good reads.
I'd rather not fill the forum with more threads so I'm just going to ask my question here. What is the best way to read the android dev guide on the device itself? Just going to the site directly? Ideally I'd like a pdf or something designed to be read on a small screen. The site can have formatting issues when read on a small screen.
Sent from my SPH-D700 using XDA App
I've been developing for a long time (nearly 30 years), and whenever I need to learn a new language I start with the Sams range, "Teach yourself whatever language in X days/hours". They're pretty good and this is available for Kindle, which is great if you use the Amazon Kindle app...
http://www.amazon.co.uk/Teach-Yours...1_fkmr2_2?ie=UTF8&qid=1287485537&sr=8-2-fkmr2
It obviously costs, but I really do rate those books as brilliant starting points. The rest is google and friends on here.
Hope this helps - good luck mate.
Personally, I've been coding in Java for what... four years now? I'm feeling dwarfed here by johncmolyneux but honestly, the best way to learn is to not use an IDE like Eclipse, but to use something that you have to hand-code everything yourself, such as Geany! You learn fairly quickly after writing a few applications.
If you are thinking "titanium", "mosync" or "phone gap" it is worth doing a bit of background research. There are several extremely powerful tools out there that can help you build cross platform apps - these are among the top ones.
bit more discussion about this here: http://forum.xda-developers.com/showthread.php?p=16703287#post16703287
There are a few useful reports comparing them - check out ours by googling "triballabs cross platform"
The Google App Inventor makes it pretty easy to create your own Android apps. Best part is you don't need to learn any programming languages. You won't be creating anything too complicated like a video game for example, but it's a good start nonetheless.
http://appinventor.googlelabs.com/about/
If you want to learn the basics of Java, then please check out a book called as "Head First Java". They really explain the basics with the help of real life examples to make things much simpler so that people understand.
Beginner app projects
I'm also just getting started with app development. Something I've been looking for is a beginner app project. Wish I could find a walkthrough of a simple app like a game of Hangman or something like that. I've been through the android developer training web site and got some good info but some things I'm still a little stuck on. Id Love to see an actual app (rather than just a mock up of some fields and buttons) and then a slightly dumbed down explanation of the code. Might be a lot to ask but man it would be great!

[Q] need answers.

1) Is it possible to run windows application on android? C#.
I want to build an app on C# and i want it to run on my Android Phone, is this possible?
2) How can I run Html files on my phone?
Sorry for my english.
I'm not very experienced, but I think you'll need to emulate windows. I cannot guarantee that this is correct though.
jhaz04 said:
1) Is it possible to run windows application on android? C#.
I want to build an app on C# and i want it to run on my Android Phone, is this possible?
2) How can I run Html files on my phone?
Sorry for my english.
Click to expand...
Click to collapse
Html will work with, but you need to do some porting. C# is what apple uses for their apps. As far as I know, our apps are mostly written in java.
Sent from my SGH-I777 using Tapatalk
You won't be able to run C# apps on an android phone. The big problem is that Android doesn't use C# code at all. Applications are typically written in Java, although developers have the option of writing in native code (C++) if they are willing to forego the use of APIs. The short answer is that any C# app will have to be totally rewritten for use on and android phone.
As for HTML, there are a number of excellent browser apps that either come pre-installed or are on the market. These apps can open HTML files. They can even handle web apps using HTML5, javascript, css and AJAX.
Hope that answers your question.

Best Way to Develop A Simple App?

Hello,
I am a total novice. However, I'd like to develop a simple timecard app for Android, specifically targeted like the apps below.
http://www.appato.com/edward-pereira/wrap-time-time-card-for-film-crews/
http://www.crewtimecard.com/
These only exist for Apple products, though. What is the easiest, most straight-forward (Windows-based) software for creating such an app? I've heard of something called Eclipse...? Or there's some Google thing?
Thanks!
You need eclipse ide and android adt plugin for exclipse to code for android.Also you need android sdk for the api's.Googling "how to setup eclipse for android development" will give instructions for those from android developers website
Sent from my GT-N7000 using xda app-developers app
thanks vijai2011. Is Eclipse easy to learn? Is there something easier that may not be TOO basic, so that I can create a timecard app like the ones I linked to above?
You dont have to learn to use eclipse .All you you need to know is java and few things about android resources which you can find at android developer website.They will pretty much cover everything.
But without java,you cannot take even the first step of app coding.Heart of app coding is java.
Sent from my GT-N7000 using xda app-developers app
I see... so there really isn't something similar to Adobe Dreamweaver for android apps?
daniel178 said:
I see... so there really isn't something similar to Adobe Dreamweaver for android apps?
Click to expand...
Click to collapse
Like Adobe Dreamweaver lets you design your web layout pages with PHP coding ... Eclipse lets you design the App layout with java coding. Its pretty much similar.
You can even use Netbeans or similar IDE's, but most developers use Eclipse and its the one that's being recommended by Google, I guess.
Thanks... I am little intimidated by Eclipse. Is it mostly graphical? can I get by without any coding? You see the type of app I want to create....
Also, have you heard of Phonegap? Is this easier/better/more or less limiting?
Eclipse is fully gui.You go through a wizard to create a new project,adding app icon,creating main activit(ies),select lowest api and the api for app then you get into a screen like a text editor where you type java,then go to android manifest then added the created activity,give perm and export the app signed.Even the adb is included at the bottom toolbar for easy debugging in real time .
So its pretty much straight forward but it can take sometime for the first time.
Sent from my GT-N7000 using xda app-developers app
Hmm, sounds like there's some java (at least) coding involved. Can I get by without any manual coding at all?
Also, to create an app like the timecard things above, for Android, what version of Eclipse would be best (simplest, yet able to do the job well).?
Well....Its not some java...It 99% java the remaining 1% is for the look and feel that you put to your preference .That is why I said
But without java,you cannot take even the first step of app coding.Heart of app coding is java.
Click to expand...
Click to collapse
on post #4
No...you dont need any specific version of java.Take the latest eclipse IDE and the latest ADT plugin and code it.There is nothing you can do without manual work of typing java.You cannot do those web page design using dreamweaver here Here is my first app I wrote.There is also the source code attached at the bottom.See how long the code is just to invoke a activity of another app with a default argument.
This is how I set up eclipse:
You must have sdk pre-installed for this.Also sdk needs a 32bit java JDK to work.(you need 32bit irrespective of if u run 32 or 64bit.Dont know why is that so.SDK never recognized my 32bit JDK)
Install eclipse classic
follow this to install ADT
daniel178 said:
Hello,
I am a total novice. However, I'd like to develop a simple timecard app for Android, specifically targeted like the apps below.
http://www.appato.com/edward-pereira/wrap-time-time-card-for-film-crews/
http://www.crewtimecard.com/
These only exist for Apple products, though. What is the easiest, most straight-forward (Windows-based) software for creating such an app? I've heard of something called Eclipse...? Or there's some Google thing?
Thanks!
Click to expand...
Click to collapse
Checkout HELLS-KITCHEN. It's a great starting point. With this Distro and a million Tutorials on XDA, you should be able to find what your looking for.
what about Flash? I've watched a couple of video tutorials on using Flash 5.5 and up to create Android apps, and it seems pretty graphical-only (no or less coding -- keep in mind my app is very simple). Would this be a viable option?
What ever you try,The last and final destination is TO USE JAVA for app even if the app is a "Simple" Hello world app!You have to have a main activity,type in the codes etc....You dont get it out my clicking out on wizards like:
Do you want Android app?click next
Do you need it to be simple?click next
What features you need?Select them.
If you are too lazy to type out codes or dont know java,Why not just try any alternative in play store?It is more Graphical and is only few taps
Sent from my GT-N7000 using xda app-developers app
Alternatively you could try to use phonegap.com or usepropeller.com / simplr.mobi.

language for android app development

Hello , i have an IT project lined up regarding the programming of an android app (a high level)
i would like to know that which is the best free book/pdf document is available online for learning android programming.
i have started learning python, i just wanted to know whether it can help me in any way?
Emmm....I think python won't help. By the way what languages do you know? If you like you can continue your project with Mono Android. Which is compatible with Microsoft Visual Studio and you can do many things easier with it. In that case you have to know C#. Here's the thread with many links. http://forum.xda-developers.com/showthread.php?t=2223114
Sent from my SonyX8 using Tapatalk 2
---------- Post added at 11:57 AM ---------- Previous post was at 11:55 AM ----------
Here's the thread for setup Mono Android. http://forum.xda-developers.com/showthread.php?t=2223010
Btw if you would like to go on this, pm me problems you have, I will help you as I can. Good luck.
Sent from my SonyX8 using Tapatalk 2
virk36 said:
Hello , i have an IT project lined up regarding the programming of an android app (a high level)
i would like to know that which is the best free book/pdf document is available online for learning android programming.
i have started learning python, i just wanted to know whether it can help me in any way?
Click to expand...
Click to collapse
Do yourself a favor and simply use Java if possible. That is how they intended to develop on Android. In my experience anything else is good only if specifically needed.
JAVA is the most used language to make apps for Android but there are alternatives and the biggest I see is Mono fro Android which uses C# as a programming language
const_char said:
Do yourself a favor and simply use Java if possible. That is how they intended to develop on Android. In my experience anything else is good only if specifically needed.
Click to expand...
Click to collapse
I second that. Android is mostly designed around C and Java. Even if you code C/C++, you sometimes have to use JNI to call back into Java, because some functionality is only exposed in a Java package, not in native code.
So Java is the best way to make full use of the Android platform, and gives you the best compatibility. Most tools, documentation and other resources are also aimed at Java development.
Java is default android development language
virk36 said:
Hello , i have an IT project lined up regarding the programming of an android app (a high level)
i would like to know that which is the best free book/pdf document is available online for learning android programming.
i have started learning python, i just wanted to know whether it can help me in any way?
Click to expand...
Click to collapse
you can develop android app with python but maybe your released app size is so big
because your app must statically have python interpreter.
it is not easy stuff, if you have not many experience of android development.
python is not too far from java or c/c++ so it may help anyway, but now you should go to java ...
but the most important is now to know how to use the Android framework
Nowadays, Java is the most useful language to create application for android, but I will prefer mono for C# as a programming language.
yeah...man u should use java it would really help u.....i m 14 i too wanna develop apps...so i learn JAVA it's the best ....
By the way gud luck with ur project
Sent from my IRIS402 using xda app-developers app

How to start making Windows 10 Mobile Apps (with unlocked capabilities)

1. Learn a supported programming language: I would recommend learning C# (since there are more resources available for it for UWP development).
C# Tutorial Series: https://www.youtube.com/watch?v=2jeDwO-4rIw&list=PLm-PcOa0HEDbnEdssI8lFgeY9NjI9u6RN
2. Learn how to make UWP apps: You would need to learn how to design the apps and how to code specifically for UWP
UWP Tutorial Series: https://www.youtube.com/watch?v=SiaUzO72tqE&list=PLi2hbezQRVS0cPMeW3uDlUHnO_rPvJCV9
3. You are free to do anything you want now: Feel free to experiment with APIs you find in the Microsoft Docs and stuff you find online.
4. Unrestricted freedom: When you submit your app to the Microsoft Store, you have to meet requirements which limit what your app is allowed to do. However, you are free to share packages that use those restricted capabilities. With those capabilities, I was able to create things like the Third Party app store, app installer, app launcher etc. You could potentially make your own third-party versions of the stock apps with these.
Here is a list of capabilities with namespaces related to them. (The restricted ones are further down): https://docs.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations
By creating more amazing apps, you make the community even better! Thank you
P.S. Please make this sticky, this would really help newcomers and make this forum even better!
Shameless plug to my app installer lol: https://forum.xda-developers.com/wi...d-games/uwp-app-launcher-source-code-t3667562
Do you have apps on the windows store?
Yes. I've made apps like: Pomodoro Timer UWP and Audio Trimmer UWP
How about whatsapp client?
augustinionut said:
How about whatsapp client?
Click to expand...
Click to collapse
Not worth the effort honestly. Would be nice to port Chromium though.

Categories

Resources