• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Html5 apps por favor!

boyo1991

Android Enthusiast
Ok I don't mean to put this in negative light but I'm saying it anyways..

I got into that part of google again.. the part that says html5 apps and browser apps will soon defeate native apps.. the way I got into this is from me thinking about starting android development.. however much my degree in computer programming was browser programming haha..

So my thought is this.. I don't want to mess with java.. I've learned my languages and after my first experience messing with java I never want to do it again.. they say there's lots of support but most is out of date or falsy.. so I'm thinking about learning as much as I can for html5 canvas.. but is this a viable option for as far as aaaaaany possibility in obtaining rights to interact with hardware and not just the browser?

It's always bugged me for android... I know c++ for good ole pc.. but seeing as android is directly dealing with java.. I really don't want to touch it...

Btw don't even talk to me about cookies for saving files locally on the client pc... Complete garbage and in need of revamp and rethink.. I'm not wanting to waste my money on server space so the files would have to be saved locally.. (so no PHP!) I'm the only one planning on using these apps that I may decide to develop.. if they ever become popular or a good idea.. I might post them for everyone to use...

What I'd like to make (withOUT java.... Most are not possible I already know but just let me leave my head in the clouds haha) :

*screen brightness override
*JavaScript player (similar to appcellorator but just opens the JavaScript files natively)
*auto replyer
*a new phone ui/launcher(in JavaScript??? :ooo)
*POS system for storing a business' sales to track invoices(case in point can't depend on cookies!!!)

These are just to name a few.. remember I know the limits of browser scripting so I know especially on android it'd be very difficult.. at any rate, I went waaaay off topic so let me finish by saying what I really want this whole post to be about...

Is it really that worth it to learn java when I have the world's biggest grudge against it? And will probably pull my scalp clean off trying to sort through the rag tag inneficiency that each package is? (Ik its technically efficient but I'm saying from developmental stage efficiency)

Thanks for your time I eagerly away any and all replies!
 
These programs you want to make, are they just for you, or for the market? They seem awfully niche, so I assume they are for you. If so, are you able to build them with the C++ knowledge you have?

Have you asked Java experts to answer your "grudges" to see if you have been misinformed? It seems to me that Java is being used on millions of different devices, so I suspect your grudges are based on misinformation. :)
 
These programs you want to make, are they just for you, or for the market? They seem awfully niche, so I assume they are for you. If so, are you able to build them with the C++ knowledge you have?

Have you asked Java experts to answer your "grudges" to see if you have been misinformed? It seems to me that Java is being used on millions of different devices, so I suspect your grudges are based on misinformation. :)

i apreciate the reply... the reason i have a grudge with java is on my own usage.. it took me forever to do web programming because of the "multiple file" idea for each page being just a piece of the "puzzle" quote unquote of the site/web app, and how java has its extended xml files, and so forth... i rather dont like that.. ive gotten used to it with web programming, but i am at a loss for java... also, i HATE using ide's tbh.. i love javascript because i dont need any ide's or compilers... its just done..

anywho, thanks for reading!
 
First off, if your degree in CS is mostly web-based, I would demand your money back--That is not computer science. Another point about your argument is that, as a computer scientist, it is your obligation to continue learning, broadening your language pallete at all times. saying things like "I have learned my languages" just shows that the education you received was not a good investment. I don't mean to sound offending, I just want you to be the best you can at your discipline.

At any rate, in regards to your troubles, the only specific grudge you mention with java is the whole xml thing, but in fact, that is just there on android for convenience, it has nothing to do with java at all. You say this:

I know c++ for good ole pc.. but seeing as android is directly dealing with java.. I really don't want to touch it...

but then request aid with HTML5. Seems fairly contradictory. HOWEVER you are correct that C++ should only be used as a last resort with android and very rarely does it have any merit at all. As for HTML5, it is possible if you use a pre-existing interperater such as PhoneGap, or you roll your own but either way you go about it, there will be a couple, potentially "killer" issues:

1) it will always be much slower. Java is already a layer on top of native code, so it's going to be slower to begin with, but adding yet another layer on top of that will make things even slower, and depending on what you are doing, potentially too slow

2) you will be limited to only what the HTML5 toolkit supports. Services such as Phonegap can only interperate a subset of the Android SDK at the moment, so there are some things it simply does not support.


If you can live with both of these constraints, then you can very well make your app with HTML5, but please try to keep an open mind in regards to other languages as languages are just tools for the programmer. just as a construction worker would need different tools for different jobs, a programmer needs different languages for different situations.
 
Back
Top Bottom