Chaquopy 9.1 Setup | Python With Android Studio | 2021

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • In this video I will show you how you can use python with android studio.
    By the end of this video you will understand how to integrate python in android studio using chaquopy 9.
    Chaquopy is python sdk for android studio.

Комментарии • 97

  • @rafaelczy
    @rafaelczy 3 года назад +10

    Direct to point, short to minuts, eficient to the core!!! man!!! Just saved my skin!!!! thank's a lot !

  • @magicworld6233
    @magicworld6233 Год назад +2

    Explanations is simple and straight forward. It helped me a lot.

  • @pythonshorts3920
    @pythonshorts3920 3 года назад +10

    thanks so helpful for me thanks a lot

  • @elias3584
    @elias3584 7 месяцев назад +2

    Amazing and great detailed tutorial! Thanks and wish you the best

  • @parthapaul1249
    @parthapaul1249 3 года назад +3

    Excellent...thank you so much

  • @tzvetomir6933
    @tzvetomir6933 2 года назад +2

    thank you dude
    this vid helps a lot.

  • @mrwaseemmalik5766
    @mrwaseemmalik5766 2 года назад

    Really you saved my time thanks

  • @3dgiftz
    @3dgiftz Год назад

    Thanks a lot. Its working

  • @mrkhan11100
    @mrkhan11100 2 года назад +1

    Thanks brother

  • @atharvaxxx
    @atharvaxxx Год назад

    Excellent, Thank you so much :)

  • @ゆうちゃん-j7j
    @ゆうちゃん-j7j 2 года назад +1

    thank you for kindly movie.
    if it's possible , I want you to question.
    if app run on android OS (without Windows or Mac) , what should I choose to python.exe's URL ?

  • @trendypic9164
    @trendypic9164 3 года назад +1

    Make as video of java projects more

  • @zSMOOTHz
    @zSMOOTHz 3 года назад +3

    i am doing an android studio app(face recognition app) , i coded everything in python, am using android studio just as a UI so how can i integrate my python script to a button in android studio ( when i press the button my script starts how??) please i would be so grateful if u helped me

    • @Bakhtiar.Khetran
      @Bakhtiar.Khetran 3 года назад +1

      did you learn to do so?? if yes kindly help me I also need the same thing...

    • @MrJatsho
      @MrJatsho 2 года назад

      Hi sir, did you get the solution for your question?

  • @jasirthachaparamban3359
    @jasirthachaparamban3359 3 года назад +2

    Very useful video. How can I get the source code ?

    • @ProgrammingFever
      @ProgrammingFever  3 года назад

      you can download language translator source code from programmingfever.in , language translator is the extension of this project source code...of if you find any problem related to this project then you can contact me on insta @__programmingfever__

  • @computerhacks3816
    @computerhacks3816 3 года назад +1

    ThanksAlot Dear

  • @vigneshvicky6720
    @vigneshvicky6720 2 года назад +1

    I used the same python version and all verfied but showing incompatable ....plz help me

    • @ProgrammingFever
      @ProgrammingFever  2 года назад +1

      3.9…check comparability page on chaquopy official website for more information

  • @ianpaulperez3701
    @ianpaulperez3701 Год назад +1

    i am a beginner ,its too complex for me.... i need more instructions

  • @jaym.8805
    @jaym.8805 3 года назад +2

    Hi, sorry for this question as I am only a beginner. If I download it as the above video, can I use python in other files or do I need to do this with each separate file? Again sorry for the silly question, just need clarification.

    • @ProgrammingFever
      @ProgrammingFever  3 года назад +2

      It's not a silly question dont worry...You can use this same file for all purpose...

    • @jaym.8805
      @jaym.8805 3 года назад

      @@ProgrammingFever thank you!!

    • @jaym.8805
      @jaym.8805 3 года назад

      I followed it step-by-step, but its not running on my emulator. I see the files are uploaded on my computer, but it keeps telling me that "Unforunately Chaquopy has stopped". Is there any other video you'd recommend me watching inorder to find out what the problem is or where I've gone wrong?

    • @ProgrammingFever
      @ProgrammingFever  3 года назад +1

      @@jaym.8805 watch previous video of python integration on my channel...

  • @deepuhoney8426
    @deepuhoney8426 3 года назад +1

    Bro how to get open source chaquopy licence
    Plze make a video on dis licences concept bro

  • @MustafaSahil
    @MustafaSahil 3 года назад +1

    i am developing application in java ,xml in android stdio .. can i use some Python Code for any functionality or module along with java & xml ?

    • @ProgrammingFever
      @ProgrammingFever  3 года назад +1

      Yes you can with the help of this chaquopy.

    • @MustafaSahil
      @MustafaSahil 3 года назад

      @@ProgrammingFever thanks ❤️

    • @MustafaSahil
      @MustafaSahil 3 года назад +1

      @@ProgrammingFever my Programs folder (C:\Users\hp\AppData\Local\Programs) is empty only have folder "Common" which is also empty... what should i do

    • @ProgrammingFever
      @ProgrammingFever  3 года назад

      @@MustafaSahil for me python path was this ... check your python path in your system and paste respectively.

    • @MustafaSahil
      @MustafaSahil 3 года назад

      @@ProgrammingFever thank yu sir my machine was not having Python installed so i installed it.. but now Facing another error i followed the video three times but every time this error
      Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
      In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes. (I have also tried to delete the whole Gradle folders from system then re-downloaded them but still) ..

  • @VVLGANESHK
    @VVLGANESHK 3 года назад +1

    I have source code of python so I can build an app for Android right? Sorry, I am totally newbie to python programming.... help plz

    • @ProgrammingFever
      @ProgrammingFever  3 года назад +1

      Yes you can make android app from your python file....

    • @Vathananable
      @Vathananable 3 года назад

      Are u using Kivy which is a python Framework to build Mobile UI?

  • @deverajoshuapioloc.8907
    @deverajoshuapioloc.8907 2 года назад

    I'm having errors regarding sync of the project. It says "Could not compile build file 'C:\Users\dever\AndroidStudioProjects\PyIntegrationOnApp\app\build.gradle'" what can I do to fix this or will it affect my app?

  • @CommonPerson08
    @CommonPerson08 3 года назад +1

    What if we want to add some parameters to be processed in the python script?

    • @ProgrammingFever
      @ProgrammingFever  3 года назад

      You can add

    • @CommonPerson08
      @CommonPerson08 3 года назад +1

      Wow thanks

    • @codpyry
      @codpyry 3 года назад

      I have also tried to add parameters, but I haven't succeeded. I tried to add parameters into the parenthesis in py.callAttr() after the key. I separated the parameters from the key with a comma. I feel like I've added them to the wrong place. Can either of you give advice?

  • @cyb3ria
    @cyb3ria 3 года назад +1

    Thanks! great job! I tell you that I'm developing a mobile app which calls a python script, which apparently it finish, but i cannot see result on my web platform, like it never execute. However when I run the same script via PyCharm, it works fine. The script has about 1200 lines of code, could that affect chaquopy's sdk and that is why it won't run?
    is there any way to debug python from Android Studio? THX Again!

    • @ProgrammingFever
      @ProgrammingFever  3 года назад +1

      Chaquopy will definitely run your code..otherwise another option is APIs...

    • @Vathananable
      @Vathananable 3 года назад

      Return all results as a string whether it is an array or number. Even ProgrammingFever returns a string in his examples with his python script. Try to insert results of important steps into Firebase which are before return keyword(less effort than REST API for testing) whether it is an image,string or number.If there is test content u don't like to show in App,use loggers from Android Studio.
      Debugging Python code directly in Android Studio is not possible.

    • @enjoyyourself4515
      @enjoyyourself4515 2 года назад

      Bro can you guide me for which python is best one for the android app development?

  • @lhywood9438
    @lhywood9438 2 года назад +1

    What if I need to return a graph?

  • @prashastsharda7725
    @prashastsharda7725 3 года назад

    When will the tutorial on chaquopy with flutter come?

  • @Fashion_priyanka
    @Fashion_priyanka 2 года назад

    In MainActivity.java file TextView is showing redundant 😭 error and

  • @suryanarayansinghchundawat8048

    So after creating an apk will it work ? how it will take reference of python.exe in apk ?

  • @enjoyyourself4515
    @enjoyyourself4515 2 года назад

    Can someone guide me for which framework is best for the android apps development for python???

    • @NikhilMoreBCSE
      @NikhilMoreBCSE 2 года назад

      If what you are developing are simple apps and does not involve tensorflow like libraries then kivy will be good, also beeware is actually a better option

  • @hasaanali240
    @hasaanali240 Год назад

    How can i configure my python interpreter in android studio ?

  • @talhac2796
    @talhac2796 Год назад

    is Chaquopy fast enough for image processing?

  • @karthikn1126
    @karthikn1126 Год назад

    In this we can able to import py packages?

  • @kushagrasingh6361
    @kushagrasingh6361 Год назад

    expecting member declaration in textview

  • @MrJatsho
    @MrJatsho 2 года назад +2

    Hi sir, can you please respond to the question please. I am working on the similar project, image processing in python and UI using android studio. I will be very grateful, sir.
    "i am doing an android studio app(face recognition app) , i coded everything in python, am using android studio just as a UI so how can i integrate my python script to a button in android studio ( when i press the button my script starts how??) please i would be so grateful if u helped me" John Deezer.

    • @ProgrammingFever
      @ProgrammingFever  2 года назад +2

      Check my chaquopy tutorial series..that function I already covered in that series

    • @MrJatsho
      @MrJatsho 2 года назад +2

      @@ProgrammingFever Thank you..

  • @tadeasvasko4128
    @tadeasvasko4128 3 года назад

    Can I runin android studio python webserver using flask with chaquopy?

  • @manu12353
    @manu12353 Год назад

    Can I use Kotlin or just Works with Java?

  • @muhammadhanifbinsamsudin1863
    @muhammadhanifbinsamsudin1863 2 года назад +1

    Sir i have a little problem, when i run chaquopy in emulator it work fine, but when i run the application in device it's does not work.

  • @hashanmadusanka6128
    @hashanmadusanka6128 3 года назад

    7.42 how to remove red test

    • @gharbialaddin6159
      @gharbialaddin6159 3 года назад

      just hit alt + shift + enter, it will add the import class for you

  • @sowjanya5245
    @sowjanya5245 2 года назад

    App name please sir rly

  • @engineeringscience2328
    @engineeringscience2328 3 года назад

    Can i use pygame in Android stadio?

  • @abhinavupadhyay9083
    @abhinavupadhyay9083 3 года назад

    Please provide the code for MainActivity,java file please

    • @ProgrammingFever
      @ProgrammingFever  3 года назад +2

      package com.andro.andro01.chaquopylatestversion;
      import androidx.appcompat.app.AppCompatActivity;
      import android.os.Bundle;
      import android.widget.TextView;
      import com.chaquo.python.PyObject;
      import com.chaquo.python.Python;
      import com.chaquo.python.android.AndroidPlatform;
      public class MainActivity extends AppCompatActivity {
      TextView textView;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      textView = (TextView)findViewById(R.id.textview);
      if (! Python.isStarted()) {
      Python.start(new AndroidPlatform(this));
      }
      //this will start python
      //now create python instance
      Python py = Python.getInstance();
      //now create python object
      PyObject pyobj = py.getModule("myscript"); //give python script name
      //now call this function
      PyObject obj = pyobj.callAttr("main");
      //now set returned text to textview
      textView.setText(obj.toString());
      }
      }

    • @abhinavupadhyay9083
      @abhinavupadhyay9083 3 года назад +1

      Thankyou so much, you are doing a great job! Just one request, if possible could you make a video on how to import and use text-to-speech or Natural Language Processing feature for android studio integrated with chaquopy. If you could, that would be of great help. Thankyou so much once again!

    • @ProgrammingFever
      @ProgrammingFever  3 года назад

      @@abhinavupadhyay9083 yes I will try to cover your topic...btw nice idea...thank you :)

  • @lavanyanaik272
    @lavanyanaik272 3 года назад

    Does this work fine for ML scripts??

    • @ProgrammingFever
      @ProgrammingFever  3 года назад

      It’s Depend upon your library...first check the compatibility of your ml script library with chaquopy

    • @lavanyanaik272
      @lavanyanaik272 3 года назад

      @@ProgrammingFever Could u fshare ur mail id sir.. I want ur help.

    • @ProgrammingFever
      @ProgrammingFever  3 года назад

      @@lavanyanaik272 you can contact me on Insta __programmingfever__

  • @MustafaSahil
    @MustafaSahil 3 года назад

    Please make a fresh video on this with more details.. it is not working .. i just wasted my 6 hours

    • @ProgrammingFever
      @ProgrammingFever  3 года назад +2

      It is on latest version chaquopy 9.1
      If your issue not solved yet you can contact me on Insta __programmingfever__ I will help you...

    • @MustafaSahil
      @MustafaSahil 3 года назад

      @@ProgrammingFever Sir thanks alot I will be really great full.. i am sending you a message there

  • @love-rr9by
    @love-rr9by Год назад

    there are beginners watching so try to explain our videos well

  • @princesingh-ys6vv
    @princesingh-ys6vv 6 месяцев назад

    Please make video again please