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

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Code Samples & Tips Share your recent discoveries and ideas with other users.

Create a blist without blist-library

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-27-2010, 11:30 AM
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 Create a blist without blist-library

Hi,

with this source code you can create a bList without the bList-Library.

At the Library there is a blister-memory problem when all messages are generated from bitmaps. The problem is that after the end of the program, the memory is not released.

With my example, there is no memory problem more.

For this example, this library is required:
dzHW.dll
dzHWdesktop.dll
fgGradientButtons.dll
fgGradientButtonsDesktop.dll
FormLib.dll
ImageLibExDesktop.dll
ImageLibExDevice.dll


WARNING! It works properly only on the Device.

Ciao,
Filippo
Attached Images
File Type: jpg capture001.jpg (6.6 KB, 35 views)
File Type: jpg capture002.jpg (23.8 KB, 71 views)
File Type: jpg capture003.jpg (23.6 KB, 53 views)
File Type: jpg capture004.jpg (19.8 KB, 51 views)
Attached Files
File Type: zip fg-bListEx.zip (12.1 KB, 65 views)
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #2 (permalink)  
Old 06-27-2010, 06:18 PM
Basic4ppc Expert
 
Join Date: Jul 2008
Location: Borchen, Germany
Posts: 571
Send a message via Skype™ to corwin42
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi Filippo,

great idea. Unfortunately it is extremely slow on my WVGA Sony Ericsson Xperia X1 (in compiled version).

I haven't looked at the source yet but I had such an issue with a scrolling map when I tried to redraw the image each time when the MouseMove Event fires. Perhaps it's the same here. If yes you will have to implement a locking mechanism so the redraw only occurs when the redraw from the previous event is complete. Hope you understand what I mean.
__________________
You like my work and it is useful for you? If you want you can donate me a beer here:
Need a DropBox account and want 500MB additional free space? Use this link to create your account: DropBox
Reply With Quote
  #3 (permalink)  
Old 06-27-2010, 09:12 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 corwin42,

Quote:
Hope you understand what I mean.
Not really! The Google-translated is not entirely correct. Can you explain it to me by PM to German?

Nicht wircklich! Die Google-übersetztung ist nicht ganz korrekt. Kannst du es mir per PM auf Deutsch erklären?
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
Reply With Quote
  #4 (permalink)  
Old 06-29-2010, 07:06 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

Hallo corwin42,

ich habe das gleiche jetzt mit VS2008 und mit Basic4ppc compiliert.
Mit VS2008 lauft es wirklich sehr flüssig, es gibt schon eine große unterschied.

I have the same now compiled with VS2008 and with Basic4ppc.
With VS2008 it runs really smoothly, it is already a big different.
Attached Files
File Type: zip bList-Test.zip (51.1 KB, 47 views)
__________________
PPC: MDA Pro, 2GB SD
Device: HTC Desire , Android 2.2
______________________
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
bList v0.9 (beta) released Erel Official Updates 96 08-12-2011 02:24 PM
blist without blist Filippo Questions (Windows Mobile) 5 06-15-2010 04:01 AM
Speicher-Problem mit blist-Library Filippo German Forum 9 05-17-2010 06:58 PM
bList J12345T Questions (Windows Mobile) 4 01-03-2010 04:34 AM
bList v0.9 (beta) released Erel Announcements 0 09-20-2009 05:26 PM


All times are GMT. The time now is 10:47 PM.


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