Table of Contents

Mobile Examples (C#)

Overview

The examples in this section show how to use FlexCel on mobile platforms. They cover topics such as working within platform-specific file sandboxes, handling fonts, generating reports, and exporting to HTML and PDF.

Available Platforms

Platform Description
Android-Native Native Android apps using .NET for Android (formerly Xamarin.Android)
iOS-Native Native iOS apps using .NET for iOS (formerly Xamarin.iOS)
Maui Cross-platform apps using .NET MAUI targeting Android, iOS, macOS Catalyst, and Windows

Demo Applications

Demo Description Platforms
FlexCalc An interactive calculator powered by FlexCel's formula engine. Each text field maps to an Excel cell and formulas are recalculated in real time. Android, iOS, MAUI
LangWars Fetches programming language popularity data from the Stack Overflow API, generates a report with charts using FlexCel's template engine, and exports the result to HTML for display in a WebView. Android, iOS, MAUI
FlexView Opens Excel files shared from other apps (e.g. mail, Dropbox), converts them to PDF using FlexCel, and displays them with zoom/pan support. Also allows sharing the generated PDF. iOS only

Key FlexCel APIs Demonstrated

  • XlsFile - Creating, opening, and saving Excel files programmatically
  • TFormula - Parsing and evaluating Excel formulas in real time
  • FlexCelReport - Template-based report generation with data binding
  • FlexCelHtmlExport - Converting Excel workbooks to HTML with embedded SVG charts
  • FlexCelPdfExport - Converting Excel workbooks to PDF for viewing and printing

In this section