Has anyone started creating apps for Sailfish? - Sailfish General

Yeah, I'm not a programmer, but wanna learn more C++ (have only very limited knowledge), so decided I'd want to start learning on Sailfish.
Anyone else joining the boat?
I haven't got onto creating something, right now I'm stuck at the fact that the Qt IDE doesn't recognize that Sailfish emulator is working, but recognizes Mer.
Also, gotta learn more about how to properly code. xD

Deformat said:
Yeah, I'm not a programmer, but wanna learn more C++ (have only very limited knowledge), so decided I'd want to start learning on Sailfish.
Anyone else joining the boat?
I haven't got onto creating something, right now I'm stuck at the fact that the Qt IDE doesn't recognize that Sailfish emulator is working, but recognizes Mer.
Also, gotta learn more about how to properly code. xD
Click to expand...
Click to collapse
I'd love to but I'm too busy with Exams :'((
Sent from my Nexus Prime powered by AK goodness!

Deformat said:
Yeah, I'm not a programmer, but wanna learn more C++ (have only very limited knowledge), so decided I'd want to start learning on Sailfish.
Anyone else joining the boat?
I haven't got onto creating something, right now I'm stuck at the fact that the Qt IDE doesn't recognize that Sailfish emulator is working, but recognizes Mer.
Also, gotta learn more about how to properly code. xD
Click to expand...
Click to collapse
I've been trying to learn android programming my hope is to make an app on android then transfer the stuff I've learnt across and use it on sailfish.
Sent from my Nexus 7 using Tapatalk HD

