I am very new to android development. I wanna create a app thats like a ticker on android tablet. But when the user clicks on any other application, i still want my ticker to be visible and the other app to resize and occupy rest of the screen only.
Somebody told me that this is not possible. Is it the case ? Anyone know of any similar app ? or somehow plz get me started with this ?
Thanks for your help.
Cheers
It is not a good idea steal screen space from other applications. If your ticker is floating above like modal window, it would probably block some views for the user.
If your app is competing for the screen space, the other app would probably look ugly.
My suggestion is that you rethink your application, and follow the user interface guidelines.
Good luck!
I believe this isn't possible. Even if, it isn't a good idea. If you want something like that consider creating a widget or some kind of notification. That would be the best and a lot of applications use notifications like that.
what you want to do is creating a system type of window,such as PHONE_WINDOW,make your app flowing on the up-layer of other normal window.
You may read this post
http://www.apkbus.com/android-77789-1-1.html
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 want to create a app widget in my desktop and let it support full screen and webview, but I can't find any solution Click Here:
So I am wondering whether there is a way to let app widget support full screen and webview?Or it's designed to not support such function?
I don't think it worth any down vote , in a company , do my best to meet product's requirements should be down vote???? I know it's a very strange question , but I just need others to tell me I can't do this not because I don't have enough skill!Even the official documentation tell me it's almost impossible , but I still ask in Stack Overflow, I don't want to give it up so quick.
Widget has to be placed on launcher and therefore cannot be full screen. If you absolutely need one, implementing your own launcher that can add full screen widget to it may works (I haven't tried this). You probably cannot hide notification bar with it though.
Unfortunately, widget does not support webview according to the documation.
I want to develop an android application that will be an alternative lockscreen.
I searched a lot and i couldn't found an explanation about how to make an app to work like a lockscreen. I understand that there is no official android API for lockscreens, but there must be way, because there are a lot of alternative lockscreens applications in the market.
Does someone know how could i make my app work like a lockscreen? Or if there is a basic code out there of lockscreen app that i can learn from it how to do it?
Thanks a lot (:
The way this is usually accomplished is creating an app that becomes the home application and then when the screen is turned on display your custom lockscreen and hide it when the user successfully unlocks it so they can use the device.
Make sure to take a look at the numerous questions on SO that are very similar to this.
I'm just mucking around with Android tablet stuff in 3.0. I have fragments set up to do the equivalent of UISplitViewController for iPad. Anyone know what the best solution to get something like the iPad UIPopOverController is?
I'm thinking the options are either a separate dialog or something in the Action Bar ...?
I haven't actually seen any Android tablets running 3.0 so not clear what the standard will be ...
Many thanks in advance
This may not be exactly what you are looking for because I'm not all that familiar with UIPopOverController but I think you can accomplish something similar using a Toast with a customized layout.
I would take a look at Creating Toast Notifications and see if it works for you.
Depending on the functionality needed it might work, otherwise you might need to look into trying to generate a modeless dialog with a custom layout.
As for your other question, yes options are generally stored in a separate activity within your application and following Honeycomb design the options activity would be accessible from the Action Bar and the options itself could be a fragment.
Its nothing official but I would crack open the source code to the contacts app for 2.0+ They emulate the popover UI using an Activity in a pretty creative way. It might be a little over kill as it was designed to be usable by any application not just itself. But it should help give you a nudge in the right direction.
Also depending on what the behavior you are looking for exactly a combination of fragments and action bar could be the way to go, but its not going to be as easy as iOS.
Is it a good practice to develop an app that uses the full screen?
It is not a game, full screen would be just nice to have more space on the screen for GUI elements.
But I have the dim feeling, that a full screen app could break some recommandations for good app design. The developer guide gives no answer to this. Who knows more?
I'm learning how to develop on android and it is very important for me to learn it right.
In his private blog Reto Meier(Android Book author working at Google) advises everybody to not build full screen apps. These apps will blog the clock and the notification area and this will make the user unaware of every other app they are using.
I personally even dislike the full screen mode of some ebook readers because I read those ebooks at bus stops or in the train and I need a quick look on the clock while reading a book.
Don't annoy your users just for 30px of screen estate.
If you think your design with this more space is perfect and every user will acknowledge this and wants to use it after trying it make it a setting to hide or show the notification bar. If you are using Google Analaytics you could even measure how many of your users are using this feature and then adjust the default setting.
I would say, depends on the app. Personally, I'd get a little peeved if the notification area popped down over my "Angry Birds" and ruined the shot! ;)