Any *real* IDE for Android dev? - Other Operating Systems and Languages

OK, maybe I'm spoiled by the RAD tools I've been using but I just can't find a real IDE for Android code development. To me, a real IDE is one where you can drag a button to the form, click on the button, go to the "methods" tab, click in the "OnClick" event, and type your code that executes when you click the button. All I can find are iDE's like Eclipse and IntelliJ, both which from my initial impression, can't do that. They require you to manually type and link events which requires knowledge of the language syntax just to get to the function that runs in an event like that. To me, that's not an IDE. Maybe an iDE, but not a full IDE.
Does one exist? I'm not looking for a toy like the Google App Designer thing where you put lego blocks on a template. I'm hoping a real IDE exists where the "I" is a capital "I": full integration. You shouldn't have to manually create events and link them in multiple places to be able to create something as simple as a button click event.
Anything exist?
Thanks,
Mike

Not that i've seen, which is a shame.
There seems to be only 2 types; pretty much all code (eclipse), or entirely graphical with no options to add custom code (app inventor).

Honestly this is stupid. Learn something about the language and the platform so you can actually write clean and optimized code. The layout engine using xml is super clean and easy
Other than that use App Inventor
From something awesome

killersnowman said:
Honestly this is stupid. Learn something about the language and the platform so you can actually write clean and optimized code. The layout engine using xml is super clean and easy
Click to expand...
Click to collapse
Really? You really need to fumble around in XML code to "optimize" an entry point for an event? Do you know ANYTHING about coding? There is nothing to "optimize" about event entry points. That's just brain dead simple stuff that you shouldn't have to waste time typing every time! It's not that it's complicated... it's simply a complete waste of time having to retype the same crap over and over.
Mike

If you don't like typing why code at all.
This idea of a "real" ide is one of your creation. By your definition App Inventor is more of a real ide than Eclipse and IntellJ. Just use App Inventor, you won't have to type
Also whats wrong with the visual layout editor in eclipse?
From something awesome

killersnowman said:
If you don't like typing why code at all.
Click to expand...
Click to collapse
Now you're just being ignorant. You shouldn't have to type to link a visual object to it's own events. Maybe you fancy wasting time: I don't! Visual Studio, Embarcadero RAD coding tools, and even Objective C used for iPhone development let you at least do drag/connect for those types of things.
Why would you come into this thread and waste space by telling me I have no right to "want" a full IDE. I was asking if anyone knew of a particular solution: one that is used throughout the industry on other platforms. If it doesn't exist for Android, that sucks but that's fine if that's the answer: I'll have to waste my time typing several blocks of code when the same thing could be done with two clicks in a real IDE. I was just hoping someone had found a true IDE. It's a shame one does not exist.
If you don't like the fact that I want something more efficient, you can start your own thread about how you like to be inefficient at programming. Or maybe you could draw a picture by typing in the coordinates to each pixel in the image. That'd be a "real programmers" way to do it, right?
Mike

01010010 01100101 01100001 01101100 00100000 01110000 01110010 01101111 01100111 01110010 01100001 01101101 01101101 01100101 01110010 01110011 00100000 01110101 01110011 01100101 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00100001

I think I saw something in the forum which describes exactly what you're looking for.
If my memory serves me right it was basic4android, check it out. I guess it's VB for android.
Hope it helps
Sent from my Nexus S using Tapatalk

