Devople apps on android - Android

What i need to build app and games ? Please tell me about the language which i had to learn to write a program ??
Sent from my GT-I9100G using xda app-developers app

ahmed_mokh said:
What i need to build app and games ? Please tell me about the language which i had to learn to write a program ??
Sent from my GT-I9100G using xda app-developers app
Click to expand...
Click to collapse
You will need Windows or other platform , jdk , java IDE such as eclipse , android sdk . You'll need to have a basic understanding of java and xml...
Sent from my WT19i using xda app-developers app

First off, you need the Android SDK and Eclipse.
You also need to have an experience in Java or C++ programming as well as a good experience with XML files.
Here's a link to a tutorial..
Do use the SEARCH button next time.

Thanks all for reply
Sent from my GT-I9100G using xda app-developers app

You need to know firstly - What Android is not?
Answer is:
A Java ME implementation — Android applications are written using the Java language,
but they are not run within a Java ME (Mobile Edition) VM, and Java-compiled classes and
executables will not run natively in Android.
Part of the Linux Phone Standards Forum (LiPS) or the Open Mobile Alliance (OMA) —
Android runs on an open-source Linux kernel, but, while their goals are similar, Android’s
complete software stack approach goes further than the focus of these standards-defining
organizations.
Simply an application layer (such as UIQ or S60) — Although Android does include an application
layer, “Android’’ also describes the entire software stack, encompassing the underlying
operating system, the API libraries, and the applications themselves.
A mobile phone handset — Android includes a reference design for mobile handset manufacturers,
but there is no single “Android phone.” Instead, Android has been designed to support
many alternative hardware devices.
Google’s answer to the iPhone — The iPhone is a fully proprietary hardware and software
platform released by a single company (Apple), whereas Android is an open-source
software stack produced and supported by the Open Handset Alliance (OHA) and designed
to operate on any compatible device.

anasdcool71 said:
First off, you need the Android SDK and Eclipse.
You also need to have an experience in Java or C++ programming as well as a good experience with XML files.
Here's a link to a tutorial..
Do use the SEARCH button next time.
Click to expand...
Click to collapse
What level of Java is necessary? I'm a compsci major and I've had Java for 3 semesters. I've never done anything with XML.
Any suggestions on what I should start reading/learning?

BosnianKingdom said:
What level of Java is necessary? I'm a compsci major and I've had Java for 3 semesters. I've never done anything with XML.
Any suggestions on what I should start reading/learning?
Click to expand...
Click to collapse
XML is really easy to learn.
Java, you'll only require upto those constructors, string use, and all that. And yeah, arrays too.
Sent from my GT-S5360 using xda premium

anasdcool71 said:
XML is really easy to learn.
Java, you'll only require upto those constructors, string use, and all that. And yeah, arrays too.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Yeah I've looked at some xml sample code, it doesn't seem to be difficult. I I don't think that it's as complex as Java. All of the things that you have listed are covered in the second semester. In the third semester we went over data structures...
#### Sent from my GN7 #### B0$N4 ####

BosnianKingdom said:
Yeah I've looked at some xml sample code, it doesn't seem to be difficult. I I don't think that it's as complex as Java. All of the things that you have listed are covered in the second semester. In the third semester we went over data structures...
#### Sent from my GN7 #### B0$N4 ####
Click to expand...
Click to collapse
Then you're good to go. For high level apps, you may require data structure too.
But the writing of the source code of an android app is a lot different from the original Java. You gotta know about certain Objects and Methods which you're gonna use in your app. Head over to API guides in developer.android.com.
Sent from my GT-S5360 using xda premium

Related

Looks like the Opensense SDK was released...

