1. GRIN-Global Mobile App
October 11, 2017 – GRIN-Global & Genesys Workshop
C I M M Y T - S T A T E O F M E X I C O , T E X C O C O M E X I C O
Edwin Rojas (CIP) & Carlos Velasquez (CIP)
GG Developers
2. Agenda
• Overview
• CIP Genebank Needs in GRIN-Global
• CIP Hardware Platform – Barcode KIT
• Microsoft Technology for Mobile Apps
• CIP Mobile Inventory Wizard
• Android version - Screenshots
• UWP version : TabletPC o Laptop Windows 10 - Screenshots
• Hello World App in Xamarin Forms
• Xamarin Installation
• Simple exercise to practice
• Screenshot
3. CIP Genebank Needs in GRIN-Global
• At CIP we have world’s largest in vitro genebank and in addition Seed and Cryo
conservation. More big more work that's why we use mobile computers and barcode
labels to increase productivity
• 95% of CIP Genebanks operations are using barcode KIT and must continue with GG
• USDA-ARS and CIP Genebank use the same technology provided by Microsoft. Facilitate
share experience and tools over GG
• CIP has been building native apps for 15 years and now jumping to cross-platform apps
because increasing popularity of other operate systems like Android, UWP and iOS
• Different computer sizes for different purpose, CIP genebank operations use
PocketPC/Handheld devices, TabletPCs or Laptops and must share the same app
• GG not support mobile solutions
4. CIP Hardware Platform – Barcode KIT
CIP Genebank Hardware Platform
30 PocketPC + 5 TabletPC
12 Desktop Barcode Printers
7 Mobile Barcode Printers
7 Handheld Scanners
1 Million Labels per year
5. Microsoft Technology for Mobile Apps
Xamarin is the technology to develop cross-platform apps and is coming free in
Visual Studio 2015 and 2017 community version.
Facilitate jumping from developing Native Apps to Cross-platform Apps using C#
language and accelerate the developing cycles because share code and forms
In VS2015 with Xamarin you share the source code and forms/controls to
generate outputs for different platforms
6. Microsoft Technology for Mobile Apps
UWP
Universal Windows Platform (UWP) is the app platform for Windows 10 for Mobile, Tablet,
Laptop, Desktop, Xbox, Hololens, IoT
Xamarin Architecture
Visual Studio 2015/2017 Community Edition
7. Mobile Inventory Wizard
Overview
Manage germplasm inventory for seeds, DNA and herbarium
• Validate user
• Select workgroup and chamber where we will work
• Register new inventories
• Search inventories by filters
• Update inventories properties like location and quantity
• Scan barcodes
• Print labels with a specific design
16. Hello World App in Xamarin Forms
Simple exercise to practice
This project contains a Xamarin Page with Label, EntryText, Button and one
event click.
Visual Studio 2015 Community
Xamarin Forms
1. Open Visual Studio
2. Clone solution from https://gitlab.com/CIP-Development-Pub/XamTest01.git
3. Open the solution XamTest01.sln
18. Mobile Inventory Wizard
Source Code
Visual Studio Community
Xamarin Forms
.NET 4.5
To review the source code :
1. Open Visual Studio
2. Clone solution from https://gitlab.com/CIP-
Development/MobileInventoryWizard-UI.git
3. Open the solution XamTest01.sln
19. The International Potato Center (known by its Spanish acronym CIP) is
a research-for-development organization with a focus on potato, sweetpotato,
and Andean roots and tubers. CIP is dedicated to delivering sustainable
science-based solutions to the pressing world issues of hunger, poverty,
gender equity, climate change and the preservation of our Earth’s fragile
biodiversity and natural resources.
www.cipotato.org
CIP is a member of CGIAR
CGIAR is a global agriculture research partnership for a food secure future. Its
science is carried out by the 15 research centers who are members of the
CGIAR Consortium in collaboration with hundreds of partner organizations.
www.cgiar.org