[Q] Code and Compile C++ on Windows Mobile - Windows Mobile Apps and Games

Hello
I'm interested in being able to code (with syntax-highlighting) multiple C++ files on my Windows Mobile based HTC Touch Pro2.
Could you please recommend programs with this capability, preferably free?
Thanks in advance,
Panarchy
FYI: CKE has syntax-highlighting, multiple-files open capability and a compile function, however the compile function doesn't work [needs CMD.exe?] and the interface isn't correct [cuts off half of each line... I've tried toggling Text-Wrap to no avail]

I highly doubt you will find this...To develop AND compile on the device the project is intended for, besides on computers, is a highly unlikely find, let alone for free. Creating a complier for a mobile environment is not an easy feat, and that is to say that I don't know much about making compilers ... so finding that for free is going to be a toughy.
But hey, if someone does know of one, and I am just totally confused, then by all means, please post it because I would love to see this

suggestion. Use DosBOX and load Borland C++

Related

[Q] Wine-like iOS emulation?

Hello All,
My question is whether the reverse-engineering of iOS's API is being looked at as an option any time soon. I would be interested in something similar to Wine (Wine Is Not an Emulator), which is a reverse engineering of the Win32API and allows you to run Windows .exe files natively in Linux or Mac OS. I am aware of iEmu (and it's unfortunate suspension).
However, my interest is not in getting iOS itself running on my phone, but instead I would like to run the apps themselves. I'm pretty sure there isn't currently a project on this. If there is, can you inform me of it?
If there is not, I would like to discuss the difficulty of implementing this. I could definitely be an aid in starting a project of ths nature.
Here are some things about iOS's apps I am unfamiliar with (I am aware that this specific section of the post may be more fit for the iOS forum):
Does the Obj-C code compiled for iOS resemble native ARM code (the iPhone chips are ARM to the best of my knowledge), like how C++ would be compiled, or does it resemble something more like C# or Java, compiled into bytecode that is executed by a library?
Compared to the size of the .NET framework or Win32API, how big is the iOS library?
Has a successful program been created that can run Obj-C code?
Would this have to be worked from the ground up (figuring out how Obj-C compiles in the first place), or has there been some effort already mounted similar to this?
I am aware of the extreme difficulty in implementing this. However, I'm sure this was thought while planning Wine or Mono. I'm not even suggesting this be made, but I'm simply asking on your opinion on the general difficulty (can it be done).
Thank you,
- κυριακος
kupiakos42 said:
Hello All,
My question is whether the reverse-engineering of iOS's API is being looked at as an option any time soon. I would be interested in something similar to Wine (Wine Is Not an Emulator), which is a reverse engineering of the Win32API and allows you to run Windows .exe files natively in Linux or Mac OS. I am aware of iEmu (and it's unfortunate suspension).
However, my interest is not in getting iOS itself running on my phone, but instead I would like to run the apps themselves. I'm pretty sure there isn't currently a project on this. If there is, can you inform me of it?
If there is not, I would like to discuss the difficulty of implementing this. I could definitely be an aid in starting a project of ths nature.
Here are some things about iOS's apps I am unfamiliar with (I am aware that this specific section of the post may be more fit for the iOS forum):
Does the Obj-C code compiled for iOS resemble native ARM code (the iPhone chips are ARM to the best of my knowledge), like how C++ would be compiled, or does it resemble something more like C# or Java, compiled into bytecode that is executed by a library?
Compared to the size of the .NET framework or Win32API, how big is the iOS library?
Has a successful program been created that can run Obj-C code?
Would this have to be worked from the ground up (figuring out how Obj-C compiles in the first place), or has there been some effort already mounted similar to this?
I am aware of the extreme difficulty in implementing this. However, I'm sure this was thought while planning Wine or Mono. I'm not even suggesting this be made, but I'm simply asking on your opinion on the general difficulty (can it be done).
Thank you,
- κυριακος
Click to expand...
Click to collapse
Hey and welcome to the forum's I would like to know this as well but I do not know any project and any that gets started and gains popularity gets chased down by Apple's legal team quite quickly. I have my doubts that this could happen (I would be glad if someone could prove me wrong) because iOS and its apps work on 12 devices and Android has hundreds of devices, most with different hardware. Windows apps are built for variable hardware, likewise with Linux and now Mac OS X. Sorry but as much of a pessimist as I seem I do not think it's possible but I'd love to be proven wrong. (Can someone at least make a frigging Windows Mobile runtime)