Deformat said:
Yeah, I'm not a programmer, but wanna learn more C++ (have only very limited knowledge), so decided I'd want to start learning on Sailfish.
Anyone else joining the boat?
I haven't got onto creating something, right now I'm stuck at the fact that the Qt IDE doesn't recognize that Sailfish emulator is working, but recognizes Mer.
Also, gotta learn more about how to properly code. xD
Click to expand...
Click to collapse
it`s know issue
If deployment fails with: "Could not connect to host: Timeout waiting for reply from server." then there is a problem with VirtualBox and DNS resolution. To fix either ssh in to the emulator as root or press right-ctrl+F2 and login as root/nemo. Then echo nameserver 8.8.8.8 > /etc/resolv.conf inside the emulator. (right-ctrl+F1 to get graphics back)
Click to expand...
Click to collapse
more on sailfish website.

Related

How to develop Andriod OS?

I've been doing some research but mostly everything is in regard to developing applications. I have 10 years of php knowledge under my belt so I'm familiar with coding, how it works, what can be done, etc. I know php is server side while Java is client side of course. I'm not worried about learning how to code in Java, I'm a quick learner and that won't be my main concern. I'm wanting to grab 2.3 source and get a stable version going, do I need to get Eclipse to develop this? Where can I look to start my crusade? I understand Android uses the 2.6 linus kernel, I somewhat understand the Dalvik system. Where do I start? Any help is greatly appreciated. Thanks.
To get started...
http://developer.android.com/sdk/index.html
http://developer.android.com/resources/tutorials/hello-world.html
Buy a book, preferrably one for Android Development.
creata.physics said:
I know php is server side while Java is client side of course
Click to expand...
Click to collapse
I think you must thinking of javascript which is client side, and is totally unrelated to java (despite the name).
PM me for a link to our Android 101 training DVD.

What language and software uses android for programming?

Hey guys im considering porting/recoding an app from VB.net to work on android, but i havent got a clue what language is used in android, could someone tell me its name or some sort of website with this information?
Finally if someone is experienced in programming apps for android, i would like to chat about a few capabilities of the language.
Thanks in advance!
Android is Java-ish based.
i would recommend you checking out the program Eclipse.
The main applayer is java based with some xml thrown in. But there is a native development kit that you can compile c c++ and many other languages to run on an android phone. But since java is virtual machine based an app written in java will run on all phones*(some caveats like os version) while the app in ndk will work on only hardware that it was designed for
Also, is Google not working? A simple search for "Android programming language" would answer this question
From something awesome
killersnowman said:
The main applayer is java based with some xml thrown in. But there is a native development kit that you can compile c c++ and many other languages to run on an android phone. But since java is virtual machine based an app written in java will run on all phones*(some caveats like os version) while the app in ndk will work on only hardware that it was designed for
From something awesome
Click to expand...
Click to collapse
hmmm, yes there is google but not what im exactly asking, and that makes me ask this:
You talk about c & c++ and other languages compilations to run on android phone, is vb.net a part of that list?
Could you show me a website or something that says more about that dev kit? im basically trying to port my apps from vb 2010 express (windows forms based) to android and if that thing is not possible should i use java to code it all over again?
Thanks in advance!
http://developer.android.com/sdk/ndk/ this is for the ndk but it is not as simple as just compiling your code with the ndk. You will need to rewrite some of it to actuallytie into the android apis
You should really just use the java sdk. You will reach more people and be able to find more help and info
And I stand corrected, while there are projects trying to bring other languages to the ndk it is at this point just C and C++
From something awesome
killersnowman said:
http://developer.android.com/sdk/ndk/ this is for the ndk but it is not as simple as just compiling your code with the ndk. You will need to rewrite some of it to actuallytie into the android apis
You should really just use the java sdk. You will reach more people and be able to find more help and info
And I stand corrected, while there are projects trying to bring other languages to the ndk it is at this point just C and C++
From something awesome
Click to expand...
Click to collapse
oh well in that case i will need to learn java.... thanks mate, i think its easier to just rewrite the whole thing really i like proper optimizations and ports most of the times lack them.
Thanks for the information thats all i needed.
PS: rep added
if you know vb.net well you'll have no real problem with java.. it just adds brackets and semicolons essentially lol. I learned java in college and then was thrown into the .net framework using c# and i love the .net framework.. its so hard for me to go from using Visual Studios to Eclipse to make an android application because Visual Studios (which im assuming you use, is so powerful).. But yes android is java code behind and html (preferred) GUI. You can make your GUI using java but trust me its terrible!
jr10000 said:
But yes android is java code behind and html (preferred) GUI. You can make your GUI using java but trust me its terrible!
Click to expand...
Click to collapse
Html? You mean xml?
Also try Intellij instead of Eclipse. Eclipse is way too bloated and IntellJ has some amazing autocomplete features. Its better in my opinion
From something awesome
jr10000 said:
if you know vb.net well you'll have no real problem with java.. it just adds brackets and semicolons essentially lol. I learned java in college and then was thrown into the .net framework using c# and i love the .net framework.. its so hard for me to go from using Visual Studios to Eclipse to make an android application because Visual Studios (which im assuming you use, is so powerful).. But yes android is java code behind and html (preferred) GUI. You can make your GUI using java but trust me its terrible!
Click to expand...
Click to collapse
what?? i really need a proper GUI ugh... yes im using visual studio, and indeed is amazing, the app i have and i want to port to android is windows form based, the most essential thing i would need about it is the calendar control :\
You can use Javascript+HTML5 (it's complicated to express here but the whole things is pretty much native).
Python aswell, use SL4x or Kivy (Kivy is pretty good but it's still too new).
Sorry, being hate Java too much.
Funnnny said:
You can use Javascript+HTML5 (it's complicated to express here but the whole things is pretty much native).
Python aswell, use SL4x or Kivy (Kivy is pretty good but it's still too new).
Sorry, being hate Java too much.
Click to expand...
Click to collapse
ok np, so to doublecheck this: to have an application with graphical interface i will need javascript and html5?
TheWarKeeper said:
ok np, so to doublecheck this: to have an application with graphical interface i will need javascript and html5?
Click to expand...
Click to collapse
I dont know why people spread extremely non standard practices to people getting started...
No you dont need javascript or html5.
Android has a ui layout system based in xml. Its just there to arrange objects that you can access from the java code. So a little xml and java is all you need
From something awesome
TheWarKeeper said:
ok np, so to doublecheck this: to have an application with graphical interface i will need javascript and html5?
Click to expand...
Click to collapse
The right way to do GUI is with Java, with the official SDK from Google.
Some non-standard way to do this is with Javascript (just a GUI wrapper from Javascript to Java) and Python (again wrapper to Python).
You can choose which way you want, many people I know didn't like Java, and they choose to use a web application, and then they want to embed this to a native Android application, so they go with Titanium Mobile or some others framework like that. It's not as good as Java, but it's some other way to start with your application (Web app first and then Native app)
Funnnny said:
The right way to do GUI is with Java, with the official SDK from Google.
Some non-standard way to do this is with Javascript (just a GUI wrapper from Javascript to Java) and Python (again wrapper to Python).
You can choose which way you want, many people I know didn't like Java, and they choose to use a web application, and then they want to embed this to a native Android application, so they go with Titanium Mobile or some others framework like that. It's not as good as Java, but it's some other way to start with your application (Web app first and then Native app)
Click to expand...
Click to collapse
i feel like i should probably stick with java, i want it to be quick and fast and have alot of stuff to code, the program should run in background so it must not affect performance at all, will use timers with a basic code ticking every second while on background and thats it really
TheWarKeeper said:
i feel like i should probably stick with java, i want it to be quick and fast and have alot of stuff to code, the program should run in background so it must not affect performance at all, will use timers with a basic code ticking every second while on background and thats it really
Click to expand...
Click to collapse
Then use java bro, it's an awesome programming language, I don't know why some people don't like it, each programmer should learn to get used to each language.
Anyway, for likes.. colors
Cheers, D4.
D4rKn3sSyS said:
Then use java bro, it's an awesome programming language, I don't know why some people don't like it, each programmer should learn to get used to each language.
Anyway, for likes.. colors
Cheers, D4.
Click to expand...
Click to collapse
well ive been learning vb and i will admit that im still on intermediate level, even though i know all the basic stuff such as messing with its own functions, etc i still havent used any of the apis for it, the main problem with programming is that if u learn a language you would waste your time learning that one or else if u go learn to many languages you will end up not knowing none of them at all.
Ill see if i can mess with java, some people say syntax is a bit similar to c & c++
EDIT: btw, im not saying i dont find java good, a programming language that will basically run on any machine independently of the OS makes the language itself possibly the best and most versatile around.
I'm learning Android and I use Java and XML. I'm still a beginner though.
Sent from my SGH-T959 using XDA App
I am just curious, software like Titanium Backup, or Angry Birds, which programming language do they use? Could this stuff be programmed with Eclipse in Java?
killersnowman said:
Html? You mean xml?
Also try Intellij instead of Eclipse. Eclipse is way too bloated and IntellJ has some amazing autocomplete features. Its better in my opinion
From something awesome
Click to expand...
Click to collapse
Hey, do you know how to use intellij idea fire Android development?
Sent from my GT-S5830 using xda premium

Programming on your eee pad ?

Is it possible to program in C , on my Transformer tablet?
If so what is the program which allows it?
Thanks in advance,
you can install linux via chroot and use it...
Netbeans IDE on Transformer
The Transformer is just one step from replacing my Laptop. The problem is there is no IDE for Honeycomb to program in java. (I have seen apps to write .apk's for that run on android)
Anyway, can anybody confirm whether Netbeans works on the Ubuntu version that is installable? Netbeans is free from their site and should support the operating system, but you will need the JDK as well.
Eventually I will try this myself, but someone with Ubuntu on their Transformer can maybe save me the trouble??
If you're familiar with programming/editing code in vi/vim, you can start that from terminal... only thing is you'll have to make sure you define a key combo for the ESC button, or vi/m won't be much fun
If you want to actually compile stuff, your best bet would be to run Ubuntu, either via chroot method or actually boot it. The threads are in the Dev section. Again, if you're familiar and comfortable with the command line or in vi/m, it'd be better to do it via the chroot method and use gcc through a terminal emulator to compile your C stuff (means you don't have to actually reboot your device to get into linux).
I do a lot of web developement... and mainly use dreamweaver via Remote RDP, but I'm not able to send special characgers like " < > via the dock... Anyone now a better solution, or a better RDP (no VNC) program, I know there are a lot out there...
I think using something like netbeans in the emulated linux would be something crazy, netbeans is so heavy and I don't think the emulated linux will be fast enough...
vi/vim is the best solution, I just rooted my device, and I am going to install linux too.... I will use vim for ruby on rails development there....
gnagnone said:
I think using something like netbeans in the emulated linux would be something crazy, netbeans is so heavy and I don't think the emulated linux will be fast enough...
vi/vim is the best solution, I just rooted my device, and I am going to install linux too.... I will use vim for ruby on rails development there....
Click to expand...
Click to collapse
Yeah, I thought it was a long shot, but thanks for your input. I would still like to try it one day theoretically the transformer should be able to since the netbeans system requirements are low, but then again its apples and pears
I was wondering about this too since I'll be ditching my eeepc when I get the dock. I don't program stuff for a living but it would be nice to have the option available.
SparkyRih said:
I do a lot of web developement... and mainly use dreamweaver via Remote RDP, but I'm not able to send special characgers like " < > via the dock... Anyone now a better solution, or a better RDP (no VNC) program, I know there are a lot out there...
Click to expand...
Click to collapse
Really? Even if they are on the keyboard?
Touchqode
Anyone has tried Touchqode?..
It's an IDE for Android for programming in Java, HTML, JavaScript, Python, C++, C#, Ruby and PHP..
I haven't tried it yet..
programming with labview/gcode would be awesome.. ish
Touchqode
bruuuno said:
Anyone has tried Touchqode?..
It's an IDE for Android for programming in Java, HTML, JavaScript, Python, C++, C#, Ruby and PHP..
I haven't tried it yet..
Click to expand...
Click to collapse
Man, you are my hero. This is exactly what I've been looking for. If only there was a way of running .java files offline, but everything about it is awesome.
I would encourage everybody else, interested in programming, to try this out.

Android and Kinect

Okay guys I have been looking around the internet and I am bumbfounded by all of the crap that you have to sift through to get a simple answer.
I am a Student in a Robotics Team at a community college. I am trying to impliment the Kinect and Android powered phones/tablets into our program, but when I try and find the topic I get overwelmed by all of the technical jargin that they have on these sites.
I am a senior in Electrical Engineering Tech. but have little programming skill. If anyone could help me with this robot that I am building I would be extremely greatfull.
I am trying to use these two sites for inspiration and one is even a how to site, but I cannot figure out what it is trying to say.
raymondlo84.blogspot.com/2011/07/howto-using-microsoft-kinect-on-tegra.html
blog.recursivepenguin.com/?p=70
I would like to just get the interface working but I have plans on either controlling a Propeller microcontroler to move forward and reverse and/or just controlling a paint-ball gun so that it can move up and down.
If anyone can help please do so. I know this is, what I believe to be, a hard task to jump into, but know that if you do help you are helping the Robotics Team expand their horizons in a small town in southern West Virginia.
Maybe helpful...
Ubuntu Manual Install
Quick copy-paste instructions to get up-and-running instantly:
Code:
sudo apt-get install git-core cmake libglut3-dev pkg-config build-essential libxmu-dev libxi-dev libusb-1.0-0-dev
git clone git://github.com/OpenKinect/libfreenect.git
cd libfreenect
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig /usr/local/lib64/
sudo glview
Click to expand...
Click to collapse
I found this and tried it with a copy of chroot on my Acer Iconia but it doesn't detect that I have a kinect connected via the usb. I believe that the usb is not implemented over the bridge where I am viewing the ubuntu using the VNC viewer.
source: http://openkinect.org/wiki/Getting_Started
Also this will not work with the new Ubuntu 11.10 so I have no idea if this is even a good way of even doing this anymore. I know it worked on 10.10.
I am not sure what help this will be, but you may want to check out the FIRST Robotics competition forums. The task this year is to build a robot that can shoot basketballs from input delivered via Kinect.
http://forums.usfirst.org/forumdisplay.php?f=1537
It may not help you get the kinect stuff running on your A500, but it may be useful in working with it after you get it up and running.
Thank you Psichi for your help in the future. I also see some files that I could use with the windows problems that I have been having with it. lol.
I really only need help with getting the Ubuntu chroot on my Acer Iconia A500 to be able to read something when it is hooked into the USB slot on the side. It is running perfectly but the connection is not there.
You have the power for the kinect unit plugged in as well right? A developer on my team at work mentioned the unit can't do power over usb on anything other than the new xbox.
I know it is a stupid question, but the amount of times I forget to rule out the simple things are more than I would like to admit
Sent from my tomato filled Evo
Yes I went out and bought a 30 dollar plug in that separated the USB and the power. I had this working on an older version of Ubuntu but it won't connect via chroot now because the USB functionality doesn't bridge to the emulated Ubuntu...
You should have a look at hirotakaster.com he has connected Kinect to Android using OpenNI 1.5 and 2
bscholt22 said:
Yes I went out and bought a 30 dollar plug in that separated the USB and the power. I had this working on an older version of Ubuntu but it won't connect via chroot now because the USB functionality doesn't bridge to the emulated Ubuntu...
Click to expand...
Click to collapse
NUIDROID/NUITRACK SDK - Android TV
MarkDurbin said:
You should have a look at hirotakaster.com he has connected Kinect to Android using OpenNI 1.5 and 2
Click to expand...
Click to collapse
looks like 3divi provides kinect ndk Nuitrack (NUIDROID). I did registration in 3divi.com byt every time i got only welcome message. I am trying to figure out if i can get this SDK and can connect Kinect to my Android Ijealy beaan) TV. If anyone has got this SDK then please share also let me know if this could work out..
http://devpost.com/software/3d-gesture-recognition-middleware-and-sdk

Developing for Android

I have no programming experience but I'm extremely interested in teaching myself how to program. My main goal is to one day develop my own apps for Android. Now I've read a lot online and most people recommend starting with Python as your first language as its easier to grasp than others. This sounds like a great idea but I dont believe you can code for Android in Python, correct?
So my question is, should I start with Python, get familiar with the language building my programming knowledge and later learn Java for Android? Or should I just jump head first into Java as my first language even though it may be more difficult to start with?
Thanks!!
michaelearth said:
I have no programming experience but I'm extremely interested in teaching myself how to program. My main goal is to one day develop my own apps for Android. Now I've read a lot online and most people recommend starting with Python as your first language as its easier to grasp than others. This sounds like a great idea but I dont believe you can code for Android in Python, correct?
So my question is, should I start with Python, get familiar with the language building my programming knowledge and later learn Java for Android? Or should I just jump head first into Java as my first language even though it may be more difficult to start with?
Thanks!!
Click to expand...
Click to collapse
Python is a great start.
However, with a good book like the "Head's first Java" you will also be able to start with (the desktop) Java. Get some programming knowledge before starting with programming for Android.
nikwen said:
Python is a great start.
However, with a good book like the "Head's first Java" you will also be able to start with (the desktop) Java. Get some programming knowledge before starting with programming for Android.
Click to expand...
Click to collapse
I looked at the book as an option for me but it says directly on the "Head First" website that these books assume you have expirence in other languages so I dont think that book is for me quite yet.
If I decide to go the Python route, I was looking at this book: http://www.amazon.com/Python-Progra...ie=UTF8&qid=1368992505&sr=8-6&keywords=python. Any thoughts on this book?
michaelearth said:
I looked at the book as an option for me but it says directly on the "Head First" website that these books assume you have expirence in other languages so I dont think that book is for me quite yet.
If I decide to go the Python route, I was looking at this book: http://www.amazon.com/Python-Progra...ie=UTF8&qid=1368992505&sr=8-6&keywords=python. Any thoughts on this book?
Click to expand...
Click to collapse
Ok. You are right. Found this on the web now, too: http://answers.yahoo.com/question/index?qid=20110111230807AA8fVgP
(Check the link.)

Categories

Resources