Google's New Programming Language: Dart - Android Software/Hacking General [Developers Only]

Okay, so I did a search and couldn't find a discussion or any word on XDA of this. So for those of you who don't know about it, this goes out to you: the title says it all. For those of you who know about it, any thoughts, criticisms, praises, hopes? I just figured I'd make a place for this. I saw this over at RootzWiki so here is a direct link to their article, props to them. And then direct link to the website where you can get sample code, a Hello World, and plenty of other fun information regarding the project.
http://rootzwiki.com/content.php?356-Download-DART-Developer-Preview&
http://www.dartlang.org/

I didn't know this was considered Android just because it's Google?

well, it is supposed to be able to replace java, I was looking around for more info here and not much!! i was thinking with recent rumors that jelly bean might be tablet oriented and dart runs in chromium that we might see chromebooks start to share in android or android share into chromium os, any thoughts? i want to chat it up?

yeah the whole chatting it up thing is what I was hopin for when I posted this to see what people think about Dart, if they have begun to dabble in it, and for any news of it.. Are you saying that Chromium? If so I hadn't known that..
Sent from my Transformer TF101 using Tapatalk

Related

YANPAT (Yet Another Noob Programming for Android Thread)

Good afternoon,
I want to start learning programming for Android, as I am sure many before me have said. And as the title very well expresses, I am completely virginal in relation to programming. OK, some years ago I punched some Delphi lines, but what I learned about it can be amounted to zero
In order to commence the task, I count with a netbook, running Ubuntu 11.04, an Android phone (Xperia Play) and an Android tablet (Advent Vega), two "starting in Android" books, HTTrack in order to save websites for offline reading, a vacant summer, and the enthusiasm to learn something new. I don't have a specific goal in mind (is that a problem? Should I aim for something concrete to do as well?) but I think that, if I win certain knowledge, I will be able to create a useful app to share here.
The reason why I've opened this thread is because it should serve as a log of what I am doing concerning this endeavor, and maybe spark some support, some naysaying, some interesting discussions and some natter. At any rate, I hope to be able to contribute something good!
I am interested also. I was going to program for the iOS but can't bring myself to buy a MAC.
I have a lot of VB 6, VB.NET and Java - JSP development experience. My 10 year old daughter is a big gamer and wants to make games when she is older. I want to get her to help me make a small game so she can see what is involved in programming.
I still need to search for resources but if anyone has any good starter tutorials that would be great.
Sorry not trying to hijack your thread Logseman. Just don’t want to make more threads on the same topic.
Thanks
It's cool, in fact it'd be great if other people "out themselves" as potential programmers. It'd be a bit like a blog then, with the whole commenters sharing experiences . From what I've read your Java experience should make programming in Android quite easy, as the OS itself seems to be. I'm going to fire up my netbook and start the whole deployment. It can take the whole night easily...
After a whole night of downloads, I have deployed the SDK and eclipse on my netbook. They should make it more amenable, IMO, not only in this case but in installations in general. Installations are boring, as are videogame loading screens, but many of the latter feature something to make it worth your while.
I recently started android developing too (im 14 ) but since i was teaching myself it was hard to find a good book, but hello android by ed burnette easily teaches you how to make anything from 2D graphics to web views and 3D games. Tell me if you need a link, hope this helps
is that possible learn android programing without know any programing language before ?
kancil168 said:
is that possible learn android programing without know any programing language before ?
Click to expand...
Click to collapse
Sure you can. At the end of the day you have to start somewhere. Why not Android ?
I have an EEPC netbook with Ubuntu Linux also. I think I will pull it out and see what I can do with it.
Does anyone think it would be good for this or should I use my HP windows laptop?
I hope we can get some feedback from some experienced Android Devs.
Well, I am happy to see people sparked by the same idea! I hope we all get to do something worthwhile!
Ncaissie, I'd recommend the Linux netbook. It's more portable, which is particularly important for your assistant if she wants to handle part of the process and I have to say, after instaling many Linux distros, I find Ubuntu 11.04 a perfectly stable, quick and efficient OS, much more than Windows or other Linux distros. I am in fact pleasantly surprised as I was unconvinced by Unity in 10.10. Aside of that, since you're programming in Android, which is a mixture of Java and Linux, it reduces the confusion if you work with a Linux host as well, in my opinion.
About the learning process, I've been reading a bit about Activities and Services and Android building blocks. I've decided on my first milestone: a "Hello XDA" app. If time allows, I will have it done before this weekend. If I can't post it after this weekend, I'll stall the project as it would be clear I am not focused enough.
14yrolddeveloper said:
I recently started android developing too (im 14 ) but since i was teaching myself it was hard to find a good book, but hello android by ed burnette easily teaches you how to make anything from 2D graphics to web views and 3D games. Tell me if you need a link, hope this helps
Click to expand...
Click to collapse
have read good reviews for this book but I decided that I would learn Java before android since I'm planning on taking computer science anyway.
Sent from my SGH-T959 using XDA App
I was set to buy a cheapo Android phone as a development device. Turns out I made the worst choice: the Huawei U8110 Selina I chose seems to have issues about being recognised by ADB. Had I known this, I'd have taken some other one...
Fate conspires to keep me away from development Now my Xperia Play is not mounting the SDCards I feed it. I need to reflash it with FlashTool, but since I only had Linux installed on my computer and Flashtool requires Windows, I'm having to set up a dual boot environment, which implies wiping Linux, installing Windows and setting up two partitions, and then installing Linux again. Seriously, it's crap.
I really like this post,good luck with it.
Only one thing- I think it's important that you'd come with an idea for an app,rather than learning Android in general.
It will keep you motivated to move on and progress.
I've recently started developing for android too. While they get mildly bashed sometimes I've found that the apress books are pretty good. "Learn java for android development" by jeff friesen is long and very technical, and also requires that you be paying attention, but gets a pretty decent amount of java floating around inside your head before you even have to open up eclipse.
Honestly though I found it easier to work on a project and when I needed something that I didnt know to search around and find code snippets or dig through my books until I find the right answer and then move on to the next problem.
Good Luck
Sent from my SCH-I500 using XDA Premium App
tofira said:
I really like this post,good luck with it.
Only one thing- I think it's important that you'd come with an idea for an app,rather than learning Android in general.
It will keep you motivated to move on and progress.
Click to expand...
Click to collapse
I do have an idea in mind, and it is related with the security pattern grid. Is that part of Android opensourced?
Enviado desde mi VegaComb usando Tapatalk
I wasn't able to pick up the pace this weekend But my goal is clear for now. I'm up for a Hello XDA app.
Well, here comes my very first apk... plus source (complying with XDA's rules ) I managed to screw some things because I typed the code incorrectly. Eclipse moaned in two lines until I discovered two syntax mistakes. Just therefore, because I saw them, I think I did the proper thing in typing this example code even if I had it in front of me. I will try not to copy-paste code if I can avoid it.
I've installed HelloXDA in my XPlay and it works as intended, and per the source you can see there's no malware in the app. And I know that I'm making a bit of a fuss about a stupid HelloWorld app, but hey, it's MY HelloWorld app, I coded it
I like this thread. I'm also going into android programmins as a noob still in highschool. I've got a question: I am looking into creating a home screen replacement app, so what do you reccomend me to do: Learn java first or just read through the sections of the android books I've purchased that talk about homescreens?
Sent from my DROID2 GLOBAL using Tapatalk
Start with something smaller than a homescreen. Mess around with some tutorials.
roblikeschocolatecake said:
I like this thread. I'm also going into android programmins as a noob still in highschool. I've got a question: I am looking into creating a home screen replacement app, so what do you reccomend me to do: Learn java first or just read through the sections of the android books I've purchased that talk about homescreens?
Sent from my DROID2 GLOBAL using Tapatalk
Click to expand...
Click to collapse
what book is that?
Sent from my SGH-T959 using XDA App

C compiler for android.

I wrote a server that wont work properly because you have to run it with CLA's. Example: ./server [IP address] <port number> and c4droid doesn't allow this. Not that I'm aware of at least. They say this app is perfect for developers. I would agree that it is suitable for programmers just starting off, just learning. Like a college student....Maybe. it was only $1.50. So not a big loss. Currently looking for a gnu gcc port for the terminal. Like the iPhone 4. God I miss that thing! I know i can download and install SDK/NDK for my Linux box. What i am looking for is a way to compile/run directly on my android terminal. Ideas/insight?
I know this isn't ROM related but I was pointed here and told Id have a better chance of finding a solution.
I know what you missed. Here it is http://forum.xda-developers.com/showthread.php?p=13171419
Sent from my LG-P999 using xda premium
No I didn't miss that. It has no atricles, tutorials, or posts regarding a gcc compiler for android. I am sure my post was placed in the proper sub forum. I think I know what you missed...How to not be an a hole! You always have one in the group! Occasionally more than one. In this case, your that one! What I can't understand is I asked a legit question. It was not stupid. It was also in the correct spot. So why am I getting a pointless response from a retard? If you don't know the answer nor have nothing relavent or nice to say...Kick rocks! There should be a rule against replying with an a non helpful response or a hole sarcasm! You should probably read that link you gave me!
long story short, getting gcc on android is a pain. You can find a few articles floating around online with a binary but I haven't been successful at the setup.
In the nook color forum there is an app called botbrew that claims to do the job, but android's libc-bionic conflicts (I think the latest version of the gcc corrects this but is unavailable).
This link: http://forum.xda-developers.com/showthread.php?t=1444792 claims to allow compilation of Linux programs to android. Haven't tried it myself but maybe you will have luck
You also need to cool it, to a good chunk of users your topic is a bit over their heads and they are just trying to help. It is unacceptable here to treat anyone in that manner. Expect a moderator to lock you down quick, I replied though to help anyone else who might be interested in such a topic.
Sent from my LG-P999 using XDA App
First of, watch your mouth. Don't just open your mouth like some sorta kid who doesn't go to school.
Second of, I was just trying to help. Your thread should be in Theme and App section
Sent from my LG-P999 using xda premium
Next time place your Questions in the correct sub-forum.
And for your attitude....enjoy your vacation.

ROM Development Guide?

Remember about a month ago when XDA came out with a book about rooting and flashing ROMs?
I was just wondering if there were any books (or guides maybe) like that, that showed how to make ROMs from scratch, not through all of these annoying kitchens. (Don't really like them, they make me feel like a noob... of course I suppose I am)
So whatever, that's really about it. Thanks guys!
(Oh by the way, I have tried Nero's ROM guide and wasn't a huge fan, also I'm getting another computer solely for the purpose of Ubuntu too if that matters at all.)
...subscribing, also just out of interest I'm trying out Lubuntu, Ubuntu 12.04 server too!
jdgfdqtuzs said:
...subscribing, also just out of interest I'm trying out Lubuntu, Ubuntu 12.04 server too!
Click to expand...
Click to collapse
Pretty awesome, never heard of Lubuntu before now. I'd consider it, but any recent tutorials I've looked at use Ubuntu. (Sadly though, they're ridiculous! For example, there was a post about compiling Jelly Bean from source code, and its practically not even in English! I mean I know some coding and all, but despite that, nothing is explained. It just do this like "do this and then do this and this and then we're done. An don't worry, there won't be a troubleshooting page because we know all you out there are experts.)
Whatever, that's my rant. Hopefully a mod will come along some time soon and point us in the right direction. Fingers crossed. :highfive:
thebeastglasser said:
Pretty awesome, never heard of Lubuntu before now. I'd consider it, but any recent tutorials I've looked at use Ubuntu. (Sadly though, they're ridiculous! For example, there was a post about compiling Jelly Bean from source code, and its practically not even in English! I mean I know some coding and all, but despite that, nothing is explained. It just do this like "do this and then do this and this and then we're done. An don't worry, there won't be a troubleshooting page because we know all you out there are experts.)
Whatever, that's my rant. Hopefully a mod will come along some time soon and point us in the right direction. Fingers crossed. :highfive:
Click to expand...
Click to collapse
Lubuntu is basically a lighter version of Ubuntu, still runs on the same principles as in version number etc. I understand your frustration with regards to where to find "how to" code, but, my view on tutorials is exactly that where aspects of what you're supposed to be doing are not explained. I think we need to be looking into another category for books, e.g. a coding practice used for android. See what happens
Yeah I suppose you're right. Off to Google/Amazon!
(of course if anyone sees this and would still like to post, by all means, do so!)
EDIT: After a god half an hour of searching, I think I finally found it. The problem is, you're gonna need $50 if you want to snag it.
http://www.amazon.com/Android-Foren...-Security/dp/1597496510/ref=cm_cr_dp_asin_lnk
It is by far the most in detail book I've seen. Just look at the overview of the chapters! It's just like what I was looking for! Woohoo!
Oh man $50. Hard being a broke student.
I would love to learn to. Anyone can tell me where to start? What languages i need to learn (java, linux, c++, etc)?
Any help will be greatly appreciated.
Sent from my rooted tomato using xda app
If your tomato just so happens to be running a version of android that can support the Kindle app, you can actually get it for about $40 too...
And while I'm not an expert in this field (in fact I really don't know too much) I do know that android uses java and converts it to another language using the dalvik machine. So if you really have no where to start, try learning some java.
thebeastglasser said:
If your tomato just so happens to be running a version of android that can support the Kindle app, you can actually get it for about $40 too...
And while I'm not an expert in this field (in fact I really don't know too much) I do know that android uses java and converts it to another language using the dalvik machine. So if you really have no where to start, try learning some java.
Click to expand...
Click to collapse
Offtopic: I think tomatoes dont taste good at all.
I'm a fan, but that's just me. (end of off topic conversation before a mod takes down the thread.)
thebeastglasser said:
I'm a fan, but that's just me. (end of off topic conversation before a mod takes down the thread.)
Click to expand...
Click to collapse
(nah I love this convo) I think theyre pretty sour.
Thanks
This is a great guide thanks
Thanks, good guide !
That book looks more related to security than anything else. Anything for development in particular?
If you look at the insides though, it shows how to create the internals, with step by step pieces. Chapter 7 (I think) also has 6 popular methods to obtain root access.
Look at the sneak peek and read the summaries of the chapters. It's definitely going on my Christmas list.
EDIT: As for anything solely for development, I have yet to find anything like that. Hence the reason for posting this thread.
Well, my tomato can support kindle.
Anyway, great thread. Hope someone who can help us reads this and decides to help us further.
Sent from my rooted tomato using xda app
Bump.
We still need support smart dev guys.
Sent from my PG86100 using xda app-developers app

Is there an "plain English" change log for the CM "M Snapshot" builds?

Is there an "plain English" change log for the CM "M Snapshot" builds?
I know where to find the technical list of changes is for the Cyanogenmod nightlies but is there a more plain English list of highlighted changes for each M build? I am referring to something like we see in Play store apps. For example, I know that this new M build incorporates the built in SuperUser function but I'm not sure what other significant updates were made.
Just curious.
Thanks!
I'm going to just say no since that's not what CM does. Best bet would be to read an android blog article about the latest CM monthly release details.
Sent from my SCH-I535 using xda app-developers app
SlimSnoopOS said:
I'm going to just say no since that's not what CM does. Best bet would be to read an android blog article about the latest CM monthly release details.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
What he said.
What is posted is plain english. If you cant understand it then maybe you should sit back and spend a few days doing some research.
I had checked the blogs and only found info about the superuser integration and pie controls. I read them regularly. I get what you're saying about CM people not making their own change logs. At least I know that much now. That confirms that I shouldn't be searching their site. Thanks.
As for being told to do more research... I know you are a moderator but I was a little thrown by that comment.
The site I am already aware of and have sought information from is: http://changelog.bbqdroid.org/
Is this the site you refer to as being in plain english? It contains items such as:
"eat: Eat using adb sideload"
and
"Revert: "Allow using DroidDoc build."
That isn't plain English to me.
I also try to check through through the Google+ CM page for "plain English" updates on what is happening but the problem there is that they are posting info on so many devices, it's hard to filter out what's going on. That's also where I found out about pie controls.
I looked on Google in general for version info, change log, etc. No luck. So, I came here in my research attempts to see if anyone might already know of a site/someone that is knowledgeable in this area and takes info like that (above) and summarizes the main changes on one page. In my experience, I have found that there are people that all sorts of great things as a service to the android community. That's all I was asking. I didn't realize I would be told that I should go research somewhere else.
Maybe you didn't mean it this way but it comes off as telling me to go away and not waste space on this forum if I'm not smart enough to understand that kind of change log info.
Normally, I let these things slide but I wanted to tell you how it came off to me. I still love this forum. I've learned SO MUCH here. I would never have been able to root my phones and tablets without it. As a moderator, I'm sure you are part of the reason it's such a great place. It was just this once instance that seemed a little off.
Thanks.
PaulQ602 said:
I had checked the blogs and only found info about the superuser integration and pie controls. I read them regularly. I get what you're saying about CM people not making their own change logs. At least I know that much now. That confirms that I shouldn't be searching their site. Thanks.
As for being told to do more research... I know you are a moderator but I was a little thrown by that comment.
The site I am already aware of and have sought information from is: http://changelog.bbqdroid.org/
Is this the site you refer to as being in plain english? It contains items such as:
"eat: Eat using adb sideload"
and
"Revert: "Allow using DroidDoc build."
That isn't plain English to me.
I also try to check through through the Google+ CM page for "plain English" updates on what is happening but the problem there is that they are posting info on so many devices, it's hard to filter out what's going on. That's also where I found out about pie controls.
I looked on Google in general for version info, change log, etc. No luck. So, I came here in my research attempts to see if anyone might already know of a site/someone that is knowledgeable in this area and takes info like that (above) and summarizes the main changes on one page. In my experience, I have found that there are people that all sorts of great things as a service to the android community. That's all I was asking. I didn't realize I would be told that I should go research somewhere else.
Maybe you didn't mean it this way but it comes off as telling me to go away and not waste space on this forum if I'm not smart enough to understand that kind of change log info.
Normally, I let these things slide but I wanted to tell you how it came off to me. I still love this forum. I've learned SO MUCH here. I would never have been able to root my phones and tablets without it. As a moderator, I'm sure you are part of the reason it's such a great place. It was just this once instance that seemed a little off.
Thanks.
Click to expand...
Click to collapse
Ill be honest with you. While it was not meant to come off rude or anything but those are terms your gonna have to learn to read. Android is not a simple thing in the least nor is flashing custom roms. This is a developers site so you will see terms like this used all the time. The best thing I can say is to spend some time learning the lingo and finding out what things mean.
That is plain english on a developers forum.
zelendel said:
Ill be honest with you. While it was not meant to come off rude or anything but those are terms your gonna have to learn to read. Android is not a simple thing in the least nor is flashing custom roms. This is a developers site so you will see terms like this used all the time. The best thing I can say is to spend some time learning the lingo and finding out what things mean.
That is plain english on a developers forum.
Click to expand...
Click to collapse
Ok. Thanks for the reply. It's a long term process. I still remember when I didn't know what a nandroid backup was!
PaulQ602 said:
Ok. Thanks for the reply. It's a long term process. I still remember when I didn't know what a nandroid backup was!
Click to expand...
Click to collapse
Yeah android will be mainly as it is still a new OS and many changes will come, then we will have to relearn so many things all over again
PaulQ602 said:
I know where to find the technical list of changes is for the Cyanogenmod nightlies but is there a more plain English list of highlighted changes for each M build? I am referring to something like we see in Play store apps. For example, I know that this new M build incorporates the built in SuperUser function but I'm not sure what other significant updates were made.
Just curious.
Thanks!
Click to expand...
Click to collapse
Usually the stuff you care about as a user will be understandable (features, etc) if you read the nightlies change logs. The weird tweak stuff I don't understand, but you can click on the change and read comments and sometimes it makes more sense to me. But do you really need to know the reason behind each of the hundreds of changes that happen between each M?
Tapatalk via CM10.1 Galaxy S3

[ROM-Petition] Petition for Ubuntu touch on the HOS

Hello People,
I read a thread which started a petition to get XDA -Dev users to test the Ubuntu Touch OS on the HOS. I recently checked the petition again and saw that it was only 250 submissions short. i dont know about you guys, but I would really enjoy using and of course testing and reporting the Ubuntu Touch OS. This is why I ask you guys to sign this, if you also want to see Ubuntu Touch to get to the HTC One S.
ww w. change. org/petitions/canonical-use-users-of-xda-developers-com-as-testers-for-ubuntu-for-phone
Kogadin
To the Mods, If i really need to remove the link, because i am still under the required posts, I will. I just wanted to get this petition out there again
if i find the original thread I will link it, or if someone else finds it.
kogadin said:
Hello People,
I read a thread which started a petition to get XDA -Dev users to test the Ubuntu Touch OS on the HOS. I recently checked the petition again and saw that it was only 250 submissions short. i dont know about you guys, but I would really enjoy using and of course testing and reporting the Ubuntu Touch OS. This is why I ask you guys to sign this, if you also want to see Ubuntu Touch to get to the HTC One S.
ww w. change. org/petitions/canonical-use-users-of-xda-developers-com-as-testers-for-ubuntu-for-phone
Kogadin
To the Mods, If i really need to remove the link, because i am still under the required posts, I will. I just wanted to get this petition out there again
if i find the original thread I will link it, or if someone else finds it.
Click to expand...
Click to collapse
In my experience; trying to force developers to do something just because you want it done never works. I know that is probably not how you meant the petition to look but in my mind it looks more like "See, here is the number of people that want this. Now make it happen" instead of "Hey, there are a bunch of people on this list that would love if you could make this, but it's completely up to you.":silly:
Well i didnt start the petition and its not specifically for the HOS but rather a petition so the XDA users, who generally have more knowledge about OSs and ROMs than the average consumer, can test the OS and report bugs etc. This in return, should help Ubuntu Touch to be as bug free as possible from release on. I do get your point, i just think its not like forcing a single dev to make something, as it is The Ubuntu Team working on the OS, additionally the Ubuntu Team would get a huge community base to test their operating system, and report bugs they find.
Kogadin
I frequent the Dev section and basically so far many devs want to build Ubuntu for the HOS, however it just isn't that easy. The lack of ROM hasn't been the result of a lack of trying.
Somebody's out there trying man http://forum.xda-developers.com/showthread.php?t=2206904 just be patient and have faith.. I've seen youtube videos of it running on the One X so hopefully it will be running on our devices in the near future.. What these devs have is a talent. I wish I could do what they do...
Found that thread after I wrote this one. I was really excited. And I really hope that the developers will succeed in porting ubuntu to our awesome phone
Sent from my HTC One S using xda app-developers app
It would be nice to have this os to test but to be honest I'm not a fan and don't think its a great product. I'm sticking to android but good luck
Sent from my One S using xda app-developers app

Categories

Resources