htcdev.com
http://htcdev.com/devcenter/opensense-sdk/download-instructions
if this needs to be moved please do so
I was just looking for a thread based around this. I knew someone made a thread.
Sent from my Stock EVO 4G, because it was updated using the XDA App
Blowpot said:
I was just looking for a thread based around this. I knew someone made a thread.
Sent from my Stock EVO 4G, because it was updated using the XDA App
Click to expand...
Click to collapse
What do you think this means for us?
Gordon Ramsay said:
What do you think this means for us?
Click to expand...
Click to collapse
who knows im sure it can be useful, im not a ROM dev or anything but access to the API's im sure will be nice for them.
Common Controls API
Common controls are UI widgets and components that will provide developers with the ability to provide the Sense UI look and feel to their applications. API documentation and sample code are provided as part of both the phone and the tablet add-on extensions to the Android SDK.
Stereoscopic 3D (S3D) API
API documentation and sample code that illustrates how to programmatically enable the 3D display mode of the parallel barrier based screen for various types of applications. This API is provided as part of the phone add-on extension to the Android SDK.
Tablet Pen API
API documentation and sample code for providing a framework for fully fledged drawing and painting applications as well as full access to the pen events at a low level. This API is provided as part of the tablet add-on extension to the Android SDK.
kellyrx8 said:
who knows im sure it can be useful, im not a ROM dev or anything but access to the API's im sure will be nice for them.
Common Controls API
Common controls are UI widgets and components that will provide developers with the ability to provide the Sense UI look and feel to their applications. API documentation and sample code are provided as part of both the phone and the tablet add-on extensions to the Android SDK.
Stereoscopic 3D (S3D) API
API documentation and sample code that illustrates how to programmatically enable the 3D display mode of the parallel barrier based screen for various types of applications. This API is provided as part of the phone add-on extension to the Android SDK.
Tablet Pen API
API documentation and sample code for providing a framework for fully fledged drawing and painting applications as well as full access to the pen events at a low level. This API is provided as part of the tablet add-on extension to the Android SDK.
Click to expand...
Click to collapse
Cool, looks neat, thanks.
kellyrx8 said:
Stereoscopic 3D (S3D) API
API documentation and sample code that illustrates how to programmatically enable the 3D display mode of the parallel barrier based screen for various types of applications. This API is provided as part of the phone add-on extension to the Android SDK.
Click to expand...
Click to collapse
Seriously? Sense can do 3D out of the box? Well Im sure glad HTC/Sprint took advantage of that on their first joint 3D device.... lol!
Sent from my PG86100 using XDA Premium App
Is anyone else getting "You are not authorized to perform this action" when trying to register?
here is the install i upped
http://www.multiupload.com/RHB3FXX75X
this Rom kicks ass! especially with the super awesome kernel you made for it!
btw. discussion about development
ISN'T development and goes in general
can install, when i point to file://sdkpath/addon_htc_phone.xml its says cannot open linke (reason c)
exSD said:
Is anyone else getting "You are not authorized to perform this action" when trying to register?
Click to expand...
Click to collapse
Yeah I had to re-register. Wasn't recognizing my log in that I used to sign up, but it worked after.
Sent from my PG86100 using XDA Premium App
help installing?
just incase someone has trouble with fetching url, in sdk setting click on button force https://
also the file directory should like like this if its on desktop, i created a folder on desktop name HTCOpenSenseSDK and extracted dlownload file into this folder....
file:///C:\Users\John\desktop\HTCOpenSenseSDK\addon_htc_phone.xml
damnit now its says cannot find the addon_htc_phone_rev1.0.zip
kellyrx8 said:
here is the install i upped
http://www.multiupload.com/RHB3FXX75X
Click to expand...
Click to collapse
What does this do
Sent from my PG86100 using XDA App
kellyrx8 said:
here is the install i upped
http://www.multiupload.com/RHB3FXX75X
Click to expand...
Click to collapse
OMG!!!!!11 I flashed this and now my fone is bricked111!!!!!
Mrdiaz09 said:
What does this do
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
its the SDK install from the HTCDEV.com site, for those who were having issues signing up or didnt want to.
What is this?
Will this possibly get us a 3d UI
Sent from my PG86100 using XDA App
Mrdiaz09 said:
Will this possibly get us a 3d UI
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
i think yes cause now the devs have the acces to tell the phone when to do 3d and when 2d

[Q] Am I on the right track?

I want to develop android apps.. lol I downloaded JDK and eclipse.. I am familiar with the concepts of coding html, php, exceptions.. Do I need a TON of knowledge to get started? Can someone link me to some basic walkthroughs?
If you don't have Java knowledge, then your options are Phonegap or Titanium Appcelerator!
Using phonegap, you will be able to write apps using HTML+CSS+JS. Read about it.
See if these http://developer.android.com/resources/browser.html?tag=tutorial are enough to get you going. Maybe after that look for a book. I've been using a more recent version of http://www.amazon.com/gp/product/1934356492. Then again, maybe it isn't the best book to use, because I haven't actually created any apps of my own yet.
Cool thanks for the help. I am gonne get the lynda.com tutorial and a java book. Im sure all coding has the same basic concepts. Maybe I can make a useful app one day lol
Sent from my MB860 using XDA Premium App

[Q] Can I create an android app without knowing java?

i want to whether i can create an app without knowing anything about java..i have installed the sdk but can't go any futher..do i need to know about java??
If you want to actually program yes... I believe there is an easy app creator out there, but you won't get too far with it.
I just started learning Java, picked up a book and im getting into it. Oracle has online tutorials as well as Android Developers, you can follow those to get a gasp of it. The real issue is learning the in's and out's of java to bee more creative.
Sent from my PC36100 using xda premium
Take a look at illumination software creator at radicalbreeze.com . No programming experience necessary. There are other apps like this.
Sent from my Galaxy Nexus using xda premium
Simply put yes you can. There are other language alternatives. C# (mono project) and there are a few different implementations to allow you to write javascript for apps as well. Also check out app inventor, it lets you drag and drop program. No typing involved.

