Toolkit-mobile-templates  2.0.0
This repository contains the template applications of the toolkit.
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.buildmlearn.learnspellings.activities.MainActivity Class Reference

Activity for the users to test their spelling skills. spelling template's app. More...

Inheritance diagram for org.buildmlearn.learnspellings.activities.MainActivity:
Inheritance graph
[legend]
Collaboration diagram for org.buildmlearn.learnspellings.activities.MainActivity:
Collaboration graph
[legend]

Public Member Functions

void onBackPressed ()
 
void onDestroy ()
 
boolean onCreateOptionsMenu (Menu menu)
 
boolean onOptionsItemSelected (MenuItem menuItem)
 
boolean onNavigationItemSelected (MenuItem item)
 
void onPause ()
 
void onResume ()
 

Protected Member Functions

void onCreate (Bundle savedInstanceState)
 

Private Member Functions

void setListeners (final String spellId, final String word, final String meaning, final String answered)
 
void submit (String spell)
 
float getProgressValue (int percent)
 

Private Attributes

android.app.AlertDialog mAlert
 
Context mContext
 
Button mBtn_Spell
 
EditText mEt_Spelling
 
SeekBar mSb_SpeechRate
 
SpellDb db
 
TextToSpeech tts
 
ProgressDialog progress
 

Static Private Attributes

static final float MIN_SPEECH_RATE = 0.01f
 

Detailed Description

Activity for the users to test their spelling skills. spelling template's app.

Created by Anupam (opticod) on 31/5/16.

Member Function Documentation

float org.buildmlearn.learnspellings.activities.MainActivity.getProgressValue ( int  percent)
private
void org.buildmlearn.learnspellings.activities.MainActivity.onBackPressed ( )
void org.buildmlearn.learnspellings.activities.MainActivity.onCreate ( Bundle  savedInstanceState)
protected
boolean org.buildmlearn.learnspellings.activities.MainActivity.onCreateOptionsMenu ( Menu  menu)
void org.buildmlearn.learnspellings.activities.MainActivity.onDestroy ( )
boolean org.buildmlearn.learnspellings.activities.MainActivity.onNavigationItemSelected ( MenuItem  item)
boolean org.buildmlearn.learnspellings.activities.MainActivity.onOptionsItemSelected ( MenuItem  menuItem)
void org.buildmlearn.learnspellings.activities.MainActivity.onPause ( )
void org.buildmlearn.learnspellings.activities.MainActivity.onResume ( )
void org.buildmlearn.learnspellings.activities.MainActivity.setListeners ( final String  spellId,
final String  word,
final String  meaning,
final String  answered 
)
private
void org.buildmlearn.learnspellings.activities.MainActivity.submit ( String  spell)
private

Member Data Documentation

SpellDb org.buildmlearn.learnspellings.activities.MainActivity.db
private
android.app.AlertDialog org.buildmlearn.learnspellings.activities.MainActivity.mAlert
private
Button org.buildmlearn.learnspellings.activities.MainActivity.mBtn_Spell
private
Context org.buildmlearn.learnspellings.activities.MainActivity.mContext
private
EditText org.buildmlearn.learnspellings.activities.MainActivity.mEt_Spelling
private
final float org.buildmlearn.learnspellings.activities.MainActivity.MIN_SPEECH_RATE = 0.01f
staticprivate
SeekBar org.buildmlearn.learnspellings.activities.MainActivity.mSb_SpeechRate
private
ProgressDialog org.buildmlearn.learnspellings.activities.MainActivity.progress
private
TextToSpeech org.buildmlearn.learnspellings.activities.MainActivity.tts
private

The documentation for this class was generated from the following file: