I was wondering if it's possible to get the icon (shortcut) of your app on the home screen during installation instead of inside the standard apps folder ?
And I did find out that Android has AppWidgets but I was wondering if it supports "standard" widgets as well (javascript/html/css) ?
At the moment it doesn't support "standard" widgets (javascript/html/css), but you should take a look at the Titanium Project
And there is no way to automatically put a shortcut on the homescreen when the application is installed. Not sure if most users would like that either.
Related
I saw some android applications that has floating window like something in windows OS (or like picture below).I had searched but i could not find any thing.Is any api or library needed or this is just styling?
You can build App Widgets. App Widgets are miniature application views that can be embedded in other applications (such as the Home screen) and receive periodic update
go to link for more details
https://developer.android.com/guide/topics/appwidgets/index.html
http://www.vogella.com/tutorials/AndroidWidgets/article.html
Im attempting to develop an AllApps drawer like Aviate, but as a separate Activity (that way I can launch it from Nova Launcher through a gesture).
I've seen answers on how to add a shortcut to the homescreen. i.e.:
Android create shortcuts on the home screen
How to add shortcut to Home screen in android programatically
Is it possible to specify the which homescreen page and location? I'm guessing not since google playstore does not seem to put it in the best place on a new app install, but wanted to confirm.
On the default launchers, there is no documented way to do this.
I want to develop an android application which has to run two other applications on the device with one app on upper half of the screen and the other in lower half of the screen. Any clues/suggestions to start developing this ? Thanks in advance !
it's not possible multi-pane-layout two other apps.
if u want your app with multiple activities follow this tutorials for your references:
it's called named as multi-pane-layouts and offical introduction about multi-pane-layouts below link:
http://developer.android.com/design/patterns/multi-pane-layouts.html
and it's shows how to implement multi-pane-layouts on your project below link from android official side:
http://developer.android.com/guide/practices/tablets-and-handsets.html
and you can download example project from github below link:
https://github.com/faisalgeek/MultiPaneAndroidApp
This is not possible, except via custom device firmware or ROM mods. In standard Android, only one app can be used at a time.
However:
You are welcome to support multi-window apps on some Samsung devices, as they have extended their firmware to support this concept
You are welcome to have an activity's theme set up to not fill the screen, though anything else around the activity will at most be visible and will not respond to touch events
If all of these applications are yours, combine them into one app, and then you can display elements of that app alongside other elements of that app however you wish.
If you are looking for a feature for your app which supports multi-window then Latest Android version N has a new cool feature called Multi-window support, you can let your app support multi-window which can be resized and scaled which is exactly your requirement. you can find the reference link here
Can anyone explain me, how can I handle and use the default applications of my Android device programatically.
Also how can I get all the app information installed on my device and also unistalling them progromatically.
If possible kindly give me fews links to understand and using these things properly.
By "default app" I assume you mean a Home replacement. There is a Google sample here as well as ADW Launcher and also the source for the Android launcher
I have an Android application does many things. I would like to be able have it spawn a desktop widget (?) that opens the application to do a specific thing when the widget is clicked.
Can someone give me a road map on how to do this?
As far as i know, Android applications can not add App Widgets to the home screen. Applications can define App Widgets, but user has to add them manually to the home screen.
However it is not hard to launch Activitys from a widget using PendingIntent.
This is called AppWidget and is described in details in Android documentation (both references and step-by-step guide). Note, that it's the user that adds the widget to his launcher screen. AFAIK there's no way to add it to launcher in code (though HTC might have some undocumented ways).