Coder Social home page Coder Social logo

dheeraj22 / professor_dk Goto Github PK

View Code? Open in Web Editor NEW
97.0 97.0 494.0 518 KB

This repository contains useful code taught in the Official Professor DK Lecture Series in Youtube! Learn Everything the easy way!

Java 93.32% HTML 3.50% CSS 3.18%
android java-8

professor_dk's Introduction

About me

I'm Dheeraj and I have 5+ years of experience in Embedded Systems in various areas like ARM Architecture, Digital/Analog Peripherals, Memory Interfacing, Bootloaders, Communication Protocols (I2C, UART, SPI, QSPI), IPC, RTOS, Graphics, and Security (ARM TrustZone, Cryptography, PKI, Secure Boot).

In my GitHub page, you will find interesting projects in areas like Embedded Systems, IoT, and Android App Development.

Highlights


Twitter Instagram LinkedIn LinkedIn

professor_dk's People

Contributors

dheeraj22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

professor_dk's Issues

Application is not running

hi,

After make all code shared by you, when am trying to run application and its not get open.

Could you please clarify and it will be very useful to us.

information not upload

i make as i see in videos but when i make registration for new user the information for new user not upload in firebase database
please help me

App keep stopping

Whenever I hit the play button, the app keeps stopping. Even though all are compiled and just view wearing in the main Activity

error on second_activity.java

@OverRide
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.menu, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {

    switch(item.getItemId()){
        case R.id.logoutMenu:{
            Logout();
            break;
        }
        case R.id.profileMenu:
            startActivity(new Intent(SecondActivity.this, ProfileActivity.class));
            break;

    }
    return super.onOptionsItemSelected(item);
}

}

and in UpdateProfile
i am getting getUsername red sign
and
getting red sign on menu
logoutMenu:
profileMenu: are red also please see this

i can't show image in my storage and ImageView i write same code like you but its haven't work

Button b1 = (Button)findViewById(R.id.imagebtn1);
b1.setOnClickListener(new View.OnClickListener() {
@OverRide
public void onClick(View v) {
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent,"select image"),RESULT_LOAD_IMAGE);
}
});
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == RESULT_LOAD_IMAGE && requestCode== RESULT_OK && data.getData() !=null){
selectimage = data.getData();
try {
Bitmap bitmap = MediaStore.Images.Media.getBitmap(getContentResolver(),selectimage);
imageE.setImageBitmap(bitmap);
selectImage();
} catch (IOException e) {
e.printStackTrace();
}
}

    super.onActivityResult(requestCode, resultCode, data);
}

public void selectImage(){
StorageReference imageReference = storageReference.child(firebaseAuth.getUid()).child("Image").child("Selected Imaage");
UploadTask uploadTask = imageReference.putFile(selectimage);
uploadTask.addOnFailureListener(new OnFailureListener() {
@OverRide
public void onFailure(@nonnull Exception e) {
Toast.makeText(nav.this,"Image cant slecting",Toast.LENGTH_SHORT).show();
}
}).addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() {
@OverRide
public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {
Toast.makeText(nav.this,"Image Selected Sucessfuly",Toast.LENGTH_SHORT).show();
}
});
}

getting this Exception

I am getting this errors
java.lang.RuntimeException: Unable to start activity ComponentInfo{taskscheduler.com/taskscheduler.com.MainActivity}: java.lang.ClassCastException: android.support.v7.widget.Toolbar cannot be cast to android.widget.Toolbar
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2442)
at android.app.ActivityThread.access$800(ActivityThread.java:156)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1351)
Application terminated.

Email Verification not working

Your email verification does not work.Consider using AuthStateListener instead.

onCreate(...//
mAuthListener = new FirebaseAuth.AuthStateListener() {
before you verify email

R is in red in the entire code

At, the start I connected my app with firebase by adding codes in grandle and adding json file in projects-> app. Now, the problem is that whenever I make a new empty R goes on red before adding any activity everything is fone what is going wrong plz help. What i think is after attaching your app to firebase and adding json file and copying grandle codes we cannot add any new activity to do so u need to add all the activities before it am i right?

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.