Q... How to set up Linux dev environment - HTC EVO 3D

Ok I installed the jdk on 11.10 ubuntu. The installed eclipse from the software center. I'm currently installing the android sdk. All of the sdk. I'm assuming using eclipse I should install the adt plugin. I'm interested in developing an app. Any pointers would be awesome. If anyone has any links to read up on app development for newbs I would be grateful. I would like to build a ROM to, something for personal use. I would post it if I ever feel its worth it. I'm interested in learning development and i have some great ideas for apps that do not exist that could be decent money makers. Just gotta make the thing. As I already said any help or advice would be awesome. Links would be cool to read up on. And thanks in advance for anyone who helps.
Sent from my PG86100 using Tapatalk

Look in my signature for gingerbread compilation. It will help some hopefully
私のEVO 3Dから送信される。

find the thread with "dsixda rom kitchen"

When i use eclipse and go to /help/install new plugin and set it up with the links from the sdk webpage i get this error. It finds the adt plugin but then wont let me install it.
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216)
Missing requirement: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found

Hi mikedavis120,
Adding htt p: / SOMETHING /download.eclipse.o SOMETHING rg/releases/indigo (Indigo Repos) to your "Install Software"-List solves it.
PS: As a new user i was not allowed to post "Spam" links. I hope it's ok to 'salt' my spam with random words :]

Related

[DEV] I want to develop Android apps. Please help.

Hey guys.
I'm an experienced .NET Developer and developed with java a little. I want to start developing Android apps on Windows.
I downloaded everything and my app runs, but once i debug it i get a strange error: "The JAR of this class file belongs to a container "Android 2.1-update1" which does not allow modifications to source attachments on its entries".
While looking on the internet to find a solution i came upon a few blogs that explain that i need to get the android source: http://stackoverflow.com/questions/...-container-android-2-0-1-which-does-not-allow
I'm having an immense headache getting it because nothing works. There's no simple guide to do this.
If any of you know the error and can help me solve it i would appreciate it.
Also, if you know how to get the source please let me know. I'm going crazy here.
Thanks!
lorin.bute said:
Hey guys.
I'm an experienced .NET Developer and developed with java a little. I want to start developing Android apps on Windows.
I downloaded everything and my app runs, but once i debug it i get a strange error: "The JAR of this class file belongs to a container "Android 2.1-update1" which does not allow modifications to source attachments on its entries".
While looking on the internet to find a solution i came upon a few blogs that explain that i need to get the android source: http://stackoverflow.com/questions/...-container-android-2-0-1-which-does-not-allow
I'm having an immense headache getting it because nothing works. There's no simple guide to do this.
If any of you know the error and can help me solve it i would appreciate it.
Also, if you know how to get the source please let me know. I'm going crazy here.
Thanks!
Click to expand...
Click to collapse
You say you downloaded "everything", but not what "everything" is. For mainstream development (using only public API), you don't need the Android sources.
Get the SDK, and Eclipse ADT if you want the most straightforward environment, import one of the example projects, and get it running on the emulator/device. It's pretty much all explained in this tutorial project. Then you can see what's up with your particular program. Good luck!
I have Eclipse, the latest ADT and the latest SDK. I installed the packages for 2.2 and 2.1 with the Google APIs.
I'm trying to make a simple tip calculator app. If i don't make a certain check in my app everything runs ok. As soon as i check if 3 EditTexts have text in them i get that error.
If i don't need to check, my app is behaving ok.
if(txtbillamount.getText().toString().equals("") || txtpercentage.getText().toString().equals("") || txtpeople.getText().toString().equals(""))
{
...
}
The hello world apps works fine.
lorin.bute said:
I have Eclipse, the latest ADT and the latest SDK. I installed the packages for 2.2 and 2.1 with the Google APIs.
I'm trying to make a simple tip calculator app. If i don't make a certain check in my app everything runs ok. As soon as i check if 3 EditTexts have text in them i get that error.
If i don't need to check, my app is behaving ok.
if(txtbillamount.getText().toString().equals("") || txtpercentage.getText().toString().equals("") || txtpeople.getText().toString().equals(""))
{
...
}
The hello world apps works fine.
Click to expand...
Click to collapse
Do you have an else statement?
Yes I do have an else statement. I display a pop up message in the else statement.
I would recommend getting acquainted with a little bit of java code as it is very different than .net
Your dev env seems too be ok since, The hello world app works ok as you stated, its your coding.
Coming from.net programming it was confusing for me at first.
Sent from my Nexus One using XDA app
Problem solved.
Yes, i was coding something in a wrong way. Java is different in many aspects.
Thanks.

[Q] How to start cook /modify ROM

