Wanting to make Android Apps - EVO 4G Q&A, Help & Troubleshooting

Hey Folks!
So I'm wanting to develop Android Apps and I was told that I can program using JavaScript, but the tutorials I'm finding are using Java as their language. So far this is the best tutorial I have found to help me get setup so I can start, but the Eclipse program only seems to program using java instead of JavaScript... am I wrong?
http://www.makeuseof.com/tag/write-google-android-application/
I could use some helpful links about how to create a helloworld app for Android in Javascript, thanks!

+1 i have always been curious on how to develop apps.

Check your local magazine rack. There is a development magazine with a sdk disk and some good articles with code to start android software development.
I just picked it up last night its very informative.
Swyped from a galaxy far far away......

groovdafied said:
Hey Folks!
So I'm wanting to develop Android Apps and I was told that I can program using JavaScript, but the tutorials I'm finding are using Java as their language. So far this is the best tutorial I have found to help me get setup so I can start, but the Eclipse program only seems to program using java instead of JavaScript... am I wrong?
http://www.makeuseof.com/tag/write-google-android-application/
I could use some helpful links about how to create a helloworld app for Android in Javascript, thanks!
Click to expand...
Click to collapse
you have to use java, not javascript
Sent from my PC36100 using XDA App

wrb123 said:
you have to use java, not javascript
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Well I finally found out that there's an open programming structure called PhoneGap and Titanium, allowing you to use your HTML and JavaScript to create android apps. Apparently they convert the scripts into the native app, but I"m not 100% about it. I'm not sure how affective it is to running a native app.

i have no coding experiance, so i might need to take some high school code classes or something first. sounds like fun.

What about this for starters
Google's app inventor.
http://appinventor.googlelabs.com/about/

Related

Runescape on gs2 with Ubuntu.

I just installed Ubuntu 10.10 on my phone and am trying to play runescape. It has Java 6 on it but the runedcape browser says I don't have Java or is outdated. There is an option under Java to install icetea plugin. will this make it work? Or do I need another browser besides Firefox? Is there. Way to make this work?
Sent from my SGH-T989 using XDA App
hustlerman said:
I just installed Ubuntu 10.10 on my phone and am trying to play runescape. It has Java 6 on it but the runedcape browser says I don't have Java or is outdated. There is an option under Java to install icetea plugin. will this make it work? Or do I need another browser besides Firefox? Is there. Way to make this work?
Sent from my SGH-T989 using XDA App
Click to expand...
Click to collapse
One day you'll realize how much of a waste of time RS is, trust me I've been there
OT: Stick to the browser, I can't imagine how hard it is to play on a phone
hustlerman said:
I just installed Ubuntu 10.10 on my phone and am trying to play runescape. It has Java 6 on it but the runedcape browser says I don't have Java or is outdated. There is an option under Java to install icetea plugin. will this make it work? Or do I need another browser besides Firefox? Is there. Way to make this work?
Sent from my SGH-T989 using XDA App
Click to expand...
Click to collapse
Try installing the Ubuntu restricted extras from the Ubuntu Software Center.
How did you install ubuntu on your phone?
Sent from my SAMSUNG-SGH-I727 using XDA App
iLeopard said:
One day you'll realize how much of a waste of time RS is, trust me I've been there
OT: Stick to the browser, I can't imagine how hard it is to play on a phone
Click to expand...
Click to collapse
That's funny you mention that because i was just telling a friend how addicted i was to runescape in like 2002
yh spending 3months 3hrs a day chopping only yew trees to get 99 wc...me>.<
Sent from my SGS2 powered by cm9 love
Haha I don't play that much anymore but I want to see if its possible. And which extras? There's thousands. I thought a out updating it but I didn't know if ur supposed to with the phone version. And I installed it thru the apps instructions.
Sent from my SGH-T989 using XDA App

Process handler