[Q]Java developement on Android

Hello. I've been wondering for some time now if it's possible to make some Java classes (that you would normally compile and run on windows) on android. Here's the thing; I'm a student and we need to make some silly classes at school. I bought my new SGS3 and I wanted to do all the work on it so I don't have to take my PC to school everytime.
So, is there any kind of emulator or application which could solve my problem?
I know there's Eclipse for Androd Java developement but that's not gonna help me with my problem. I also know that Android has DVM instead of JVM but i just wanna know if there's a workaround.
Thank you,
Krastt
PS: I'm sorry if I this is not the right place to post such a question but honestly it seems the most appropriate.
Sent from my GT-I9300 using Tapatalk 2
Krastt said:
Hello. I've been wondering for some time now if it's possible to make some Java classes (that you would normally compile and run on windows) on android. Here's the thing; I'm a student and we need to make some silly classes at school. I bought my new SGS3 and I wanted to do all the work on it so I don't have to take my PC to school everytime.
So, is there any kind of emulator or application which could solve my problem?
I know there's Eclipse for Androd Java developement but that's not gonna help me with my problem. I also know that Android has DVM instead of JVM but i just wanna know if there's a workaround.
Thank you,
Krastt
PS: I'm sorry if I this is not the right place to post such a question but honestly it seems the most appropriate.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
You could look at ADIE https://play.google.com/store/apps/details?id=com.aide.ui&hl=en which is a IDE to run on android to build android apps but you might be able to use it to write java classes.
Or check out my project which lets you run full linux distros on top of android, this its a bit of a work around but you could then install a full java IDE and work from there
While I'm waiting for more ideas I'll check your project. I knew about AIDE but I never tought it might also work with Java classes. Imma try that too.
Sent from my GT-I9300 using Tapatalk 2
Check out an app called Terminal IDE. I think it's what you are looking for.
Sent from my GT-I9300 using xda premium

Canonical asking for community to help develop apps

Just wanted to share this with the guys around here that are the developers.
https://wiki.ubuntu.com/UbuntuPhone/CoreApps/
Cool)
I wait for Ubuntu for phones.
I think it will a cool OS.
But apps will be few. It's a big minus.
Ubuntu for phones must can start typical Ubuntu apps.
It can resolve a problem, I think.
romanzi said:
Cool)
I wait for Ubuntu for phones.
I think it will a cool OS.
But apps will be few. It's a big minus.
Ubuntu for phones must can start typical Ubuntu apps.
It can resolve a problem, I think.
Click to expand...
Click to collapse
Ubuntu will use QML, so I think will be easy port application from desktop built in QML.
We know that many Apps Developers are Ubuntu users, and this will helps with new apps for phone.
Im very excited with Ubuntu, but I do not think that will be a iOS or Android killer,
Will be a Geek Phone, I think.
ti-rodrigues said:
but I do not think that will be a iOS or Android killer,
Will be a Geek Phone, I think.
Click to expand...
Click to collapse
Maybe it will not be popular as iOS or Android but alternatives are always good for us
Canonical said the phone runs the same language as the desktop. So its simply coding a ui change on a desktop app for it to work on the phone.
Sent from my ADR6425LVW using xda app-developers app
texascfdad said:
Canonical said the phone runs the same language as the desktop. So its simply coding a ui change on a desktop app for it to work on the phone.
Sent from my ADR6425LVW using xda app-developers app
Click to expand...
Click to collapse
That's incorrect it uses the same Operating system not the same language apps have to be used on arm based cpus not x86 out 64 bit cpus hence different programming language if a particular PC app doesn't have arm support it won't work
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"​
Well it actually would be the same language just for a different architecture (arm). For example people can/may write an application in C which is used in many different architectures (as long as there is a compiler)
Sent from my Nexus 4 using xda app-developers app
Architecture changes so language changes
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"​
Will it have WhatsApp? Kinda hard to live without it nowadays...
vitorgatti said:
Will it have WhatsApp? Kinda hard to live without it nowadays...
Click to expand...
Click to collapse
Not native..
The whatsapp dev´s won´t use QML
If ubuntu android emulator comes to UP it will work on it like win.exe with wine
btw. wrong thread ^^
sorry for OT :angel:
Sv: Canonical asking for community to help develop apps
TingTingin said:
That's incorrect it uses the same Operating system not the same language apps have to be used on arm based cpus not x86 out 64 bit cpus hence different programming language if a particular PC app doesn't have arm support it won't work
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"​
Click to expand...
Click to collapse
Well nope. You can use exactly the same co de on both. You just use a compiler which targets a different architecture. So the binaries are different. IF you don't mean apps written in ASM but there are none so that's just stupid.
Sent from my Nexus 4 using xda app-developers app

Categories

Resources