I searched in the forum, but it seems to be no present a tutorial forcooking a custom ROM.
I've got a GalaxyS, i flash many ROM and i've to install apps everytime...boring! So I wonder if is it possible to modify a custom ROM to add/remove apps for instance.
I'm a java developer, but I've got no experience with Linux... Is it a problem?
Could someone post a kind of guide to learn how to moify a ROM?
+1
its because we have touchwiz.
if we had stock android, it would be much easier developing
Well I have an evo and I too am looking for a tutorial to cook roms. I have no developing experience and just want to learn.
count me in too! I already have ubuntu just need some direction to get started on the vibrant.
Here it is a video guide for Samsung GalaxyS (i9000)...thank you Nokia7Vista!
Edit: nevermind, thought I was in a different section
Sent from my HTC Glacier using XDA App
Read read and read.
Go through the entire Android section of the Chef Central (The section you posted this in).
Check all the threads taht look promising and talk about tutorials or info or what not... Just sift through the data here and they'll have tons of links, threads, tutorials for you that you can read and learn how to do everything at...
zat81 said:
I searched in the forum, but it seems to be no present a tutorial forcooking a custom ROM.
I've got a GalaxyS, i flash many ROM and i've to install apps everytime...boring! So I wonder if is it possible to modify a custom ROM to add/remove apps for instance.
I'm a java developer, but I've got no experience with Linux... Is it a problem?
Could someone post a kind of guide to learn how to moify a ROM?
Click to expand...
Click to collapse
You can modify:
framework-res.apk
All the apps, you can unpack the .apk's, located in /system/app/ and replace the icons, or even the whole app.
You can add/remove/replace .apk's, located in /system/app
services.jar
Much, much more.
If you're on Linux, you can unpack the .apk's out of the box. Otherwise, install 7zip.
Once you're done modifying them.

[Q] What is an Easy way To Develop Android Games/Apps

EDIT: How Can I Easily Make a Sidescrolling Platformer Using An Easy Scripting Language For Android
Bump
Nobody Answered Yet I Modified My Post
Im Really Eager to start Making Simple Platforming Games For Android
bump Someone please post
There is no easy way. Anything that is worth doing is always worth the work you need to do.
Here is a Java-Script Builder
Don't know if you know anything about writing script or anything but you can PM(private message) me with an email address and I'll send you a zipped attatchment with a program for windows pc. It's called Sencha-Touch 1.1.1 App Maker.
I'm sure if your running windows on your PC and your here then you already have java runtime. Just update it if necessary at Java.com. Just click where it says "Do I Have Java" to check and update your version.
You will probably also have to go to Oracle(the java website) and download and install the "Java SE 7u2" for developers from the download section.
If you Need direct links to the Java's, I will include them in email to you.
Hope this gives ya some insight.
Can't get the zip to upload to an email but can give ya the website link in one. Don't think I'm allowed to post outside links.
hi
shubshub said:
bump Someone please post
Click to expand...
Click to collapse
Have you tried out DaVinci Studio? it's a dev tool based on HTML5 and JavaScript...
You can get it for free at their website and ask questions on their forum if you need help with it.
Eclipse + Android SDK
I highly recommend using the standard Eclipse setup with the Android SDK. Java is pretty easy to learn, and can create games that are very simple to complex. I was confused where to start off as well, and tried out AndEngine. There isn't much documantation for AndEngine, so I followed Kilobolt's tutorial on game development. One of the best tutorials of programming that I have ever seen. I am working on a platformer at the moment, and everything is going pretty well. In simple, google "Kilobolt". He has tutorials for setting everything up. However, the tutorial begins with standard Java development, and Android comes into play when you are ready to port the game. Good Luck. :good:
Thanks for the info, I'll check it out.

Could some1 point me in the right direction plz?!

Hi,
I would say that my knowledge of JAVA is fair enough, intermediate. I just started developing on android for the sole purpose of creating a few book applications.
Are there any tutorials/guides that you guys would recommend that i can follow in order to do so please?
Many thanks.
Without offend you... please search in Google, there are many Android tutorials, like this.
First, you need to setup Java SE, Android SDK, Eclipse and ADT Plugin for Eclipse (in that order), then you can begin to develop
RoberGalarga said:
Without offend you... please search in Google, there are many Android tutorials, like this.
First, you need to setup Java SE, Android SDK, Eclipse and ADT Plugin for Eclipse (in that order), then you can begin to develop
Click to expand...
Click to collapse
Thanks for that mate. I've set all that up already. I was looking for making apps for ebooks in particular. Are you aware of any tutorials for that please?
Thanks.
Nope, sorry dude, I only know general tutorials like above
if you know java, now you only need to know the android classes.
learn the classes you need use from here:
developer.android.com

Need help compiling a project from github site

Firstly, I don't know if this is a right site/forum to ask this question but this seems to be most active android development forum when googling for 'android development forum' even though this site seems to be mosty about rooting and mods which is not what my question is about.
I'm trying to compile github.com/corbinlc/GNURootDebian from source and make it run on my android emulator. I get 'Configuration with name 'default' not found' in android studio 3.0 when just opening the project. Can anyone help me out tackle this error?
> I tried googling / stackoverflow and couldn't find a satisfying answer
> I have successfully built and run a simple app in emulator using steps outlined in 'Building Your First App' walkthrough on developer.android.com/training/basics/firstapp/index.html
Thanks in advance,

Categories

Resources