HomeОбразованиеRelated VideosMore From: Sabith Pkc Mnr

How To Make Android Wallpaper App (AdMob ads, Categories, Material Design, Save Image, etc) - Part 2

93 ratings | 8591 views
#HowToMakeAndroidApp How To Tutorials - Creating a brand new android multiple image wallpaper app with AdMob ads, different categories, dynamic access, notification, current wallpaper, material design, save wallpaper to android gallery, and so on. In this video, we're adding new ImageView that going to show the current wallpaper inside the Android Device using WallpaperManager class. Official Website: http://www.techcetro.com Subscribe Here: https://www.youtube.com/SabithPkcMnr?sub_confirmation=1 You must need to install Android Studio IDE (Integrated Development Environment) in order to practically continue this video series. You can find the installation instructions here: http://www.techcetro.com/android If you have any kind of suggestions or recommendation, feel free to let me know. Ask your doubts in the comment section below to that corresponding video and I will be answering each one of you! The official website for source codes: http://www.techcetro.com Hope that was a great tutorial for you. Feel free to subscribe so you won't miss any updates !! https://goo.gl/lrrGFC Find Me : Google : https://google.com/+SabithPkcMnr Twitter : https://twitter.com/SabithPkcMnr GitHub : https://github.com/sabithpkcmnr Subscribe Me : https://www.youtube.com/SabithPkcMnr?sub_confirmation=1 The official website for source codes: http://www.techcetro.com Your master: Tutor: Sabith Pkc Mnr Skill: Android Programming Expert Profile: http://www.google.com/+SabithPkcMnr Sabith Pkc Mnr | TechCetro Official© Mirroring is strictly restricted.
Html code for embedding videos on your blog
Text Comments (69)
Sabith Pkc Mnr (2 months ago)
Get Android Wallpaper Source code: 📲⬇️ https://www.youtube.com/SabithPkcMnr/community
Sabith Pkc Mnr (28 days ago)
Thanks a lot buddy :)
Keanu Robert (28 days ago)
Sabith Pkc Mnr you're great thank you!
OMAR MAAZ (26 days ago)
but how we can add on wallpaper some effects like rain or splash or glitch and more and more in the last we need to know how to make live Willpaper and thank you 💕 you awesome ❤
Sabith Pkc Mnr (25 days ago)
By the way, I think you have to use any transparent images of these mentioned effects (rain, splash, etc) over the normal ImageViews. I don't have any correct idea on that subject. Oh, thanks for the love :)
Trailor Time (29 days ago)
Integer [] my ImageArray ={ R. Drawable. Image(1), Thebimage part is showing wrong means its mark red colour After that android:src ="@drawable/image(1)" Its also mark as red and is not working Pls advise me
Sabith Pkc Mnr (28 days ago)
You cannot directly get an image from Array in ImageView XML section. In the Java codes, you can create a Integer arraylist and add each image directly like R.drawable.superImageOfFlower, R.drawable.myWonderCar, etc. Finally call in your ImageView variable like myImageView.setImageResource(myImageArray[0 or 1 or 2 or etc] - You can show only a single image on ImageView at a time.
Trailor Time (29 days ago)
jpg image file ianot support inside drawable
Sabith Pkc Mnr (28 days ago)
Check if the image extension is .JPG itself and not .JPG!D
Har-inder Katiyar (1 month ago)
Hlo bro m facing problem in your code
Sabith Pkc Mnr (1 month ago)
Let me know what issue.
HRHP Technica (1 month ago)
MyGridView = findViewById(R.id.myGridView); myCurrentWallpaper = findViewById(R.id.myImageView); Showing error Error: incompatible types Vuew cannot be converted to grid view Same for imageview Required - android.widget.ImageView Found - android.view.View Solution please
HRHP Technica (1 month ago)
its already in the import
Sabith Pkc Mnr (1 month ago)
Go to the top of that Activity. Just add this to the imports: *import android.widget.ImageView;*
X Rider (1 month ago)
05-01 00:31:13.301 14326-14326/com.example.lenovo.beautifulwallpaper E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.lenovo.beautifulwallpaper, PID: 14326 java.lang.OutOfMemoryError: Failed to allocate a 286654476 byte allocation with 2483402 free bytes and 188MB until OOM at dalvik.system.VMRuntime.newNonMovableArray(Native Method) at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method) at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:700) at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:535) at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:1179) at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:770) at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:621) at android.content.res.Resources.loadDrawable(Resources.java:1729) at android.content.res.TypedArray.getDrawable(TypedArray.java:945) at android.widget.ImageView.<init>(ImageView.java:157) at android.widget.ImageView.<init>(ImageView.java:145) at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:71) at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:67) at android.support.v7.app.AppCompatViewInflater.createImageView(AppCompatViewInflater.java:181) at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:105) at android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1035) at android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1092) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:776) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:734) at android.view.LayoutInflater.rInflate(LayoutInflater.java:865) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:828) at android.view.LayoutInflater.inflate(LayoutInflater.java:525) at android.view.LayoutInflater.inflate(LayoutInflater.java:427) at android.view.LayoutInflater.inflate(LayoutInflater.java:378) at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139) at com.example.lenovo.beautifulwallpaper.MainActivity.onCreate(MainActivity.java:26) at android.app.Activity.performCreate(Activity.java:6956) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3045) at android.app.ActivityThread.-wrap14(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1642) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6776) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1518) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408) These all are red..
Sabith Pkc Mnr (1 month ago)
What?
X Rider (1 month ago)
Sabith Pkc Mnr free ka bta koi
Sabith Pkc Mnr (1 month ago)
Are you using High-quality images? I suggest you buy my Wallpaper App full Source code for just Rs.450. I have done everything in it.
Ebyn jose (2 months ago)
ur site is experied
Sabith Pkc Mnr (2 months ago)
Now I am on my official website, https://www.sabithpkcmnr.com
Ashu Sharma (2 months ago)
when i run this app it says app has stopped. and in android studio 1 warning said field is never used HELP!!
Sabith Pkc Mnr (2 months ago)
Can you share me your logCat information, so that I can guide you?
Mr White (3 months ago)
no source code!
Sabith Pkc Mnr (3 months ago)
Will be added soon.
Atul Sharma (4 months ago)
Bro I Just Did Every Thing According To You But When I Run The App It Only Gives A White Flash And Then Closes Without Any Error Or Something Can You Tell Me What's Wrong Plzz And Your Videos Are Awesome
Sabith Pkc Mnr (4 months ago)
Welcome! You can ask your doubts in the comment section itself, I shall get back to you there.
Atul Sharma (4 months ago)
Sabith Pkc Mnr thnxx you are very helpfull Can I get your number for future help?
Sabith Pkc Mnr (4 months ago)
Using 4K resolution images on ImageView will surely crash the app or atleast it will critically slow down the app. In-order to use those high sized images, you need setup one of the library that I mentioned to handle those kind of images. You can check for those library tutorials on Google and include it in your app.
Atul Sharma (4 months ago)
i dont understand bro can yo be more specific
Sabith Pkc Mnr (4 months ago)
Ah..! For such instance you probably have to use some sort of Image libraries like Picasso, Bitmap, Glide or some thing like that which can handle high sized images without crashing the app.
A YouTube User (5 months ago)
Hey Buddy can you please tell me that which screen recorder do you use on your PC or Laptop?
Sabith Pkc Mnr (5 months ago)
Most welcome!!
A YouTube User (5 months ago)
Sabith Pkc Mnr Thanks bro
Sabith Pkc Mnr (5 months ago)
Hey there! It's TechSmith Camtasia for Screen Recording and recorded video editing. Other graphics on the video are done by Adobe After Effects. Thanks!!
R. Avinash kumar (6 months ago)
Hi,I am using your code. To add image to a grid view on click of button. I want to add same image on click of button. But I am not able to add more than one
R. Avinash kumar (6 months ago)
U uploaded 4 images and used them?I just need one image
R. Avinash kumar (6 months ago)
I want to add same image again on click of button inside a gridview
Sabith Pkc Mnr (6 months ago)
Have you watched the part3 & part4? There I added images into the GridView. Although I didn't get your question clearly.
R. Avinash kumar (6 months ago)
I want to add same image in grid view on click of button dynamically. How can I do that? As I found out by debugging your adapter code generates id. That might not be allowing me to add new image... Any solution for that. BTW I am trying out a memo app using combination of your SQL sharedpreference and this turorial tutorials..
Sabith Pkc Mnr (6 months ago)
Can you expand your question a little bit more?
Mr White (6 months ago)
Hello, i want to play a" Playlist of videos " inside 1 VideoView, like after when first video ends, the next video start to play and so on, Any help please ?
Sabith Pkc Mnr (6 months ago)
In the VideoView, you can implement a *OnCompletionListener* which create a *onCompletion* method, inside it, you can play the second video...
R. Avinash kumar (6 months ago)
Hi can you add a video sometime on how to use api library of android, as a developer i think that a very important thing . a simple walk through
Sabith Pkc Mnr (6 months ago)
Sure, I will do it one day ✌
Vinay kumar (7 months ago)
Hi Again ! I have another question that how do you manage all screen sizes for an app.....Please reply Fast :)
Sabith Pkc Mnr (7 months ago)
Sure you can.. It was there since the Android Studio version 2.2 I guess, since that time I didn't like to play around it, more precisely I don't have enough time to spend on it ✌
Vinay kumar (7 months ago)
But it looks intresting i should give it a try ;-)
Sabith Pkc Mnr (7 months ago)
Yes, you can but it's easy to use other layout types than the Constraint because the Constraint basically uses X, Y, Z axes and also I am not at all interested in shaping it. 😜
Vinay kumar (7 months ago)
Ok Thnx but can we do it with constraint layout or Not?
Sabith Pkc Mnr (7 months ago)
We have an option to create separate layout for each device sizes. May be I shall mention that in the layout designing part of this tutorial series...
TOLLYWOOD TRENDZ (7 months ago)
how to add pictures into drawable
Sabith Pkc Mnr (7 months ago)
Most welcome :)
TOLLYWOOD TRENDZ (7 months ago)
Sabith Pkc Mnr Thank u sir
Sabith Pkc Mnr (7 months ago)
Copy all the images you need from the computer and right click on the drawable folder and select 'Paste' from the options...
My Mukmin (7 months ago)
U from malayalam ?
Sabith Pkc Mnr (7 months ago)
Yes, I am a Malayalee 🤓✌
dhruv mevada (7 months ago)
why you not make this series using kotlin? please make this videos in kotin language.
Sabith Pkc Mnr (7 months ago)
I am not using Kotlin in my videos because my viewers are not that comfortable with Kotlin than Java...
Owais Shah (7 months ago)
👍nice... Hw mny left?
Sabith Pkc Mnr (7 months ago)
I don't even know it exactly but we will build good looking wallpaper app within 10 tutorials :)
atul chaudhary (7 months ago)
Hey man thanks for this series
Sabith Pkc Mnr (7 months ago)
Yes, we can do so... In the first few tutorials, I will cover up the basics like how to use WallpaperManager and Base Adapter with GridView and later on we will replace the Empty activity with a nice looking Navigation Drawer or by a Tabbed Activity. I know you're excited to see that so stay tuned 👍👌
atul chaudhary (7 months ago)
But this could be something similar to walli app navigation along with tabbed activity
Sabith Pkc Mnr (7 months ago)
Most welcome 😜✌

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.