B4A Library [Chargeable] ViewPack I. A collection of new views!

[Paid Lib] ViewPack I. A collection of new views!

ViewPack I - A collection of new views!

ViewPack I gives 11 new views to the Basic4Android Integrated Development Environment (not the designer)!

1. LineGraphView & 2. BarGraphView

abi0R.png

http://i.imgur.com/abi0R.png

GraphView consists of 2 view: - BarGraphView and LineGraphView.
With this view, you can make nice looking graphs in your application.
Add legends, scrollable, zooming, etc are all integrated in the views!
AND EXTREMELY EASY TO USE:

B4X:
' ----- GraphView -----'
Sub mnuGraphView_Click
   ClearActivity
   
   Dim ll(2) As LinearLayout
   ll(0).Initialize("LinearLayout")
   ll(1).Initialize("LinearLayout")
   Activity.AddView(ll(0), 0dip, 0dip, 320dip, 240dip)
   Activity.AddView(ll(1), 0dip, 240dip, 320dip, 240dip)
   
   Dim data(4) As GraphData
   data(0).Initialize(1,2)
   data(1).Initialize(2,1.5)
   data(2).Initialize(3,2.5)
   data(3).Initialize(4,1.0)
   
   Dim l As List
   l.Initialize
   l.Add(data(0).data)
   l.Add(data(1).data)
   l.Add(data(2).data)
   l.Add(data(3).data)
   
   Dim series As GraphSeries
   series.Initialize(l)
   
   'A linegraphview
   Dim gv As LineGraphView
   gv.Initialize("LineGraph", "LineGraph")
   gv.AddSeries(series.series)
   
   'A bar graph view
   Dim bv As BarGraphView
   bv.Initialize("BarGraph", "BarGraph")
   bv.AddSeries(series.series)
   
   ll(0).AddView(gv)
   ll(1).AddView(bv)
   
End Sub

3. Range Seekbar

Uq0TQ.png

http://i.imgur.com/Uq0TQ.png

The Android widget class library contains only one "slider" like widget: the SeekBar.
SeekBar only supports one thumb control and thus handles only one selectable value.
If you need a widget allowing to handle two values (like a minimum and maximum value or a range),
this RangeSeekBar widget might suit your needs. It supports controlling minimum and maximum values on a numerical range


4. SmartImageView

yrdbA.png

http://i.imgur.com/yrdbA.png

SmartImageView is a drop-in replacement for Android’s standard ImageView
which additionally allows images to be loaded from URLs or the user’s contact address book.
Images are cached to memory and to disk for super fast loading.

Features

* Drop-in replacement for ImageView
* Load images from a URL
* Load images from the phone’s contact address book
* Asynchronous loading of images, loading happens outside the UI thread
* Images are cached to memory and to disk for super fast loading

5. BadgeView

AyKqU.png

http://i.imgur.com/AyKqU.png

A simple way to "badge" any given Android view at runtime
without having to cater for it in layout. You can give any view a badge at any position.

6. DialView & 7. RotaryKnobView

BylJA.png

http://i.imgur.com/BylJA.png

These views lets you create your own rotary Knob View.
Events are raised to get different information about the rotation and more.
Both are a bit different. The DialView works more like a real old phone or stereo with a fixed rotation while the RotaryKnobView will let you rotate continuosly. (The picture is a DialView.)

8. JoystickView

JoystickView lets you create your own joystick with a canvas!
Using the JoyStickEvent_ValueChanged event, you'll be able to grab the angle, power and direction of the joystick without writing it yourself!

9. RatingBar

The RatingBar is a pure port from the Android Developers forum.
You can use it to rate a product, your app, or anything else.
It's the default start mechanism.

10. DockableView

The DockableView is a really small view.
This view can be expanded/collapsed with a move gesture.
It is like the notification view of the Facebook or Google+ App.

11. SwipeView

This is another cool view that lets you easily swipe through any views.
It's a view component that you can add to your project that behaves
(almost) exactly like any other Android view
component such as ScrollView or RelativeLayout etc.
Included is a nice PageControl object to add circle to the SwipeView


