I am writing an app in which i have to show device's Home Launcher when user do click on button (which i have placed on my own launcher), I tried using this code, but its showing all the apps installed on my device, but what if i want to show Device's Home Launcher only on button click
public cl...
i dnt want to make my custom home screen i just want to make launcher app clicking on home button will show my launcher app in dialog (if there are more than one launcher ) action_Screen_on will show myactivity with some work done and with button now clicking on button will show device default launcher screen while in my case its shwoing MainActivity
@Erum First of all, launchers are triggered by intents, so if you replace the default launcher application with your own application, the next time you fire an intent for the launcher your application will be launched because that is the default launcher application now.
One thing you can try is to get hold of the package/class name of the actual launcher application which you want launched.
First of all, a launcher application is also launched by an Intent. So if you write your own launcher application and set that application as your default launcher application, the next time there is an Intent for the launcher application, your own application is going to be launched, not the pre...
@Ghanshyam If I were you, I'd just make custom views on screen that look like navigation bar and everything else you need. Apart from that, you question is not clear to me
@Ghanshyam The thing is, I don't see the problem. You want a certain thing, ok. But, you don't explain the thing that you tried to achieve that and the problem where you got stuck while doing that, in your question.
@Ghanshyam first of all, explain your problem. Just telling that I want certain thing isn't even a problem. Second, explain what you did to solve that problem. Third, explain, where you got stuck while solving that problem.
well well, @mav is asking us to do something new @berserk
how 'bout we tie him up and beat him and then tie some weight with him and throw him into ocean?
@DroidDev okay 1) Need to creating navigation bar to access from bottom tab bar from its click on menu, 2) done upto bottom tabs bar with its menu than i cant access navigation bar 3) when i can access navigation bar from action bar menu while not its not working from bottom tab bar menu
how can i override my app so that if there is any lock that is pattern lock or password lock in my app then my app should come first clicking on buton in my app will now show lock screen
@DroidDev I couldn't buy any. As I told you I have got no driving license yet. In Mumbai, it'll take time to get it as you'll have to wait for 3 months for your appointment after applying. Also I stay in rented flat. So, for me it's hard to get any address proof holding my name on it.
Where should i set adapter in fragment? in onCreateView or onActivityCreated? stackoverflow.com/questions/… & stackoverflow.com/questions/… . Setting in two way. But, which is best, which i've to go?