tutorial starts at 7:30 for those of you that dont want the history lesson
@jorgecortes6014 жыл бұрын
P1ZZA thanks bruv
@sytzebuz5 жыл бұрын
Hello Steve. Many thanks for this tutorial. Towards the end I got so exited that I thought I head my blood pumping in my ears, but soon realized that the rushing sound came from your recording. :-) . I will advocate this to as many people as I can.
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Yeah. My old recordings were made on a cheap microphone. The new ones are much better. And Thanks. Please do share the channel. I am continuing to post new videos every week.
@cdkslakkend57427 жыл бұрын
Fantastic. Great introduction to Apache Cordova and thank you for the back story which puts the evolution of this into perspective. Cheers.
@nickmbuyane65503 жыл бұрын
Hey, Steve I've just started watching your videos because I've decided to earn something new. I like how you present your material. I can't wait to get into more videos in this series. Thank you very much!!!
@augustinsorret14456 жыл бұрын
Very clear tutorial, you just earned a new subscriber ! Thanks a lot Steve !
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Thanks!
@chellovlogs4 жыл бұрын
That was the command I was searching for: emulate! I was always using build. Thank you!
@giveitatry32583 жыл бұрын
Well amazing way of teaching & showing something new.Made my day was going through some articles previously but this was the best.
@THEKapergame5 жыл бұрын
thanks for not sounding like a person with a frog stuck in their throat ;-)
@marcwinner5677 жыл бұрын
Awesome video Steve. Thanks for the introduction to Cordova!
@SteveGriffith-Prof3ssorSt3v37 жыл бұрын
Glad you liked it!
@vargheseocp5 жыл бұрын
Excellent presentation Thanks for your support
@mohammedkhaledkhan61226 жыл бұрын
This tutorial saves my day. Thank you so much.
@traumegaz6 жыл бұрын
For anyone who as issues getting the emulator to work, you have to disable hyper-v if you are on windows 10, and you have to install haxm manually through the folder on your computer...
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Thanks Mark. Hyper-V and Haxm is another topic that needs a tutorial!
@taukirkhan49166 жыл бұрын
how to disable hyper-v and install haxm manually through the folder reply fast pls
@SimplyMolly5 жыл бұрын
I'm trying to follow your tutorial but I cannot get my command prompt to understand what you did at 10:30. Please let me know. I have Windows 10. I don't have "brackets" but in Windows I don't different Code view.
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
on Windows the command to list the directory contents is `dir` instead of `ls`
@SimplyMolly5 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 thank you so much. I also found your other videos...so helpful!
@roger199210006 жыл бұрын
Great Tutorial Had a slight hick up running the app straight to my phone Got it sorted out Thanks
@SchwadoGaming6 жыл бұрын
Thanks for the overview. I appreciate that!
@dhanrajyadav37545 жыл бұрын
build and run ios app from ubuntu is it possible through the cordova or i need macbook for ios developement
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
You need macos to build for ios.
@dhanrajyadav37545 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Thanks also i want to design the project which is cordova so should i use ionic or cordava help me out...!!
@donpietro21375 жыл бұрын
8:07 It says "npm command not found"?? Although I'm sure it has installed (node -v works) (npm -v doesn't) What's the problem here??
@ayobamidurojaiye5 жыл бұрын
Install npm
@lokman02naza176 жыл бұрын
At 16:16 I can't get the emulator to run. I saw you have already open & setup emulator on android studio before emulated it. I already Installed android studio but I still can't run the emulator.
@lokman02naza176 жыл бұрын
Nevermind, I got it :)
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
I was just going to suggest that you have a look at this video about the AVDs and the Emulator - kzbin.info/www/bejne/pmXPY3SKiM2Ue7s
@dragonniteIV6 жыл бұрын
Lokman02Naza How did you do it?
@einsteinwallah22 жыл бұрын
you ran the platform add command when you were in www ... does that mean cordova recognizes that you want to add it to latest project you created ... if you had shut down and ran command in next boot up would it still recognize that latest project is current ... i am sure there can be multiple projects created and so some kind of switching between projects should be possible?
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
when you run the command it looks for the nearest config file and treats the containing folder as your project folder and applies your cordova commands there.
@ahmedalmeleh4 жыл бұрын
you didn't tell us how to get android emulator installed without gradle zip not responding (I have 40 GB of RAM, Intel i7 8700 Windows 10, I just think file explorer is crap.
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
I have several videos about the Android environment on windows in the playlist - kzbin.info/www/bejne/eXW8YpmIj96Wfc0 Don't know what issue you are having with the gradle zip file. Things change over time though and the videos may be slightly out of date.
@awad13423 жыл бұрын
Thank you so much, Steve for sharing your knowledge. Is it possible for a mobile app in this environment to have multiple html pages?
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
Absolutely
@kebman6 жыл бұрын
This was extremely interesting and well made! Do you have any more tutorials planned for Cordova? I'm really interested in how you manage different kinds of app permissions and how to make local temp storage when offline vs RESTful calls when online, possibly with some kind of authorisation.
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
I have a playlist of Cordova videos and I continue to add videos to it - kzbin.info/www/bejne/eXW8YpmIj96Wfc0
@nulI_dev4 жыл бұрын
im running into a problem with my react app routing on iOS, but works fine on Andriod. Any idea what could be the cause? My main landing page works but it seems like the assets can't load on route changes and just gives a blank white screen on iOS
@hichamhicham38475 жыл бұрын
Hello, thanks for the Tuto, i'm asking if we can create a transport tracker with cordova and google maps api, like uber application we can see the driver moving in the maps. Thank you!
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
I have tutorials on Google maps and geolocation which will help this. The geolocation object can use the watchPosition method to continually ask for the latest position and then update your map. No plugin is needed for Google maps, just the Google maps javascript api script.
@robertlongoria7654 жыл бұрын
Thanks Steve.. well presented and clear...can i interface with google sheets?
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
Do you mean use the Google Sheets API? If so, they I don't see why not as long as you have the appropriate ids and token. Cordova apps are just like any web app running in a browser. Here is a tutorial talking about setting one up with a React App. levelup.gitconnected.com/google-sheets-api-tutorial-with-javascript-588f581aa1d9 React is not required to do this.
@danielandersen27592 жыл бұрын
Getting the emulator and java to work turned out to be a terrible experience, I dropped it. "Cordova emulate android" keeps throwing new errors. I had to create a few envvars to get this far. Even having installed Android studio, I still had to install Gradle manually, and now there's a mismatch between my Gradle version and installed Java version.
@חייםחדד-ח2מ3 жыл бұрын
16:17 - How to install and operate the emulator?
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
There are several videos in the Cordova playlist - kzbin.info/www/bejne/eXW8YpmIj96Wfc0 that talk about the android environment, setting it up, and creating AVD - Android Virtual Devices. Installing Android Studio is the best way to start.
@dongdongzheng3 жыл бұрын
@Steve, can you please kindly explain how to use cordova-plugin-globalization plugin? I have learning cordova through your wonderful series. Now I have a cordova project with typescript language. When I install cordova-plugin-globalization plugin, I can successfully use the plugin in app.js. But I don't find any information how to access the plugin from my typescript files. Any guidance is much appreciated.
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
Sorry. I don't use Typescript currently, and I have not used that plugin before.
@RamonChiNangWong078 Жыл бұрын
Nice, took me a while to setup the Android build in one of my many Linux VMs It's very interesting for me to look back at Cordova 7 from 11.1.0 while most of my friends are suggesting me to use React Native or Nativescripts Yeah, I know it's outdated and such, but it's Cordova is still usable? and I don't need to learn some strange weird javascript framework Also thanks for the excellent in depth tutorial!
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Cordova is still usable. It's original goal was to exist only until native HTML5 APIs did nearly everything that native ones did. We are getting close to that goal. PWAs with HTML and JS can do a lot of the stuff that I used to do in Cordova. Cordova bundles your app to be able to put it in one of the mobile stores. I also use React Native and Flutter for cross-platform apps. That is where I spend my time now, getting the performance benefits and native device APIs through those frameworks. If putting something on a store is your goal then I would opt for React Native or Flutter.
@RamonChiNangWong078 Жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 I never liked js framework and their kinds, and I'm looking at you jQuery. But also recently I noticed that there's also Tauri an electron alternative and there's also Tauri mobile and I hope that this is similar like Cordova and better
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
@@RamonChiNangWong078 Capacitor is the most popular replacement for Cordova
@ChannelAbinyaMuhammad5 жыл бұрын
i honestly your explanation is good Sir.. i subscribe you
@mpkvgr3 жыл бұрын
കുറേ തിരഞ്ഞ് നടന്നു ഭായ് ഇങ്ങനെ ഒരു വീഡിയോ കിട്ടാൻ. ഇപ്പോളാണ് കുറച്ചൊക്കെ തന്ത്രം കിട്ടിയത്. I searched a lot to get a video like this. Now I 've got some ideas. Where is your country... I am from Kerala - India
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
I am Canadian.
@iroshanaravishan13882 жыл бұрын
@steve, can you tell me the command how to check the cordova version of the application. I found many unrelated contents
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
Do you mean the version of Cordova that was used to build the app? cordova.apache.org/docs/en/11.x/reference/cordova-plugin-device/index.html
@iroshanaravishan13882 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 yess steve, the link is helpful😀... thanks...
@Metalistforlife4 жыл бұрын
Thanks for this. Don't feel like learning kotlin/java ect.
@lanigoespew9 ай бұрын
it's been 6 years. Is this still relevant today or have tons of updates made this course obsolete? I really want to know cause I'm planning to use Cordova for my Software ENG Capstone
@SteveGriffith-Prof3ssorSt3v39 ай бұрын
Cordova is still used. It is still valid. Alternatively a Progressive Web App can do most of what Cordova does with the same performance. More popular approaches now for building cross platform mobile apps are React Native and Flutter.
@getreadytotube Жыл бұрын
Thanks!
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Thank you very much! 😀 🙏🙏
@vipinsharma-zx9cb3 жыл бұрын
can we also generate .apk files for android, using Cordova? I know we can do it using phonegap but how to do it by cordova.
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
Yes. The build command for Cordova will create .apk and .ipa files once you have the platform requirements installed. Lots more videos in my Cordova playlist.
@Mohid123-SE4 жыл бұрын
It gives me this error "compile sdk version is not specified. Please add it to build.gradle" Could you please suggest a solution to this error
@Monster333365 жыл бұрын
What software are you using to hold your folders? I have done a lot in Android Studio, should I continue to use it and finish the Droid version?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Back when I made this video I was using Brackets as my IDE. Currently I use VS Code for my Cordova work. Android Studio I use if I am doing Android Native work.
@dattabayo59616 жыл бұрын
Thank you so much! i definitely going to try it out
@abhisheksharma-jk6iy5 жыл бұрын
i am not able to run the command 'cordova emulate android' it is showing "Failed to find 'JAVA_HOME' environment variable. Try setting it manually." please help me
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
There are other videos in the Cordova playlist that talk about setting the ENV variables - kzbin.info/www/bejne/pIKXamuGfrOmrdU and kzbin.info/www/bejne/aYnNnJSEbdWmppI
@jishnusuresh99555 жыл бұрын
Awesome tutorial Is there a future for it?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Definitely. As long as Apple is dragging its heels about supporting Progressive Web Apps and native functionality through the browser. Keeping in mind that their stated goal 10 years ago was to do this until all native functionality was supported through the browser.
@karthikeyansekar73647 жыл бұрын
Awesome video bro.. u really have a good narration voice & It sounds similar to gerard butler's voice😁 and thank you for sharing u r knowledge. It was really helpfull.
@SteveGriffith-Prof3ssorSt3v37 жыл бұрын
This ain't Sparta.
@samuelmatheson96555 жыл бұрын
This playlist dosnt show up unless u explicitly search for "Steve Griffith Cordova playlist"
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
If you go to my channel homepage you can see many of my lists or click on the playlist link to see them all
@samuelmatheson96555 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 I guess i just dont know how to use you tube, lol. thanks
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
@@samuelmatheson9655 😛 I also did a search for "Cordova tutorial" and found it.
@abhisheksharma-jk6iy4 жыл бұрын
i am not able to run the command 'cordova emulate android' it is showing "Could not find either `android` or `avdmanager` on your $PATH! Are you sure the Android SDK is installed and available?" please help me (android sdk is already installed)
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
You need to add the locations of the various parts of the SDK to your environment variables. II have several videos on setting up ENV variables on OSX and Windows and for Cordova.
@Incommensurableme4 жыл бұрын
hey steve, so i'm testing this out and i keep getting this error and i don't know what to do. E:\GB 2 APK\MyApp>cordova emulate android Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=undefined (recommended setting) ANDROID_HOME=undefined (DEPRECATED) Using Android SDK: C:\Users\incom\AppData\Local\Android\sdk Could not find an installed version of Gradle either in Android Studio, or on your system to install the gradle wrapper. Please include gradle in your path, or install Android Studio I have Android Studio installed, so idk what it wants me to do.
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
There are a couple videos on the Android environment in the Cordova playlist where I talk about those variables.
@abdelrahmangamalmahdy5 жыл бұрын
pretty cool, but how is it possible to use html, css & js to control the camera, speakers and show notifications ?!
@madhavjariwala45485 жыл бұрын
they have inbuilt libraries for that
@ammaralawad89122 жыл бұрын
I'm new to the course but I can't install cordova on my wondos, what is the solution please?
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
kzbin.info/www/bejne/pIKXamuGfrOmrdU
@batigol2020202 жыл бұрын
so can we use all mobile resources like native with Cordova? or we have any limitations. thanks a lot for ur video :)
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
To use native resources you need to include a Cordova plug in for each resource
@batigol2020202 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Thanks for ur response. that's mean Cordova can made for example full e-commerce app with no issue
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
@Ahmed Abuzeid sure. Anything you do in a website you can do in Cordova. Generally speaking an e-commerce site doesn't need any native mobile features.
@batigol2020202 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 appriciated
@ryansatriayudha Жыл бұрын
How can I run the application without the Android Emulator? Can I just scan and use ExpoGo like React Native?
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
No. It's not the same as using expo. It's more like pure react native without the expo app and additional tooling level
@ryansatriayudha Жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Can I use Emulator without Android Studio Code?
@rajprudhvi16 жыл бұрын
Nice video for beginners. Very helpful for taking a start. Thank you! Are there any IDE plugins that you suggest for Cordova development or do you think starting with command line is more helpful?
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
The one I recommend most is Emmet - kzbin.info/www/bejne/qoWyfJZ5rryhfqc - but there are tons of free plugins depending on the technology that you are working with.
@rajprudhvi16 жыл бұрын
Thank you!
@radovansurlak74456 жыл бұрын
Thank you for the tutorial Steve :)
@AKT16105 жыл бұрын
Can anyone tell me what is terminal that he opened to install cordova and check the version of node. PS: I'm beginner in programming world. Don't know the jargons.
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Terminal is the command line interface that you get on MacOS. If you are using Windows then you would use the command prompt, which is called "cmd" if you are looking for the program to run.
@AKT16105 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Thank you Steve for the quick response.
@saulgood25484 жыл бұрын
I’m new to this! If phone gap is installed through node.js all the dependencies are include in the download including the emulator?
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
Node just installs the modules used to create the cordova project, access plugins, and the starter projects for specific platforms like ios and android. You still need to set up your computer with the platform sdks to be able to compile the project or emulate the project. If you use phone gap instead of Cordova then the compiling gets done on the adobe server and you are given the compiled app. You still need to install the emulator or simulator yourself
@saulgood25484 жыл бұрын
Steve Griffith Thank You for responding in a timely manner!
@saulgood25484 жыл бұрын
Steve Griffith To eliminate complication is it better to use Cordova over Phonegap because of the compiling get done on the Adobe server?
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
@@saulgood2548 depends on your comfort level with configuring your system for mobile development and if you want to pay for support (adobe phone gap gives support)
@saulgood25484 жыл бұрын
Steve Griffith Is it possible for me to use phonegap like Cordova? I did my research and notice that you zip files to the Adobe server to compile the app for IOS, Windows platform! It took me one hell of time to download the software to my laptop because of cache issues! If I can avoid that process I want by all means necessary!
@edessamediagroup80625 жыл бұрын
Great tutorial Steve! what is the next step in this?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
I have a whole playlist on Cordova that you can find on my channel homepage
@abdelmoneimnafea84985 жыл бұрын
thanks Steve ... great tutorial
@trollhunter2003 жыл бұрын
Very useful tut. I want to implement Cordova in one of my projects, but am confused whether Apache Cordova is still valid in 2021. Can u plz guide me.
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
It is absolutely still valid. It is one of many options available for making mobile apps - PWAS, React Native, Flutter, Capacitor... All require learning an approach and a framework.
@iyyappan_nathan5 жыл бұрын
Where to get that Android emulator for Mac ? Thanks for the video.
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Just install android Studio and you will be able to create any emulator you want
@nategurian66276 жыл бұрын
Hey Steve, do you have any tutorials about taking an existing web app and wrapping it in a Cordova app?
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Not specifically, however, it is pretty much just copying all your images, html, css, and js into the WWW folder in your Cordova project.
@nategurian66276 жыл бұрын
Ok thanks, will give it a shot!
@hassuunna6 жыл бұрын
Great tutorial, How can I download this emulator, I'm working on windows 10 and edit in VS code
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
If you are referring to the Android Emulator then you just need to download and install Android Studio and the Java Developer Kit. See this video for reference - kzbin.info/www/bejne/pIKXamuGfrOmrdU
@hassuunna6 жыл бұрын
I have jdk and working on netbeans for java projects but Android studio is too heavy for my machine can I get this emulator (or alternatives) without android studio?
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
The full version of Visual Studio also has an Android Emulator plugin. Both are big programs though.
@hassuunna6 жыл бұрын
OK, I'll try to handle it with Android studio as I have it installed already but have only VS code till I have a new device Thanks for your concern and quick reply, Steve
@shreyasambre2956 жыл бұрын
Nice tutorial sir, with silent and slow speaking.
@arsalanasgari98195 жыл бұрын
Hello, Mr. Steve Hope you are good! I have a new question? How to keep the code of the app made in Cordova hidden in the Android Editor? I mean, the code is hidden after making the program. thank you
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
A Cordova App is HTML, CSS, and JS. You can't hide it from anyone. Even if the app is downloaded from the App store, the web code is always accessible.
@arsalanasgari98195 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 There is no method to limit this access. For example, the code is cluttered
@arsalanasgari98195 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 For example, the code is displayed in disguised form
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
@@arsalanasgari9819 You can use a tool to obfuscate your JS code if you want but it will still be accessible. If you are using VS Code then there are plugins to do this.
@arsalanasgari98195 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Thank you so much for answering my question
@abdelrahmangamalmahdy5 жыл бұрын
pretty cool, but how is it possible to use html, css & js to control the camera, speakers and show notifications ?! If it's only good for displaying a website content, then it's no good than any modern smartphone browser.
@frostden5 жыл бұрын
Plugin APIs give cordova the functionality of a 'native' app. Camera, geolocation, etc: cordova.apache.org/docs/en/latest/#plugin-apis
@ضياء65 жыл бұрын
How can I make an app that work in the background with cordova?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Depends on the feature you want running in the background and the plugins you use.
@AGUNGKAYA2 жыл бұрын
Is this content still relevant in 2022? Hope you update it if it is not. I like cordova. Thanks!
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
The content still works for Cordova. Not much has changed with Cordova in the last few years. I am not making new videos about Cordova. I taught Cordova for 8 years and now I am teaching React Native and Flutter as cross platform mobile development.
@AGUNGKAYA2 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Ok Sir, I'll check it out the contents. Thanks
@AGUNGKAYA2 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Btw, is the reason you change to React Native and Flutter due to cordova cannot solve your problems anymore or to grab wider audience Sir?
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
@@AGUNGKAYA The stated purpose of Cordova / PhoneGap was to make itself redundant by encouraging development of web apis that can accomplish the same things. A lot of what Cordova does can now be accomplished through PWAs with HTML5 apis. In terms of performance, both React Native and Flutter have better performance. If you need to have an app in the app store then I would now opt for one of these.
@geraldminoza29214 жыл бұрын
Hi Steve, how can we design for app logo when we will deploy it to google playstore?
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
kzbin.info/www/bejne/f2Wbp5aggtt7b68 - is how you add your own launcher icons to the project
@waynep12006 жыл бұрын
I've got this up and running but just viewing it through the chrome browser. I think I may of missed something though as the "connecting to device" message is only showing and not the "device is ready message" Good tutorial by the way.
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Wayne Pickett if you just opened the html file in the browser then you will never see the message. You have to launch it on a device or emulator for the device ready event to fire
@waynep12006 жыл бұрын
Wow that was a quick reply. After I done a bit of searching. I kind of guessed it was device specific. I'm just running the project through netbeans to chrome. II'll go ahead and add android/ios emulator. Thanks for the quick reply.
@atulprogrammer5945 жыл бұрын
Nice Tutorial !!! Can we use the wordpress to make an android app with cordova ?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Well, wordpress has all the server-side code which is generating the pages and the content. I think I saw a plugin a long time to be able to dynamically load the content from a word press site into the app. However, it is not something that I would ever recommend doing. You are just going to end up with a really bloated app. If you have a wordpress site then keep it as a wordpress website and use a theme that has good mobile styling. If you are building an app there should be a reason why you want it to be an app and not a website.
@haydarm.al-samawe98196 жыл бұрын
Thanks Sir really nice introduction .. so i have one question before i start diving in this fremwork .. is Cordova is webview inside the Android or iOS system? Or It's Native code and just we change the xml to html ?
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Cordova uses the WebView component on the native system. We are building the HTML, CSS, and JavaScript for a website that will be rendered inside that WebView. The plugins for Cordova are native code that acts as an interface for Cordova to access native capabilities through JavaScript.
@haydarm.al-samawe98196 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 thank you Sir now very clear to me
@shedrickwilliams70496 жыл бұрын
Error. DeprecationWarning: Unhandled promise rejections are deprecated?
@shedrickwilliams70496 жыл бұрын
This happens when I try to emulate
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
That is a NodeJS thing. It is just a warning that you can't use Promises in Node without having a .catch( ) method.
@heinzawbo11315 жыл бұрын
I got a problem, Sir. When I type and enter "cordova platform add android", cmd shows that it's failed. So, I'd found solutions on net and try again and again, but nothing changes. Please help me, Sir.
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
You have to have your system set up for android development first. You need the JDK and the Android SDK installed and you need all the environment variables set too.
@shaneumayanga61896 жыл бұрын
Nice tutorial, don't you need to install git as well? or is it optional? Thanks
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Git is optional. You would use git if you want to manage your project source code, back things up, collaborate with other developers etc. But Cordova has no requirement for git. It uses Node for managing things internally
@rushikeshshirkar40975 жыл бұрын
Which android sdk version is best suitable for latest cordova ?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
The latest version of Cordova will be looking for API 28. However, you can use any of the APIs from KitKat onwards. You just need to indicate in your project settings what you want to use to build the Android app.
@amitithape89815 жыл бұрын
Which jdk and gradle version required?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
@@amitithape8981 jdk 8.x and latest gradle
@amitithape89815 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 A problem occurred configuring project ':CordovaLib'. > Could not resolve all artifacts for configuration ':CordovaLib:classpath'. > Could not resolve com.github.dcendents:android-maven-gradle-plugin:2.1. This error appears
@rajatsolanki74155 жыл бұрын
it is great tutorial, how i can install my app on my device, which file i should use to install on my device. thanks
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Keep watching the whole playlist.
@lamyaeaf92125 жыл бұрын
Hey Steve, do you have any tutorials about how to insert an web app (vue.js) in a Cordova app? the configuration !
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Not currently
@shareefalshareef7149 Жыл бұрын
Can I use VS Code instead of Brackets?
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Yes. You should now
@sjshdhehbesjks9 ай бұрын
can i use express and mogodb(mongoose) in cordova?
@SteveGriffith-Prof3ssorSt3v39 ай бұрын
Express works on the server, not the client. If you have an api, the Cordova app can make fetch calls to the api. The api can talk to Mongodb
@sjshdhehbesjks9 ай бұрын
i can do alot of cool stuff then . thanks alot replying on a old video@@SteveGriffith-Prof3ssorSt3v3
@davidmwadjehafohangula1685 жыл бұрын
I was creating my first cordova app, thanmy pc shutdown accidentally. How do i resume my work?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Just open the files that you were working on. There is nothing special that you need to do to work on the app again. If your PC crashed before you saved the files then the files are gone.
@davidmwadjehafohangula1685 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 i don't even have to run the serve again? Because the files are not changing when i am putting the same address into the browser?
@davidmwadjehafohangula1685 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 it worked thank you
@sleeponwhooo5 жыл бұрын
Great tutorial. Though I'm stucked, whenever I type the command 'cordova emulate Android's I get the error 'adb: Command failed with exit code UNKNOWN' how do I fix this?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Sounds like you don't have Android fully configured with the Environment variables. Keep watching the whole Cordova playlist for the sokution
@sleeponwhooo5 жыл бұрын
Can I get to contact you directly? Please I need to fix this error as I have to present the project I'm working on as soon as possible
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Sorry. I make these videos because I don't have time to directly support people.
@sleeponwhooo5 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Okay thank you. We really appreciate your help with the videos. You're doing a great job👍
@traumegaz6 жыл бұрын
Can you explain or point to video or documentation how to get that emulator to pop up, i have android studio and everything is installed correctly but the next steps are very vague, that video you recommend down below just tells how to install not how to get the emulator to pop up, thanks for your time.
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Hi Mark, I have a playlist on Cordova, see the link in the description above, it includes lots of videos on Cordova and the environment. I don't have a video specifically on launching the emulator, however I do have one on creating Android Virtual Devices (AVDs) which are what the emulator uses to run - kzbin.info/www/bejne/pmXPY3SKiM2Ue7s - you can launch the emulator from the screen where you add, edit, or delete the AVDs.
@traumegaz6 жыл бұрын
thanks, i found a video and set up an emulator now im hitting play and nothing is happening, i dont know what to do this is frustrating
@traumegaz6 жыл бұрын
ill look at your video and try your way maybe this video i watched was old im not sure
@traumegaz6 жыл бұрын
Steve Griffith I dont know whats going on im restarting my computer, it says it running but i dont get a icon or an emulater
@traumegaz6 жыл бұрын
Steve Griffith im getting hardware excelaration error..ill just keep googling trying to solve this...then continue watching your videos im sure they are helpful if i can an emulator to pop up lol
@AMG966 жыл бұрын
hello, Terminal don't do any thing when I write "ls" command. I'm using Windows 10
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Ls works on linux, unix and osx. Windows uses dir
@AMG966 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 thank you
@kenjohnsiosan97076 жыл бұрын
you can use cmder for windows10, to run linux commands on cli.
@muhammedziyad53406 жыл бұрын
Great one Mr Steve
@shedrickwilliams70496 жыл бұрын
So how can I fix .catch method Error? Thanks for help by the way.
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
It is a warning. The problem is not with that. That problem will be something else with your configuration. The Node warning is just how some problems end up appearing. I have a couple other videos in the Cordova list about various configuration issues. There are a lot of moving parts with Cordova. Very difficult to diagnose exactly remotely.
I don't currently have a chat app example with Cordova. However, I do have lots more Cordova app tutorials planned. I can add that to my list.
@_iamkrist_65966 жыл бұрын
Great Tutorial.. kinda having a hard time getting hold of AVD as i cant find in Android Studio?
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Here are a couple other videos that should help - kzbin.info/www/bejne/pmXPY3SKiM2Ue7s and kzbin.info/www/bejne/oqmseK2Zh8d1m9k
@_iamkrist_65966 жыл бұрын
Thanx Steve, seems like I have other problems.. maybe with install.
@BilalAhmad-so6io5 жыл бұрын
Hi Sir. I have a very special request. Would you please make a tutorial of the same thing but on Cordova and in also we would be able to send the mail directly and don't have to go back to the composer, for example, an email app and image capture and attachment (as shown above). Please I need the tutorial on this
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
I already have a Cordova tutorial on capturing images. And sending an email is just bundling data and POSTing it to a server. You need a mail server to send the email.
@crisjohnjimenez14265 жыл бұрын
Hi, is it ok if i use django in backend?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
You can use whatever you want as the backend. Cordova is completely separate from the backend
@crisjohnjimenez14265 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 ok thansk :)
@josephusmaglupay29575 жыл бұрын
where did you get the android emulator?
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
It is the emulator that comes with Android Studio.
@josephusmaglupay29575 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 do you have a tutorial on how to open it? sorry it's my first time I still got a lot to learn
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Yes. In the Cordova playlist there is a tutorial on how to create AVDs - Android Virtual Devices, which is what the emulator runs to replicate different devices.
@jacksonrogers21476 жыл бұрын
When trying to install cordova is says permission denied and missing write access to /usr/local/lib/node_modules. I'm on the admin account and confused about why it's being stopped in this way
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
You can check to see who owns that global node_modules folder. You may have to use sudo to do global installs. this is a fairly common thing on OSX.
@shedrickwilliams70496 жыл бұрын
So sudo npm install Cordova ????
@shedrickwilliams70496 жыл бұрын
Steve Griffith this is the error I got as well. I'm the only user though. Can you plz help. How do I check who owns the folder?
@shedrickwilliams70496 жыл бұрын
I tried sudo
@shedrickwilliams70496 жыл бұрын
Nevermind lol I guess I didn't try sudo
@YasirMalik246 жыл бұрын
Getting error 16:22 showing error
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
If you are getting an error adding Android to your project - do you have the Android SDK already installed on your computer? As well as all the configuration and Environmental variables set up for Java and Android?
@YasirMalik246 жыл бұрын
yes i have installed but where can i recheck all again ?
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Most of it can be checked on the command line... However, there are a lot of moving parts. I have several videos in the Cordova playlist - kzbin.info/www/bejne/n3SugZ-waJprp5I that talk about configuration and environmental variables.
@BaxishParmar5 жыл бұрын
Thanks Steve, Thumbs up..
@libassediop47646 жыл бұрын
Hi! I built a mobile apk app already but I wanted it to webize it. Basically the opposite.
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Definitely not the regular route for app dev. I don't know of any tools that let you work in the reverse way. Sorry, you will have to learn development with HTML, CSS, and JS if you want a web version. Hopefully you can use my hundreds of tutorials to help you do that.
@libassediop47646 жыл бұрын
no problem
@rajatsolanki74155 жыл бұрын
hi, i am beginner for cordova, i want to know more, please guide me. thanks
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
Please continue to watch the whole Cordova playlist
@shedrickwilliams70496 жыл бұрын
I get an error when trying to install Cordova. I'm so salty because of it, please help.
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Need a lot more information before I can answer any questions.
@shedrickwilliams70496 жыл бұрын
Sorry forgot the error code but different question. Is this stuff still up to date with all the new versions etc...
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Cordova was on version 7 when I made this video. Version 8 is the standard one now. However, all this should work.
@justreader71166 жыл бұрын
Can I use windows 10 for do this? my system is windows 10 not MAC
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
You can use Cordova on Windows, Mac, or Linux. It is available for all three. You can also install Android Studio (to get the Android SDK) on all three. You need a Mac in order to do the compiling for iOS though.
@justreader71166 жыл бұрын
actually I want to creat ios apllication ): thanks
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
Well, if you have a powerful enough machine then there are some hack-ish ways to do it. learnappmaking.com/develop-ios-apps-on-windows-pc/
@justreader71166 жыл бұрын
thanks Mr Steve I will see it today , you are helpful
@1stAzot2 жыл бұрын
How to export the project?
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
I have several videos in the Cordova playlist where I talk about installing and testing on devices. No videos on publishing to the Play or App stores.
@ashutoshmehere59153 жыл бұрын
cordova app database video?
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
I'm doing a series on IndexedDB this week.
@ashutoshmehere59153 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 ok thank you
@lscodeschool9576 жыл бұрын
Steve how can i use my android nexus 5 as an emulator
@SteveGriffith-Prof3ssorSt3v36 жыл бұрын
If you have an Android phone then you don't need the emulator. You can install and run the Cordova app directly on the phone. Once you have the Android environment set up properly and you create your Cordova app, then connect your phone with a USB cable. It should display a prompt asking if you want to allow your computer to access the phone. Say yes. Make sure that you have the phone set up as a developer device. Look in the settings menu on the phone to see if you have an item called "Developer Options". If not, go into the About phone section and look for the Build Number. Tap on that 7 times to activate the Developer options. Then reconnect the phone to your computer as described above. Finally, on the command line, from inside your project folder, type cordova run android That will build your project and attempt to install it on the phone. Check out my other videos in the Cordova playlist for more help with setting up your Android Environment.
@lscodeschool9576 жыл бұрын
Thanks very much sir. I will do that. So for this moment i have been able to install the browser platform for testing. and its working just fine. am able to use the inspect element option on Chrome to specify the the type of phone in which i want to see the app with the toggle device toolbar. I hope i can later do the above as you instructed? Thanks
@zj53175 жыл бұрын
you left out sooooooo much like how tf are you supposed to get the emulator????? Mine just builds and does nothing.
@SteveGriffith-Prof3ssorSt3v35 жыл бұрын
There is an entire playlist about Cordova on my channel. One video intro video will barely scratch the surface.
@zj53175 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 You might want to say "hey.. yours wont pop up a emulator even though you just typed in 'emulate' and one would assume that since my tutorials shows it as such that it woudl be as such, but it is not and we will discuss this in a different video"
@GeraldTags4 жыл бұрын
cordova vs ionic?
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
ionic sits on top of Cordova. It's not a replacement.
@corporategreed4 жыл бұрын
> Emulates with android studio > Sudden loud fan in background hmmmm
@SteveGriffith-Prof3ssorSt3v34 жыл бұрын
Yep. Android emulator takes a lot of horse power for the virtual machine.