FillTheForm


Source link: https://github.com/Hotel-Reservation-Service/FillTheForm

FillTheForm

FillTheForm is an Android app that that helps you to develop and test your apps faster.

Now you can fill out every EditText with just a long press!

FillTheForm Speed Test

Requirements

  • Android 4.4+
  • FillTheFormSample app or your Android app with EditText elements that have id-s

Usage

  • Import this project to Android Studio
  • Install FillTheFormSample app
  • Install FillTheForm app
  • Open FillTheForm app. Enable all required permissions and then press 'Load configuration'
  • Press the button 'com.hrs.filltheformsample'
  • Long press one of the EditText fields in the FillTheFormSample app

Create configuration file for your Android app

Single item in the configuration file should have the following format:

<edit_text_id>value</edit_text_id>

Items can be grouped in profiles:

<profile name="Profile name">
  ...
  <edit_text_id>value</edit_text_id>
  <other_edit_text_id>other_value</other_edit_text_id>
  ... </profile>

This is the configuration file for the FillTheFormSample app:

<fillTheFormConfig>
  <packages>

<package>com.hrs.filltheformsample</package>

<package>com.hrs.filltheformsampletwo</package>
  </packages>
  <profiles>

<profile name="John Doe Profile">

 <first_name>John</first_name>

 <last_name>Doe</last_name>

 <email>[email protected]</email>

 <email>[email protected]</email>

 <city label="The City by the Bay">San Francisco</city>

 <state>California</state>

 <country>United States of America</country>

 <country>USA</country>

 <phone>(415) 321-654</phone>

 <zip_code>CA 94129</zip_code>

 <comment>Welcome to San Francisco!</comment>

 <device_model>I am using &device_model; from &device_manufacturer;</device_model>

 <android_version>My phone has API Level &device_android_version;</android_version>

 <device_ip_address>IP address of my phone is &device_ip_address;</device_ip_address>

</profile>

<profile name="Max Mustermann Profile">

 <first_name>Max</first_name>

 <last_name>Mustermann</last_name>

 <email>[email protected]</email>

 <city>Köln</city>

 <city>Düsseldorf</city>

 <state>NRW</state>

 <country>Germany</country>

 <country>Deutschland</country>

 <phone>+491234879625</phone>

 <zip_code>50667</zip_code>

 <comment>Viele Grüße aus NRW!</comment>

 <device_model>Ich benutze ein &device_model; von &device_manufacturer;</device_model>

 <android_version>&device_model; API ist &device_android_version;</android_version>

 <device_ip_address>&device_model; IP Adresse ist &device_ip_address;</device_ip_address>

</profile>

<profile name="Random Test Profile">

 <first_name>random_first_name</first_name>

 <first_name>My first name name is &random_first_name;</first_name>

 <last_name>random_last_name</last_name>

 <last_name>My last name name is &random_last_name;</last_name>

 <email>random_email</email>

 <email>&random_email_local_part;@xyz.com</email>

 <city label="Just random city">random_city</city>

 <state>random_state</state>

 <country>random_country</country>

 <phone>random_phone</phone>

 <zip_code>random_zip_code</zip_code>

 <comment>random_text</comment>

 <comment>random_paragraph</comment>

 <device_model>&random_first_name; has &device_model; from &device_manufacturer;</device_model>

 <android_version>&device_model; API is &device_android_version;</android_version>

 <device_ip_address>&device_model; IP is &device_ip_address;</device_ip_address>

</profile>

<profile name="Random Test Profile 2">

 <first_name>

  <value>random_first_name</value>

  <remember_last_entry_for>

<id>email</id>

<id>state</id>

<id>phone</id>

<id>device_model</id>

<id>device_ip_address</id>

<id>comment</id>

  </remember_last_entry_for>

 </first_name>

 <last_name>

  <value>random_last_name</value>

  <remember_last_entry_for>

<id>city</id>

<id>country</id>

<id>zip_code</id>

<id>android_version</id>

<id>comment</id>

  </remember_last_entry_for>

 </last_name>

</profile>
  </profiles>
  <!-- No profile -->
  <first_name>Ivan</first_name>
  <last_name>Jukic</last_name>
  <country>Croatia</country>
  <city label="I bet you have never been there">Imotski</city>
  <city label="?? (Beijing)">??</city>
  <device_model>&device_manufacturer; &device_model;</device_model>
  <android_version>API Level &device_android_version;</android_version>
  <device_ip_address>Device IP is &device_ip_address;</device_ip_address>
  <android_version>device_android_version</android_version>
  <device_ip_address>device_ip_address</device_ip_address> </fillTheFormConfig>

License

FillTheForm is available under the Apache 2 license. See the LICENSE file for more info.

Resources

As the name describes, this is an Android library that you can use to show new messages badge and new features badge. More importantly, it has a default shadow like FAB (Floating Action Button) and more simple to use just like ordinary TextView.

SRML: "String Resource Markup Language"

Mark up your Android string resources with an impressive suite of formatting tags.

VectorSupportView is a library to support vector assets in compound drawables.

Clickable @mentions, #hashtags and links.

An android wrapper library for popular mathjs (mathjs.org) javascript library for evaluate expressions.

Common scopes, qualifiers, modules and few utilities for Dagger 2.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes