[.NET] will i ever be able to use it? - Hero CDMA Q&A, Help & Troubleshooting

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.

Related

WM6 Programming Question

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/

Programming with GSensor

Hi,
I'm learning some C# for PC Pocket and Smartphones, and as an owner of a HTC Diamond, I would like to use the GSensor. I downloaded the Sensors.zip released around, but it's confusing to me. Most of the code is written to draw and control the ball, and it makes it so confusing.
I'd like to know the steps i must take to make a project using the GSensor: how to include the dll, how to load the functions...
I can undertand how the GVectors work, i just have another trouble: I am acostumed to lineal programming, not based in events, so i can't thinks in a different way to do this but:
while(true){
here we look the status of the Gvector and do something
}
BUt this kind of programming isn't working with event programming, because the program wouldn't load. Any idea?
Thanks!

Can you create apps for G1 using Visual Basic?

Do any of you know if it is possible to use Visual Basic 2008 to create applications for the G1. I know it can make mobile apps but only for Windows mobile phones. I have the entire suite of Visual Basic 2008 so I can use a couple different languages I just don't know which will work.
thanks
No, the G1 apps are Java based and must be built on the Android API (at least so far). The easiest way to do this is to use Eclipse and the Eclipse add-in available from Google.
http://code.google.com/android/documentation.html
Mono (a cross-platform system for .NET) is available in the Android market. I know it supports C# but I'm not sure about VB and I'm not sure how usable it is. Check it out in the market and it has a link for directions.
Hope this helps!
Geniusdog254 said:
I know it supports C# but I'm not sure about VB and I'm not sure how usable it is.
Click to expand...
Click to collapse
.Net is .Net... it compiles down to IL which is what gets executed. If Mono is on Android, it might be possible to make something work. There would be some additional work to exposed the Android intents, etc. as "Forms" for VB.
I'd say that it is "possible", but it isn't very likely any time soon.
Chinpokomon said:
I'd say that it is "possible", but it isn't very likely any time soon.
Click to expand...
Click to collapse
Koush is making good progress on that front, it looks like.
http://www.koushikdutta.com/2009/02/monodalvik-interop.html
http://code.google.com/p/androidmono/
It would be so muhc more useful is you could develop android applications via Visual Basic, C#, or even C.
I would much rather prefer the android to be C/C++
Oh well.

How to program?

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

Help an old programmer out...

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

Categories

Resources