Requirements:
- Basic4Android
- Android 1.6+ (it might differ on the views you use. Generally it's 2.1+)
- ViewPack library


What will you get from me:
- The library files
- A sample project
- A readme file. (Disclaimer.)
- Lifetime library support
- Free access to 1 more future View Pack.


Payment
The price of the library is 13 USD/ 10 Euros. (<1 EUR / View! :eek:)
Payment is done through PayPal.
If you are interested in the library, you can send me a private message here on the forums or send me an email to xtremelyvirtualstudio@gmail.com.​

Kind regards,
Tomas
 
Last edited:

qsrtech

Active Member
Licensed User
Longtime User
Hi Sorry, when you say "add to the IDE", do you mean these will be available in the designer?
 

susu

Well-Known Member
Licensed User
Longtime User
Tomas, I can't see any images. Could you please edit them?
I want a "auto-generate" list view, for example: It loads 10 items first, when user scroll to bottom it loads 10 more items. Is it available in your view pack?
 

COBRASoft

Active Member
Licensed User
Longtime User
Nice addition! I guess we'll need more of these views/charts.

A grid comes to mind... :D
 

XverhelstX

Well-Known Member
Licensed User
Longtime User
Tomas, I can't see any images. Could you please edit them?
I want a "auto-generate" list view, for example: It loads 10 items first, when user scroll to bottom it loads 10 more items. Is it available in your view pack?


I'll add that in the next ViewPack:
These will include:
- Pull-to-refresh
- AutoGenerate ListView


Nice addition! I guess we'll need more of these views/charts.

A grid comes to mind...

- a GridView
- a piechart?

I added the links under it for the images.
Anyone else needs specific views?

Tomas
 
Last edited:

Informatix

Expert
Licensed User
Longtime User
I'll add that in the next ViewPack:
These will include:
- Pull-to-refresh
- AutoGenerate ListView


- a GridView
- a piechart?

Anyone else needs specific views?

Tomas

I'm going to buy your library but it's a bit strange to see here a rotary knob. I provided this for free, with two variants, a few weeks ago. What's the difference? EDIT: It is not a question full of innuendo. I just want to know if there's an advantage to use your button.

About the new views:
A pull-to-refresh is very easy to do and will be explained in my next "How do they..." tutorial.
For the GridView, there's already a library (ICOSGridView v1.2).
 
Last edited:

barx

Well-Known Member
Licensed User
Longtime User
I'm going to buy your library but it's a bit strange to see here a rotary knob. I provided this for free, with two variants, a few weeks ago. What's the difference? EDIT: It is not a question full of innuendo. I just want to know if there's an advantage to use your button.

About the new views:
A pull-to-refresh is very easy to do and will be explained in my next "How do they..." tutorial.
For the GridView, there's always a library (ICOSGridView v1.2).

I could do with a knob, where is your knob Informatix. You have a link. I search for 'knob', but only found this knob. thx
 

thedesolatesoul

Expert
Licensed User
Longtime User
I think major contributers like Informatix and XverhelstX should make their own pages on the wiki. I know we have the additional libs page, but Informatix has some other incredibly useful tutorials and code that is hard to search now that the forum is becoming diluted. Also, XverhelstX needs more visibility for his paid/free libs so he should make a page too also with documentations.
I tried: User:Thedesolatesoul - Basic4android Wiki

By the way, good work XverhelstX.
 

Informatix

Expert
Licensed User
Longtime User

airblaster

Active Member
Licensed User
Longtime User
Is it possible that RangeSeekbar is incompatible with certain other libraries?
I'm using the exact same code as in the official examples in my project, but I get a NullPointerException when Initializing the RSB.
 

imbault

Well-Known Member
Licensed User
Longtime User
planning view

I'll add that in the next ViewPack:
These will include:
- Pull-to-refresh
- AutoGenerate ListView




- a GridView
- a piechart?

I added the links under it for the images.
Anyone else needs specific views?

Tomas

Hi Thomas, I found that thread, I would be interested by your class with a planning view (calendar view) : week view and a day view

like the screen shots of this app :
https://play.google.com/store/apps/...sMSwyLDEsImNvbS50aW1sZWcuZWdvVGltZXJMaWdodCJd

What do you think?

Patrick
 

wimpie3

Well-Known Member
Licensed User
Longtime User
I've tried to buy this pack, but it seems the author is not responding to his mail...
 

maleche

Member
Licensed User
Longtime User
Does the line graph have continuous scrolling i.e. right to left after 100 (or preset value) data points?
 

ttsolution

Member
Licensed User
Longtime User
Hi Infomatix,

I will be greate if SmartImageView have feature to zoom, pinch image by fingers

Joinh
 

ttsolution

Member
Licensed User
Longtime User
Your SmartImageView is very good now. It will be perfect if have pinch, zoom feature...then you can sale it with higher price indeed. I sugest this feature because me and many users looking for it, the free Lib is not good enough to use for business App.
 

Informatix

Expert
Licensed User
Longtime User
Your SmartImageView is very good now. It will be perfect if have pinch, zoom feature...then you can sale it with higher price indeed. I sugest this feature because me and many users looking for it, the free Lib is not good enough to use for business App.
I have nothing to do with this library. Look at his author.
And if you search in the forum, I'm sure you will find a library already doing what you need. TouchImageView or PinchZoomAndMove for example.
 
Top