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
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

Examples of popular commercial apps with b4ppc

Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 05-01-2010, 02:26 PM
Senior Member
 
Join Date: Nov 2009
Posts: 153
Default

Quote:
Originally Posted by wm.chatman View Post
Sahra

having problems with the links Download Site for your Minerals Pro App.

would you please be so kind, and help me on that one ?

Thank you alot Sahra.

Best regards.

William
Hi William

I'd be happy to share the source folder of the Minerals program with you. The minerals program uses an sqlite database (converted from an standard sequal database on the desktop). Give me a few days to make some new RAR files and I will post them here.

Sarah
Reply With Quote
  #32 (permalink)  
Old 05-01-2010, 02:54 PM
Senior Member
 
Join Date: Nov 2009
Posts: 153
Default

Quote:
Originally Posted by klaus View Post
Hi Sarah,

I played a bit with your Bird source code, quite interesting.

A changed some parts, as suggestions, trying to simplify it.
Some comments:

- I needed to change manualy the content of the desktop.txt file with the default path. I suggest to change it to AppPath&"\"&pdata
To be honest I have never really understood the full implications of using the apppath command.

Quote:
- Your original Prefs.txt file contains 11 parameters, but when you save it you save only 9 parameters. You had no problem yet because you never really used the variables COMis and BAUDis, they are wrong after the first reading.

- I set a type for every variable. That's how I found the problem with the Prefs.txt file.
Yes, I understand. The preferences file was set out in an order so that it could be used by both the two types of GPS library. The standard GPS code requires Baud and Port values to be entered but the HTC GPS code auto-opens the port without these values being explicitly required. So the Htc code would not use these two values but the legacy standard GPS code would use them.

Quote:
- I removed the ImgBird control, it is not necessary. I use only Img1 for all images. When the image is smaller than the screen size there is no scrolling and the image can be scrolled when it is bigger than the screen size. In your code, only the big image could be scrolled but not the map neither and the photo.

- I changed the MouseMove routines for the images. In your program the image is flickering. I'm not shure if the way I did it now is what you wanted originaly.
Excellent work! I did the best I could and stay within the framework basic libraries used with b4ppc. And once the thing worked I moved on to another thing. I also found that, on the desktop the scrolled image flickered badly but didn't know how to stop it. The PDA version seemed to be ok.

Quote:
- I wouldn't have used a Panel and an Image to scroll the images but a BitmapEx object and drawing the appropriate part of the image directly onto the form using the ImageLibEx, but that's just my vision.
Well I appreciate you taking the time to improve this software, Klaus. I am impressed with your changes and will change the VGA version to match this one.

Quote:
- In the menu, what is MnuBird (Bird Topography) supposed to display. The program looks for a bird.jpg file in the PBEdata directory but there is none. I copied birdscape.jpg from the main directory to PBEdata and changed it's name.
This is the labeled jpg of a bird. On QVGA it can be scrolled to see all of the image.

Quote:
- Changed LatinOn and ShoPhotos to Boolean variables.
I always used -1 for true and 1 for false. So I could toggle them like a switch with x = -x. It is why I haven't used the True/False assignments (I think these are 1 and 0).

Quote:
- For the preferences I would have used a specific form with all the parameters visible at once and possible to chage them, instead of having them in the menu.
If I had known how many options would be asked for in the program I would have had a form/page with all the options on it too! In fact, I agree with you and I may just change this to an options form. It would tidy up the soft menu area.

Quote:
All the point above are suggestions and just my point of view.

Attached your qvga version 4.4.0, based on your version 4.3.1.

I don't have tested everything, perhaps there are some bugs. I tested it only on the desktop.

I'm almost shure that you could have 1 source code for the 3 configurations but I haven't looked at the differences in your source files yet.

Best regards.
The reason I have not been able to use a single source code, Klaus is due to using GPS code. For some reason you cannot use both GPS libraries (standard GPS and HTC GPS) and code in the one source file. It will not compile with both GPS types in the same source code.

Thanks, Klaus, for your excellent input and improvements. I will most certainly use them.

Sarah
Reply With Quote
  #33 (permalink)  
Old 05-01-2010, 03:24 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,463
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Sarah,
Quote:
To be honest I have never really understood the full implications of using the apppath command.
AppPath contains the name of the directory from where the program is started. If you put everything concerning a program in it's directory you don't need to care about where the program was started from, with AppStart you get it.

Quote:
Yes, I understand. The preferences file was set out in an order so that it could be used by both the two types of GPS library.
I understand that you could need different variables for different versions of the program, but the original Prefs.txt file didn't work properly. If in one version you don't need some values you must read these values with dummy variables to remain coherent.

