Im develping an app using apk 12 for 10.1 inch galaxy tablet. I would like to design a home screen only with my apps icon so that user will not be able to access anything else. Can I do that ? If yes, how ??
I would like to design a home screen only with my apps icon so that user will not be able to access anything else. Can I do that ?
Yes, it is possible to create a home screen application.
If yes, how ??
There is a Home sample app in your Android SDK installation (assuming you installed the samples from the SDK Manager). It largely boils down to having an activity with an <intent-filter> using CATEGORY_HOME.
Note that the user who installs your app will have the option of choosing between your home screen and the built-in one. Even if they make your home screen the default one, they will still be able to revert that decision by removing your app:
by booting in safe mode
via the Android SDK (e.g., adb uninstall)
by getting into Settings through notifications and the like
possibly other means
For ur knowledge lot many thing are diff for honeycomb.
For your knowledge, nothing changed in this area with Android 3.0.
Related
I want to make a widget but it should be uninstallable or undeletable from home screen (if possible) like "google search" widget on nexus & moto phones. I searched it already but didn't find anything related to this. Is it really impossible to built such widgets?
Is it really impossible to built such widgets?
Yes. The decision of what widgets to allow users to add and remove is up to the home screen implementation, not you. So, for example, if on "nexus & moto phones" you install a third-party home screen, the Google search widget may or may not be available at all, let alone non-removable.
If you want to force people to have certain things on their home screen, write a home screen, then use heavy weaponry to force people to use that home screen. Note that the use of heavy weaponry may be illegal in some jurisdictions.
I am planning to build an app which needs a screenshot. My requirement is to launch the app when the designated key presses are executed. (i.e. like volume up+lock key for taking screen shot in windows phone). My app will then launch automatically for further processing of that image. Is it possible to build or is there any work around for that?
Thanks in advance.
There is no way to build such app for Windows Phone.
Even if an app is running it can't get access to hardware keys except BackKey.
App can't run in the backgroud. After user leaves app it goes suspend and only couple of BackgroundTask can be launched to run in background at that moment.
EDIT
To be clear your app on Windows Phone 8.1 can be done but it'll work like following:
User takes screenshot, goes to gallery and choosing to share it.
Your app must declare that it can receive image (https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh871367.aspx)
User see your app in share list, choose it and than your app gets screenshot and may start to work with it.
Adding on what #khamitimur has posted. You will be able to only list down the third party apps installed within your Windows Phone device programmatically but not to launch them using any hardware parts of the device.
P.s : The developers have not yet been given any access or API to hardware parts in order to trigger events from those.
I'm developing a tablet app on a Samsung Galaxy Tab 10.1 (Android 3.2). The tablet will be dedicated to running this app, which is used in an industrial environment. Our app will "own" the tablet and users can only access device features via our software. We already have a successful app like this running on phone-sized devices running Gingerbread.
On the bottom of the tablet screen Samsung has placed a "System Bar" (N.B.- NOT the Action Bar) and all kinds of other apps and widgets can be accessed from this bar. Is there any way to programmatically access this System Bar, to either modify (depopulate it of all its apps and clutter and just keep the Home and Back buttons), or to hide it altogether?
Thanks in advance.
You can hide the bar programmatically, but it requires root access to do so. This guy wrote an app to do it, and published the source code.
It is possible to remove the mini-apps, but it requires root - remove the APKs that the "mini apps" refer to, and they will disappear from the bar. There is no way to easily or programmatically do this, and your best option is to write a custom ROM with those apps removed. It's a giant pain in the ass.
If you don't need anything specifically from 3.2, then you should be able to track down a stock android 3.1 image that shipped on the galaxy Tab before touchwiz was ready. This will not have the "mini apps" or the screenshot button on the system bar. If you flash that, you won't need to root, as it's a signed image.
We have an App for a tablet with Android 2.2. This is the only App that should run on this tablet. It starts automatically.
Thats why the user should not have access to other Apps on this tablet, especially not to the settings.
How we can realize this?
You should probably write your application as a Home application. There is an example in the developer docs here:
http://developer.android.com/resources/samples/Home/index.html
Then you'd be able to switch the default Home application for your one.
I am looking for a way for when someone installs my application it goes in their "all applications menu". Then, after they run the app and go into the setup, when they click save on their options, it will create a shortcut on the home screen (not the all applications menu). Also, is it possible to have this shortcut not do the same thing as the other app? meaning that if I wanted to change the settings I could click on the app in the all applications menu and if I click on the app in the home screen it does something else.
First off, there's lots of different home screen implementations on Android. The stock Android one, Samsung, HTC and Motorola all have their own variants, then third party ones like Launcher Pro. All use different stores as to what to keep on the home screen, may provide different profiles for the home screen (home, work, etc).
Second, the home screen is prime real estate. And it is also the user's real estate. If there was programmatic access to the home screen, what happened to the Windows quick launch, desktop, favorites menu (in older versions of IE), and older pin area of the start menu (the very top of it in Win 95/98).
To quote Raymond Chen "I bet somebody got a really nice bonus for that feature". So, in short, even if it was possible, please don't. As awesome as you think your program is, the user might not think the same.