Graduation project

Hello all, I have a question about developing an application for my graduation project. The idea is to develop an application in which the various books/information sources get a place and can be placed under different semesters/years. The information as provided has to have an easy way of updating for teachers(probbebly web-based). The aplication also has to work on iOS. Can you guys give me an idea on how to start i think HTML5 is a good option.
For cross platform application you can try PhoneGap(phonegap.com) with Dojo (dojotoolkit.org).
Front end is only half!
killerbee12345 said:
Hello all, I have a question about developing an application for my graduation project. The idea is to develop an application in which the various books/information sources get a place and can be placed under different semesters/years. The information as provided has to have an easy way of updating for teachers(probbebly web-based). The aplication also has to work on iOS. Can you guys give me an idea on how to start i think HTML5 is a good option.
Click to expand...
Click to collapse
HTML5 will be great, but it will be difficult for a school to update as a native app. I suggest simply using a mobile-ready website. jQuery Mobile is great for this, and it handles all the cross platform issues. Have you given any consideration to serverside code? Php, .Net, and Node.js are all great options. Talk with an administrator about what kind of system they use to store files & links currently. You could fairly simply make a page that scans a file share they maintain to build the page .
Are all current (including budget) phones capeble of running .net or PHP? I'll probebly host the site/app myselve for a while during the test phase so if i go web-based it will be PHP since my host is a linux host. I'll have a look tomorrow, I'm studying to be an officer on a ship not an programmer so all programming is new, I did some vb/php but nothing fancy.
i started with icenium, but found out that icenium doesn't offer to store the webfiles on your own server. So thats not an option.

[Q] Tablet ubuntu able to run edubuntu (kde etc)?

