FBA The Creator

The True Multiplatform PC / PocketPC Opensource Development Tool - Read Only Mode - Kept only for historical purposes - Thank you all ;)
It is currently Thu Jun 04, 2026 6:04 am

All times are UTC




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Mon Feb 09, 2009 7:22 pm 
Offline

Joined: Mon Feb 09, 2009 6:56 pm
Posts: 14
Hello,

I'm new here so please put down the guns ;-).

I want to create a simple application that reads data from the internet. Since I don't have the money for Visual Studio and Express editions don't support mobile development, I stumbled across this great IDE. I've previously tried SharpDevelop but the resulting C# code is slow (esp for animations like list scrolling similar to the iphone). It looks to me like this application is geared mainly towards game development, but I would like to try to create an application with it. After spending a couple of days looking through the examples and compiling some code, I ran into a possible showstopper. I tried the HTTP example and downloaded it to my phone. Since I have a perm data connection for push email, it worked flawlessly. However, when I turned the data connection off, then re-ran the program it said that I needed to be connected to the internet first. Most applications that I've come across usually initiate the data connection automatically. Is there a way to do this either through the scripting language or using some external API call? I would really like to continue development using this IDE because I'm beginning to like it and the simplicity of the scripting language.

Thanks.


Top
   
PostPosted: Tue Feb 10, 2009 1:22 pm 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
Mmh..no, there isn't a way to start automatically the connection through Lua socket's facilities (FBA uses luasocket library).
Actually this could be accomplished through external dll's (there's a tutorial about FBA DLLs, you could use that as starting point).


Top
   
PostPosted: Tue Feb 10, 2009 8:02 pm 
Offline

Joined: Mon Feb 09, 2009 6:56 pm
Posts: 14
yes, I looked at the example of using the external DLL's. However, I was unable to create the ARM dll because I don't have EVC++... only VS2008 express.

Is EVC++ free because I couldn't really find it on the MS site? If not, then if I write the code, can you compile and create a DLL for me?

Thanks.


Top
   
PostPosted: Tue Feb 10, 2009 11:56 pm 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
Yes, it should be free, but I don't know if MS still supports it (I think they could be have integrated it in recent VStudio releases; ARM dll could be compilable from there, but I never tried).
Try to fetch from here (random google result, I didn't test it :o ):
http://downloads.zdnet.com/abstract.aspx?kw=embedded+visual+c%2B%2B&docid=676297


Top
   
PostPosted: Wed Feb 11, 2009 12:18 am 
Offline

Joined: Mon Feb 09, 2009 6:56 pm
Posts: 14
Apparently, according to some posts on the Internet, MS pulled it from their site just last month (January 09)... that's why I couldn't find it on their site. :evil:

I will try your link to download it and I'll let you know how it goes... or how bad my C++ skills are.. ha ha.

Anyway, I may not continue down this path. I've found some other issues that I need to overcome.

1. Can't minimize app. Need to investigate how to minimize through the external DLL.
2. Task manager says my app is called "FBA <some numbers>". I read a post on this forum about the same thing. Need to investigate.
3. App doesn't run in the background. I don't know if this will be a big deal.... depends on how far this app is developed.
4. When I install my test application to my device, each time I run it, there is a box that fades in/out on the bottom right that says "Powered by FBA" or something like that. I posted this on another thread asking whether it was the "banner" that gets removed when one donates.


Top
   
PostPosted: Fri Feb 13, 2009 12:53 am 
Offline

Joined: Mon Feb 09, 2009 6:56 pm
Posts: 14
evilmaio wrote:
Yes, it should be free, but I don't know if MS still supports it (I think they could be have integrated it in recent VStudio releases; ARM dll could be compilable from there, but I never tried).
Try to fetch from here (random google result, I didn't test it :o ):
http://downloads.zdnet.com/abstract.aspx?kw=embedded+visual+c%2B%2B&docid=676297


Tried to install EVC 4 and it installed fine but there was a driver issue in Windows Vista for the emulator. Hence, it didn't let me setup a new configuration (crashes the application when I try).

After a lot of begging, I got a friend to give me his old Vs2005 Pro disk (since he is using VS2008 - provided by his company argh!). I installed it then downloaded all the mobile SDKs. I then converted the EVC project into VS2005 and it worked. I recompiled everything and created a setup cab for my pocket pc and successfully ran it on there.

Now to write some C++ and see how things go.

Can you provide some information on the banner that appears everytime I run the application? Like how much I need to donate? PM me if you want.

Thanks.


Top
   
PostPosted: Sat Feb 14, 2009 2:00 am 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
Well, donate is just a simbolic way to support FBA future development;
we won't become rich with that! :D
the amount is up to you ;)


Top
   
PostPosted: Thu Feb 19, 2009 10:22 am 
Offline

Joined: Tue Nov 25, 2008 10:10 am
Posts: 9
Hi ckl_88,

If you get the chance, I really need to use Bluetooth with FBA. I have no time to learn C/C++ so if you find any way to make a FBA program talk to another FBA program via Bluetooth, please let us know how. I might even be able to lend you the kit 8-)

Robin


Top
   
PostPosted: Thu Feb 26, 2009 6:04 am 
Offline

Joined: Mon Feb 09, 2009 6:56 pm
Posts: 14
ESP wrote:
Hi ckl_88,

If you get the chance, I really need to use Bluetooth with FBA. I have no time to learn C/C++ so if you find any way to make a FBA program talk to another FBA program via Bluetooth, please let us know how. I might even be able to lend you the kit 8-)

Robin


Sorry I didn't get back to you sooner. I'm steadily working on my app at the moment. It's really looking nice GUI-wise but I haven't started looking into the DLL portion of it yet (except for compiling the demo and adding a display to make sure it works). When I get to that part though, I'll have a look at the bluetooth connectivity as well. I've found some examples on the microsoft msdn site so that will be my starting point.

I don't know what you meant by "kit" but if you mean devices, don't worry, I already have two.


Top
   
PostPosted: Mon Mar 02, 2009 9:02 am 
Offline

Joined: Tue Nov 25, 2008 10:10 am
Posts: 9
Hi ckl_88,

by 'kit' I did mean a couple of 'phones. I have a batch of HTC TyTn IIs for development. Lovely 'phones and they really show off FBA well. Getting Bluetooth would open up FBA to lots of things.... ;)

Robin


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited