Android :: Do I Get Event In Activity When It Gets Re-sized
Sep 16, 2009Do we get any event in the Activity when the activity gets resized? like when Virtual keyboard appears on the screen.
View 4 RepliesDo we get any event in the Activity when the activity gets resized? like when Virtual keyboard appears on the screen.
View 4 RepliesI am developing an input method with full screen size views, How can I send a grabbed motion event to the client applications?
View 2 Replies View RelatedMy Activity using transparent Theme in AndroidManifest.xml *android:theme="@android:style/Theme.Translucent"* Which works fine. When it's started from the Home screen, we can see both the content of my activity and the home screen below it. It gives the feeling of "floating". Furthermore, to make it real "floating", the motionEvent has to go down to the home screen to let the home screen response some motion touch. But I have no idea of 2 things : 1. Whether the event can be send down to any thing behind the current activity. 2. If so, how. The solution don't need to be restricted in API level.I mean if any solution need us to rewrite home screen or something else, It's also ok for me.
View 10 Replies View RelatedIf I want to send an event, e.g. OnClick, to an activity from a thread? The expected work flow is below:public class HelloAndroid extends Activity {public void onCreate(Bundle savedInstanceState)Code...
View 4 Replies View RelatedI have two activities. The first activity display list of the users with short info. And after select some user I go to the second activity for display full info about this user. For send event I used startActivityForResult(); for receive event in socond activity and added public void onActivityResult(int requestCode, int resultCode, Intent data). After start project I send intend from first activity and I do not receive in the second : How I can receive sent event in second activity.
View 1 Replies View RelatedI have created ListActivity of images i want touch event just like onItemClickListner how can i do it? i'm not finding any on Item Toch Listener.
View 2 Replies View RelatedI would like to make my activity do something when user clicked the title bar. But I could not find any information about how to manipulate the title bar. Please kindly give me some advices.
View 9 Replies View RelatedI have created a list activity where i have placed some items and i am using OnListItemClick to get the desired actions through D-pad and KeyLeft and KeyRight Buttons, In Emulator TouchEvent is not working , I want to know whether it works in real Handsets? How can i enable the TOuchEvent? also Can anyone please help me out in this.
View 2 Replies View RelatedIn my app, I want a functionality to create calendar event. I open "new calendar event" activity like this:
CODE:.................
It works perfectly on stock Android. On HTC Sense, I have only one issue - end time is not set correctly, it's always one hour after begin time.
I want to call the activity when user pull down the notification and click on that notification...how can i do that?
View 2 Replies View RelatedI have an application with 4 tabs. By default every tab width is 1/4 of the screen width. How can I override this? I need the tabs to have a different width for each one.
View 2 Replies View RelatedAnything good out there exist? I looked through the droid market and found a couple but they all seemed to be themed as car alarms and stuff like that. I'm looking for a decent sized selection of basic noises, notifications, sounds, whatever you want to call them.
View 3 Replies View RelatedI use onLongClick and onClick events of a button to get user inputs. Whenever; the user long click and triggers onLongClick event, the onClick event is also triggered. I couldn't find my problem. The code of two methods are shown in below: Code...
View 2 Replies View RelatedI actually was loving Launcher Pro on my Droid, but after I got my DX yesterday and installed it, I got really frustrated with it all last night. It took away the ability to resize the widgets....something I was really excited about. I also couldn't tell that I could any longer set up pictures of my contacts for direct dial or just as a contact and see the options once I touch the picture. So I bought the full blown version and I'm still not convinced. I want to resize my widgets. Since the Moto Blur (or whatever you want to call it) actually is customizable somewhat, and has the phone and contact pictures at the bottom of all screens, plus gives you the option to choose which screen to go to, I decided to go with that for a while. Since I own LP now, I may go back. I just got really frustrated. Anybody know when and if LP will allow the widgets to be re-sized?
View 15 Replies View RelatedI am trying to find out how to get the perfect sized wallpaper for my nexus 7. No matter what size I download, I always get the cross cropping tool android supplies.I know to manipulate images, but how do I find out what the exact resolution I need for my nexus 7.
View 4 Replies View RelatedNew user here, sorry if this has been covered elsewhere but I couldn't' find it. Whenever I try to text a picture there is a message that comes up saying the file is too large and it automatically resizes the picture to postage stamp size. Is there an easy way to modify that functionality to allow me to send a more usefully sized picture.
View 20 Replies View RelatedAre their any options for any form of external full-sized keyboard for the Eris? It'd be nice to have just one electronic device to bring to school to take notes on. Oh, I don't know if this matters, but I'm still on 1.5.
View 3 Replies View RelatedAnybody use this yet? Looking to get a full sized widget from a local newspaper. Can Plusmo make this happen?
View 1 Replies View RelatedMy phone is running stock 4.2.1 and I am using the latest version of Dashclock from Google Play.
When I log into my phone using my PIN, the next time the Dashclock lock screen shows the widgets as small tiles beside the time, whereas I want them as big tiles.
The first screen is what it keeps defaulting to, even if I set it to the middle screen in the image below
To make them big, I drag down to expand the area, however, once I put in the PIN, the next time they are all small again.
I'm redoing my home screen, and I want to have a few text icons that take me directly to specific home screens. Apex launcher has action shortcuts for this, but they are only 1x1. I cannot use widgets to get these actions... I have to use shortcuts. I have done what I want with 1x1 shortcuts, but they are just too small for my taste. I really want 2x1 shortcuts. I have not been able to figure out how to make them with either Simple Text or Desktop Visualizer.
View 1 Replies View RelatedI'm trying to upload photos from the phone to my macbook. After uploading several pics to "my T-mobile album" and after emailing them to myself, I notice the pictures are pretty small, 480x360.. no where near what I expected from 5 megapixels (and yes, I have the option set at 5mp). What can I do to take larger sized pictures?
Possibly unrelated, I use the stock USB cable to plug in the phone. The phone will charge, but my Macbook does not recognize anything as being plugged in, so I cannot manually browse around to upload my photos. What gives?
I hope there is a way to resolve this or bye bye hero.
View 10 Replies View RelatedWhenever the memory needs to be reclaimed, the process is being killed by Activity Manager Service in killPidsForProcess. I have a back button in my activity window on right corner of the title bar.
I want to kill the activity completely on clicking the close button. Can I reuse the same function and will it have any major effect? Please help me out in this.
I want to be able to show the Battery Info activity in my app, which shows things such as the exact level, battery health, etc.I'm not sure how I can get it, though a few applications such as Power Manager, Any Cut, etc. show this screen as well. I found in the source code of Settings this intent in a file called testing_settings.xml,But I don't know how to use it. I would guess from the fact that Any Cut has a list of activities, that a list of said activities exists somewhere, and therefore an easy way to access them exists, but I haven't found it.
View 3 Replies View RelatedMy app is comprised of a set of reusable Activities that other apps can reuse. For various reasons, I would like my Activities to be launched in context of the invoking Activity's process, instead of always being launched in my Activity's process (default behavior on Android). How can I achieve this?
View 1 Replies View RelatedSo I have an app with Activity A. The layout on the activity is dynamic genearted. So it's possible that on Activity A a user hits a button that goes to "A" and the new page looks different, then a user clicks another button to go to "A" again. Now I have 2 Activities in the history stack. A, A, and currently on A. Is it possible that if a user clicks a button that the whole Activity stack is cleared in a scenario such as this?
View 5 Replies View RelatedHow to finish any previous activity in application stack (at any level , I mean not immediate parent) , from current activity like on some particular event I want to invalidate this previous activity?
View 1 Replies View RelatedHow can I make sure I only retain one copy of an activity on the stack when called from non-activity? When called from an activity I can just add the FLAG_ACTIVITY_REORDER_TO_FRONT flag to the Intent, but how can I do this from e.g. a widget or a notification?
View 1 Replies View RelatedI have a problem to start/create Activity in landscape mode. My Activity need to start in landscape mode and be used in landscape mode by users. So far, I used setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) to force screen orientation of my Activity to landscape mode in onCreate() method.
In addition to this screen mode requirement, my application need to start another background thread in onResume() method, and this thread takes some seconds in order to finish an initialization process, and it is not desirable to to stop/restart this thread's service during the initialization process.
However setRequestedOrientation (ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) forces my Activity restart in a very little while (means onCreate->onResume->onPause->onStop are executed twice at the first place). As a result, my background thread be stopped/restarted during the initialization process, and this makes me a mess at this moment.
The default behavior from my observation is if current activity force closes Android tries to go to previous activity on stack How can I control this behavior? I want force close to close all activities
View 2 Replies View Related