I can sort-of understand this. I think some people think more visually than in words...
And that's fine they may be excellent at concepts and logic and creating apps and code. High level enterprise "software architect" style apps have catered to this need for awhile. One very popular one was call Enterprise Architect (and it was fantastic for planning code via UML, flow control charts, etc). Adobe has also successfully catered to the need via Flash, Flex and Dreamweaver for quite some time.
But to call other IDE's not "real" is just flamebait. I think the OP kinda set him/herself up for the kind of response he/she got. I think basically this discussion could use some cooling off on both sides.
No one person's process is sacrosanct. I personally really like Eclipse. The visual parts are a bit lacking, though.
However, you might look into a plugin for Eclipse called "CodeBubbles" (I think that's the name). I never tried it but was invited to the beta. I always meant to, it really looked fascinating. I think it was in dev by some MIT grad students. However I don't think it is free.

Again... what is wrong with the Visual Layout Editor for Eclipse.
It got a big update announced at IO
http://www.google.com/m/url?client=...gQFjAE&usg=AFQjCNFEDCdB78gwFlffTOo1_bHmCsSFYg
From something awesome

treUse said:
I think I saw something in the forum which describes exactly what you're looking for.
If my memory serves me right it was basic4android, check it out. I guess it's VB for android.
Hope it helps
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
as he said, basic4android might be what you are looking for. It isn't VB, but it is VB-esq in a way. It does seem to work reasonably well and is a ton better than the app inventor.
url is basic4ppc.com

carngeX said:
01010010 01100101 01100001 01101100 00100000 01110000 01110010 01101111 01100111 01110010 01100001 01101101 01101101 01100101 01110010 01110011 00100000 01110101 01110011 01100101 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00100001
Click to expand...
Click to collapse
Real programmers use binary!

I'd wondered why there wasn't a decent full IDE either- I'd been spoilt coming from Visual Studio. But then I realised that once you get past a "basic" interface like a settings screen, most apps are going to have a shed load of custom drawing stuff to look pretty anyway and it could get beyond what you could do with a designer. The last version of Flix for Winmo I did used a library called Silverlight to get the app looking less "pda" like, and you had to code all of this too, there was no nice drag and drop interface.
p.s. Anyone got any ideas for apps? I started a live wallpaper but the performance is a bit chuggy and I'd probably need to convert it to OpenGL... which looks like a whole new learning curve I don't want to do right now!

Found the link to Code Bubbles, but it seems this guy has gone more into Visual Studio...
Anyways, it's a cool video to watch:
http://www.andrewbragdon.com/codebubbles_site.asp
Also he is from Brown, not MIT -- I think I misstated that earlier.

events in java...
use visual studio and windows phone.
or do mono for android have a nice guidesigner? however, it's also visual studio.

Did someone try MotoDev? Is someone using this?

ehm... eclipse with another label?

GhostOfTheNet said:
ehm... eclipse with another label?
Click to expand...
Click to collapse
Something like that, but it should have some extra features. I don't know, just asking.
Sent from my HTC Desire using XDA App

ratindahat said:
as he said, basic4android might be what you are looking for. It isn't VB, but it is VB-esq in a way. It does seem to work reasonably well and is a ton better than the app inventor.
url is basic4ppc.com
Click to expand...
Click to collapse
I am developing with B4A and must say: :good:
Many libs availaible, great IDE and support....the price is about 40 bucks.
As i come from Visual Basic - developing (for PC and Measuring Systems) it was very easy for me to learn.

Trixi-N said:
I am developing with B4A and must say: :good:
Many libs availaible, great IDE and support....the price is about 40 bucks.
As i come from Visual Basic - developing (for PC and Measuring Systems) it was very easy for me to learn.
Click to expand...
Click to collapse
Nice!
Does b4a have android app wherein you can also do the programming on your phone? I really need something like that. Because mostly im on mobile. I also came from vb.
Sent from my LT18i using xda premium

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] App Inventor

So App Inventor was ESSENTIALLY a toy, but very easy to understand and use if you were not too demanding with your app.
MY question is with the advent of App Inventor going away, what tool set are people using to build actual high grade apps these days? While I have a long background supporting JAVA application servers, I am NOT a world class C++ or JAVA developer. I am what you would probably consider a hack-developer.
I would LOVE to get involved with any tool set that allows me to build applications QUICKLY, and use my own phone as a test device (I am NO fan of emulators). Is there a GUI based development tool that does not require an advanced degree from MIT to understand how it works? I have worked for years with .NET products (MS Studio etc..) I have also worked with products like ECLIPSE, but the latter it is usually very dependent on knowing a ton of JAVA or C++ to actually 'do anything'...
My real goal for my first real project has to do with accessing GPS and outputting SMS formatted information.
Thanks in advance for any suggestions! While I know A/I was a toy, I have great hopes that the open source world and the folks at MIT labs will take it and move it to the next level. Guess I will have to wait and see on that one..
Sorry delete please.
MakAttak said:
MY question is with the advent of App Inventor going away, what tool set are people using to build actual high grade apps these days?
Click to expand...
Click to collapse
while app inventor was an outstanding tool, I would hardly say that it allowed people to build high grade apps.

