Related
How can i install Java to my Galaxy S for working some websites that they need it???
for Browser there is no plugin available yet
but if you want to run say Java games application or software made for Java, then there is a software that can convert it from java into android apps
but it's not free
I'm going on the assumption that the OP was referring to Java SE 'applets' commonly used on the web, such as used for games like Minecraft or RuneScape.
I can't see any software in the immediate future allowing compatibility for this unless somebody voluntarily hacks something together although for what it's worth I had a look over to see what ARMEL compiled packages the Debian repository has:
http://packages.debian.org/experimental/openjdk-6-jre may work in a chrooted Debian environment if anybody wants to try it assuming all the dependencies are available for ARMEL too. I have no idea if this would work and I may have a go at attempting it some time myself. This of course probably isn't what you want but it technically would mean you could run your Java applets in a browser - just not the browser you'd probably want.
Hey, I am entirely new to Android development. Is it possible to run Android OS inside a VM Player on my PC running Windows 7? I've done this with several flavors of Linux, but I dont know enough about how Android operates.
I'm not talking about just a development sandbox... a fully-functional installation of Android with networking capabilities would be the goal. Does anyone have experience with this?
First one with helpful answer gets a free iPad!!*
*some restrictions apply
----
EDIT: seriously, has nobody ever done this
Yes - see http://www.android-x86.org/
You can download a live cd version of Android compiled for x86 machines, and install it in your VM of choice. - Just pick Linux 2.6 as the host OS when creating your VM
(Though the Android emulator that comes with the SDK is pretty much fully functional, too, and more representative of an actual phone, since it's running Arm instructions rather than x86)
Cool, thanks for the tip
I havent played with the Emulator yet, or really gotten my hands dirty. Does the emulator just allow you to test your program, or does it emulate the entire OS- destop, applications, settings and all?
What I would really like to do (not sure if possible) is to do all the configuration for my phone OS via my PC, then just save the image and copy it to the phone. Starting to think this might not be easy
SilverStrings said:
I havent played with the Emulator yet, or really gotten my hands dirty. Does the emulator just allow you to test your program, or does it emulate the entire OS- destop, applications, settings and all?
Click to expand...
Click to collapse
The emulator in the SDK gives you pretty much a full phone environment (It's missing stuff like the google branded apps, but there are ways around that...)
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.
If you don't understand what ssh or vnc is, please don't attempt this.
I am able to run Kali Linux armhf on the 13.3.1 by following this guide. It can run other distros too.
I can confirm it is working 100% and runs very smooth. Here is a link to the Linux Deploy app. You need a vnc app or a ssh app to interface with it. I recommend Real VNC Viewer. Instead of connecting to your private ip, just connect using your loopback 127.0.0.1 It is faster.
I hope this could be of some use towards cracking the bootloader. Comments, questions, discussion wanted.
Nice idea but what can you really do on Kali that you can't do via adb shell?
PS putty ftw!
Sent from my Nexus 4 using Tapatalk
Spec-Chum said:
Nice idea but what can you really do on Kali that you can't do via adb shell?
PS putty ftw!
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Install linux native applications, light server, supports many linux distros like gentoo arch debian ubuntu fedora. Aircrack-ng, reaver, sslstrip, metasploit. The fun stuff.
Faznx92 said:
Install linux native applications, light server, supports many linux distros like gentoo arch debian ubuntu fedora. Aircrack-ng, reaver, sslstrip, metasploit. The fun stuff.
Click to expand...
Click to collapse
Nice, I'm sold
Repurpose a device
I would really like to get a different OS on my device or even do a GRUB bootloader kind of thing which will allow Android or another OS. I want to repurpose a tablet for my car project and I don't want to use Android.
I have done the VNC thing in the past with Ubuntu and it was horribly slow. Anything emulating on top of an OS will be less than optimal. I have used VMPlayer and VirtualBox before on a regular desktop and they seem ok. But still I'd like another OS that will be fast on boot up and ready to go in the shortest amount of time.
chris
This is very interesting. Has anyone managed to get Mer working through Linux Deploy? Having Plasma Active running like that would be pretty awesome. Other DEs aren't really optimised for touch the way Plasma Active is.
EDIT: Actually, it might be possible to get Plasma Active running via Gentoo, as they have an overlay for it. Still experimental, but then what isn't experimental at this point
GreatEmerald said:
This is very interesting. Has anyone managed to get Mer working through Linux Deploy? Having Plasma Active running like that would be pretty awesome. Other DEs aren't really optimised for touch the way Plasma Active is.
EDIT: Actually, it might be possible to get Plasma Active running via Gentoo, as they have an overlay for it. Still experimental, but then what isn't experimental at this point
Click to expand...
Click to collapse
You use a vnc app on loobback address(127.0.0.1) to connect. It is the fastest emulation I ever had running on any device. This is perfect for me if i can get a keyboard working. If you lower the resolution of the linux guest with a ui like lxde it is very easy to use it as a touch interface.
Mr_Ada said:
I would really like to get a different OS on my device or even do a GRUB bootloader kind of thing which will allow Android or another OS. I want to repurpose a tablet for my car project and I don't want to use Android.
I have done the VNC thing in the past with Ubuntu and it was horribly slow. Anything emulating on top of an OS will be less than optimal. I have used VMPlayer and VirtualBox before on a regular desktop and they seem ok. But still I'd like another OS that will be fast on boot up and ready to go in the shortest amount of time.
chris
Click to expand...
Click to collapse
Try it out on the loopback address 127.0.0.1 It is blazing fast with ui like lxde or xfce. Fastest I ever seen on a tablet/android.
Faznx92 said:
You use a vnc app on loobback address(127.0.0.1) to connect. It is the fastest emulation I ever had running on any device. This is perfect for me if i can get a keyboard working. If you lower the resolution of the linux guest with a ui like lxde it is very easy to use it as a touch interface.
Click to expand...
Click to collapse
Yea, thanks. I'll read a bit more on Linux Deploy to see how it works. And I'm very familiar with Gentoo (have three Gentoo devices here), so setting it up shouldn't be a problem. I also asked on their IRC, and they said Plasma Active should theoretically compile on Gentoo ARM, but nobody ever tested it. Sounds like a good opportunity to do just that!
Got to run Gentoo, although it required a bit of effort. Since I want Plasma Active, I didn't choose any GUI (I need to set it up manually). However, the problem is that SSH wouldn't run, either, citing that OpenRC wasn't started itself, and that I had to execute touch /run/openrc/softlevel in order to get it to start. Which is nice and all, but it's a circular dependency: to create the file, I need to log in through ssh, and to log in through ssh I need to create the file. So I ended up doing this:
Create a bash script file with that line
Upload it to the device (I put it in the downloads directory)
Do a "chmod 777 /datamedia/media/0/Download/<myscriptfilename>.sh"
In Linux Deploy:
Enable Custom mount (leave the path default)
Enable Custom startup
Set Script file to "/mnt/0/Download/<myscriptfilename>.sh"
That allowed me to create that file and start sshd correctly. So now I can log in via ssh, yay!
It makes me wonder, though – is there a support forum for Linux Deploy in English? Their main forum seems to be Russian...
GreatEmerald said:
Got to run Gentoo, although it required a bit of effort. Since I want Plasma Active, I didn't choose any GUI (I need to set it up manually). However, the problem is that SSH wouldn't run, either, citing that OpenRC wasn't started itself, and that I had to execute touch /run/openrc/softlevel in order to get it to start. Which is nice and all, but it's a circular dependency: to create the file, I need to log in through ssh, and to log in through ssh I need to create the file. So I ended up doing this:
Create a bash script file with that line
Upload it to the device (I put it in the downloads directory)
Do a "chmod 777 /datamedia/media/0/Download/<myscriptfilename>.sh"
In Linux Deploy:
Enable Custom mount (leave the path default)
Enable Custom startup
Set Script file to "/mnt/0/Download/<myscriptfilename>.sh"
That allowed me to create that file and start sshd correctly. So now I can log in via ssh, yay!
It makes me wonder, though – is there a support forum for Linux Deploy in English? Their main forum seems to be Russian...
Click to expand...
Click to collapse
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Android Terminal Emulator
Faznx92 said:
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Click to expand...
Click to collapse
I actually took concepts from Linux Deploy and Complete(??) Linux Installer, and built a set of scripts to do all the chroot work without needing an Android app. Since I primarily use the terminal, running everything from the shell is much easier than using an app.
Using something like Android Terminal Emulator, you do not need ssh on the android side at all. You simply su to root and run a chroot command:
chroot <linux-mnt-pt> /bin/bash -i
or
chroot <linux-mnt-pt> /bin/su <user>
or
chroot <linux-mnt-pt> /bin/login <user>
The last option requires typing a password, but since it's a login, it sets up your environment correctly. The other two inherit your Android PATH (among other things), so you have to set PATH by hand or use an rc file which sets it from scratch.
Personally, I find even LXDE much too slow for regular use over vnc. Most of my interest revolves around emacs and gcc, which both work great in Android Terminal Emulator.
-Pie
Faznx92 said:
Great job! It looks like the original dev was russian and their github is in russian but use google translate. Hope this helps.
Click to expand...
Click to collapse
Ah, thanks for pointing that out. His issue list is in English, and that's exactly what I need!
I talked to people over at #systemd to see if it would be possible to have systemd launching things in a chroot, and unfortunately it seems to be impossible for the Kindle Fire HDX 7, because its kernel is not compiled with PID namespaces that systemd requires to function, and we don't have any means to compile custom kernels as far as I know. It's too bad, but I guess I can cope with OpenRC for now.
EatingPie said:
I actually took concepts from Linux Deploy and Complete(??) Linux Installer, and built a set of scripts to do all the chroot work without needing an Android app. Since I primarily use the terminal, running everything from the shell is much easier than using an app.
Using something like Android Terminal Emulator, you do not need ssh on the android side at all. You simply su to root and run a chroot command:
Click to expand...
Click to collapse
Interesting, although I do prefer an app (it's really quite convenient). Also, as far as ssh goes, I do prefer having that running over typing things into the terminal using the touchscreen.
Overall the experience of running Gentoo on ARM is interesting. The Snapdragon 800 is really quite a beast, but rather peculiar. There are often delays before my input starts to be processed, but once it does, it runs very fast, until it goes idle again. And the speed at which it compiles things is amazing. It's also nice that I can use all of those nice optimisations (I'm using -march=native and -mfpu=neon-vfpv4, with the neon USE flag enabled; I'd like to set -mcpu to something specific, but it doesn't seem to have Snapdragon as an option).
Ubuntu os
Maybe sometime we would be able to get Ubuntu os on our tabs.
zhable said:
Maybe sometime we would be able to get Ubuntu os on our tabs.
Click to expand...
Click to collapse
You already can, although it's limited to the desktop version (which isn't any good when it comes to touchscreens). Not sure if Ubuntu Touch will be available at some point. But eventually Ubuntu will ship Unity 8, which will be more touch-friendly.
This is all great news!
GreatEmerald said:
Overall the experience of running Gentoo on ARM is interesting. The Snapdragon 800 is really quite a beast, but rather peculiar. There are often delays before my input starts to be processed, but once it does, it runs very fast, until it goes idle again. And the speed at which it compiles things is amazing. It's also nice that I can use all of those nice optimisations (I'm using -march=native and -mfpu=neon-vfpv4, with the neon USE flag enabled; I'd like to set -mcpu to something specific, but it doesn't seem to have Snapdragon as an option).
Click to expand...
Click to collapse
I don't think -march=native is doing anything there buddy.
GCC doesn't officially "support" Krait (yet), nearest I can see would be Cortex-A9 which uses the same scheduling model (albeit with 3 less pipeline stages) as a Krait. Interestingly, LLVM/Clang has just patched in a krait -mcpu target, if you can use that. To be honest you'll not be gaining too much as, IIRC, the main difference between a Krait and an A9, in compiler specific terms, is vfp4, but you're setting that with the -mfpu option anyway.
My point after spouting that gibberish is to not sweat it, lose -march, change -mcpu to cortex-a9 and you're golden. At least until a krait mcpu target for GCC...
Spec-Chum said:
I don't think -march=native is doing anything there buddy.
GCC doesn't officially "support" Krait (yet), nearest I can see would be Cortex-A9 which uses the same scheduling model (albeit with 3 less pipeline stages) as a Krait. Interestingly, LLVM/Clang has just patched in a krait -mcpu target, if you can use that. To be honest you'll not be gaining too much as, IIRC, the main difference between a Krait and an A9, in compiler specific terms, is vfp4, but you're setting that with the -mfpu option anyway.
My point after spouting that gibberish is to not sweat it, lose -march, change -mcpu to cortex-a9 and you're golden. At least until a krait mcpu target for GCC...
Click to expand...
Click to collapse
Nope, -march=native sets -march to armv7-a, which is close enough. The point in using it is that as soon as GCC gets better optimisations, -march=native will use the more optimised choice, without manual intervention.
too slow download
very slow retrieving of files from server i have a 2 mb/s line
any idea how should i retrive it offline
---------- Post added at 06:24 PM ---------- Previous post was at 06:00 PM ----------
suit urself and paste any one link in mirror url in linux depoly settings for kali and other deployments
http://http.kali.org/README.mirrorlist
remove the readme when adding the url ... press thanks nd make me feel aprreciated
Just curious to see exactly how many people actually use Linux or OSX a.k.a the only OSes you can build Android on which IMO all Android devs should be using
I'm running Manjaro, an Arch based distro
Sent from my ASUS_Z00AD using Tapatalk
Jhdoubleoseven said:
Just curious to see exactly how many people actually use Linux or OSX a.k.a the only OSes you can build Android on which IMO all Android devs should be using
Click to expand...
Click to collapse
Haha still on win 7...Waiting for win 10
Jhdoubleoseven said:
Just curious to see exactly how many people actually use Linux or OSX a.k.a the only OSes you can build Android on which IMO all Android devs should be using
Click to expand...
Click to collapse
There are virtualization options availible for Windows such as cygwin I've used in the past that can help.
PC Gaming Master Race (Windows). Proud. xD
8.1 on one xubuntu 15.04 on another
Sent from my ASUS_Z00AD using XDA Free mobile app
Jhdoubleoseven said:
Just curious to see exactly how many people actually use Linux or OSX a.k.a the only OSes you can build Android on which IMO all Android devs should be using
Click to expand...
Click to collapse
I'm using fedora but why should all android devs use linux? I think you should use whatever you're comfortable with
Niropa said:
I'm using fedora but why should all android devs use linux? I think you should use whatever you're comfortable with
Click to expand...
Click to collapse
Because:
1) Android is a Linux system so if you wanna develop it it's best to know Linux up close and personal
2) Building Android things (like ROMs) on Linux is much more straightforward
3) Linux systems are much more secure and generally more stable (not related to Android, just in general)
4) Microsoft is a corporate evil that restricts the freedom of its users and encourages the use of proprietary software
OSX is also guilty of the same evils as Windows with the exception that OSX is a Unix system and therefore enjoys many of the same benefits as Linux
I've been a linux user since 1998, I'm comfortable building programs from scratch, used to build my own kernel (prior to 3.x) and have modified kernel modules to add support for some devices.
Having said that, I tried to build a kernel and system for an Android device some long time ago, did have the source tree for the device, but it always failed because some blob was missing or some source file had incorrect references to other files. I just tossed the towel, mainly because compilation took forever just to fail at the end. Besides I had to download like 40GB to set up the build environment.
Having previous linux experience did not help me much, as Android was different enough to what I knew. This was at the time gingerbread was the latest version ( Android 3 devices existed, but that's another story).
Hopefully things have changed, if so I might give it a try again.
Sent from my ASUS_Z00AD using Tapatalk
Jhdoubleoseven said:
Because:
1) Android is a Linux system so if you wanna develop it it's best to know Linux up close and personal
2) Building Android things (like ROMs) on Linux is much more straightforward
3) Linux systems are much more secure and generally more stable (not related to Android, just in general)
4) Microsoft is a corporate evil that restricts the freedom of it)sers and encourages the use of proprietary software
OSX is also guilty of the same evils as Windows with exception that OSX is a Unix system and therefore enjoys many of the same benefits as Linux
Click to expand...
Click to collapse
1) android is very different then any Linux distribution, as glock said having previous experience on Linux does not help much.
2) I agree with that point because Linux comes with a lot of tools needed to compile but if that's the only reason you need Linux for then it's better to just run it as a secondary OS on a virtual machine.
3) now that's a very silly point, Linux is only more secure because its more obscure then other operating systems and saying it is generally more stable is just wrong. With windows I had rarely any problems. With any Linux distribution I get very bad screen tearing, audio stops working after a reboot, many packages (steam for example) don't work without hours of troubleshooting and file transfers to my phone or music player make at least one song on every album sound like it got thrown in a blender and got chopped up before being transfered. There are many more problems which don't help my android development. When iI could be updating my ROMs I can't because I'm busy troubleshooting why my distribution decided not to pass grub.
4) that's also a very silly point stallman. With that logic you should not be using phones either because they contain proprietary blobs. The play store is proprietary. Most websites you visit are proprietary (including github which is needed for android development) your mp3s are proprietary, even your computer that you think is running all free software iis running a proprietary BIOS. I could go on all day about the proprietary software you use but I'm on my phone
Niropa said:
3) now that's a very silly point, Linux is only more secure because its more obscure then other operating systems and saying it is generally more stable is just wrong. With windows I had rarely any problems. With any Linux distribution I get very bad screen tearing, audio stops working after a reboot, many packages (steam for example) don't work without hours of troubleshooting and file transfers to my phone or music player make at least one song on every album sound like it got thrown in a blender and got chopped up before being transfered. There are many more problems which don't help my android development. When iI could be updating my ROMs I can't because I'm busy troubleshooting why my distribution decided not to pass grub.
Click to expand...
Click to collapse
I work for a major IT company. All system administrators- Window, Unix, Mainframe, or DBA have to use Linux as their OS because it is more secure than MS Windows. The base multi-user model of Unix makes it more secure, then add things like SELinux, and becomes very hard to compromise.
Your garbled songs sounds like you are disconnecting your device before all the files have finished transferring. Your screen tearing sounds like you are using a software or frame buffer driver instead of the accelerated driver for your video chipset. Sound can be a pita at times. A newer distro solved my issues (meaning updated kernel drivers) with sound. For Steam, I think I had to enable a repo, then just 'yum install steam'. It is not so much Linux is difficult as it is different from what you are used to.
alose said:
I work for a major IT company. All system administrators- Window, Unix, Mainframe, or DBA have to use Linux as their OS because it is more secure than MS Windows. The base multi-user model of Unix makes it more secure, then add things like SELinux, and becomes very hard to compromise.
Your garbled songs sounds like you are disconnecting your device before all the files have finished transferring. Your screen tearing sounds like you are using a software or frame buffer driver instead of the accelerated driver for your video chipset. Sound can be a pita at times. A newer distro solved my issues (meaning updated kernel drivers) with sound. For Steam, I think I had to enable a repo, then just 'yum install steam'. It is not so much Linux is difficult as it is different from what you are used to.
Click to expand...
Click to collapse
Lol nice assumptions but no. I can assure you I'm not disconnecting it before its finished transferring, my only guess is it has something to do with libmtp and the way it handles file transfers which must be different then other operating systems. I use the open source amd drivers which give me screen tearing. I noticed proprietary drivers fixed it but then when I reboot its just a blank screen that iI cant be bothered to troubleshoot. I have steams repo enabled and it iinstalls fine with dnf but I can't figure out how to get it to actually open. Opening with the command line doesn't give me any errors to work with either sadly. Also as I stated in an earlier post I use fedora and am much more experienced with Linux then any other OS. I'm also on the latest kernel released (4.0.6 I think? I'll have to double check) and I still get issues with pulseaudio.
With all that being said I'm not trying to bash Linux and say windows is better,(like i said i use fedora myself and have been using other various distros for the past several years)my point was that you should use whatever works best for you and won't get in your way.
All runing linux
Jhdoubleoseven said:
Just curious to see exactly how many people actually use Linux or OSX a.k.a the only OSes you can build Android on which IMO all Android devs should be using
Click to expand...
Click to collapse
2 laptop, raspberrypi, game pc, media pc, kib pc, all running flavor of Linux.:good:
Windows ME.
Posted using my phone.
Niropa said:
Lol nice assumptions but no. I can assure you I'm not disconnecting it before its finished transferring, my only guess is it has something to do with libmtp and the way it handles file transfers which must be different then other operating systems. I use the open source amd drivers which give me screen tearing. I noticed proprietary drivers fixed it but then when I reboot its just a blank screen that iI cant be bothered to troubleshoot. I have steams repo enabled and it iinstalls fine with dnf but I can't figure out how to get it to actually open. Opening with the command line doesn't give me any errors to work with either sadly. Also as I stated in an earlier post I use fedora and am much more experienced with Linux then any other OS. I'm also on the latest kernel released (4.0.6 I think? I'll have to double check) and I still get issues with pulseaudio.
With all that being said I'm not trying to bash Linux and say windows is better,(like i said i use fedora myself and have been using other various distros for the past several years)my point was that you should use whatever works best for you and won't get in your way.
Click to expand...
Click to collapse
I definitely see your point. I guess it really depends on what you hardware you use Linux on; I run Arch on my old HP G71 from 2011 with an Intel Core 2 Duo and everything runs amazingly. The only issues I've ever had is pulseaudio (which magically fixed itself after some time) and a few crashes due to me using a custom kernel (linux-ck). In fact, the only problems I've ever had are completely due to a mistake on my part.
With the Microsoft it was mild sarcasm with a big point: pretty much everything in Windows is closed source. Pretty much everything in Linux is open source (depending on what distro you use, of course). I'm not afraid of proprietary; I run Plex Media Server and Google Chrome. But I made that choice to run those programs. Just like I made the choice of what window manager to run; how to log in to my system (I go through startx now); how to play music (mpd); how to interface with my network. All of these were choices I made in building my system from the ground up -- even with distros like Ubunutu you can still replace basically whatever you want. That's what I meant when I said that Windows takes away your freedom.
Mint 17 on C720 i3 Chromebook here!
Jhdoubleoseven said:
Because:
1) Android is a Linux system so if you wanna develop it it's best to know Linux up close and personal
2) Building Android things (like ROMs) on Linux is much more straightforward
3) Linux systems are much more secure and generally more stable (not related to Android, just in general)
4) Microsoft is a corporate evil that restricts the freedom of its users and encourages the use of proprietary software
Click to expand...
Click to collapse
1) Tools to build apps for Android are cross-platformed. Using Eclipse IDE under Windows i compile every my app and don't see any restrictions making me want to migrate to Linux.
2) VirtualBox + Ubuntu solve this problem completely.
3) Not more secure and definitely not more stable. You can setup Linux to be less secure and setup Windows to be more secure. And if you compare how many side (i mean apps not included in distro) apps you use in Windows and in Linux, you will find the answer about security. Even light usage of Linux (mostly for kernel compilation and some AOSP code) produces different services/apps crash. So, if i would use Linux as i'm using Windows, there will be even more crashes.
What i really hate in Linux is how much time it requires to be prepared for some non-generic environment. If somehow happen distro doesn't provide required package (even from dedicated support server), or more worse if package version is different from required, then be prepared for "sex" with Linux. You can spend a lot of time to compile and most likely to fix incompatibilities in source code. Sometimes such preparation takes several days. And then when you are prepared, you can compile that code in 5 minutes. Nope.. Such productivity isn't for me. In most cases i even don't expect compilation because i simply want to use some utility. And then i find that pre-compiled version doesn't work. Because there is very low compatibility between different versions of Linux. Even binary compiled for Linux release couple years ago may not work in more modern Linux (unless it statically linked, but even in this case there is no warranty). And if it doesn't work, see my description about preparation to compile it
Btw, both VirtualBox and VMWare require special drivers for guest Linux to properly support folder sharing and VM window handling. And these drivers have to be recompiled with every minor kernel version update. This is IMHO very lame for Linux. Even after some kernel update (through standard distro package manager, so it's very minor update) VMWare stop to compile its drivers. So i have to find why and then patch the source code. And i often ask myself "Why i have to do this crap again and again?"
In Windows, i can take binary compiled for Windows XP, and use it in Windows 10. Interoperability of binaries between versions of Linux is a big red sign for me.
I was trying to migrate to Linux several times already in the past 10 years. And every time i find my self spending most of time for side tasks than my main projects.
Another thing i don't like in Linux is GUI. Not the design. It's OK for me to adapt to new interface. KDE or XFCE are fine. What i don't like in Linux GUI is how it works. Sometimes it lives its own life. Some windows appear when i don't expect, or i forgot about it already. It looks like GUI threads are running not in sync (or in very weak sync) with main code. I prefer MS Windows behavior when app tries to open the window, i cannot do anything. So, i know, something will happen soon. On Linux it's always a guess game "will some new window appear or app simply ignores my input."
4) From other side, you can see standardization of APIs and stable for many years SDK in Windows. As a software developer i care about it very much. There is no restriction for Open Source projects.
Absence (or nearly absence) binary compatibility between Linux versions, very flexible and often changing APIs can be considered as an additional security mechanism, but I'm against such methods.
---------- Post added at 06:01 AM ---------- Previous post was at 05:36 AM ----------
P.S: About "Android is a Linux": it's completely wrong.
Android is an OS with high level of abstraction when it comes to devices.
To make this abstraction, Linux kernel is used. Nothing to do with Desktop Linux here.
Generally speaking, any kernel could be used to make this abstraction. It could be OpenBSD and even Windows kernel. Android wouldn't be different. Google choose Linux kernel to be free from other software developers - that's the only reason.
sorg said:
1) Tools to build apps for Android are cross-platformed. Using Eclipse IDE under Windows i compile every my app and don't see any restrictions making me want to migrate to Linux.
2) VirtualBox + Ubuntu solve this problem completely.
3) Not more secure and definitely not more stable. You can setup Linux to be less secure and setup Windows to be more secure. And if you compare how many side (i mean apps not included in distro) apps you use in Windows and in Linux, you will find the answer about security. Even light usage of Linux (mostly for kernel compilation and some AOSP code) produces different services/apps crash. So, if i would use Linux as i'm using Windows, there will be even more crashes.
What i really hate in Linux is how much time it requires to be prepared for some non-generic environment. If somehow happen distro doesn't provide required package (even from dedicated support server), or more worse if package version is different from required, then be prepared for "sex" with Linux. You can spend a lot of time to compile and most likely to fix incompatibilities in source code. Sometimes such preparation takes several days. And then when you are prepared, you can compile that code in 5 minutes. Nope.. Such productivity isn't for me. In most cases i even don't expect compilation because i simply want to use some utility. And then i find that pre-compiled version doesn't work. Because there is very low compatibility between different versions of Linux. Even binary compiled for Linux release couple years ago may not work in more modern Linux (unless it statically linked, but even in this case there is no warranty). And if it doesn't work, see my description about preparation to compile it
...
Click to expand...
Click to collapse
Actually, every distro is binary compatible -- binaries are based on the processor, so every Linux x86-64 computer can run any binaries on my Arch Linux system. You're either referring to package compatibility, as different distros use different package managers, or just that you don't have all the dependencies (such as the libraries required to run).
Secondly, I'm surprised to hear how many crashes and issues you have with Linux... I easily get an uptime of 30 days+ without a single issue and then choose -- not get forced -- to reboot because my kernel is out of date. I've heard Ubuntu has given people issues but I use Arch which required me to know my hardware to install exactly what I need -- nothing more. Arch, being rolling release and up-to-date, is amazingly stable and also ensures you are in the driver's seat.
Thirdly, while you're right that you can have a secure Windows, the problem is how freely Windows gives out root permissions -- it's just asking for malware. Especially if you make youeself an admin, have fun running as root 24/7. Any *nix OS has an incredibly strong user system -- my system itself has over 20 users on it even though I am the only human who uses it. The other 19 users run programs and keep privileges separate. That and Linux is open source, so instead of like 1000 people looking through the source code you have over 10,000 eyes that may see any vulnerabilities. Windows "security through obscurity" is absolute crap; I will gladly use Windows once they go open source and I can get rid of that bloated UI and use something I have full control of.
Like you said, it really depends on a lot of things... however, as a power user I could never go back to Windows. I need freedom and transparency; Windows offers neither. Definitely don't think less of people who use Windows; some people want things to just work and don't care about anything else. I like things to work exactly like I want them to work and to be in control of what goes on with my computer. It's really just preference; my system is constantly changing and I configured everything myself. It's hard to describe, but when your OS becomes a project -- your project -- that you put time and effort in to get working like you want it's a really gratifying feeling
Jhdoubleoseven said:
or just that you don't have all the dependencies (such as the libraries required to run).
Click to expand...
Click to collapse
Exactly. Sorry for wrong wording.