How can I create automatically, once installed, a shortcut for my app in the home of the launcher in use?
Check this page which has a tutorial on how to accomplish this. But mind you, this is undocumented, and might not work on all devices. Also check this answer to a related question on SO. I also believe that since Android 4.0, the os automatically does this for newly installed apps if it could find enough space for a short cut on a home screen.
Related
I have a question. I wanted to develop an app that would add a shortcut to the keyboard (Samsung SoftKeyboard).
The shortcut should be accessible via the dots at the top right (see attachment).
I would like to add a circle ("floating") over my app, as shown in the picture on the right.
Something specific should then be carried out via this circle (but that's not the point yet).
I've done a little research, but don't really know what to look for.
I hope you can help me.
thanks in advance
Example
afaik there is no such possibility to add anything in there. it's another app with own custom settings and options, you can't edit such or change in any way. your last chance is possibility of published API/some communication way for that app, which would allow to add such actions, but I very doubt Samsung made such API for own keyboard app and allowed ANY 3rd-party app to mess in their software... (btw. that would be very insecure for user)
I know i'm going to die as maybe i didn't place this post correctly, also i'm not a developer, only a graphic designer.
I'm looking for some advise, hope someone could help me with that.
Imagine that you launch your app, and within that there is a button that says "Install widget". You press that button, then the app closes and a widget appears on the home screen.
Is that possible?
i've been reading that before 4.2 i wasn't, but something changed from then. Problem is that i have no more information about this, and also i don't know if it changed over time.
I'm behind the graphic design of a widget. The idea is that you first download the app, which will help you to configure the widget, and then you have to manually place the widget in place.
They are afraid that some people wont understand, and they will cease trying.
I only would like to know if this is possible, (or something similar) and if someone knows any APP that does this thingie.
Note: APPS like "Swiftkey" guides you in the process of installing your keyboard. it asks you to go to a determinate place of the phone settings, and gives you a shortcut to that place so you don't have to go by yourself.
It would be amazing. To directly place a widget o to guide them trhough shortcuts.
Many many thanks in advance!
Is that possible?
No. The user installs the app widget through the home screen.
The idea is that you first download the app, which will help you to configure the widget, and then you have to manually place the widget in place.
That is also not possible. The flow is that the user chooses the app widget in the home screen, places the widget in place, then if you have a configuration activity defined, you will get a chance to help the user configure the app widget (e.g., to choose the city for the weather report that the app widget should display).
APPS like "Swiftkey" guides you in the process of installing your keyboard. it asks you to go to a determinate place of the phone settings, and gives you a shortcut to that place so you don't have to go by yourself.
Input method editors (a.k.a., soft keyboards) are configured through the Settings app, and therefore there is a consistent place to direct users towards. App widgets are configured through the home screen, and different home screens can implement that process in different ways, so there is no standard spot to direct the users towards.
I try to explain better:
I want to put some tablets in my shop for my customers. I want them to use only a few apps that I've created.
So I need an Android version (or a launcher version, maybe?) where you can only choose between some apps to be played. All the settings, all the other apps and everything else must be unreachable (or, better, only reachable if you know the password).
Anyone has any suggestion on how to do it or where do I start?
Thanks a lot.
One Google search led me to the following:
https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher&hl=en
https://play.google.com/store/apps/details?id=com.teslacoilsw.launcher&hl=en
Just whichever one you want and and hide the apps you don't want. It will hide them in the drawer as well. Nova Launcher already looks like stock Android, or close enough if you want that. In fact they both do.
I am totally newbie and I am not an English native speaker, so please don't yell at me if I do something wrong.
I made an android app in eclipse (nothing special), but I have one problem. I want to add a shortcut in folder so the user can call it from folder. in that folder i will later add more shortcuts. i want to separate my apps from others. this folder and the shortcuts need to be in main manu.
I tried some codes what I found here in stackoverflow, but I stacked and I don't know how to proceed.
Thanks in forward for anwsers
Though I am not an Android developer, I don't think you have to update anything. Users should just be able to drag your application icon to the home screen. If you want action-specific shortcuts (I.E., go to Wi-Fi settings in the settings app), then please update your question.
you open start menu and you have your own folder with your shortcuts
In Android, the "start menu" equivalent is called the home screen. There are many, many implementations of a home screen -- dozens that come pre-installed on different devices, and hundreds more than can be downloaded from the Play Store and elsewhere.
Some home screens may have the concept of a "folder", but they may or may not expose an API to developers to control it. Other home screens will not have "folders" at all.
You are welcome to contact each home screen author to find out whether they support the notion of "folders" and whether there is a specific way for your app to create a "folder" and appear inside of it.
Or, you are welcome to build your own home screen, complete with as many folders as you like.
the least thing i like on the nexus one is the useless app it runs when on the desktop dock.
I already wasted a good day searching for the 3 topics below and failed to find anything.
Is there any replacement for it already available?
Is there source code for the original one?
Is there documentation on how to replace them?
Very Likely. Look in Android Market; I'm sure there's a desktop clock replacement app there.
Yes. look at DeskClock.git.
Yes. look at Intent.CATEGORY_DESK_DOCK. If you create an activity with an intent-filter that contains this category it'll show up in the list of available apps (the 'chooser') when the phone is docked.