Home / Videos / Tutorial zur Android-Entwicklung – Drink Shop App Teil 13 Avatar hochladen

Tutorial zur Android-Entwicklung – Drink Shop App Teil 13 Avatar hochladen



Link spenden:
Facebook :
Assets verknüpfen:
#DrinkShopAndroidEDMTDev #AndroidEDMTDev #EDMTDev
In diesem Video werden wir versuchen, unser PHP-Backend zum Hochladen und Speichern unseres Avatars zu verwenden

Wir werden versuchen, einen Drink Shop-Auftrag mit PHP-Backend zu erstellen

Android-Entwicklungs-Tutorial, Android-Programmier-Tutorial, Android-App-Entwicklungs-Tutorial, Android-Tutorial für Anfänger, Android-App-Tutorial, Android-Studio-Tutorial, Android-Programmierung lernen, Android-Entwicklung, Android-Studio-Tutorial für Anfänger, Android-Kurs, Android training, android development course, android app development course

About AndroidWeltEditor

Check Also

Coole Telefonkonzepte, die fehlgeschlagen sind

In diesem Artikel werden wir uns mit einigen coolen Konzepten befassen, die mit unseren Mobilgeräten …

22 comments

  1. Hello sir i has a problem….when the internet connection is closed, the application is not responding. And the application stopped working …. would like it to get an error message, please advise me please Problem message

    Error:
    io.reactivex.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | javax.net.ssl.SSLHandshakeException: Connection closed by peer

    Help me please~~

  2. The following errors appeared in some files, including the file (FileChooserActivity.java:28)

    error: cannot find symbol class FragmentActivity
    error: cannot find symbol class FragmentActivity

    error: cannot find symbol class FragmentManager

    error: package android.support.v4.app.FragmentManager does not exist

    error: package android.support.v4.app.FragmentManager does not exist

    error: cannot find symbol class FragmentTransaction

    error: cannot find symbol class FragmentActivity

    error: cannot find symbol class OnBackStackChangedListener

    error: cannot find symbol class FragmentManager

    error: method does not override or implement a method from a supertype

    error: cannot find symbol variable super

    error: cannot find symbol method getSupportFragmentManager()

    error: cannot find symbol method setTitle(String)

    error: method does not override or implement a method from a supertype

    error: cannot find symbol variable super

    error: method does not override or implement a method from a supertype

    error: cannot find symbol variable super

    error: method does not override or implement a method from a supertype

    error: cannot find symbol variable super

    error: method does not override or implement a method from a supertype

    error: cannot find symbol class BackStackEntry

    error: cannot find symbol method setTitle(String)

    error: cannot find symbol method invalidateOptionsMenu()

    error: method does not override or implement a method from a supertype

    error: cannot find symbol method getActionBar()

    error: method does not override or implement a method from a supertype

    error: cannot find symbol variable super

    error: cannot find symbol variable FragmentTransaction

    error: cannot find symbol variable RESULT_OK

    error: cannot find symbol method finish()

    error: cannot find symbol variable RESULT_CANCELED

    error: cannot find symbol method finish()

    error: no suitable method found for makeText(FileChooserActivity,int,int)

    method Toast.makeText(Context,CharSequence,int) is not applicable

    (argument mismatch; FileChooserActivity cannot be converted to Context)

    method Toast.makeText(Context,int,int) is not applicable

    (argument mismatch; FileChooserActivity cannot be converted to Context)

    error: cannot find symbol method registerReceiver(BroadcastReceiver,IntentFilter)

    error: cannot find symbol method unregisterReceiver(BroadcastReceiver)

    error: cannot find symbol class FragmentManager

    error: package android.support.v4.app.FragmentManager does not exist

    error: package android.support.v4.app.FragmentManager does not exist

    error: cannot find symbol class FragmentTransaction

    error: cannot find symbol class FragmentActivity

    error: cannot find symbol class OnBackStackChangedListener

    error: cannot find symbol class FragmentManager

    error: method does not override or implement a method from a supertype

    error: cannot find symbol variable super

    error: cannot find symbol method getSupportFragmentManager()

    error: cannot find symbol method setTitle(String)

    error: method does not override or implement a method from a supertype

    error: cannot find symbol variable super

    error: method does not override or implement a method from a supertype

    error: cannot find symbol variable super

    error: method does not override or implement a method from a supertype

    error: cannot find symbol variable super

    error: method does not override or implement a method from a supertype

    error: cannot find symbol class BackStackEntry

    error: cannot find symbol method setTitle(String)

    error: cannot find symbol method invalidateOptionsMenu()

    error: method does not override or implement a method from a supertype

    error: cannot find symbol method getActionBar()

    error: method does not override or implement a method from a supertype

    error: cannot find symbol variable super

    error: cannot find symbol variable FragmentTransaction

    error: cannot find symbol variable RESULT_OK

    error: cannot find symbol method finish()

    error: cannot find symbol variable RESULT_CANCELED

    error: cannot find symbol method finish()

    error: no suitable method found for makeText(FileChooserActivity,int,int)

    method Toast.makeText(Context,CharSequence,int) is not applicable

    (argument mismatch; FileChooserActivity cannot be converted to Context)

    method Toast.makeText(Context,int,int) is not applicable

    (argument mismatch; FileChooserActivity cannot be converted to Context)

    error: cannot find symbol method registerReceiver(BroadcastReceiver,IntentFilter)

    error: cannot find symbol method unregisterReceiver(BroadcastReceiver)

  3. i cant import module?
    Please help me

  4. File uploaded successfully but on retrieval I am not getting the image back. I am not getting any error too.

  5. got Toast Error -> end of input at line 1 column 1 path $

    Please Help me Sir

  6. Hi Sir i got problem
    ERROR: Manifest merger failed : uses-sdk:minSdkVersion 7 cannot be smaller than version 14 declared in library [com.android.support:support-v4:27.1.1] C:Userskumbu.gradlecachestransforms-2files-2.12dba358a72ad7857673182a7d56950c8AndroidManifest.xml as the library might be using APIs not available in 7

    Suggestion: use a compatible library with a minSdk of at most 7,

    or increase this project's minSdk version to at least 14,

    or use tools:overrideLibrary="android.support.v4" to force usage (may lead to runtime failures)

  7. Sir i have an error missing either @POST URL or Url parameter

  8. Em có câu hỏi anh ạ, em test api thì nó thành công và ghi vào user_avatar nhưng khi em dùng máy thật để test thì lúc em chọn avatar trong máy (đã xóa ảnh khi test api và trên database) thì không thấy ảnh xuất hiện trong thư mục user_avatar anh ạ, anh giải thích cho em với ạ.
    Hay là do anh test trên máy ảo thì nó mới vào thư mục đó, nếu là do vậy thì với test trên máy thật giải quyết thế nào a ạ?

  9. Hi bro upon following this code, I've encountered some error

    " Attempt to invoke virtual method 'java.lang.String java.io.File.toString()' on a null object reference"

    String fileName = new StringBuilder(Common.currentUser.getPhone())

    .append(FileUtils.getExtension(file.toString()))

    .toString();

    ProgressRequestBody requestFile = new ProgressRequestBody(file,this);

    thankyou for sharing your knowledge (y) I love your videos

  10. First I need to say thanks,I know you're doing the best,sharing your knowledge with us. But please.Really,really consider to record videos with your voice and put source code.
    Every error is pretty hard to find,mainly for beginners.
    Tutorial means teach,so try to think about my suggestion.
    Don't get me wrong,but it's hard to follow this videos without a headache at the end of the day.

    At this part my error is: The profile pic does not appear in device screen and db. My backend is ok and I tryed to debbug,but I do not found any error. Logcat does not show any error too.

    PS: I watched your tutorial 4 times. I really want to finish this app hahahaha Thanks again.
    If we dont find a way together I'll upload avatar with another way

  11. use jsonreader.setlenient(true) to accept malformed json at line 3 column 1 path $

  12. ":aFileChooser:extractDebugAnnotations" gradle build failed

  13. Erorr like java.lang.IllegalArgumentException: Unknown URI: content://downloads/public_downloads/16

    File file = FileUtils.getFile(this, selectedFileUri); This one causes the error. Do you know what the problem is?

    I watched the tutorial again and followed it step by step. Exact same code.

    https://github.com/iPaulPro/aFileChooser/issues/101

    I think it's the same problem with the link above, but I don't know how to solve it.

    Do you have another lecture for uploading a file from local to a remote server using a different library?

    I guess skipping this functionality is not a big deal for completing this clone tutorial.. right?

  14. Sir through arc my image is uploaded in database but but using android the image is not uploaded in database & no error is showing please tell me where is the problem

  15. hello sir, how to add afilechooser module in project….not showing the option after selecting choose module…pls advice thns

  16. Can you help me?
    FATAL EXCEPTION: OkHttp Dispatcher
    Process: com.example.franc.shopfashion, PID: 6715
    java.lang.ArrayIndexOutOfBoundsException: size=4096 offset=0 byteCount=-1

    at com.example.franc.shopfashion.Utils.ProgressRequestBody.writeTo(ProgressRequestBody.java:52)

  17. Hey edmt when uploading avatar how can we make it that we have option to use camera to take pictures

  18. EDMT Dev the afilechooser has deprecaded can you know the solutions? thank you

  19. Image is not appear in nav head and also its not uploading to server

  20. thanks for the video. I worked correctly the only thing I have is that the profile image does not come back to me when I close the application and open it again. Can you help me? Thank you

Leave a Reply

Your email address will not be published. Required fields are marked *