Click here to Skip to main content
12,508,992 members (58,541 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# Mobile database
I am designing a native BlackBerry smartphone application. The phones will not have a c# compiler on them. The database needs to store simple C# methods which perform some mathematical function. All the methods will take in an int[] and return an int[]. I need the methods to be able to run so that users can see the output for various inputs. Any ideas in what form to store the methods and how I will get them to run?
Posted 8-May-12 4:41am
AbiNerd399

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Well, the only way to do this would be to store the code as text.

Your problem is that there is no C# interpreter or compiler on Blackberry, so you'll have to write one yourself if you want to use C# or use one of the open source projects that just converts C# code to Javascript. I wouldn't call these "product" quality though.

I suggest abandoning using C# for the "script" because of the lack of C# compiler support on Blackberry and use Javascript instead.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160927.1 | Last Updated 8 May 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100