[Q] Developing Apps and Roms: Q for Developers... help a noob

hey guys... just in the very beginning stages of wanting to learn how to develop android apps/roms and looking for some quick help to get on the right track. (my bro in law and father in law are developers in python and bro-in-law is really getting into android). I am reading through a book which teaches the beginner Java programming to start. In the mean time, I have installed the newest version of JDK (with all the plugins), Eclipse, and Android's plugin for Eclipse.
1. Is this all I need to get started?
2. Does every developer use Eclipse? It was my understanding that it is more of a "crutch" to make android app developing easier... I want to understand the code behind the program.
3. What other advise do you guys have for me?
Thanks for any and all help.
in_dmand said:
hey guys... just in the very beginning stages of wanting to learn how to develop android apps/roms and looking for some quick help to get on the right track. (my bro in law and father in law are developers in python and bro-in-law is really getting into android). I am reading through a book which teaches the beginner Java programming to start. In the mean time, I have installed the newest version of JDK (with all the plugins), Eclipse, and Android's plugin for Eclipse.
1. Is this all I need to get started?
2. Does every developer use Eclipse? It was my understanding that it is more of a "crutch" to make android app developing easier... I want to understand the code behind the program.
3. What other advise do you guys have for me?
Thanks for any and all help.
Click to expand...
Click to collapse
1) Pretty much.
2) I don't know if every dev uses Eclipse, but it's not a crutch. You're probably thinking along the lines of the garbage web pages Frontpage generates. That's not what Eclipse does. It'll generate some tedious code for you (when you tell it to), but it's a powerful and customizable tool, not a babysitter. Anyone that tells you do use Notepad instead is an idiot.
3) A lot of people will disagree with me, but I think learning Java with no programming experience is about the hardest path you could take. But it's tough to try to learn another language for the sake of it while what you really want to do is make an Android app. Just know, going in, that the path you're taking is tough.
You'll hear about object oriented vs procedural programming, but what everyone neglects to say is that object oriented expands upon procedural. That's why, ideally, I'd recommend everyone start with a procedural language.
Make sure you at least get a decent understanding of what object oriented programming is all about. And make sure you bookmark the Java API! If you're not using it you're doing something wrong.
Edit: Disclaimer: I've been a software developer for over 10 years and using Java for most of that. I spent a couple days looking through the Android SDK and tutorials and decided I didn't have a good enough app idea to make it worth the effort.
thanks so much, your input is much appreciated!
Be patient and do write many small apps as a start. And oh, xda chef central is another great resource also stack overflow is your best friend.
I would suggest you be patiently read or watch some tutorial before do 'try and error' way to test what works. Learn from experienced dev is really important
From my RAZR MAXX
Yeah I agree, I would definitely start out with small apps. The first few (several?) things you write are going to suck. Even if they work perfectly well, the code behind them is going to be poorly designed and hard to maintain and enhance.
In a class way back when, our instructor had us writing a to-do list manager. You can start with a simple list and then enhance it as you learn more. ie, add/delete items, priorities, due dates, reminders, etc. You'll read and say "hey, I could use this to do so-and-so," or "I wish I could add this function" and learn how to do it.
In addition to learning how to code and use the Java api, you'll also learn why you eventually want to understand how to design as much as possible up front.

[Q] As a complete noob to coding and Android development (could use some advice)

