Coder Social home page Coder Social logo

15011090_-sample-android-app's Introduction

Sample Android App ( AndroidManifest.xml, Activity, Intent, RecyclerView )

This project is a university project for learning basis of android development.

Important

Username: admin

Password: password

Features

  • Set screenOrientation
  • Custom Widget Design
  • Starting New Activities
  • Passing Data To Other Activity Using Intent
  • Selecting Pictures From The Gallery
  • Calling With Intents
  • Sending Email With Intents
  • Custom RecyclerView and Custom ViewHolder
  • ViewHolder Click Event
  • Starting New Activities From Custom Class

Important Codes

Set screenOriantation

//At AndroidManifest.xml
<activity android:name=".coursedetail_activity" android:screenOrientation="portrait"></activity>

Passing Data To Other Activity Using Intent

  Contact a = new Contact(...); // a serializable class
  //new Intent(this.class.object, another.class)
  Intent intent = new Intent(newcontact_activity.this, showcontact_activity.class);
  intent.putExtra("contact", a); // put serializable object
  startActivity(intent);

Starting New Activities From Custom Class

	//set this.context from activity (anotherobject.context = getApplicationContext();)
  Intent intent  = new Intent(this.context, coursedetail_activity.class);
  intent.putExtra("course", course);
  intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); //important
  context.startActivity(intent);

Gifs

Select Image

selectimage

Call And Send Mail

callandmail

Some Screenshots

Login Screen

loginscreen

Show Contact Info

showscreen

Course List (ReCyclerView)

courselist

Course Detail

coursedetail

15011090_-sample-android-app's People

Contributors

ozerelkerem avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.