Click here to Skip to main content
11,635,788 members (77,565 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# 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
AbiNerd392

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
0 OriginalGriff 8,861
1 Sergey Alexandrovich Kryukov 8,459
2 Mika Wendelius 6,849
3 F-ES Sitecore 2,354
4 Suvendu Shekhar Giri 2,270


Advertise | Privacy | Mobile
Web01 | 2.8.150728.1 | Last Updated 8 May 2012
Copyright © CodeProject, 1999-2015
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