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.

TRUIPhoto

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-28-2009, 05:00 PM
Basic4ppc Veteran
 
Join Date: Jan 2009
Location: Bayern, Germany
Posts: 489
Awards Showcase
Beta Tester 
Total Awards: 1
Default TRUIPhoto

Hello

I am in need of a small Photo Program, so I started a very small sample.
Do not know if it would be best, to start it in a new empty module.
Might have been better, if I had done so. But... I did not with this example.

The Functions of the Photo Program are still in its basics. Its a might hard for me to code as a master. Maybe in a few years from now...

Functions that the App needs:

- I want to trigger the recordings directly from within the program
- Add a folder to save Images if not available, and the images therein. Format = JPEG or BMP. Mda Pro has these two formats for saving the images. Resolution = 640x480. Or greater. But I do not think this so good.
- there might be more then 1 dbase entry so, when we have a new discovery, and take a picture, display it as a preview, if Photo is OK, then save it. But could also be more, depends on the Item found position.
- How do I want to include the photos database? Well i thought maybe a Table, but I think this does not work. Access or MySQL? Access does not work. Thus, the only way might be SQL. Maybe Create only as an image in a folder?
- Where and how will the photos be stored? I thought we could save the Images in main program or a folder on the Speicherkarte2 device or storage card memory or select the place of choice.
- How to display the Images? I had thought to display them as thumbnails, with a scrollbar on right side of frm. Click on a thumbnail and then view the Image in img control!? Hope this can be understood.
- After Photo had been saved, return back to main frm.

My joy is Database only, so I would like to ask the Forum Members to also give me their thoughts and help on this, for further developement.

I must state all my Thanks and Appreciations to the Members that helpt thus far!

I wish to thank Klaus, Specci48, Filippo, Jotha and other Forum Members again for the help, they had given thus far. Without help, all this would not have been possible.

Thank you and Best regards to all.

William

Device: Mda Pro

PMs are welcome
Edit: i updated the source. place a new file in Folder MyImages, and add imgs.
Attached Files
File Type: zip TRUIPhoto.zip (37.0 KB, 93 views)

Last edited by wm.chatman : 12-28-2009 at 07:27 PM.
Reply With Quote
  #2 (permalink)  
Old 11-28-2009, 05:06 PM
Basic4ppc Veteran
 
Join Date: Jan 2009
Location: Bayern, Germany
Posts: 489
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Dir Klaus,

could you please write the Functions for me, and add them to the Thread?
I mean what the Program is suppose to do. My Translation is not so good.

Thank you Sir.

William
Never mind Klaus, I will add the Info that is needed.

Last edited by wm.chatman : 11-28-2009 at 11:00 PM.
Reply With Quote
  #3 (permalink)  
Old 12-01-2009, 07:02 PM
Basic4ppc Veteran
 
Join Date: Jan 2009
Location: Bayern, Germany
Posts: 489
Awards Showcase
Beta Tester 
Total Awards: 1
Default

i found some i can use to show the imgs like i want. you know what? i found it
under my nose. the same funktions i had been thinking about. show all imgs as small img plus few full. and this was source thanks to B4ppc! using ComboBox1 you can choose folder, few all imgs, clickimgforfullview, clickimgclosefullview, all imgsinview at restart. still working on preview imgs. slight problem with compobox1 as you turn mouse wheel = scrolling mouse wheel.
iI need mouse move event to scroll (ScrollBar)the imgs up down, and keep imgs visible at move event.
all imgs disappear.thats cool.

any ideas to this problem?

Best regards.
William

Last edited by wm.chatman : 12-01-2009 at 08:43 PM.
Reply With Quote
  #4 (permalink)  
Old 12-01-2009, 07:36 PM
Basic4ppc Veteran
 
Join Date: Jan 2009
Location: Bayern, Germany
Posts: 489
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Test on mda gave me this statement:
Datai- oder Assembyname System.Drawing, Version=2.0.0.0,Culture=neutral,
PublicKeyToken=B03F5F11D50A3A bzw. eine Abhaengigkeit wurde nicht gefunden.

its calling for net compact framework
on desktop work ok
Net2 installed on device or the rest of apps would not run.
Do I need to declare some or need function? Dll?
Reply With Quote
  #5 (permalink)  
Old 12-02-2009, 01:43 PM
Basic4ppc Veteran
 
Join Date: Jan 2009
Location: Bayern, Germany
Posts: 489
Awards Showcase
Beta Tester 
Total Awards: 1
Default

post 1 has update

oh i need help. how do i catch a MouseWheel Event, to scroll images up/down?

Last edited by wm.chatman : 12-02-2009 at 02:27 PM.
Reply With Quote
  #6 (permalink)  
Old 12-04-2009, 02:07 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Agraham's FormExDesktop supports it: http://www.basic4ppc.com/forum/addit....html#post8248
__________________
Basic4android documentation
Reply With Quote
  #7 (permalink)  
Old 12-04-2009, 02:15 PM
Basic4ppc Veteran
 
Join Date: Jan 2009
Location: Bayern, Germany
Posts: 489
Awards Showcase
Beta Tester 
Total Awards: 1
Default

thanks Erel I will check it out
BTW: can I get some help on post num. 4?

Test on mda gave me this statement:
Datai- oder Assembyname System.Drawing, Version=2.0.0.0,Culture=neutral,
PublicKeyToken=B03F5F11D50A3A bzw. eine Abhaengigkeit wurde nicht gefunden.

its calling for net compact framework. I still am unable to find and or fix that. It would really help, getting this out of the way>

Best regards
William

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

You get this error when you run the compiled code on the device ?
__________________
Basic4android documentation
Reply With Quote
  #9 (permalink)  
Old 12-04-2009, 03:16 PM
Basic4ppc Veteran
 
Join Date: Jan 2009
Location: Bayern, Germany
Posts: 489
Awards Showcase
Beta Tester 
Total Awards: 1
Default

yes Sir, and Net2 is avail. on Device
Reply With Quote
  #10 (permalink)  
Old 12-04-2009, 03:19 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You should first make sure that you chose the right target platform when compiling your application. Another thing to check is the list of libraries added to the device side. Make sure that there are no desktop only libraries there.
__________________
Basic4android documentation
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 09:30 PM.


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