Thank. You. No, seriously. You have NO IDEA how much I needed you to make this video. I sincerely appreciate it.
@derekbanas10 жыл бұрын
Erin Barker Thank you for the nice message :) I appreciate all of the nice messages people leave for me!
@ultrasamad9 жыл бұрын
In fact if I could write a small program that will loop through all your tutorials and hit the like button, I would have done it...lol..youtube probably might not allow me...bro u re awesome. keep it up!
@derekbanas9 жыл бұрын
Ibrahim Samad That's funny :) Thank you. I'm very happy that you like the videos.
@AbhishekBalani9310 жыл бұрын
Your new android videos are really good. Its really great that now you are covering other advanced topics. I have saved some of your videos for future reference as well. Keep doing the great job. And it's about to be a month since we are waiting for contest results. I hope I am not bugging you.
@AbhishekBalani9310 жыл бұрын
And if you need suggestions about more topics to cover, then I might help. :D
@loanafezzy994110 жыл бұрын
Derek I love your video, however I'm confused about how you would implement this into a real app. For example: how would you make it so the user could choose the time of day they want to be notified? Or even if they want to be notified multiple times a day?
@derekbanas10 жыл бұрын
Tomoko Desu Thank you :) You could set numerous times for the alert. You could also have the time dynamically change anytime the app is run.
@toygar059 жыл бұрын
Alarm button didn't work for me. Adding the following line to manifest file between the end of activity and application tags fixed my problem:
@mirandalawson94779 жыл бұрын
toygar05 Thank you so much for this.
@theBrainyGeek8 жыл бұрын
+toygar05 Thankyou. Have been trying to debug for an hour.
@matt2.0198 жыл бұрын
Thanks!
@robertbrowne25788 жыл бұрын
Tobi you wonderful man you! Nice catch
@kiikiiworld8 жыл бұрын
You just got promoted to God status! thank you so much!
@stjepankrpan77910 жыл бұрын
This is amazing Derek i learned a lot!!! Can i ask you just one thing? How to make AlarmMenager work after device reboot? I have switch buttons for 6:00 AM, 8:00 AM etc. and when i set them they work like charm but when my device reboot nothing is poping out... Thx for help!
@derekbanas10 жыл бұрын
Stjepan Krpan Thank you :) Have you seen this stackoverflow.com/questions/12512717/android-alarmmanager-after-reboot
@stjepankrpan77910 жыл бұрын
Derek Banas Thx for fast answer :) . I did solved my problem by making 2 new java class 1 Reciver with BroadcastRecever and in manifest promission RECEIVE_BOOT_COMPLETED and BOOT_COMPLETED for reciever and 2 java class that extends Services with onCreate where i put my onCheckSwitch method that i made to check if switches are pressed and if they are to set alarms again. Switches were memorized in SharedPrefrences...and it works now like charm...sry for bad English :P BIG THX 1 MORE TIME!!!
@derekbanas10 жыл бұрын
Stjepan Krpan Great I'm glad you fixed it :) Always feel free to ask questions.
@shaskies10 жыл бұрын
Hey Derek, Awesome tutorials. Question: 1. How many languages do you know? 2. Did you learn them in school or are you self taught? 3. How long have you been programming for? 4. Can you do tutorials on using APIs in your apps like Facebook's & Foursquare's in the future? Thank you.
@derekbanas10 жыл бұрын
shaskies Thank you :) I have known and forgotten a bunch of programming languages over the past 30 years. I have used modula, assembler, pretty much everything. I went to school for engineering. I learned a lot on my own, but the high level stuff was mainly learned from employers. I'll do my best to cover the APIs you mentioned. I plan on making many more Android tutorials.
@shaskies10 жыл бұрын
Derek Banas 30 years? That's crazy! As a 19 year old starting out I've got plenty to learn I guess. But your tutorials started me off, so thank you!
@derekbanas10 жыл бұрын
shaskies You'll catch up to me eventually. It is much easier to learn today with all of the tutorials that are out there. I'm glad I'm able to help :)
@kushalbhattacharyakush459 жыл бұрын
Sir, in the last section when you use pending intent on the larm manger , i mean when we are using FLAG UPDATE current on the intent does it mean that it will not create the intent ie the main activity for the first time whenwe click that alarm notification?
@FiddiTwo10 жыл бұрын
hi derek, im confused with trying to design a simple calendar type app. I have a Listview with date/times in it, i want it so that it automatically creates a countdown timer when there is 10 seconds until the time - would u use alarmManager for this ? Would u set an alarm for EACH item in the listview or just do one by one as they trigger ? thx as always, just watched this vid for the 2nd time :)
@luisabcdefg750610 жыл бұрын
Derek banas sence you have been making apps for some period of time. How hard is it to make apps like temple or detailed apps. Im just learning how to code and i always wonder if its hard to make apps even after you been coding for a while.
@derekbanas10 жыл бұрын
luis martines It isn't that hard once you get used to looking at everything as a component that does its job. Like everything I think a good understanding of object oriented design and some diagrams makes it easier to understand.
@MB-pt8hi7 жыл бұрын
Super video. Thanks I just added the TaskStackBuilder for the third button, so that the back button works for it to
@derekbanas7 жыл бұрын
Thank you :) I'm glad it helped
@samcostley89710 жыл бұрын
Hey Derek, I love all your videos and they are so helpful! Anyways, I was wondering if sometime you could make a video covering like industry standards for coding/Java. Industry standards as in the proper names for variables, documentation, and whatnot. Thanks!
@Mattreds0x10 жыл бұрын
Derek Banas can you please explain to me why when I need to use the android support/appcompat libraries and when I don't need to? I seem to be confused as to why I wouldn't want to use the latest code and not a support library. I understand that the support libraries are basically porting some of the newer features of android back to the older versions, but I don't get when I should use the support library classes and when to use the built in classes. Thanks!
@Mattreds0x10 жыл бұрын
One more question :) How did you learn all of what you know about android? Are there any books that you know if that go into depth and more advanced topics? Thanks and happy holidays!
@derekbanas10 жыл бұрын
Mattreds0x Here is basically everything about the support libraries developer.android.com/tools/support-library/index.html
@derekbanas10 жыл бұрын
Mattreds0x I learned most everything from reading the Android API and through experimenting. I have recommended the big brain academy book in the past. For some reason many of the Android books are full of errors. I'd say the best resources can be found in the API, on stack overflow and in random blogs.
@Xselsiorlink10 жыл бұрын
Hey Derek, great tutorial again, I would like apply this to an app idea only thing is, i would prefer that the notification comes in when the person is online. Like a log in feature.. thanks for any advice because i want to incorporate the gps along with notification feature.
@derekbanas10 жыл бұрын
brent swanson Thank you :) You could have your app update a database when they turn on their phone and then have the database send out a message to all others that the person is online. I need to make a NodeJS tutorial very soon to show how much easier it is to do this stuff.
@Xselsiorlink10 жыл бұрын
Thank you while I learn the other vids I will gladly await that video. Thank you for your hard work
@derekbanas10 жыл бұрын
brent swanson You're very welcome :)
@MrStylesp910 жыл бұрын
Hey Derek, just curious about how do you know so many programming languages. It's amazing.
@derekbanas10 жыл бұрын
Styles P'yall Probably most importantly I have been doing this for 30 years. Most languages are basically the same. I do a lot of work in which my job is to fix broken code after a key employee leaves. That has forced me to constantly learn new languages and frameworks.
@MrStylesp910 жыл бұрын
Derek Banas Awesome. I wish to reach your level someday :)
@StefoUltras7 жыл бұрын
Hello Derek, I have a problem with the app. When I enter it and press the button "Show Notification" the app just crashes saying the usual 'appname' has stopped working. Do you have any solutions? Thank you for the tutorials the are really helpful.
@AquilesBlade9 жыл бұрын
How do i make a multiple alarm(like a alarm clock) using pending intent?
@lllllll288610 жыл бұрын
+Derek Banas halo,did u have tutorial about Music Player with its own database? Thanks
@derekbanas10 жыл бұрын
Xin Lin The next video I upload will be on databases. It should be up tomorrow. I'll cover playing music and videos next week.
@lllllll288610 жыл бұрын
Ok....thanks
@jumpmanjumpmanjumpman239 жыл бұрын
in the MainActivity.java ActionBarActivity is now deprecated. You should use AppCompatActivity instead.
@ernanimartins9 жыл бұрын
One question I can't seem to find anywhere is when I set an alarm for a future date, what if the user shuts down their phone or tablet and just open it later in time? Will it persist for the next boot? What if I do schedule an alarm and then come back and cancel after a reboot? Is that possible? Thanks a lot! Your videos are awesome!
@derekbanas9 жыл бұрын
Ernani Joppert Have you seen this stackoverflow.com/questions/16534122/how-to-create-persistent-alarms-even-after-rebooting
@ernanimartins9 жыл бұрын
Derek Banas I've seen such strategies, I wanted to be sure I needed to work with a SQLite before getting my hands dirty on that, but, hey, that post I haven't seen, and, it pretty much bogs down to copy and paste! Thanks a bunch!
@iosifnicolae210 жыл бұрын
Hi Derek. When announcing the winner of the contest? I'm so excited! :)
@iosifnicolae210 жыл бұрын
And i have one more question: How to power on device to fire an alarm. And thanks for this tutorial!
@iosifnicolae210 жыл бұрын
PS. I want to create a radio application and I need this features.
@derekbanas10 жыл бұрын
Nicolae Iosif Your phone needs an FM tuner to pick up radio without an internet connection. Most phones have them, but they are utilized in different ways from what I know.
@iosifnicolae210 жыл бұрын
Derek Banas I want to create an internet radio application. But I don't know how to power on device at specific time.
@derekbanas10 жыл бұрын
Nicolae Iosif The notification will work like all other notifications and will turn on the phone if it is set up for that.
@CzajekTutorialowiec10 жыл бұрын
Hey Derek, Could you make a tutorial on making Android Apps with a new Material Design, animations etc. step by step? Just simple app with an action bar, sliding bar from left (like a menu), pages, transitions etc?
@derekbanas10 жыл бұрын
Darek Czajkowski Yes that is coming very soon
@CzajekTutorialowiec10 жыл бұрын
Ok, thanks a lot :D
@YooporiumComics4 жыл бұрын
I would like to build an alarm clock app. Is that something that you could help me with?
@jeremyjackson556210 жыл бұрын
On the off chance that someone misses this like I did, make sure your app's build.gradle file has something like this: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile "com.android.support:support-v4:21.0.+" compile "com.android.support:appcompat-v7:21.0.+" }
@derekbanas10 жыл бұрын
Jeremy Jackson Thanks for helping :)
@michaelchheang96506 жыл бұрын
Thanks for this great example!
@derekbanas6 жыл бұрын
Happy to help :)
@shubham0198810 жыл бұрын
Hello Derak, Can you do any android application on mongo db.
@derekbanas10 жыл бұрын
Shubham Maurya I have a web services tutorial earlier in this tutorial series. The video I upload today will cover SQLite.
@skullboneslayer10 жыл бұрын
Can someone please help me, Im getting this error Error:XML version "3.5" is not supported, only XML 1.0 is supported.
@Hasstenichgesehn110 жыл бұрын
Skullboneslayer Matthew Look through your xml files, they should say "" at the very top. That error sounds like one of your xml files says "...version="3.5"...".
@skullboneslayer10 жыл бұрын
ok ill take a look thanks
@nirangasandaruwan955910 жыл бұрын
greate tutorial can you explain how to trigger an alarm on day of week as a example monday only,only weekend,only weekdays
@nirangasandaruwan955910 жыл бұрын
can you also explain How to create a custom notification on Android using remote views.
@derekbanas10 жыл бұрын
niranga sandaruwan Here is a good example stackoverflow.com/questions/14542336/alarm-manager-triggers-notification
@rannieangelo10 жыл бұрын
would you have tutorials on how to create calendar view for android? thanks derek :)
@derekbanas10 жыл бұрын
Rannie Angelo Pinulan Sorry I haven't covered that yet. More Android tutorials are coming very soon.
@rannieangelo10 жыл бұрын
thanks... i'll keep an eye out :)
@saumitrabhardwaj294410 жыл бұрын
Merry Christmas Coach. Please be my Santa and teach a ANT in a video course just like C++ God Bless
@derekbanas10 жыл бұрын
Code Info Merry Christmas :) I plan on making a tutorial for every language over the next few months.
@mirandalawson94779 жыл бұрын
My app does nothing after 5 seconds. Am I the only one with this issue?
@derekbanas9 жыл бұрын
Miranda Lawson Are you getting any errors in the LogCat?
@mirandalawson94779 жыл бұрын
Derek Banas No errors. Just nothing happens. toygar05 further down in the comments has a fix that worked for me (but the alarm generates no sound of any kind) : Alarm button didn't work for me. Adding the following line to manifest file between the end of activity and application tags fixed my problem:
@theducksneezes49878 жыл бұрын
Were you able to get it to work?
@waseemsalie2208 жыл бұрын
Hi Derek, i got this app to run perfectly, how would I alter the code to trigger this alarm/notification the 5th day of every month?
@TrivediKavit10 жыл бұрын
Hey, Can u make a tutorial on Push Notification in Android using PHP ?
@derekbanas10 жыл бұрын
Kavit Trivedi Sure I'll cover that as soon as possible.