Quote:
I always used -1 for true and 1 for false. So I could toggle them like a switch with x = -x. It is why I haven't used the True/False assignments (I think these are 1 and 0).
I remember that in VB6 False = 0 and True = -1.
I use False and True because, for example in your code:
Code:
<font size="2"><font face="Courier New"><font size="2"><font face="Courier New">LatinON = - LatinON</font></font>
</font></font><font face=
"Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">If</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2"> LatinON = - </font></font></font></font><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080">1</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">Then</font></font></font>
</font></font></font></font></font></font><font face=
"Courier New"><font size="2"><font face="Courier New"><font size="2">MnuName.checked = </font></font></font></font><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080">True</font></font></font>
</font></font></font></font></font></font><font face=
"Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">Else</font></font></font>
</font></font></font></font></font></font><font face=
"Courier New"><font size="2"><font face="Courier New"><font size="2">MnuName.checked = </font></font></font></font><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080"><font face="Courier New"><font size="2"><font color="#800080">False</font></font></font>
</font></font></font></font></font></font><font face=
"Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">End</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">If</font></font></font>
</font></font></font></font></font></font>
can be replaced by:
Code:
<font size="2"><font face="Courier New"><font size="2"><font face="Courier New">LatinON = </font></font></font></font><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff"><font face="Courier New"><font size="2"><font color="#0000ff">Not</font></font></font></font></font></font></font></font></font><font face="Courier New"><font size="2"><font face="Courier New"><font size="2">(LatinON)</font></font>
<font size=
"2"><font face="Courier New">MnuName.checked = LatinON</font></font>
</font></font>
Best regards.
__________________
Klaus
Switzerland

Beginner's Guide / User's Guide
Reply With Quote
  #34 (permalink)  
Old 05-02-2010, 05:30 PM
Senior Member
 
Join Date: Nov 2009
Posts: 153
Default

Quote:
Originally Posted by mjcoon View Post
Thank you Sarah, that is a wonderful effort (and the promise of source so I can stop whinging and add my own search function!).

But meanwhile one more whinge: I still cannot find any TREEdata for PPC or PC...

Mike.
Mike

You will find newest data links on the main Pocket Trees page here:

http://forum.mobilism.org/viewtopic.php?f=57&t=110920

Source coming here soon.


Sarah
Reply With Quote
  #35 (permalink)  
Old 05-02-2010, 05:34 PM
Senior Member
 
Join Date: Nov 2009
Posts: 153
Default

Quote:
Originally Posted by wm.chatman View Post
hi Sarah

you do have some very cool Apps looks very nice !

would you be happy to share the source code for Minerals Pro program with me ? I do like this one.

I do find your source codes as inspirational.

Thank you much Sahra

Best Regards.

William
William

Source folder and latest download links for Pocket Minerals FULL and LITE now in post #20 of this thread.

Note.. the FULL version is for serious/professional users, the LITE version is for the rest of us and it has extra features to view the gem photos. It has limited gems (about 1400 of the best minerals vs. about 4100 in the ful version).

Sarah
Reply With Quote
  #36 (permalink)  
Old 05-03-2010, 05:05 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by SarahWard View Post
You will find newest data links on the main Pocket Trees page here:

http://forum.mobilism.org/viewtopic.php?f=57&t=110920

Source coming here soon.

Sarah
Thanks Sarah, but trying the link I got:

General Error
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.82.231' at line 1 [1064]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.

If you refresh and this error is still here, we may be working on the site. You can check the status page here: PPC Warez (ppcwarez) on Twitter

Thanks also for the promise of source.

Mike.
Reply With Quote
  #37 (permalink)  
Old 05-05-2010, 09:21 PM
Senior Member
 
Join Date: Nov 2009
Posts: 153
Default

Hi Mike

I just tried the link to the main forum page of Pocket Trees and it works fine.

Sarah
Reply With Quote
  #38 (permalink)  
Old 06-05-2010, 01:38 PM
Senior Member
 
Join Date: Nov 2009
Posts: 153
Default Aviasoft b4ppc freeware new website

Aviasoft Pocket Freeware (written with b4ppc)

I have put all my freeware programs in one website for easy download.

GPS on PPC


Pocket Birds Europe
-------------------
Pocket Butterflies Europe
-----------------
Pocket Wild Flowers Europe
------------
Pocket Herbs
-------------
Pocket Trees Europe
-------------
Pocket Fungi Europe
------------
Pocket Minerals
------------
Pocket Insects Europe


SOURCES AVAILABLE ON REQUEST
Reply With Quote
  #39 (permalink)  
Old 06-05-2010, 02:24 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Looks very impressive
Reply With Quote
  #40 (permalink)  
Old 06-05-2010, 05:59 PM
Filippo's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Schwäb. Gmünd, Germany
Posts: 977
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi SarahWard,

here are a few errors!

1) download not work
2) Program starts with errors
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________

Last edited by Filippo : 06-06-2010 at 05:53 PM. Reason: edit
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Examples and creations from the old forum Erel Share Your Creations 7 10-02-2010 08:39 AM
Build proper desktop apps in B4PPC with this awesome Forms library agraham Additional Libraries 25 07-30-2008 04:19 PM
Why can't I Download all the examples? Jonathon Questions (Windows Mobile) 4 06-24-2008 04:18 PM
Most old examples restored! GeoTrail Chit Chat 10 05-24-2007 12:00 PM
I need examples for imagelist imagebutton sloopa Questions (Windows Mobile) 2 05-19-2007 04:00 PM


All times are GMT. The time now is 12:19 PM.


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