Hi all
Does anyone know if I can run kde-based software on the developer alpha of Ubuntu for tablets yet please? Not expecting reliability, just want to do some child user testing of the edubuntu suite on tablets.
Thanks
Chris
Currently you can't and probably neither in the near futur 'cause you need an X Server for that.
And there is no X server on ubuntu touch.
Huge thanks, that is really useful
Hempe said:
Currently you can't and probably neither in the near futur 'cause you need an X Server for that.
And there is no X server on ubuntu touch.
Click to expand...
Click to collapse
After some research on your reply I've a couple questions. Does it mean the Unity interface doesn't need X-server? Or are they just using a temporary workaround until X-server is implemented?
And does this apply to both Ubuntu for Android, and Ubuntu for tablets?
Huge thanks
Having done some further research I've made my decision - thanks hugely for providing the missing link in my knowledge. What follows is my best interpretation of the rumours.
Currently in place of X-server is SurfaceFlinger, ("because X-server uses 30 yr old code" - Canonical). Canonical publicly dabbled with using Wayland until mid-Feb, then decided to create their own revamped display server from scratch, called Mir, which they seem to have been working on since mid last year, and are trying to get GPU vendors to support, written to run across all devices and to meet the needs of the Unity interface, and written in Qt/QML which is what they want native apps written in.
Bottom line for me, is that the technology is still right up there in the clouds and nowhere near decided enough to base my business strategy on. Also, Ubuntu for tablets seems a pretty thin version of Ubuntu anyway, so Edubuntu was never an option and I'm unlikely to be able to leverage much from Ubuntu's Open Source libraries anyway.
Like others, (see the comment on jonobacon.org below), I find it frustrating that the wealth of code written for Ubuntu is no longer usable, but I reckon this is probably necessary to squeeze the most out of every single CPU cycle and milliamp. Ubuntu for tablet is dead in the water if it kills the battery and performs worse than the established competitors.
Therefore all indications are I need to write for Android, keeping my options as open as possible to migrate. So it is now Titanium/UnityIDE versus HTML5, particularly assessing relative performance.
http://www.omgubuntu.co.uk/2013/03/canonical-announce-custom-display-server-mir-not-wayland-not-x
http://www.jonobacon.org/2013/02/21/five-ubuntu-touch-facts/ -- not the article but the comment starting "In that case, wouldn't it be better to port existing apps instead of...."
http://www.omgubuntu.co.uk/2013/02/canonical-working-on-new-display-server
http://www.phoronix.com/scan.php?page=news_item&px=MTMwOTM
Just to clarify.
1. There are plans to make a X-Mir compatibility layer that will allow you to run programs that require an X-Server to work with mir.
2. Not all is lost at the moment it just looks that way.
Only Graphical Userinterfaces are affected. Your commandline tools and libraries don't need to be changed.
3. If you are looking for platform to write apps for, well there is worke being done to let you run your QML apps (intended for ubuntu touch) on android.
So if you choose to make QML apps they can be or will be able to run on linux, mac, windows and android
Wow, huge thanks, I missed that.
Does this mean EVERYTHING Ubuntu without a GUI will work? I want to run a NodeJS server. How likely is it that it will work perfectly now? How likely is it that it will work perfectly in the (nominally October 2013) release? (Sorry, just give me a keyword and I'll go off and do my research.)
Is Canonical planning to get X-Mir into the next ~Oct release?
My other query was whether QML on Android would perform as well. For others interested, it looks like it works directly with the Android SurfaceFlinger, bypassing the Dalvik VM, so performance should compare with native Java code.
Huge thanks once again
Chris
Sources:
http://www.youtube.com/watch?v=TEkubKZaUt8
http://victorpalau.net/2013/01/25/ubuntu-qml-todo-android-vs-ubuntu/

[Q] How to start coding

Hello, everyone. Can someone please direct me, an absolute beginner with no experience in programming at all, where to begin learning. I would like to ultimately develop for Android.
I'm running Ubuntu 13.04; how can I set up an environment to learn programming, and what are some resources that I can use?
Install jdk on the comp then on your phone download the app learn java in 24 hours it walks you thru making your first program so you get the basics
Hello, I'm pretty much in the same boot as the OP.
I'm working in the medical field and get bored of not having the app I need to ease up paperwork, so I decided to make them myself.
However, exept a hangman game in high school I never coded. So yesterday i took my old laptop, put some Ubuntu on it, the sdk and created the famous "hello word" app.
The problem is, even in the tutorials, some thing were to complicated, so I called upon my cousin (a german develloper) and he gave me some advices.
Especially, he told me that java was maybe not the easiest way to learn to code with 0 background and suggest me to try python and other things.
Do you have advices for me, since I want to build simple app (somes textfields, somes checkboxes to get scores and the ability to export a result sheet in pdf) at first, but i do not want to use app inventor or similar tools since I ultimately want to fiddle with the AOSP agenda (get the contact list to pop up like the invite list when i click "description field" , change default duration of appointements etc...).
Any ideas, suggestions, or tutorial are welcome, just keep in mind that I know nothing (Jon Snow like).
http://forum.xda-developers.com/showthread.php?t=2388486
Jus go here
.........................................
visit www.fb.com/softcrush
If you want to become a professional android developer then it is advisable to learn Java and XML a bit better,,and there are bunch of resources available on How to build android apps !
If you really want to become a Programmer then it is advisable to start from the beginning i.e C and then Java
Thats how everybody starts learning coding !
Go through video tutorials for understanding how the coding works !
Happy to help !
Sanjay said:
http://forum.xda-developers.com/showthread.php?t=2388486
Jus go here
.........................................
visit www.fb.com/softcrush
Click to expand...
Click to collapse
This is a great list. I love to see my boy Derek Banas on there
alfredmuffin said:
Hello, everyone. Can someone please direct me, an absolute beginner with no experience in programming at all, where to begin learning. I would like to ultimately develop for Android.
I'm running Ubuntu 13.04; how can I set up an environment to learn programming, and what are some resources that I can use?
Click to expand...
Click to collapse
google it man you will thousands of website which will teach u programming for free. I would have put the links but dont wanna be treated as spammer
For now don't worry about making an app with the Android SDK or anything big like that. Just start simple with some little programs that print stuff into the terminal. It's a good thing that you have Ubuntu because Linux OS's are always great to learn programming on!
I'm also a noon and I found it easy to start with Batch on Windows and I have just been getting better and better!
Well I understand it's not easy to get started. One thing you will have to recognize that there's a lot of things involved getting prepared for Android programming. For example, while developing for Android you will need to be able to write a bit of XML as well, you will need to set up your IDE, get the necessary Java dependencies, get a little bit familiar with Maven to be able to use 3rd party libraries and so on. It's most definitely intimidating. So what I would recommend is to...
- Try to allocate time every day for learning this, even if it just means half an hour or less a day.
- Always take notes and don't be afraid to ask; nobody should assume you know the answer.
- Once you've learned something, help others to get ahead - seniors will probably recognize your efforts so you will be able to get help more easily.
- Try to talk about programming in person with people who are more proficient in it. Nothing helps as much as having a pro sitting in the same room, ready to help you.
- Try to join related communities as well, it can really speed things up.
- Baby steps. Many people get started in programming with having crazy big ideas only to meet failure later. It's not a good thing to frustrate yourself, so choose small goals first.
I can't emphasize the last point enough. Whenever you start learning new stuff - no matter whether you're a novice or an expert - you will need to focus on this, because the initial steps are always problematic. For example, when you start learning a new programming language: the syntax is new, the way for getting the app run is new, the IDE might be new, if the tool is web related then probably it uses a different kind of server than the one you're used to etc. etc. etc. so barriers all around. You must get comfortable with this first, then you will be able to speed things up.
How to start coding
How I started:
Basic Stuff:
1. Java, I used Java Complete Reference
2. Data Structures (most commonly used- Stacks, Queues, Linked list, HashMap, List) [Basic Understanding]
3. Algorithms (will help you to write efficient code) [Basic Understanding]
4. XML, just basic understanding is required, use internet to learn
Android Specific Resources:
1. The Busy Coder's Guide to Android Development [Very useful]
2. New Boston Videos
3. Android Cookbook, if you want a solution to a particular problem
Spend more time learning Java and other basic stuff, once your basics are clear, then you can easily adjust yourself on any platform.
Recommendations for Aspiring App Developers
Hi,
I was in your same shoes about 3 years ago so I can tell you what steps I took to start coding. I took the longer route but it was the correct route. Key suggestion is to learn the lower levels of coding first. (lower levels meaning base languages, binary being the lowest). Start with the C language as this is the core programming language which most other higher levels are based on. If you have the money take a structured online course on Udemy or CodeAcademy. If you're short on money and need to learn on your own don't worry there's plenty of resources out there to learn. That's how I did it. Start out with videos on youtube, try to find a complete structured course here's one with over 130 videos. Sorry, can't post links cause I'm new but just go to Youtube and type in "C Programming Complete Tutorial" to get the course with the structured 130+ videos.
The best way to learn any programming language is to find some free source codes in the designated languages and start tinkering, breaking and fixing the code. Once you learn this core language you will be able to programm\ desktop apps, simple software and mobile apps in other higher level programming languages.
Hope this helps.
-Jeff
alfredmuffin said:
Hello, everyone. Can someone please direct me, an absolute beginner with no experience in programming at all, where to begin learning. I would like to ultimately develop for Android.
I'm running Ubuntu 13.04; how can I set up an environment to learn programming, and what are some resources that I can use?
Click to expand...
Click to collapse
Hey Guys,
I love thenewboston website that you've pointed us to. But as a first step, should I learn some C or Java before progressing on to thenewboston Android tutorials?
I have no programming experience, but lots of motivation.
Thanks,
Donald,
New Zealand
Sanjay said:
http://forum.xda-developers.com/showthread.php?t=2388486
Jus go here
.........................................
visit www.fb.com/softcrush
Click to expand...
Click to collapse
recommend "head first java"

Coding languages

Hi guys, can anyone explain to me why you can have different coding languages? I am going to try and explain it the best way possible. Pretty much I want to know why some people use other coding languages instead of others? Are some better for particular activities? Like I know cross compatibility like you can't use html to code a game online you need to use Flash or Javascript etc.
tl;d why use one language over another?
Every programming language has advantages and disadvantages. For example Java is portable but slower then, let's say, C++. C++ is less portable and needs to be compiled seperately for every OS but it's faster. Python is very easy and very portable but it's slower then Java. Html, Javascript and Go are for websites. PHP is designed for the use with databases. Prolog uses a completely different approach and is good for logical stuff.
You see, (almost) every language has its own field of application. Additionally, everyone has a favorite language for whatever reasons (e.g. because he thinks the code is pretty). So it's a matter of taste as well.
nikwen said:
Every programming language has advantages and disadvantages. For example Java is portable but slower then, let's say, C++. C++ is less portable and needs to be compiled seperately for every OS but it's faster. Python is very easy and very portable but it's slower then Java. Html, Javascript and Go are for websites. PHP is designed for the use with databases. Prolog uses a completely different approach and is good for logical stuff.
You see, (almost) every language has its own field of application. Additionally, everyone has a favorite language for whatever reasons (e.g. because he thinks the code is pretty). So it's a matter of taste as well.
Click to expand...
Click to collapse
Thanks for the high quality response.
As a beginner, someone who wants to start developing android applications..What coding language do you think I should start with? I understand android is basically Java?
Blakebn2012 said:
Thanks for the high quality response.
As a beginner, someone who wants to start developing android applications..What coding language do you think I should start with? I understand android is basically Java?
Click to expand...
Click to collapse
Well, it's Java with some extra stuff. That's why I would recommend starting with Java. It's portable, object oriented and you'll need it for Android later anyway.
When I learned Java, I used the Head First Java book which I can highly recommend.
Ok thank you very much you have been a great help.
Blakebn2012 said:
Ok thank you very much you have been a great help.
Click to expand...
Click to collapse
You're welcome.
There's different languages for different things, like Java vs. C++ (Java is portable/cross-platform, pure object-oriented, has automatic garbage collection, etc; C++ is platform dependent and needs to be compiled on each environment, wasn't built from the ground up as OO, you need to allocate and manage memory yourself, etc. Java isn't quite as fast/efficient as C++ but it's come a long way from it's beginnings and is pretty close now, for desktop apps IMO anyway.
Then, for web development, there's Python and PHP. Both accomplish the same thing (doing back-end logic for websites, like querying databases so the data can be displayed on the page) but have different syntax. People like either one for different reasons and it's mainly just personal preference when it comes down to those.
So to answer your question, the difference between some languages is pretty great (like assembly and C#) and they're used for different purposes. And the difference between others, like PHP and Python, is for the most part superficial and it's just personal preference between the two.
The main reason we do have programming languages is that working directly on the bare hardware is pretty difficult. Working directly with machine code is difficult in many ways: it is hard to be kept bugfree, even harder to be read and understood, and there is also the problem that it's only working on a specific machine. Programming languages cope with those problems by introducing programming paradigms, which make several things easier, but it turned out that there is no paradigm which covers all needs. C/C++ for instance makes it possible to work pretty close to the machine while producing quite readable code, which can be ported easily from one plattform to another (compared to using assembly language). In contrast Java introduces a Virtual Machine on top of the actual system such that it's even a lot easier run code across several systems (compile it on one machine, run it everywhere ... as long as a JVM is available), and it brings the object oriented paradigm with it. Furthermore there are declarative languages for database programming, functional programming languages or logical programming languages for mathematical problems around, and so on ... . Sometimes you might not be interested in writing understandable portable code, such that assembly language is your best pet, but that's most probably not true in most situations.
123123132
Really good compact responses. I also want to recommend learning some shell programming, i.e. linux terminal programming for file/process management and low-level hardware manipulation in the kernel. Shells are usually mksh, zsh, bash, busybox ash, or symbolically linked to sh. This is known as a scripting language because you can run your programs/scripts on-the-fly without any compiling. Adding some shell scripts to your java app can make it very powerful such as with apps like trickster, synapse, performance control, etc., .. basically any kernel/hardware control apps.
Also you can try Ruby language. Its great for some everyday tasks, very simple and powerful(especially string processing). Also Ruby On Rails is very simple framework for web-developing. A week and you can try to code your own github. And the IRB console is good enough. But i duuno, is there any mobile-app-dev modifications of Ruby. Anyway, its still great enough.
Blakebn2012 said:
Hi guys, can anyone explain to me why you can have different coding languages? I am going to try and explain it the best way possible. Pretty much I want to know why some people use other coding languages instead of others? Are some better for particular activities? Like I know cross compatibility like you can't use html to code a game online you need to use Flash or Javascript etc.
tl;d why use one language over another?
Click to expand...
Click to collapse
That would be perfect, if we lived in a place where only one language is enough for all works XD
However, the really life isn't perfect.
Some works need complicated language to achieve and some don't.

Categories

Resources