How can we configure VS 2010 with MoSync

11 posts / 0 new
Last post
Krushnasinh Rathod
krushna's picture
Offline
Joined: 3 Feb 2011
Posts:
How can we configure VS 2010 with MoSync

Hi,

I have installed MoSync on Windows 7 - OS with 64 bit but how should I configure the Visual Studio 2010 with MoSync?

MoSync - IDE is not provide the better or rich UI setting along with control....please guide me if I am wrong...as I am new in to it.

If we created one application and would like to sell from iTunes Store and Android Market etc then what we need to do from our side? Do we need to purchase license from you or it is GNU - free so we can directly sell the application on market? Please explain in detail as i am not understand from "Buy" - link page.

Thanks,
Krushna

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Abi Waqas
abi's picture
Offline
Mobile Wizard
Joined: 3 May 2010
Posts:

This should help you to configure MoSync with Visual Studio
http://www.mosync.com/content/using-mosync-visual-studio

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Hi, only Visual Studio 2005 is supported, and not 2010. MoSync does come with a great IDE. Eclipse is packaged with the download, and it is a complete IDE and debugger. There isn't a GUI-based screen design tool for MoSync, either in Eclipse or VS.

If you want to sell closed-source apps on iTunes, Google Marketplace or Ovi (or anywhere else), then you need to purchase a subscription. Basic Pro subscription is 199 Eur per developer per year, but you can develop open-source software (commercially or not) without paying the subscription fee.

Thanks

Krushnasinh Rathod
krushna's picture
Offline
Joined: 3 Feb 2011
Posts:

Thanks but I have knew about this link and I had already checked with 2/3 times but as it supported to VS 2005 only (Not VS2010).Thanks for sending this.

Krushnasinh Rathod
krushna's picture
Offline
Joined: 3 Feb 2011
Posts:

Hi Sam,

Thanks for providing information which is good for me.
Also, I have one questions about to include "MAHeader.h" file and pipetool.exe for my project. I have successfully run the example projects but unable to run or create my project which I had taken or try to include "MAHeader.h" file. Also, I search a lot and getting link but unable to install pipetool.exe for my particular project.

Could you please provide steps and send how to configure exe and include the header file for my individual project? Please provide steps and solution here. Kindly do not provide link/document as I might be already read it.

Thanks,
Krushna

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

OK, To include MAHeaders.h (which is what I think you mean), then you need to add this line to the top of the file which wants to see it

#include "MAHeaders.h"

MAHeaders. is automatically generated each time you build the project, and you don't normally see it in your project view. It creates application constants from your resources file (res.lst or similar).

You don't need to install pipetool.exe at all. It should be in the MoSync/bin folder (e.g. C:\MoSync\bin). When you compile your application in MoSync, it uses the pipetool to compile and package resources and code.

To start a new project, right-click in the projects frame at the left of the Eclipse window, and select New -> Project, and then try 'MoSync Project'. Give it a name, and then choose a template. I'd recommend a MAUI project. You can then create a screen for your application to display.

Hope this helps

Krushnasinh Rathod
krushna's picture
Offline
Joined: 3 Feb 2011
Posts:

Hi Sam,

Thanks for reply. I had already done this way previously.
I had another way that there need to require res.lst and font declare and used it. Also, I am able to include that "MAHeaders.h" file too.

Thanks,
Krushna

Krushnasinh Rathod
krushna's picture
Offline
Joined: 3 Feb 2011
Posts:

Hi Sam,

Thanks for reply. I had already done this way previously.
I had another way that there need to require res.lst and font declare and used it. Also, I am able to include that "MAHeaders.h" file too.

Thanks,
Krushna

Krushnasinh Rathod
krushna's picture
Offline
Joined: 3 Feb 2011
Posts:

Hi Sam,

Pleas provide your help and source code or example for the same.

I would like to create one application which has three textbox along with labels & buttons as below.

Name: [Textbox]
Email:[Textbox]
Mobile:[Textbox]

[Save DB] [Save M][Next] ------> { Three button }

1. Once user insert value into text box then it will be display into second screen and also store into database (SQL Server) while click on "Save DB" - button
2. Once user insert value into textbox then it will be save into Mobile local memory and display into 2nd screen wile click on "Save M" - button.
3. Once user insert value into text box then it will be display into second screen while click on "Next" - button.

Also, 2nd screen has "Back" button so that user can come back on 1st screen and at that time textbox should be blank.

Kindly provide source code/example for this it will help us to build one application.

Thanks,
Krushna

Krushnasinh Rathod
krushna's picture
Offline
Joined: 3 Feb 2011
Posts:

Hi Sam,

Pleas provide your help and source code or example for the same.

I would like to create one application which has three textbox along with labels & buttons as below.

Name: [Textbox]
Email:[Textbox]
Mobile:[Textbox]

[Save DB] [Save M][Next] ------> { Three button }

1. Once user insert value into text box then it will be display into second screen and also store into database (SQL Server) while click on "Save DB" - button
2. Once user insert value into textbox then it will be save into Mobile local memory and display into 2nd screen wile click on "Save M" - button.
3. Once user insert value into text box then it will be display into second screen while click on "Next" - button.

Also, 2nd screen has "Back" button so that user can come back on 1st screen and at that time textbox should be blank.

Kindly provide source code/example for this it will help us to build one application.

Thanks,
Krushna

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Hi Krushna,

Firstly, when you have new requests, can you ask it once (and just once) in a new thread. Hijacking old threads just means that your requests are less likely to be seen or read, as readers will think that you're just adding something to an old topic and not making a new request.

Your request was very large, and although it did seem to change, it does take time to come up with a complete application for you, as you originally asked for here.

To deal with your second, linked, request Micke recently wrote an excellent blog post on passing values between screens. You can read it here : http://www.mosync.com/blog/2011/01/how-ta-pass-values-between-screens-moblet-application - Doing a quick search may get you an answer back faster.

With your first request, I've written you an example application in the way that you described. It has two screens, InputScreen and DisplayScreen. What you write in input screen will be displayed in DisplayScreen. Use the joypad to select between the different editboxes, and just type when the editbox you've selected is highlighted.

There are numerous threads in this forum about saving data to a SQL Server database. You can read about it here:
http://www.mosync.com/content/mosync-soap-error
http://www.mosync.com/content/purpose-maassert
http://www.mosync.com/content/call-aspnet-web-service-mosync
http://www.mosync.com/content/popup-message-and-web-service-client

Your example code is below. I'll gladly spend whatever time you need helping you to understand it, but if you can make new requests in new threads then I'm much more likely to see it.

Thanks

AttachmentSize
ExampleApp.zip 19.12 KB