Hey folks!
Yes, this is my first post, and yes, it may be in the wrong section. If so, I would kindly ask some moderator to move it to the correct section.
Anyway, let me just get right to it:
I have NO coding experience whatsoever! I have never coded anything but a bit in html when I was 16 or something. I have a good understanding
of Android from a user-end perspective, and same goes for computers and website management - I've just never coded anything.
Now, I would really love to learn how to code applications for Android, as I feel like it would be a great challenge to take upon myself + I have a lot of ideas for apps, which I believe will be fun.
Now, I know that Android runs on Java, so I suppose I should start learning the basics of Java before moving into learning Android development, right?
In my search for great free / somewhat cheap online resources, I've found that "thenewboston .org" has a Java and an Android development section with video guides. I believe I should start with the Java section and then move on to the Android one.
Would you recommend using that site, or should I start somewhere else?
And also, is it correct for me to start diving straight into Java, or is there something I should know beforehand?
Or should I learn any other coding languages?
Please take into consideration that I know no coding language as of right now.
All help is very much appreciated! :fingers-crossed:
Java is the best option to start with!
All native applications of the android OS are written mainly in Java, which makes it a good option to start with. Also, as you already know some HTML Coding, you might not find it problematic using "XML".
Head over to this link: http://forum.xda-developers.com/forumdisplay.php?f=2195
You might find it useful to begin with.
vineethraj49 said:
All native applications of the android OS are written mainly in Java, which makes it a good option to start with. Also, as you already know some HTML Coding, you might not find it problematic using "XML".
Head over to this link: http://forum.xda-developers.com/forumdisplay.php?f=2195
You might find it useful to begin with.
Click to expand...
Click to collapse
First of all, thanks a lot for your reply.
What I take from your answer is, that it would be just fine to start diving right into Java, and also take a look at XML whenever I have extra spare time. Is that correct?
And also, what part of an application is built on/in XML?
The layout mainly comprises of xml
ltsune said:
First of all, thanks a lot for your reply.
What I take from your answer is, that it would be just fine to start diving right into Java, and also take a look at XML whenever I have extra spare time. Is that correct?
And also, what part of an application is built on/in XML?
Click to expand...
Click to collapse
Check any android app's source code. The application's interface mainly is made using xml's.
Welcome to this world, you'll have fun here for sure
Anyway, to your questions:
Yep, you need basic Java knowledge. Any website will be great to get started (actually, if you have a doubt and can't find the solution there, simply use Google. There are so much developers out there, is difficult to find an unanswered doubt).
You can get started with Java directly, you don't need to learn any other programming language. Take in mind that only the syntax changes between languages, the logic behind the programs is identical.
Android apps use Java for its core, and XML for its GUI. Don't worry, Eclipse (and after, Android Studio as well) offers a visual environment to build your GUI, without touch XML directly (of course, you can edit the XML code if you wish, for example, to make a quick change).
Good luck, dude :highfive:
RoberGalarga said:
Welcome to this world, you'll have fun here for sure
Anyway, to your questions:
Yep, you need basic Java knowledge. Any website will be great to get started (actually, if you have a doubt and can't find the solution there, simply use Google. There are so much developers out there, is difficult to find an unanswered doubt).
You can get started with Java directly, you don't need to learn any other programming language. Take in mind that only the syntax changes between languages, the logic behind the programs is identical.
Android apps use Java for its core, and XML for its GUI. Don't worry, Eclipse (and after, Android Studio as well) offers a visual environment to build your GUI, without touch XML directly (of course, you can edit the XML code if you wish, for example, to make a quick change).
Good luck, dude :highfive:
Click to expand...
Click to collapse
This was a very helpful answer!
You basically answered all my questions, and a few more than I hadn't even written yet.
Thanks for letting me know about the option to edit the GUI directly from Eclipse, which is currently what I use to learn Java.
I've found a lot of great resources here at xda-developers as well, so I'm really looking forward to dive into this now!
Already learned the very basics of creating user inputs etc. (yes, that is a noob talking - I know), and I am thrilled to learn even more

C++ For Android?

Hey all,
I'm pretty new to android development and I was curious if anyone could tell me the benefits of learning C++ alongside Java (specifically while working with Android).
My first project that I'd like to accomplish seems a little arduous, though I do have help. I'm attempting to create an app that is used to catalog clothes, but also parses image data to detect the colors. In this way, it will be (hopefully, by some means) possible to have the app help match the clothes for the user. The inspiration for this is my extreme colorblindness.
Anyone who potentially has feedback regarding interpreting data from the camera on Android, feel free to pitch your two cents.
Read this. May help you. http://forum.xda-developers.com/showthread.php?t=2225668
Sent from my SonyX8 using Tapatalk 2
ScatteredHell said:
Read this. May help you. http://forum.xda-developers.com/showthread.php?t=2225668
Sent from my SonyX8 using Tapatalk 2
Click to expand...
Click to collapse
Thanks so much!
Sent from my HTC One using xda app-developers app
not sure you need c++ for your project
My experience with C++ (using Marmalade) is that if you need a lot of UI, than you are better off with the Java framework. Designing UI with Marmalade is a real pain. It's great for power hungry games and apps, but not for UI.
If you absolutely need to use C++, my advise it to start with the native Java and NDK, and only if you're not satisfied, look elsewhere. Even in Marmalade, which is supposed to be cross-platform, you will reach the point, too quickly in my opinion, in which the SDK doesn't give a cross platform solution to what you want (say use a downloaded third-party sdk, or request some OS function that the SDK does not offer), and you will have to implement specific OS "EDKs", so will have to know your native coding anyway.
Hi,
you should try Qt, though you need the android sdk/ndk, Jdk and Ant as well, but it works.
jrdemasi said:
Hey all,
I'm pretty new to android development and I was curious if anyone could tell me the benefits of learning C++ alongside Java (specifically while working with Android).
My first project that I'd like to accomplish seems a little arduous, though I do have help. I'm attempting to create an app that is used to catalog clothes, but also parses image data to detect the colors. In this way, it will be (hopefully, by some means) possible to have the app help match the clothes for the user. The inspiration for this is my extreme colorblindness.
Anyone who potentially has feedback regarding interpreting data from the camera on Android, feel free to pitch your two cents.
Click to expand...
Click to collapse
Get a book from fipkart to lear this. "Android Devlopment"
jrdemasi said:
Hey all,
I'm pretty new to android development and I was curious if anyone could tell me the benefits of learning C++ alongside Java (specifically while working with Android).
My first project that I'd like to accomplish seems a little arduous, though I do have help. I'm attempting to create an app that is used to catalog clothes, but also parses image data to detect the colors. In this way, it will be (hopefully, by some means) possible to have the app help match the clothes for the user. The inspiration for this is my extreme colorblindness.
Anyone who potentially has feedback regarding interpreting data from the camera on Android, feel free to pitch your two cents.
Click to expand...
Click to collapse
I would choose for this between two options: develop entirely in Java except for the portions that are computationally heavy, which can be implemented in C/C++ using JNI glue code. Or you may implement everything using a C++ based framework, like Qt, both for the creation of the UI and of the rest of your application. With Qt of course, the specific UI portion can be written using QML, which might be faster.
const_char said:
I would choose for this between two options: develop entirely in Java except for the portions that are computationally heavy, which can be implemented in C/C++ using JNI glue code.
Click to expand...
Click to collapse
I second this, with the sidenote that you should only use C/C++ if the computationally heavy code is actually time-critical.
I mean, at first glance, your project sounds like it won't be very taxing on the CPU anyway. So having a full Java version may still be fast enough, and the user wouldn't even know the difference. In that case C/C++ is not worth the trouble (JNI is very ugly, and you shouldn't use it unless you really have to).
C++
I think C++ is not for suitable for this application. Although i did not use it. But you may first take some tutorial then you can start. When face problem then discus this forum. I am sure somebody may help you.
Sorry for my English.
Thank you
you can get pixel color use this sample code.
jrdemasi said:
Hey all,
I'm pretty new to android development and I was curious if anyone could tell me the benefits of learning C++ alongside Java (specifically while working with Android).
My first project that I'd like to accomplish seems a little arduous, though I do have help. I'm attempting to create an app that is used to catalog clothes, but also parses image data to detect the colors. In this way, it will be (hopefully, by some means) possible to have the app help match the clothes for the user. The inspiration for this is my extreme colorblindness.
Anyone who potentially has feedback regarding interpreting data from the camera on Android, feel free to pitch your two cents.
Click to expand...
Click to collapse
you can get pixel color use this sample code.
String imageUrl = SOME_IMG_URL;
InputStream in = new java.net.URL(imageUrl).openStream();
Bitmap bitmap = BitmapFactory.decodeStream(in);
int pixel = bitmap.getPixel(x,y);
and.
int red = Color.red(pixel);
int blue = Color.blue(pixel);
int green = Color.green(pixel);
you can get average color value of SOME_IMG and you can catalog this.
it seems easy!

Categories

Resources