Infragistics Android 16.1
There is always more room for sophisticated UI controls that are easy to understand and easy to integrate. You are sure to find something here that is already on your wish list.
Join the DZone community and get the full member experience.Join For Free
it’s no secret that mobile development is all the rage right now. every conference, user group, pod cast, blog post, and chats by the water cooler involve some form of mobile topics. in the beginning, html5 was the technology that got all the attention. it was often talked about as if it were the tech that ruled them all. while trying to target all device types with html5 sounded like an easy win, it has been proven that html5 is not the silver bullet everyone was hoping it would be. instead, native mobile development has been given an adrenalin boost as companies move away from their html5 mobile apps, and instead replace them with full blown native implementations to take full advantage of the device the apps are running on. while infragistics has always supported our web devs with our award winning web products, we recognize that html isn’t always the answer. this is why infragistics is committed to bringing you our industry leading ui controls from desktop and web, to native mobile for android and ios. now you can get the performance of the desktop and the reach of the web in the palm of your hands.
what exactly do you get with infragistics android 16.1? well, let’s take a look shall we…
first up, is our brand new android data grid written from the ground up to allow us to take advantage of everything that native mobile has to offer. even though this is a v1 release of our data grid, it has a ton of features that you can start taking advantage of right now. everything form the basics of column definitions, to sorting, filtering, responsiveness, and even async data loading. this data grid has some great features that will take your android apps to the next level.
every data grid has to have columns, and the infragistics android data grid is no different. create a grid with auto-generated columns or define the specific column types from our built-in columns: text, numeric, image, datetime, and template . all columns’ cells and headers can be configured by setting text properties like text color, font size, background color, alignment, and width just to name a few. of course, each column type has it’s own properties specific to its intended function, such as options for decimal places for the numeric column, date/time formats for the datetime column, and customizations for the template column and many more. i would like to mention that in this initial version of the data grid, all columns are read-only for now. editing is not supported just yet, but we’ll get it in there soon.
the next no brainer is sorting. you can’t have a grid and not have the ability to sort the data within that grid. the infragistics android grid provides a powerful sorting api to give you full control of all your sorting needs. you can provide single column sorts, or complex multi-column sorting. you can provide a ui for your end-users, or choose to hard-code your sort. you can choose a two-state sort or a three-state sort. the choice is yours, and we give you everything you need to support your sorting requirements. besides you standard sorting of local data, you know… your data stored in memory on the device. you can also sort data remotely on the server. that’s right! put your server to work, not your app. more on this later.
filtering is another one of those features that every grid just has to have. without filtering, a data grid is essentially use-less. you have to have the ability to find the data you care about. otherwise, you might as well be looking through notes you wrote down on a napkin at lunch. as with sorting, not only can you filter the data you have loaded in memory, but you can also filter your data on your server. that’s right! more work for the server to do, and less impact on your app performance and memory foot print. all good things when creating an app for a mobile device.
one of the most unique, and awesome features of the infragistics android data grid is it’s ability to respond to the size of the device. this is known in the web world as being “responsive”. responsive layouts allow you to react to scenarios in your application where horizontal screen real estate is significantly reduced, such as when a device is rotated from a horizontal to a vertical orientation. in such cases retaining all of the columns in a visible state may impair both readability of data as well as reduce the aesthetics of your application (that means make it look like crap). therefore, columns which display less critical information may be removed from view, while still displaying columns which contain the most relevant data. this concept is popular among web developers and is their primary tool used for getting their html sites to play nice with mobile devices.
there are two general scenarios that the responsive grid layout is intended to be implemented with:
purposely reducing the width of the current layout that contains the data grid control
- reduction of the width of the layout due to changes in orientation of the device as the result of its rotation, for example by rotating from a horizontal to a vertical position
the best part is, you have complete control of what columns show and when. you can even combine this with the awesome built-in animation framework to create some really great and eye-catching visual experiences for your end-users. your imagination really is the limit to what you can do.
virtual data source
i am personally really excited about this particular feature. in infragistics android 16.1, we are shipping a brand new data source that will give the android data grid the ability to asynchronously load data from an odata service. this means that data can now be loaded, sorted, and filtered on the server, and then loaded on a separate thread in your app to keep the ui responsive, without you having to do anything. the data will appear in the grid as soon as it has been fully loaded regardless of scroll position. the best part, is all you have to do is point it at an odata feed. that’s it. you’re done! now, for the initial release, we will only be shipping support for odata services. simply point the data source to an odata service uri, set the entity set, request your fields, set your page size, and you’re off to the races. the virtual data source and android data grid will do the rest. i know you want more types of data sources, but we just didn’t have time.
but wait…. there’s more!
the best part about this new virtual data source is that it is completely open source and available for download on github.
not only is the source code for the odata virtual data source available for download, but we also provide sample applications demonstrating how to use them in your applications. you can use this oss project to submit improvements, and add support for other data sources and clients that you need, but we don’t currently support. heck, feel free to submit your pr so everyone can benefit from your newly created data source.
next up is our android data chart. this control has been the power house of infragistics for many years on other platforms. now, you can take advantage of the power and massive feature set provided by the android data chart. there are literally too many features to even fathom talking about all of them in this post. so i will simply sum them up and you can go play with the data chart yourself. make sure you set aside a year or so to really dive in. that’s just how many features we pack into this native mobile data chart. the android data chart comes with over 50 chart types including bar, column, line, area, spline, waterfall, point, ohlc, polar, radial, and many many more. besides a crazy number of supported chart types, there are an even larger number of features with each chart. crosshairs, legends, markers, panning, zooming, and much more. basically, the infragistics android data chart is the chuck norris of charts. nothing else needs to be said.
who doesn’t like pie? the main features of the pie chart include label configurations, like position and extent, label font properties, controlling pie radius, start angle, sweep direction, exploded slices and distance from center for exploded slices, selected slices, and legend. the ability to prevent the labels from colliding with each other or the slices.
a single series chart that displays data in a funnel shape with a variable number of sections each representing the data as different portions of 100% or to weight the height of the slices based on value. the funnel chart can be configured to be inverted, to use bezier curve for its shape or weighted slices.
the radial gauge contains a number of visual elements, such as a scale with tick marks and labels, a needle, and a number of ranges. the radial gauge has different label configurations, like color, extent, and interval. radial gauge has different range properties, like color, start and end value. the needle of the radial gauge can be configured by setting its color, needle and pivot shapes and outlines. the transitions between different sets of settings can be animated.
the linear gauge is useful for showing a single measure on a linear range. it has different label configurations, like color, extent, interval, and position of the first and last labels. the needle of the linear gauge can be configured by setting its color, outline, shape, size. the transitions between different sets of settings can be animated.
the bullet graph displays a single primary measure and compares it to one or more other measures to create a concise data visualization. it supports a variety of configurations, e.g. orientation, scale, tick marks, ranges and colors along with animated transitions between different sets of settings.
if your app needs a barcode, well look no further. code 128 and qr codes are the most common barcodes for mobile apps. so we figured these would be the first set of barcodes we deliver. don’t worry, we’ll have more in a future release, but these should get you going.
code 128 barcode
code 128 barcode can be used in inventory, shipping and distribution applications. the code 128 barcode has different configurations, like label’s color and font, background color, and stretch.
qr (quick response) code barcode can be used in commercial tracking, entertainment and transport ticketing, product marketing applications.
what about ios?
right about now you are probably saying to yourself, “wow brian, your android product melted my face off with awesomeness, but what about ios? i want to bring my android app to ios, but i need the exact same controls and features. do you ship the same controls on ios?” well, i’m glad you asked! one of our main goals in delivering high performing, feature rich, and drop-dead gorgeous native mobile controls to you is consistency . consistency in available controls. consistency in api’s. consistency in features. consistency in end-user experience. consistency in your satisfaction no matter what platform you are developing for. we want to make sure that if you are using infragistics android, and then want to bring your app to ios, you will have the exact same controls, features, and development experience across both platforms. when we write a control for android, we make sure to bring that control to ios. this is core to our mobile strategy. we want to make sure that you are never limited when bringing your native mobile apps to all available platforms. we even provide xamarin bindings for all of our native android and ios controls so that you can write cross platform native mobile apps using c# and xamarin. you really have no excuse not to write awesome cross platform native mobile apps with infragistics android and ios controls.
let’s wrap this baby up!
i hope you are as excited as i am about the infragistics android 16.1 release. i know there is a lot in this post, and thanks for hanging in there with me.
if you have ideas about new features we should bring to our controls, important issues we need to fix, or even brand new controls you’d like us to introduce, please let us know by posting them on our product ideas website. follow and engage with us on twitter via @infragistics . you can also follow and contact me directly on twitter at @brianlagunas . also make sure to connect with our various teams via our community forums where you can interact with infragistics engineers and other customers.
if you are not using our android controls yet, remember that a free evaluation download is only a click away .
lastly, when you do build something cool with our controls, please make sure to let us know.
Published at DZone with permission of Brian Lagunas, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.