android-launcher

Completely Disable/Hide Status Bar on 4.4.2

孤者浪人 提交于 2019-12-10 16:26:37
问题 We are developing a launcher app for elderly people which has a very easy UI and we do not want to show status bar or notification drawer. Now i tried to disable Status Bar but it seems to re-appear when i pull down from the upper side of the screen. And if i pull-down for the second time notification drawer is opened. Is there a way to completely disable Status Bar? I checked the documentation on the following links but i think no solution is present. In API level 16 we were able to disable

Launcher icon is changed but in recent apps still default icon i seen

我只是一个虾纸丫 提交于 2019-12-10 13:04:28
问题 I have changed the launcher icons in File -> New -> Image Asset and the icons are changed. When I click on recent apps icon in it displays the default icon where as correct icon is shown in the main icon list. Verified the Android manifest where application tag contain the icon tag and corresponding mipmap. What's wrong here? I am using xiaomi note 4 mobile. Please help. 回答1: The app icon in the app launcher should be updated, but the shortcuts won't be updated until the next refresh of the

Set google as search bar in home screen Custom launcher programmatically

你离开我真会死。 提交于 2019-12-10 12:33:52
问题 I am creating 'my own launcher . In that case I want to put Quick search bar` in my home screen i.e. Google now launcher. How can I do that. I have gone through multiple threads but not found any relevant answer. I don't want to show the widget picker .I want asap user install this launcher search bar should be there. Thanks in advance. 回答1: The search bar is not displayed because the launcher doesn't have permissions to show the widget. As you probably already figured out, if a user

Getting list of installed app's, easy. But how to launch one of them?

不羁岁月 提交于 2019-12-10 10:54:47
问题 My first application will just be a kind of launcher that I would like to improve. This launcher will launch a custom Home that the user has installed. That's like the application "Home Switcher, but I would like to do that myself. So my first goal is to get all "Home" applications list: that's really easy and the code is there: Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); pm=getBaseContext().getPackageManager(); mainIntent.addCategory(Intent.CATEGORY_HOME); List<ResolveInfo>

how to make the Launcher-Pick-Up popup window showing?

被刻印的时光 ゝ 提交于 2019-12-09 22:06:23
问题 I have an Launcher app installed. And user has choose another launcher as default, that means when pressing HOME the default launcher will come to front. I wanna supply user with an convenience of reseting default launcher. Such as a button clicking in my launcher's UI will make Launcher-Pick-Up popup window showing. Go Launcher can do that(in Go's setting view). it seems Go Launcher does something like "PackageManager.clearPackagePreferredActivities("com.android.launcher")" to clear the

Android oreo shows icon inside white round

孤街浪徒 提交于 2019-12-08 14:41:39
问题 My Android application shows launcher icon inside white circle on Android oreo version. I would like to show launcher icon as it is like square on oreo device by default. Gone through various blogs and found that : 1) Mobile user can change icon type from home screen settings screen (But that I don't want. I want to display only square by default) 2) Use application target sdk version below 26 (I want to have latest sdk version targeted and square launcher icon) I have tried : Adaptive icon

Android / Java - Add textView to Drag-Drop GridView Tutorial / Example

£可爱£侵袭症+ 提交于 2019-12-08 05:36:11
问题 I've create a project based on a few classes from the following tutorial: http://blahti.wordpress.com/2012/03/03/improved-drag-drop-for-gridview/ Now I'm attempting to modify the example to be able to drag and drop not only an image - but an image and a textView at the same time. How can this be accomplished? I've instantiated the textView already: tx = (TextView) findViewById(R.id.textView1); Now I believe I'll need to modify the tutorial's acceptDrop method (in it's DropTarget class) but I

Android / Java - Add textView to Drag-Drop GridView Tutorial / Example

流过昼夜 提交于 2019-12-08 05:24:27
I've create a project based on a few classes from the following tutorial: http://blahti.wordpress.com/2012/03/03/improved-drag-drop-for-gridview/ Now I'm attempting to modify the example to be able to drag and drop not only an image - but an image and a textView at the same time. How can this be accomplished? I've instantiated the textView already: tx = (TextView) findViewById(R.id.textView1); Now I believe I'll need to modify the tutorial's acceptDrop method (in it's DropTarget class) but I'm not 100% sure how to do so. The bottom line: I simply need a bit of figuring out how to add a

Get correct Laucher icon size on Android

折月煮酒 提交于 2019-12-07 20:52:24
问题 I am working on an app which is able to add shortcuts icons to the homescreen. What is the correct icon size for Android tablets? (Or better said, how to get it at runtime?) It seems to differ from what is written on this page. I have switch on DisplayMetrics.densityDpi and change the icon size accordingly. But it does not work for all devices..Gnex seems to be ok, but my Galaxy Tab while beeing DisplayMetrics.DENSITY_MEDIUM device displays only 48x48px icon (as it is in guidelines), but

How to make app as a default system launcher?

▼魔方 西西 提交于 2019-12-07 17:43:54
问题 I have developed the launcher application, for the first time when I installed it on device android system pop up chooser dialogue with two options i.e. Always & Just once. I selected "Always" now my app becomes default launcher but issue is when I update the app, the system pop up the same chooser dialogue again, I don't want to show that pop up. How to make the app as a default system launcher? To achieve this, Do I need to create system level app? I have used following permission to make