Hello XDA Developers!
I'm happy owner of the HTC Wildfire and am currently running Cyanogenmod 7 one it. ( Latest )
What I would like is to limit the amount of apps & processes running in the background.
I saw this on the HTC Titan ( Windows mobile ) and that way 512mb of ram was enough. And that phone had 7 screens to choose from with each an app running on, any more than 7 apps it would close one. I thought this was really usefull and actually a quick way to search between the apps.
I'd like to know if this is possible with our phone. Please I would appreciate an answer.
Regards,
Ciryk
cirykie said:
Hello XDA Developers!
I'm happy owner of the HTC Wildfire and am currently running Cyanogenmod 7 one it. ( Latest )
What I would like is to limit the amount of apps & processes running in the background.
I saw this on the HTC Titan ( Windows mobile ) and that way 512mb of ram was enough. And that phone had 7 screens to choose from with each an app running on, any more than 7 apps it would close one. I thought this was really usefull and actually a quick way to search between the apps.
I'd like to know if this is possible with our phone. Please I would appreciate an answer.
Regards,
Ciryk
Click to expand...
Click to collapse
if you're rooted and s-off almost everything the hardware is capable of is possible
The most important thing for getting a small memory footprint is to avoid that your apps start all their processes and services already at boot. Search the forum, there are a lot of threads about what, where and how to tweak and to achieve certain things.
Not sure if it's there yet in 2.3. But try checking in an app called Dev tools for something called Background process limit.
Sent from my Galaxy Nexus using xda premium
Lesicnik1 said:
Not sure if it's there yet in 2.3. But try checking in an app called Dev tools for something called Background process limit.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
yes It's there (at least I have it installed...). Sorry for being not more specific atm. I'm a bit short on time...
Lesicnik1 said:
Not sure if it's there yet in 2.3. But try checking in an app called Dev tools for something called Background process limit.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thanks for the fast replies guys!
Is there any android version ready to do this? I'm ready to change ROM if needed just to run this baby smoothly. I can't stand lags, or anything that aint smooth.
I'll go around this forum to see what's developped allready but on my own I cannot develop anything
Regards,
Ciryk
cirykie said:
Thanks for the fast replies guys!
Is there any android version ready to do this? I'm ready to change ROM if needed just to run this baby smoothly. I can't stand lags, or anything that aint smooth.
I'll go around this forum to see what's developped allready but on my own I cannot develop anything
Regards,
Ciryk
Click to expand...
Click to collapse
Check in your current CM7 setup for an app called Dev tools and/or Spare tools (not sure in which one of these the option is) for an option called "Background Process limit"
If it's not there (in either Dev tools or Spare tools) you may have to install an ICS ROM to get this option.
Lesicnik1 said:
Check in your current CM7 setup for an app called Dev tools and/or Spare tools (not sure in which one of these the option is) for an option called "Background Process limit"
If it's not there (in either Dev tools or Spare tools) you may have to install an ICS ROM to get this option.
Click to expand...
Click to collapse
I've Dev Tools and Spare Parts installed - not sure if that's default, though
It is.
I remember hiding them from the appdrawer everytime I installed CM7, because I never needed them
I found it and set it to a limit of 2 apps, don't know if it works thought. Thanks for the info!
Sent from my HTC Wildfire using xda app-developers app
cirykie said:
I found it and set it to a limit of 2 apps, don't know if it works thought. Thanks for the info!
Sent from my HTC Wildfire using xda app-developers app
Click to expand...
Click to collapse
I've never used it so I don't really know much about it - but to be honest 2 background processes - if this also means system processes that could be difficult...

[Q] Java for Browser?

I see in Browser settings there is an option for Java script but even with it checked and enabled it still says unable to start Java plugin on sites. If needed I an running illusion cm 10.1
Javascript and Java are 2 different things.I have to ask, why are you trying to run Java on a mobile browser?
Sent from my SGH-I747M using xda premium
howlingmoon12 said:
Javascript and Java are 2 different things.I have to ask, why are you trying to run Java on a mobile browser?
Sent from my SGH-I747M using xda premium
Click to expand...
Click to collapse
I was placing an order for work and i had no access to a computer and it requires Java.

Cordova in to existing app

Developing for someone who has an app built by someone else and we now have that original native code. Clients wants some additional functionality that would be better suited to UIwebview (due to frequent changes) but also wants to be able to talk to camera etc. Would it be possible to build new sections in Cordova and integrate to existing xcode developed native code? I know phonegap creates a final package so I'm just referring to Cordova.
We can do but its kind of hacky thing running a part of project in native nd next part in Phonegap. I dnt recommend this
Sent from my Nexus 4 using XDA Premium 4 mobile app

Working with Google maps api

Hi am working on a school project that I would like to have a search button that queries a destination and gives the route between the current location pf the user and the closest buss terminal taking the user to the destination queried
Please advise I have only been able to display the map and the location of the user.....thanks in advance
Sent from my GT-I9082 using XDA Free mobile app
use google places api for all queries. docs of it are pretty easy to understand.also plot the map using directions api.
How excactly? If you dont mind giving me a little insight into the matter
Sent from my GT-I9082 using XDA Free mobile app
tahshoh said:
How excactly? If you dont mind giving me a little insight into the matter
Sent from my GT-I9082 using XDA Free mobile app
Click to expand...
Click to collapse
Are you using the Javascript API, or the Android one?
If you are using the Javascript API, you can use the Places API as suggested by jaison. You can find an example here: https://developers.google.com/maps/documentation/javascript/examples/places-searchbox
Hi,
I recently released an open source app that might help you using the google maps api.
Please check github.com/zland
You can get instructions on how to use google maps api by looking into the sub project zland-map (github.com/zland/zland-map).
To run the project simply clone it and execute gulp (you can find detailed instructions in the github.com/zland/zland-map/README.md)
Take a closer look into the file components/GoogleMap.jsx
For using the google maps api directions service clone the project github.com/zland/zland-generator-spot and look into the file services/RouteRequestDispatcher.js

Categories

Resources