Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations > Open Source Projects
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Open Source Projects The place to discuss Basic4ppc open source applications.

Spell checker

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 03-05-2009, 04:25 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Italy
Posts: 541
Awards Showcase
Beta Tester 
Total Awards: 1
Default

An update:

finally I have been able to look into this project of mine again.

Well, I have reduced the loading time of the dictionary-files dramatically and now both are loaded within 3 seconds on my device.

Anyway, as already mentioned in a previous post of mine, the big news is that I have transformed this project into a class-library written in VB.NET. It works so far without any problems but before releasing it, I just need to add two or three missing features. I have tested the library in a sample-project in VB.NET and it works nicely although of course there may be a few bugs not yet discovered. I will most likely make a posting on XDA where developers can download it and test it.

The bad news: While the loading of the data works allright in a Basic4PPC-project, the spellchecking-engine does not This is due to the textbox-control of Basic4PPC which must be passed on to the library. However, I will later post a question in the Library-section of this forum and see if anyone can help to get the library compatible with Basic4PPC.

Regards,
moster67

Last edited by moster67 : 03-05-2009 at 04:34 PM.
Reply With Quote
  #12 (permalink)  
Old 03-05-2009, 05:59 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It shouldn't be too hard to pass a textbox control from Basic4ppc to an external library.
A VB .Net Sub:
Code:
Public Sub DoSomethingWithTextBox(textBox1 As TextBox)
 textBox1.Text = 
"test"
End Sub
In Basic4ppc:
Code:
YourLibrary.DoSomthingWithTextBox("TextBox1")
__________________
Basic4android documentation
Reply With Quote
  #13 (permalink)  
Old 03-05-2009, 06:30 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Italy
Posts: 541
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I already resolved it. I did as you suggested but the trick was to pass on the TextBox with double apostrophes around the name of the textbox:

Code:
YourLibrary.DoSomthingWithTextBox("TextBox1")
From my test-application in VB.NET it works without the double apostrophes:

Code:
YourLibrary.DoSomthingWithTextBox(TextBox1)
Thank you Erel
Reply With Quote
  #14 (permalink)  
Old 03-14-2009, 04:15 AM
Basic4ppc Veteran
 
Join Date: Apr 2008
Location: Gosford NSW Australia
Posts: 223
Send a message via MSN to tsteward
Default

Looking forward to the version, keep up the good work!
__________________
PC: Dual core 3.4ghz 2gb ram
PPC: I-mate Jasjam
Reply With Quote
  #15 (permalink)  
Old 03-15-2009, 11:19 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Italy
Posts: 541
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Just to inform you that this project has now been transformed into a library which may found in the Additional Library section of this forum.

Regards,
moster67
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


All times are GMT. The time now is 12:25 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0