Shared info of IoT & Cloud, Banking, Angular Wicket, Spring Microservices, BigData, flutter, E-comm, Java Telecomm and More

Showing posts with label FE-Android Java. Show all posts
Showing posts with label FE-Android Java. Show all posts

Wednesday, February 22, 2017

Tuesday, February 21, 2017

Consuming a RESTful Web Service with Spring for Android

This Getting Started guide walks you through the process of building an application that uses Spring for Android's RestTemplate to consume a Spring MVC-based RESTful web service. Compile và chạy ứng dụng rest server You will build an Android client that consumes a Spring-based RESTful web service. Specifically, the client will consume the service created in Building...

Monday, February 20, 2017

Spring for Android Showcase

Introduction This showcase includes an Android client and a Spring MVC server. Together these illustrate the interaction of the client and server when using Spring for Android. This Android project requires set up of the Android SDK. See the main README at the root of this repository...

Saturday, April 16, 2016

Install Android Studio & Java8

Install Java JDK 1.8 Download jdk-8uversion-linux-x64.tar.gz file from http://www.oracle.com/technetwork/java/javase/downloads/index.html Unpack the tarball and install the JDK.% tar zxvf jdk-8uversion-linux-x64.tar.gz Set up the JAVA_HOME and ANDROID_HOMEFor example, ANDROID_HOME=/home/demo/java/exo-dependencies/Android/AndroidStudio_Latest/SDKJAVA_HOME=/home/demo/java/jdk1.8.0_77PATH=/usr/local/bin:$PATH:$JAVA_HOME/bin:$M2_HOME/bin:$GRADLE_HOME/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools Install...

Thursday, April 14, 2016

Selendroid's Architecture

Overview about the selendroid Selendroid is based on the Android instrumentation framework, and therefore only testing one app is supported. Selendroid contains four major components: Selendroid-Client - the java client library (based on the selenium java client). Selendroid-Server - that is running beside your app on the Android device. AndroidDriver-App - a built in Android driver...

Sunday, April 3, 2016

Unit and UI Testing in Android Studio

1. Overview In this codelab, you'll learn how to set up your project in Android Studio for testing, write a Unit Test and run it locally on your development machine and also how to do functional UI testing on the device. What you’ll learn Updating the Gradle build files to include JUnit and the Android Testing Support Library Writing Unit Tests which run on the Java VM on your local machine Writing...

Saturday, April 2, 2016

Unit tests with Mockito - Starter

1. Unit Testing & test doubles 1.1. Target & challenge of unit testing A unit test is a test related to a single responsibility of a single class, often referred to as the System Under Test (SUT). A unit test should test a class in isolation. Side effects from other classes or the system should be eliminated if possible. The achievement of this desired goal is typical complicated...

Thursday, March 24, 2016

Android Testing Concepts and Types

Test Structure Android testing is based on JUnit. In general, a JUnit test is a method whose statements test a part of the application. You organize test methods into classes called test cases. You can further organize these classes into test suites. In JUnit, you build one or more test classes and use a test runner to execute them. In Android, you use Android Studio (or...

Wednesday, March 23, 2016

Android Testing Framework

Overview Google provides an Android Testing framework that is part of the Android SDK and is built on top of standard JUnit testing extended with a instrumentation framework and Android-specific testing classes. Note: You must be running at least version 1.1.0 of the Android plug-in for Gradle, since unit testing with Android Studio was only recently supported. More information...

Popular Posts

Blog Archive