How i can connect and deconnect from internet? - Windows Mobile Development and Hacking General

Hello everybody!
I'm a new vb.net mobile developer and one problem was stopped me: in my application, i need to use some webservices for getting remote information but i'm not able to connect to internet automatically....can everyone help me?
I'm using visual studio 2005 and vb!

Well I don't know about VB (I understand it is problematic to access system functions with that language) but if you could use native APIs than you would just need to use the Connection Manager functions.
Look here.

fabrysious said:
Hello everybody!
I'm a new vb.net mobile developer and one problem was stopped me: in my application, i need to use some webservices for getting remote information but i'm not able to connect to internet automatically....can everyone help me?
I'm using visual studio 2005 and vb!
Click to expand...
Click to collapse
Well for one thing, you need to have a data plan from your carrier before you can access the internet.
What is the device?

even with the horrible syntax
vb .net should be able to do the same things
as c# so i believe
it can be don by including the right .net libs
or in worst case use unmanaged dll's

Thanks to all...i'm reading posted link about APIs!
I will know you the result!!!

Related

XDA Data Driven Application Architecture - Language choice

Hi
Similar to the GPS upload thread, I am interested in writing an app to talk to TomTom5 SDK (maybe with or without the TTNC Java/VB wrapper), and upload the data to a Web service.
I am primariliy a Java developer, but have found very little about Java support the XDA... I need to develop for XDA T-Mobile MDA HTC Blue Angel - O/S WME 2002/2003. ..
I have trawled the forums and read a couple of mentions of Java, but nothing conclusive as to what the current situation is with regards to support VM's etc..
Can anyone clarify:
a) What are the supported JVM's
b) If none, what other languages are being used to develop the apps? (is it just VB .NET?)
:?:
java support
http://forum.xda-developers.com/viewtopic.php?t=19415&highlight=java
http://www.ewesoft.com/Downloads/Downloads.html
other languages you can use
c#
c++
both are miles ahead of vb imho
Hiya
I do a lot of work with TomTom and it's SDKs, originally using embedded VB and now C#. One thing to note... I don't think the TTTNCF wrapper for the TT5 SDK (I assume this is the wrapper you mean?!) will work with Java! As far as I'm aware it's .NET only - tho that said I haven't had time to play with the new TT5 version yet :roll:
C# or Java
Hi
Yes I am guessing I only need the TTNC wrapper if I am using .NET because if I use Ewe Java, I can talk straight Java to the TomTom SDK, is that your understanding? (I think the SDK is Java)...
Can I ask why you chose C# over Java/Ewe ?
and also, if I choose to develop using .NET C#, can I talk to a Java web service (ie. Axis published)? or do I have to talk to a Microsoft .NET published Web Service?
:shock:
ms hate java so java is much much more limited on the mw platform
even more limited in many ways then on a normal nokia cellphone
dont know if the tomtom sdk is java but it's odd if it is because normaly pocketpc's dont have java support unless you install 3th party software
so unless tomtom include a JVM then it's not java

Developing application on KJAM

Hi
This is vijay i bought a Imate KJAM PDA. I want to develop an application on this PDA in Java J2ME Technolgies. Can anyone help me how to develop application and what file should i download into PDA. How to run the application file on PDA. Let me know the details in clear.
With regards,
Vijay.G
vijaygutta said:
Hi
This is vijay i bought a Imate KJAM PDA. I want to develop an application on this PDA in Java J2ME Technolgies. Can anyone help me how to develop application and what file should i download into PDA. How to run the application file on PDA. Let me know the details in clear.
With regards,
Vijay.G
Click to expand...
Click to collapse
Hi,
i'm not a developer but i can say that Java J2ME is not very used on pocketpc platform (many PPC do not even have any java support). If you wanna develop managed code then go for .Net (vb or c#) or you can make native applications in c++. The problem is you'll need to buy MS Visual Studio (unluckily, the free Visual Studio Express doesn't support mobile devices). AFAIK
Bye
try using search for J2ME
you'll find tons of posts about it
most likely an url to where you can download the wm too

JSR-82 (java-bluetooth) Possible for hermes?

Hi all,
I have done some searching from the forums about java using bluetooth and did not find anything. This is my first post here so blame it on my noobiness if I just missed it.
So.. what I understand (and that is not much in win based mobile devices at this point) the JSR-82 is a some kind of a "framework" which enables java to use bluetooth in applications. I have been trying to use some java applications meant to be used with bluetooth, only to find out that it is not supported with hermes (HTC Tytn with win mobile 5.0 to be more accurate.)
Now I am asking you is there any way around this and is it possible to get this JSR-82 whatever working with my tytn. It would be nice since it would enable the use of java based chat applications and such, which are using bluetooth. Java for that reason that then I could run the same applications as my friends for example with sony ericson.
Sorry for my bad language and bare in mind that this is my first post. thanks for all the answers and have a nicest day!
Sincerely yours,
Henry
No one else wants to use bluetooth functions thru java? or am I missing something critical here?

How to create apps for Windows Mobile device...

So I'm interested in trying to create an application for my Windows Mobile device, a tilt. It doens't have to be anything grand, for that matter a simple calculator will sufice..
Is there a noob guide for dummies that would kind of spell out the process of building the app then deploying the app to my phone?
Anyone have some source code they would be willing to share?
I'm familiar with VB but not vb.net, I have vb.net 2002 available but worry it's too outdated???
I'm hoping you guy's can shed some light on some start to finish guidelines.
Thanks.
TW,
I'm quite interested in this question too
I'm using Visual Studio 2008 + C#, works great.
I do not like VB (anymore), but I think it's worth upgrading, 2002 -> 2008, there've been new .NET versions and so on ... I'd use a newer version.
Visual Studio 2005 + VB.NET over here. Works great. Though I'd like to upgrade to .NETCF 3.5 asap.
Please use the search, this question has been asked several (or a lot of) times before.
Hey I program with VB.Net over Visual Studio 2005
You will need an additional SDK for your phone too:
for wm6 you find it here: http://www.microsoft.com/downloads/...3a-a651-4745-88ef-3d48091a390b&displaylang=en
then you can select it when you create a new project, see here
http://www.danielmoth.com/Blog/2007/02/windows-mobile-6-sdks.html
Rhapsody, any links that you could provide? are you referring to creating/compiling an app for WM6 or the golf application?
Anyone have some basic source they might like to provide? something with GPS using the "GPS Intermediate Driver" would be excellent... it sure would help to get the ball rolling.
TW,
tiger.woods said:
Rhapsody, any links that you could provide? are you referring to creating/compiling an app for WM6 or the golf application?
Anyone have some basic source they might like to provide? something with GPS using the "GPS Intermediate Driver" would be excellent... it sure would help to get the ball rolling.
TW,
Click to expand...
Click to collapse
The MSDN is what you need.
http://www.msdn.com (http://msdn2.microsoft.com/nl-nl/library/bb847935(en-us).aspx)
http://msdn2.microsoft.com/nl-nl/windowsmobile/default(en-us).aspx - Windows Mobile
http://forums.microsoft.com/msdn - MSDN Forums (has also a subforum for Mobile Devices)
The MSDN contains tons of information and a lot of quick start samples as well.
Thanks for the replies guys.
I'm a little confused on the different software packages that Micrsoft has available, .NET and Visual Studio, Professional, Team, etc...
Does Visual Studio 2005 include all that is needed? What's the difference between VS 2005 and VS 2008?
Thanks,
[EDIT]
I wanted to post back with a link I found for anyone else interested - hxxp://www.devx.com/wireless/Article/31198 it's a good article on creating setup files for your mobile device. If I can find something in VB with regard to GPS positioning and VS 2005 I think I've got a start...
tiger.woods said:
Thanks for the replies guys.
I'm a little confused on the different software packages that Micrsoft has available, .NET and Visual Studio, Professional, Team, etc...
Click to expand...
Click to collapse
Yup i had the same issue, I couln't find a place where it was clearly mentioned what was needed and how to start.
Then I came across this program : basic4ppc
It's easy and not too expensive, they have a trial version available
the only drawback to the trial vesion you can only simulate the program, exporting to exe file doesn't work, you'll have to buy the program.
I liked it so much I bought it
cool, giving it a go now
tiger.woods said:
Thanks for the replies guys.
I'm a little confused on the different software packages that Micrsoft has available, .NET and Visual Studio, Professional, Team, etc...
Does Visual Studio 2005 include all that is needed? What's the difference between VS 2005 and VS 2008?
Thanks,
[EDIT]
I wanted to post back with a link I found for anyone else interested - hxxp://www.devx.com/wireless/Article/31198 it's a good article on creating setup files for your mobile device. If I can find something in VB with regard to GPS positioning and VS 2005 I think I've got a start...
Click to expand...
Click to collapse
Get Visual studio 2008, you can actually get visual studio 2008 professional for free if you are a student, mainly in the US, but also abroad... check the microsoft vs 2008 website, cant remember the link
The other free version, visual studio 2008 express is useless to you since it will not do pocketpc/smartphone development
Or you can get a trial copy of VS 2008
Once you have it., you can create a new project, and you can select the pocketpc/smartphone type and you will be off to development land....

Newbie Guide to C++

I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
ronschaefer said:
I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
Click to expand...
Click to collapse
WHAT kind of applications you are trying to write?
Do you need to write a device driver for your PDA?
ronschaefer said:
I need help - I want to start writing programs for my Tilt. Looking through the posts it seems the C++ is the way to go. I found a bunch of nice tutorials on the web on how to program in C++ but not now to write a program for a pocket pc.
Specifically I need help with which programs to download.
Im looking for a list like this of exactly what I need to get
1. Microsoft embedded Visual C++ 4.0.
2. Microsoft embedded Visual C++ SP4
3. Microsoft pocket pc 2003 sdk.msi
4. Microsoft Windows CE 5.0 Device Emulator
or what ever
Thanks I tried to figure this out on my own but got frustrated after installing like 7 different programs. Seems like you should only need 1 program but it seems like you need to download a bunch.
Also with the Embedded Visual C++ program I dont see where to enter your code - like open workspace or something?
Click to expand...
Click to collapse
You should be able to do it with visual studio and the emulator, im not 100% sure though, I only know a limited amount of Java.
Most phones support .net/C#/Java, so pick a language
What I want to write
Just some fun stuff =
One idea I had is a generic sound simulator, tie buttons to different sound - .wav files; animal sounds, machine sounds, phasor blasts, drum kit, theme music like - http://www.thinkgeek.com/tshirts/illuminated/a5bf/
I want to have it look nice too with decent graphics.
i suggest to use Visual Studio 2005 or 2008.
It's simplest way to start (and continue) to write programs.
Both native and NET technologies are supported. C++ and C# available.
Both VS versions are coming with integrated Device Emulator with WM5(VS2005) and WM6(VS2008) images for PDA/PDAPhone/SP and remote debugger for real PDA/PDAPhone/SP devices.
If you are using VS2005/2008. Download the latest Windows Mobile 6 SDK (Standard and Pro) for the best Emulation.
Ta
Dave
but c# only works with .net
where c++ works with win32(native) microMFC(Native) and .net
more info can be found
http://forum.xda-developers.com/showthread.php?t=380069&highlight=programming
http://forum.xda-developers.com/showthread.php?t=382995&highlight=programming
http://forum.xda-developers.com/showthread.php?t=226412&highlight=programming
http://forum.xda-developers.com/showthread.php?t=336251&highlight=programming
http://forum.xda-developers.com/showthread.php?t=305926&highlight=programming
http://forum.xda-developers.com/showthread.php?t=302548&highlight=programming
http://forum.xda-developers.com/showthread.php?t=228043&highlight=programming
http://forum.xda-developers.com/showthread.php?t=317913&highlight=programming
http://forum.xda-developers.com/showthread.php?t=237932&highlight=programming
yes, ะก# is for NET only. This language appeared together with NET technology as alternative to Java after breakup with SUN
C# is closer to BASIC than C++. I, personally, don't recommend C#. Ths "strange" language is for lazy people. Almost nothing left of C++ and its ideology.
Visual Studio 2008 Pro trial version
Thanks for you advice - i deleted all that embedded C++ stuff - was way too confusing, must have had like 8 programs installed and still was not working - I like the idea of just 3 things the visual studio and the 2 WM6 SDKs
Im going to try the visual studio 2008 - there is a trial version of it for 90 days
http://msdn.microsoft.com/en-us/vstudio/products/aa700831.aspx
Would i be better off with the 2005 version as Im using Xp not Vista on my main computer. Should I get the Try Visual Studio "Team System" 2008 - Trial Software or just stick with the regular one i downloaded?
I also downloaded the standard and professional WM6 SDKs
http://www.microsoft.com/downloads/...745-88EF-3D48091A390B&displaylang=en#filelist
I used embedded visual tools in the past (3 and 4). Be aware that you cannot use the WM5 SDK with eVC, you must use Visual Studio for that. The latest thing usable with eVC is the WM2003 SDK, as far as I know. Also, the emulator handling in eVC was quite sluggish and buggy. When I switched to VS2005, it was like a deliverance to me. Also, the help system in VS is a blessing. *g*
Though I used Delphi's VCL in the past, I would never freely touch such a thing on restricted hardware such as in PDAs. Hence, .NET, MFC and of course *cough* Java *cough* are out of the question. I'm a pure C++ writer. The progs are nicely small and fast. And there are always alternatives to the things I can't use because of that: for instance instead of MFC CStrings I got acquainted with STL library's strings. There's also ATL which supposedly can be used instead of MFC for GUI programming, but when I looked for it some years back I found only very little information about that.
Happy coding.
Is it true that you can only develop WinMo C++ in VS Pro?
I read on the Microsoft marketplace that the standard edition dosnt support mobiles..
are there any alternatives (C++ only please..)
yes they only support through pro... but you can get it for free through dreamspark if you are a student
joel2009 said:
yes they only support through pro... but you can get it for free through dreamspark if you are a student
Click to expand...
Click to collapse
damn, I am a student but my uni isnt listed
I asked one of the admins and they are looking into getting on the list
But it might be too late coz its my last year..
Mic159 said:
damn, I am a student but my uni isnt listed
I asked one of the admins and they are looking into getting on the list
But it might be too late coz its my last year..
Click to expand...
Click to collapse
Good news. My uni isn't listed either. It is a simple matter of verifying your student status on journey ed. I'm glad I could help with this because it turns out that I could get all the dreamspark software through my school's MSDNAA program anyways.

Categories

Resources