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 [email protected].​

Kind regards,
Tomas
 
Last edited:
Top