EMacs, c++, Android and Widows? - IDEs, Libraries, & Programming Tools

Is there a simple way to start writing small c++ programs for Android using EMacs on a computer running Windows 7 or 8?
I've used EMacs alot in the past, but mainly on Linux-based systems using g++ as compiler.
EMacs for windows should be available, though I haven't tried it since my old WinXP computer was retired. Does anyone know if g++ works for Widows-based computers to compile programs for Android?
\Gwerain

Gwerain said:
Is there a simple way to start writing small c++ programs for Android using EMacs on a computer running Windows 7 or 8?
I've used EMacs alot in the past, but mainly on Linux-based systems using g++ as compiler.
EMacs for windows should be available, though I haven't tried it since my old WinXP computer was retired. Does anyone know if g++ works for Widows-based computers to compile programs for Android?
\Gwerain
Click to expand...
Click to collapse
By now you might have answered this but.... Just in case, XDA Member @Zeuscluts has a guide on his page here

El_Dark said:
By now you might have answered this but.... Just in case, XDA Member @Zeuscluts has a guide on his page here
Click to expand...
Click to collapse
Just ask for help if u Stuck in the setting up
Sent from my SM-N900 using Tapatalk

Related

What operating system do you use???

basically i want to know if you use windows, mac, or linux, and why you use that OS, and also how many people have yet to root their phone because it seems too complicated. i am currently working on a script runable in linux and soon to be runable in windows that will automatically root your phone for you. all you will need to do is run the command, hit enter a few times, set up a setting in anycut(which will be installed on the phone after flashing to RC29) and walk away, or you can sit there and stare at it if you want.
but since i know there are those three main OS's i wanted to know if i should continue trying to get this automated and running in all three operating systems.
I use all of the above so I can't vote. And technically if you own an Android phone you're using Linux.
Ron Overdrive said:
I use all of the above so I can't vote. And technically if you own an Android phone you're using Linux.
Click to expand...
Click to collapse
Well which do you use to do work on your phone? And I know by using android you are using linux which is why I made sure to say "on your main computer" I use linux to work on my phones, but I can use windows on my friend's comp
tubaking182 said:
Well which do you use to do work on your phone? And I know by using android you are using linux which is why I made sure to say "on your main computer" I use linux to work on my phones, but I can use windows on my friend's comp
Click to expand...
Click to collapse
Lately I've been using Windows 7 since I'm giving it a go to see if I want to return to Windows or not after the Vista blunder.
Honestly though I'd make an OS independent way of doing it to simplify it. Like make it in Java, Python, or in Mono so it'll be one app for all 3 OS's.
Why did you say "M$" in the poll option and not "Microsoft". I thought bagging Microsoft for no good reason stopped being cool 5 years ago?
because up until recently if you were to try and get ahold of a copy of XP an older and "obsolete" operating system they charged nuch more than they charged you for a copy of the crappy vista that the deemed perfect. the company will do anything to make more money than they chould be making, they overcharge for everything and quite frankly i would rag on mac too but it has been a long time since i touched a mac. these days i don't pay for a thing when it comes to my computer software, if there is not a free alternative then i don't need the program. software companies charge an arm and a leg for their software and then they whine and cry that people are pirating it. take a look at photoshop. over 60% of the copies of photoshop that are installed on computers nationwide are pirated copies, and is it any wonder? adobe wants to charge nearly $900 for a piece of intangible software, i'll stick with gimp
I've got an old iMac I still use (OS 9.2), and my main pc is quad boot (XP Pro, Vista, 7, and Unbuntu), and my netbook is dual boot from the hard drive (XP Pro & Vista) and I've got persistant install of Ubuntu on an sdhc card, and a live install of GOS on an sd card.
So I think there should be an option of "All of the above".
Linux here as a desktop OS since the times of Slackware 9.1
Windows XP for commercial development (C# )
I am giving Windows 7 a try too
Work: WinXP
Home: Win7 Beta
Laptop: Currently XP, switching to Ubuntu or some other linux flavor this weekend.
I primarily use Windows because i'm more of a PC Gamer than console. I'd most likely switch completely to Linux >IF< the game industry went full throtle into Linux development. Not talking about a Windows Emulator on linux to run windows games, but coding games natively for Linux.
I think this is a great Idea. I've rooted my phone to get themes and auto-rotation and the updated APN Radio stuff on it. Showed it to some of my friends and they want to root as well, but want me to do it for them cause they are nervous. I tried explaining that if they just follow the step by step instructions, they will be fine. So this will certainly make things easier for them.
tubaking182 said:
basically i want to know if you use windows, mac, or linux, and why you use that OS, and also how many people have yet to root their phone because it seems too complicated. i am currently working on a script runable in linux and soon to be runable in windows that will automatically root your phone for you. all you will need to do is run the command, hit enter a few times, set up a setting in anycut(which will be installed on the phone after flashing to RC29) and walk away, or you can sit there and stare at it if you want.
but since i know there are those three main OS's i wanted to know if i should continue trying to get this automated and running in all three operating systems.
Click to expand...
Click to collapse
ASUS G1Sn: Dual Boot Vista and Ubuntu, Vista will be replaced when win7 is final
Asus eeepc 1000H dual boot: Windows 7 Beta 1 and XP
I use Vista mainly because Its not that bad despite some of its problems. A few registry tweaks, scratch that a LOT of registry tweaks go a long way Looking forward to windows 7! I like the freedom with Linux but I don't have the time needed to tinker with it and its a hassle. Hackintosh was alright when I used it, mac os is meh. mac hardware is sexy though. Gimme hardware and keep your OS apple ^^
windows vista on my laptop and windows XP at work.
i rooted to JF 1.42 RC33 but i fumbled my way through...i'm sure anyone with equal or lower "skillz" as me would greatly appreciate the automated root.
thx!
hellbringer626 said:
Hackintosh was alright when I used it, mac os is meh. mac hardware is sexy though. Gimme hardware and keep your OS apple ^^
Click to expand...
Click to collapse
Heh, I'm the opposite. Mac hardware only looks good, but underneath its poorly put together and the designs are flawed. I can build a decent looking hackintosh that looks just as good. The OS, however, has a lot of potential assuming Apple allows people to customize their experience without hacking the OS to install a theme and stops locking it into their crappy hardware setup. After all its a heavily commercialized BSD hybrid that makes some things much easier.
MoridinBG said:
Linux here as a desktop OS since the times of Slackware 9.1
Windows XP for commercial development (C# )
I am giving Windows 7 a try too
Click to expand...
Click to collapse
I take it what you're doing doesn't work with MONO (it supports up to C# 3.0)? I know people who do C# development work on Mac OS X thanks to MONO.
It cannot be categorized into one vote I need two.
Yeah I know it sucks but I have to have at least one machine with Windows because I am a gamer and until the day that Linux has the same level of 3D application/Gaming support I will always need windows.
Though for everything else I'm either testing the Kubuntu 9.04 Alpha or using Kubuntu 8.10.
I use Mac and the only thing I haven't been able to do with it is format my sd to EXT2, so I end up using my Vista In Parallels. Now, Does anybody knows why in my Mac shows ext2 as one of the format options but doesn't seems to work right
My Labtop Has Windows Vista and Ubuntu
And My Two Desktops Have Windows XP
Dual booted with Vista Ultimate x64 and Ubuntu.
Dual boot with Fedora 10 & Windows XP sp3
Windows xp gets used once in a blue moon to play a game. Most of the main windows applications I used can be run in wine these days. Everything else is vastly easier to do in linux.
I run XP at work, and Tri-boot of Vista/Win7/Ubuntu at home.
I would have thought that if you can't understand how to root your G1...you really don't need to root it in the first place??
I run almost exclusively Ubuntu Jaunty 9.04 on at least 5 machines (6 if you count the ps3 in). I run no dual boot but I have XP post SP3 in Virtualbox on my main machine for my bank but I will solve that later as the bank officially now supports Ubuntu but my current certificate is incompatible.
I run Ubuntu because I don't get any problem with viruses, trojans, malware, spyware and clogged registry. I also run Ubuntu because almost everything can be done from the command line. You can mod almost all parts of Ubuntu including Linux. It's free and I can make the modifications I want to the source code. Some applications and drivers are proprietary which can be a pain but that's how the current state is and usually you don't need so many proprietary parts. There are many free apps available via apt-get, both using official repository, ppa:s and external repositories. I find Linux distributions more modular than Windows. There's less problem with unsupported old hardware like in newer editions of Windows. Canon and HP skipped Vista support for both our scanner and printer. Only the basic features of the printer worked. In Ubuntu I get a lot more information from the printer with CUPS than with Vista and the inbuilt driver. The scanner was impossible to make work on x64 Vista. x86 worked but it was an ugly driver hack with the old xp driver and not optimal. Most hardware drivers for old components are built in into Linux.
I've tried Vista many times and it has not met my expectations of a good OS. My latest TX tablet crashed while I finished the configuration and went to burn the recovery discs. I tested ram and the harddrive and there were no problems. After running Ubuntu on that machine for quite a while I consider it stable. My previous TX computer had similar problems. The lack of drivers for old hardware, the lack of a good CLI and the need for all the protection makes me look elsewhere. Windows 7 is looking a lot better but It's far from what I want to use. I tried powershell and I just wanted to get out of there quickly. I've used MAC OSX including 10.1, 10.4 and 10.5 and I like it a lot. Unfortunately as you may have understood OSX is exclusively made for MAC:s. It runs on many x86/x86_64 pc:s but often there is always something not running properly.
If Apple would make OSX available for PC:s with BIOS (which they most likely won't because then they wouldn't sell as many MAC:s) I would use it. The Ubuntu GUI is good if you change the theme but Aqua on OSX is much better.
I think we are heading more towards cloud based OS:S / webOS:s /online-OS:s.
Sorry for the rant. I just felt like writing.
Debian linux testing version..

Should I move to linux?

I was deciding whether or not to move to Ubuntu.
I'm wondering if these things will work:
ADB
Microsoft Office
Adobe products
Opera/Chrome
HP wireless Printer
Drivers for my HP laptop.
I'm mainly worried about ADB, and Microsoft Office. Will I have to learn new things, any things i should know?
Oh yah I will be doing a fresh install no paritioning, as my computer is only 150gb mem.
Hmmm...
I have zero experience with it, but I was thinking about running a ubuntu virtual machine on my new laptop. (Sorry for mentioning my new laptop two posts in a row.)
Why not just run Linux inside a VM for a while...or permanently. You can run MS Office with Wine or Crossover Office and some Windows programs can be run through Wine. However, it's probably easier to just run a Linux VM or run Windows inside a VM on Linux.
id say no, i love android and webos and they are linux but linux on the pc IMO just sucks . windows 7 all the way! if you want to dabble in linux i recommend ubuntu in a VM.
I duel boot mint which is built off ubuntu and adb works fine just have to download the linux version. all of my laptop drivers worked out of the box. open office is free and was made for linux and will read any of the microsoft office docs and save them in microsoft doc format.
fixxxer2008 said:
id say no, i love android and webos and they are linux but linux on the pc IMO just sucks . windows 7 all the way! if you want to dabble in linux i recommend ubuntu in a VM.
Click to expand...
Click to collapse
Im on 7 right now, but I'm having problems with flash, and my speaker drivers.
I really don't wanna revert back to vista.
chococrazy said:
Im on 7 right now, but I'm having problems with flash, and my speaker drivers.
I really don't wanna revert back to vista.
Click to expand...
Click to collapse
thats funny, usually 7 installs the needed drivers automatically.
chococrazy said:
I was deciding whether or not to move to Ubuntu.
I'm wondering if these things will work:
ADB
Microsoft Office
Adobe products
Opera/Chrome
HP wireless Printer
Drivers for my HP laptop.
I'm mainly worried about ADB, and Microsoft Office. Will I have to learn new things, any things i should know?
Oh yah I will be doing a fresh install no paritioning, as my computer is only 150gb mem.
Click to expand...
Click to collapse
ADB will work once set up properly.
Microsoft Office will be a no go, but you'll have options like Open Office.
Older versions of Photoshop function through Wine. Last I checked CS4 was still buggy.
Firefox will likely be your browser of choice.
Your results may vary with hardware drivers... most everything is supported with a default Ubuntu Install.
If you are to start off, I'd recommend Ubuntu as your starting point. Absolutely the most user friendly distro.
32 of 64 bit? What model pc/laptop do you have?
you could try it with the wubi installer. It installs like a program with windows so it is easier to remove, but you still get to boot to it (without losing windows boot loader) so it is much better than a VM.
why is this thread even in the hero section? maybe go to neowin and ask there.
What version of Windows are you using. If you are running Vista Pro or Windows 7 you can use Microsoft's VM. If not you could download Sun Virtual Box. Right now I am using Sun VM, but am looking for something else, because it won't let me make the OS in the VM Fullscreen. So far I haven't used the VM for anything, but I know it is alot easier to edit the boot.img and kernal if you really want to. That is my next thing to learn as I am in the process of making my own ROM.
Best suggestion I have is.......
before wiping your hard disk and installing Ubuntu, download a VM and install it in there. Once in there you can download everything you want to use and see how well you like it.
hey, vmware player will let you go fullscreen. but if ya just want linux, i'm telling ya, wubi is the way to go.
danaff37 said:
hey, vmware player will let you go fullscreen. but if ya just want linux, i'm telling ya, wubi is the way to go.
Click to expand...
Click to collapse
I must admit it looks intriguing. Testing it on my netbook now.
Yeah, I recommend you try a VM, or at the most dual boot. You could do a cross between the two, which doesn't require partitions. You can use the program Wubi, which comes on their official discs and install ubuntu inside windows, but it will run as a secondary boot. For the most part, this method gives you full access to your computer, but won't be able to hibernate in ubuntu. Its also not as fast as a real install and you are limited to 30 gigs, but if you decide you no longer want it, you can uninstall it from windows.
I'd start off with an Ubuntu Live CD. Just burn it and boot with it. It'll give you the option of installing if you want to, but it's not required at all.
That way you can get a feel for Linux and see if it's really something you want to commit to.
If you like it, then you can install it; and if you don't like it then you're only out one CDR.
Photoshop will be pretty much a no-go except through Wine; you may have to get comfortable with The Gimp.
MS Office is not something I'd bet on having working; OpenOffice is the native solution.
I'd imagine ADB works fine, the others here know better than I do.
There's a version of Opera for Linux, and a beta version of Chrome for Linux as well.
Drivers are usually the weak spot with Linux if you have really new hardware. If your stuff is a year or two old you should be fine, drivers will most likely download pretty much automatically or will otherwise be easy to get; the Live CD will be a good test of this.
momoceio said:
32 of 64 bit? What model pc/laptop do you have?
Click to expand...
Click to collapse
64bit capable, but I like running 32bit.
Hp Pavillion dv9000 (AMD turion 64 x2 hardrive)
Thanks for this thread. This is def going to inspire me to actually try a ubuntu vm very soon.
chococrazy said:
64bit capable, but I like running 32bit.
Hp Pavillion dv9000 (AMD turion 64 x2 hardrive)
Click to expand...
Click to collapse
how much ram you got? if it isn't above 2-3gb go with 32bit install.
if you want to try linux install ubuntu or kunbuntu via wubi or VM.
danaff37 said:
hey, vmware player will let you go fullscreen. but if ya just want linux, i'm telling ya, wubi is the way to go.
Click to expand...
Click to collapse
Might try that one.
jesuspgt said:
I'd start off with an Ubuntu Live CD. Just burn it and boot with it. It'll give you the option of installing if you want to, but it's not required at all.
That way you can get a feel for Linux and see if it's really something you want to commit to.
If you like it, then you can install it; and if you don't like it then you're only out one CDR.
Photoshop will be pretty much a no-go except through Wine; you may have to get comfortable with The Gimp.
MS Office is not something I'd bet on having working; OpenOffice is the native solution.
I'd imagine ADB works fine, the others here know better than I do.
There's a version of Opera for Linux, and a beta version of Chrome for Linux as well.
Drivers are usually the weak spot with Linux if you have really new hardware. If your stuff is a year or two old you should be fine, drivers will most likely download pretty much automatically or will otherwise be easy to get; the Live CD will be a good test of this.
Click to expand...
Click to collapse
Everything for mine were found automatically. My laptop is about 2 years old. The Gimp is okay. That's what I'm using.

[Q] running virtual machines ?

Hi, do you know if it would be possible (and how) to run some virtual machines (Wndows or Linux) on Android, so we could use such freewares as OpenOffice ?
Thanks
Nico
Windows: No (maybe windows 8 when it comes out)
Linux: Yes
I know vmware is working on something to run different phone oses on the same device. Uses Android as the host is.
Sent from my A500 using XDA Premium App

will apps work in Windows 8

if i install windows 8 on my windows 7 will everything be formatted ?
and other apps i install will that work ?
Create a new partition if you want a dual boot, otherwise it will overwrite your data, because currently there is no upgrade function. Most Applications will work in the dev release, but MS is changing Framework, so I am not sure if they will work in the final release!
I've encountered a handful of apps that give me grief on Windows 8, but they're pretty old after all. A few classic games that I own through Steam will install well enough, but are a headache to run.
In all fairness, I had similar trouble in Windows 7 (for some reason, a handful of old games redistributed with DOSbox fail to launch), so it's probably safe to say that anything Windows 7 can handle, Windows 8 can as well. For everything else, there are virtual machines.
josidhe said:
so it's probably safe to say that anything Windows 7 can handle, Windows 8 can as well.
Click to expand...
Click to collapse
Not so true
anna0811 said:
if i install windows 8 on my windows 7 will everything be formatted ?
and other apps i install will that work ?
Click to expand...
Click to collapse
Try this tutorial on how to dual-boot Windows 7 & 8: How to Dual-Boot Windows 7 and Windows 8 Side By Side
josidhe said:
so it's probably safe to say that anything Windows 7 can handle, Windows 8 can as well. For everything else, there are virtual machines.
Click to expand...
Click to collapse
Not so there are a number of applications that will not run on VM ware, especially some of the tools required to work with Android phones.
My recommendation, get or keep an old laptop with Windows XP service pack 3 and your good to go.
Windows really should have everything backward compatible, but it doesn't.....Sigh!
Starburst13 said:
Not so there are a number of applications that will not run on VM ware, especially some of the tools required to work with Android phones.
My recommendation, get or keep an old laptop with Windows XP service pack 3 and your good to go.
Windows really should have everything backward compatible, but it doesn't.....Sigh!
Click to expand...
Click to collapse
My understanding is that, with USB pass through in VMs, there are no significant limitations on what you can do with a USB device from within a virtual machine. There are extensive discussions on using tools like adb from a virtualized Ubuntu box, at least.
As for your final comment, you're on a strange side of the fence. It has long been a *criticism* of Microsoft that it struggled for so long to keep Windows backwards compatible, and many--MANY--users have wanted them to throw caution to the wind and "rebuild from scratch" the OS, with such compatibility-breaking demands as "eliminate the registry" and so on.
Android itself barely stumbles through version changes, with countless applications breaking on each new release,, prompting swarms of app updates with nothing on their change logs but "added support for 2.x". To this day there are apps on the market with separate entries for 1.x devices.
So I would expect advanced users to acknowledge that virtualization is the grand middle ground solution, allowing businesses with ancient tools to keep using them while advancing the actual OS without wasted development time.
I definitely wouldn't recommend formatting your current Windows 7 partition and installing Windows 8, as it's still a developer preview. Try creating a new partition and dual-booting, this would also allow you to keep all of your current programs and data on your Windows 7 partition.

Microsoft Automotive OS (Windows CE)

Morning everyone!
I recently bought a Cadillac CTS-V Coupe, and noticed that under information, it states the NAV system runs Microsoft Windows Automotive.
I did some recon, and found that this is a stipped down version of Windows CE? I've tried searching to see if anyone has done any hacking, I've seen a few basic mods/hacks, but nothing crazy like the stuff xda-devs push out...
Just wondering if there's been any work done on this? Any cool hacks?
So, you want to "hack" Windows (Embedded) Automotive (7), which is part of Microsoft's Windows Embedded family? What do you mean with "hack"? Please specify.
There is not, and there will probably never be a "hacker" or "modder" scene around devices running Windows Automotive, as all the SDKs are closed to the public and only acessible to manufacturers who signed a deal with Microsoft. There is no way of really adding functionality to these systems for a hobbyist, and even if there was of course it would validate any and all warrantys on the device.
jwoegerbauer said:
So, you want to "hack" Windows (Embedded) Automotive (7), which is part of Microsoft's Windows Embedded family? What do you mean with "hack"? Please specify.
There is not, and there will probably never be a "hacker" or "modder" scene around devices running Windows Automotive, as all the SDKs are closed to the public and only accessible to manufacturers who signed a deal with Microsoft. There is no way of really adding functionality to these systems for a hobbyist, and even if there was of course it would validate any and all warrantys on the device.
Click to expand...
Click to collapse
I was just wondering if any work had maybe been done. I'm not familiar with the OS as you can tell. But from my previous experience in the Windows Mobile land and some hacking I've seen in the past on devices that ran CE I was just wondering if anything had been done...
I know there's been a few minor hacks and mods (re: interface changes, animations, pictures, voice prompts, map side-loading, etc...). But that's all I've read so far...
Zhariak said:
But from my previous experience in the Windows Mobile land and some hacking I've seen in the past on devices that ran CE I was just wondering if anything had been done...
Click to expand...
Click to collapse
Windows Automotive is based on Windows Mobile, not on Windows CE. Perhaps 'unlockers' developped for Windows CE might do it, who knows?
jwoegerbauer said:
Windows Automotive is based on Windows Mobile, not on Windows CE. Perhaps 'unlockers' developped for Windows CE might do it, who knows?
Click to expand...
Click to collapse
I read that it runs a Windows CE kernel, also read that it uses a lot of stuff that Windows Mobile uses... Main interest would be to see if it's possible to load up a complete Windows GUI (like what people did for the HTC Shift)...
I have a cts-v as well and I'm hoping to play with the latest nav software update disc (2012) when I receive it tomorrow. I know some have converted it to usb so it doesn't take 2-3 hours to update your system. I'm also wanting to see if I can do some mods/hacks/tweaks to it just to play around. Can you point me in the right direction on the mods/tweaks you've read about? Of course I'd just like to start out with images/sounds/slash screen stuff first.
windows ce
jwoegerbauer said:
Windows Automotive is based on Windows Mobile, not on Windows CE. Perhaps 'unlockers' developped for Windows CE might do it, who knows?
Click to expand...
Click to collapse
what about windows embedded device like HP mediasmart connect x280n can you update it to windows embedded 8 pro
.....
Decided to delete posts
Wondering if anyone ever did anything with these... I just bought one myself in my '09 CTS-4 . You can remove the hard drive and image it to your local hard drive and I have seen where people have been able to access the files within. Since Windows Mobile Auto is related to Windows mobile you should be able to use some of the same tools you would use with Windows Mobile. My understanding is that it is not a stripped down but a supped up version to support additional hardware and functionality. .Net code is byte code that is run by the runtime in standard windows and is easy to decode and reconstruct the source code. I am guessing windows Mobile is similar. You should be able to reconstruct enough that you can use the standard .DLL from windows mobile auto in a regular windows mobile development environment then just copy the finished file over... In theory anyhow... I have seen information that it may require signing but I am not sure that signing was necessary with Windows Mobile 5. I will be tearing apart my new NAV system before I install it to see what I can access in it.
Did you find anything? I'm looking to "hack" my 2011 Fusion Sport w/ Nav. Runs on similar platform based on my research.
rulk said:
Wondering if anyone ever did anything with these... I just bought one myself in my '09 CTS-4 . You can remove the hard drive and image it to your local hard drive and I have seen where people have been able to access the files within. Since Windows Mobile Auto is related to Windows mobile you should be able to use some of the same tools you would use with Windows Mobile. My understanding is that it is not a stripped down but a supped up version to support additional hardware and functionality. .Net code is byte code that is run by the runtime in standard windows and is easy to decode and reconstruct the source code. I am guessing windows Mobile is similar. You should be able to reconstruct enough that you can use the standard .DLL from windows mobile auto in a regular windows mobile development environment then just copy the finished file over... In theory anyhow... I have seen information that it may require signing but I am not sure that signing was necessary with Windows Mobile 5. I will be tearing apart my new NAV system before I install it to see what I can access in it.
Click to expand...
Click to collapse
latest version
Hi there
Can any body upload the latest disc for the Cadillac cts? or just sent a link to my email: [email protected]
thanks
Ronen

Categories

Resources