This is my first post, so to all of you out there, my name is Joe and I have been following this forum since I decided on buying an ATT Tilt (Kaiser) and you all have been a tremendous help in a lot of decisions I made with my phone.
Now onto the question at hand, I have some programming knowledge in the world of computers (C++, VB, etc...) but I was wondering the differences in trying to make a program for my phone. If someone can direct me to maybe a tutorial or another post that might help me, please do (I looked but couldn't find anything), I would like to start giving back to the forum that helped me out.
There isn't much difference between C++ and VB in general, just some prefer the less strict 'grammar' in VB and some prefer the clear 'grammar' in C++. Speed wise, if you were to be using M$'s classes, both ought to be the same, while if you were to write in pure C++ native language, C ought to be better compiled.
Another alternative would be the .Net thing. If I'm right (haven't been really using one), is a class package for both VB and C+ which seemingly make it easier to program.
Depends on what you have (i.e. the programming software), if you were to have Visual Studio 2003+ (or later, no sure), you can download the WM6 SDK, which includes tutorial on how to get started.
Well what I have on hand right now...nothing at all...I'm at work at the moment and in my freetime here would like to work on a few things, I've been analyzing some other pieces of software since I posted this and noticed the use of XML files for the setup.
I have no preference in what language I use (hell one I don't know yet would work for me...knowledge is a blessing in IT). Just wish to be able to take some of the programs I use at the moment (ex HTC Home, BatteryStatus) add a little more functionality for my own personal use since I really don't feel like copyright lawsuits.
Basically Hanmin, I guess it just boils down to what would you suggest to use with the available "tools" at hand or suggestions, I'm up for anything, new to this game, I figured I would get wisdom from the pros here to make myself useful in my downtime
"There isn't much difference between C++ and VB in general," - now there's a statement to launch a major debate! But I'll resist the temptation and move on to a more constructive response - PPL. PPL (Pocket Programming Language) is a great little package which gives you an IDE for developing pocket pc apps in a C like language on either the pocket pc itself or on a pc. Read about it and get a free trial download here:
http://www.arianesoft.ca/
Related
Can anyone recommend a person who could write an excel based program that could be copied to a WM devise? I am new to this forum and do not have the knowledge or the time to develop the program, but i am willing to pay for it.
Thanks
notthatcreative said:
Can anyone recommend a person who could write an excel based program that could be copied to a WM devise? I am new to this forum and do not have the knowledge or the time to develop the program, but i am willing to pay for it.
Thanks
Click to expand...
Click to collapse
Why not install office on your mobile. http://forum.xda-developers.com/showthread.php?t=310832
Or flash a ROM with office installed, most do
Ta
Dave
I agree, both are a great solution, but this project is not for myself. This project is more for job. This board has given me an idea for my customers, which do not own a Tilt. If this excel file was turned into a .cab file, my customers could add it to their PDA devise.
I'm not that familiar with program creation within a WM devise, but after lurking around this board for the past 6-9 months, I thought someone would know!
This is not a tilt specific CAB. It's a Window Mobile 6 version it cab go on WM6 any device.
Ta
Dave
I believe what you are saying is that a .cab can be installed on any WM devise. I agree. What i need to do is create the .cab file.
Yes you are correct. CAB files can go on any device.
I'm still unsure on what your requirements are. Do you want a copy of Excel to install on WM6 devices, then that's what I posted first time round? Nearly all standard WM and PDA's have a version of office installed, anyway.
Or, are you wanting a program like Excel Mobile but with "extra" features.
I think you need explain what your requirements are (without giving too much away, if you don't want to), so we can build a better picture of what you want.
Dave
You raise excellent questions as i'm not sure what is available. Unfortunatly, i cannot speak the language of this forum very well and am unsure of options available.
Currently, i have an excel spreadsheet with the calculations complete, but was unsure of how to create an "engine" to drive the program if the end user did not have excel available. This excel file i've created uses basic calculations which produce a number generated by data entered by end user. I am assuming an engine, or what i call a "cab" file is required!?!
Also, I'm not married to the idea of using excel and am open to using other programs if nessesary.
Am i making things a little clearer?
Thanks
like daveshaw said, most wm devices already come with excel in it. and if your customer does not have excel on their devices, then they can install it using the cab files
It sounds to me like you want to take a specific spreadsheet that was created using Excel, and somehow compile it as a program that doesn't need Excel to run. I don't think this is possible. You can't drive a car without its engine.
If you really wanted to pursue that route, I think what you'd need is someone who can dissect and analyze your spreadsheet, and rewrite it in another language (like C++ ), which can be compiled into a self-contained, executable file. Wish I could help you there.
I think your only realistic option is to install Excel on all the WM devices.
sensei909 said:
It sounds to me like you want to take a specific spreadsheet that was created using Excel, and somehow compile it as a program that doesn't need Excel to run. I don't think this is possible. You can't drive a car without its engine.
If you really wanted to pursue that route, I think what you'd need is someone who can dissect and analyze your spreadsheet, and rewrite it in another language (like C++ ), which can be compiled into a self-contained, executable file. Wish I could help you there.
I think your only realistic option is to install Excel on all the WM devices.
Click to expand...
Click to collapse
Everyone, thanks for you help. Sensei909 has figured me out. It sounds like i need someone to who can rewrite this in another language. Can anyone point me in that direction....Website, company, friend???
Re:
Hello, few questions:
1) What devices will your customers use?
2) If they are Windows Mobile-based, what versions are here?
3) Do you have Excel Mobile on your Tilt?
4) Did you try to open your spreadsheet using your Excel Mobile?
5) If your spreadsheet is created using Excel 2007 on desktop, did you install Office Mobile 6.1 from Microsoft site?
Build a java midlet? Almost all phones have java. I can see it doing basic calculations very easily.
Hi,
I have an easy question...^^
How can I program programs for my phone?
Is there anywhere a tutorial or something like that?
Or are all of you just very high skilled programmer?
I'm very interested in programming, but I only handl Java and php..
I hope someone of you can explain me where I can learn this =)
Greetings
Chris
PS:I hope I posted this in the right section...^^
PPS: I'm from Germany so I'm sorry for any mistake in my sentences and I hope there is also a German programmer who can show me a tutorial on German, but English is also OK.
I asked this question a few months back and no one helped. Here is what I have been able to find on my own:
To program for your Windows Mobile device you need Microsoft Visual Studio 2005 Standard edition or later. That is an expensive development program. If you buy that program, you can download a Windows Mobile plugin for free that includes an emulator for debugging.
I personally refuse to shell out tons of cash for the ability to program for my phone for personal use. I have not been able to locate anywhere on the internet even the slightest hint of a way that I can write a program for my phone with open source or free software. I use notepad++ and g++ for my coding needs so I was really hoping for a way to program using only these tools with perhaps an additional library.
Speaking of libraries, open gl es is open gl for embedded devices such as your Raphael. I have been unable to find an open gl es tutorial that does not involve buying Visual Studio.
If anyone can find anything else, please post here.
I've used C# and C\C++ to write programs for Pocket PC\Windows Mobile. Java I believe you can use with limited functionality (not the same as on the web). Php is a web langange I believe??
Are you using C++ via Microsoft Visual Studio, or do you know how to compile mobile programs without dropping money in Microsoft's bank?
@Chunkyeggfoo
I know that php is for the web
I only wanted to show, that im not a totally noob in programming ^^
But my question was: Where do you learned this? Did you have an online tutorial, or from school? Or somewhere else...from a book maybe?
Here is one answer to the question.
http://www.codeproject.com/KB/mobile/WiMoSansVS.aspx
I have never followed this guide because I use Visual Studio 2008. I started programming using visual basic .net (VERY EASY TO LEARN). Later, I wanted to write applications for the today screen and I needed to learn C++ and the win32 API. (NOT FUN!!!) The good news is that I have several programs that I use on my today screen including weather, calendar, battery monitor, task switcher, music player and an alarm. It has taken me about a year to become pretty proficient. NOTE: when you move from managed code (.net framework) to unmannaged code (C++, win32) you have to be VERY careful to properly manage device memory or you will end up with memory leaks.
I've attached a picture of my today screen to illustrate the possibilities.
Have fun
Edit
You can also download evc4 and the evc4.sp4 from the following links.
http://www.download.com/Microsoft-eMbedded-Visual-C-/3000-2212_4-10108490.html
http://www.microsoft.com/downloads/...F4-91D3-4DBE-986E-A812984318E5&displaylang=en
This will be a very powerful tool but probably very hard to learn too...
Check out this thread. It has lots of info.
http://forum.xda-developers.com/showthread.php?t=445396
You can take a C++ programming class at most community colleges (not state or UC, ie very expensive). im currently taking the pre req that will allow me to take it next semester.
I think,the simpliest way is the Basic4PPC(Basic for PocketPC). Use Google and search for it.
programming
i guess the best way is learn C#, i'm a visual basic programmer and the best app you can do with it is database app, if you want to do more powerful app for your phone is better to learn C#
i'm learning c# right now
try these two
http://www.smorgasbordet.com/pellesc/
http://trajectorylabs.com/win32.html
ive been messing around with VB.net lately, and was kinda wondering if i could make an app for my phone (Hero CDMA) with it.
visual basic I don't think so. Android is mostly in java, but I believe I read somewhere that you can use c++ now. But not VB
There's an android mono project, but I think its still a ways off from being stable enough to do any serious work in.
www {dot} koushikdutta {dot} com/search/label/Mono
(replace the {dot}s with .)
I don't think koush has done much for MONO .Net on Android in a while. He's been off on Clockwork stuff. But I don't think it will happen with a good stable version any time soon.
If I where you and you really want to write apps for the phone, take your VB skillz and look at a C# project. Then look at Java. C# is a bastardizaion of Java and C - so you could at least get a fell for it with C#.
However, you could do the SMART thing, drop VB in all and Check out JAVA on its own. It's a good language if you need your program to run on your phone, bluray player, mp3 player, radio, blender, Coffee pot, and Margarita machine.
I like Java ok, but I am a bigger fan of C++ - its where you really need to start if you want to be a programmer in the long term.
I haven't really done anything on the programming side of things since VB6.0. Learned a bit of C once upon a time, but never really got anywhere.
Can any of you fine Devs here point me in the right directions to begin learning how to program for Android? Remember, please, that I will likely have to unlearn some things, and that I have ZERO JAVA experience. I would love to be able to make some apps to fill gaps that I see in the market.
I am running on a dual boot lappy with Win Vista and Linux Mint 10(Ubuntu derivative). Links or pointers to what I need for both sides will be welcomed and appreciated.
im reading hello android v3 and its great so far.. ive also been going thru android source.. download the android sdk and eclipse for linux and or windows.. i prefer linux as does most devs. ive also registered for night time java classes at the local community college for 13 bucks a semester. anyways goodluck!
This might be helpful for basic syntax stuff.
Start with fattire's link and pick up the Java basics. To read Android examples, you'll need to understand how Classes and Interfaces work as well as how to extend and implement them, respectively. You'll also want to understand inner classes and anonymous inner classes. Understand variable scoping in classes.
Learn how threads work. Understand the implications of multithreading and reentrance. Experiment a lot in simple, stand-alone samples.
Once you've gotten started with Java, you can download Eclipse and the Android SDK. Here's the Android "Hello World" tutorial, which is a reasonable place to start. It has pointers to everything you'll need.
http://developer.android.com/guide/tutorials/hello-world.html
Android Applications are pretty straightforward once you understand the basics... AppWidgets and Services are less so. The trick is to understand the lifecycle of each -- where and when it's appropriate to do what sorts of work and how to communicate results between different components. It will be rough going in the beginning with a fair amount of crashing as you discover you're taking too long to do something that really should be offloaded to a different part of the lifecycle or a whole new thread -- or when you discover you can't do something you want, directly, because you lack the parts and have to send a message to something that does have all the parts.
My first project was a simple button on the home screen that, in effect, runs a few commands. It took me more than a week to make it work properly, and I was already familiar with Java.
Also understand that some of the examples floating around -- even those from Google employees -- are old and that Android has had some growing pains. Double check the approach suggested by anything that's older than a year. The SDK contains sample programs that make for decent cookbook code.
thanks to all of you...as well as the mod who moved the thread to the correct spot...wasn't sure if this was the correct one.
Hello android (as mentioned above) is awesome! Another good one is Beginning Android 2. Both found here:]
Hello Android
Beginning Android
Ok i was not sure where to place this thread, so with luck this is the right spot.
for the past 2 months i have been using a lumia 735 on windows 8.1, and i taught myself to code with c# and visual studio, i have even released an app (technically 2 apps as the 2nd one was a complete re-write to be a windows universal app) the thread for them is here http://forums.windowscentral.com/app-spotlight/353188-rpg-app-mr-g-reaper-thread.html
Now here is the issue, my windows phone is cool to program for but completly impractacal as well an everyday phone, tons of apps i used on my s4 are missing on it, the os is not as user friendly as android....its just not the right phone for me. So on tuesday my phone company is sending a courier to pick up my lumia and give me a xperia m2 (i didnt have much say in what android i got) naturally i want to adapt my app to work on the android os... only i have tried once before to write an android app and there is one thing that drives me crazy.....screen control, on visual studio you drag and drop the buttons to where you want them on the screen, and thats where they will be, on android you have to calculate the weights of the buttons to get them to share a certain amount of real-estate of the screen and well it never felt intuitive....guess im more a wysiwyg programmer. But i may of just been doing it wrong so here goes:
1) is there a way to create the gui in a wysiwyg manner? (like windows phone development in visual studio)
2) is there a way to code in c# instead of java? (for free, i have seen a service that allows you to do it for about $99 a month..... my apps are free, no adverts, a hobby, i cant pay out for that kind of thing
3) any tips for a newbie ?