Android :: Usability / State Vs Verb?

Feb 26, 2010

My business partner and I have a small disagreement, and I'm trying to figure out the best way to resolve it. First, I should say I started out his way, and switched after reviewing a lot of applications. The background is this -- we have an app, with some controls which can be locked. A lock/unlock icon is put next to the lockable controls. You can long-click the icon, and it brings up a context menu with several items, including the item for the lock state.Currently, it brings up a "Locked [X]" or "Locked [ ]" item -- that is, a menu item with a checkbox that can be checked or unchecked, and the lock state is changed accordingly.He would like me to change it to reflect the action being taken. I.e. the menu item would say "Lock" if it is currently unlocked, and "Unlock" if it is currently locked.It would be acting as a toggle in either case; the only difference is how it is presented to the user.

Android :: Usability / State Vs Verb?


Android :: Changing Displayed State Of Views Based On Parent ViewGroup's State

Aug 11, 2010

I have a compound UI component built up from a ViewGroup containing a number of TextView, ImageView etc. components. Many of these have StateListDrawables as their images/backgrounds. Is there any way of making them select from this drawable based on the state of the parent ViewGroup rather than the component itself? Ideally I want to be able to change the visual state of all children of the ViewGroup (text colour, image etc) based on the state of the ViewGroup, preferably without having to hook up complex logical code. This seems like a fairly common sort of requirement, so I was hoping it would be straightforward in Android - am I going to be disappointed?

View 1 Replies View Related

Android :: Long ListView Optimization / Usability

Nov 17, 2010

I have a long list to display in a listview. Let's say 200 items. This is a long list, but i can't reduce it. Now my list is slow and is not convenient for the user.I need something like a paging system: at the beginning I load 25 items. When the user reach the end I show a button, or something like it, to load other 25 items. An Iphone style solution.Is there a better way? Or what is the best solution?

View 1 Replies View Related

Android :: WebView / Soft Keyboard / Forms Usability

May 1, 2009

The soft keyboard in 1.5 has the same behavior as the hard keyboard with respect to the enter key submitting forms. That's pretty reasonable for the hard keyboard as you can easily see that there are more fields to fill out, and can just tap the next field once to go there.

View 3 Replies View Related

General :: Change Usability Of Screen Size On Android?

Dec 22, 2012

Would it be possible to edit android source code lets say for the Galaxy S to only use a certain portion of the lcd screen. Say much like changing the resolution but creating it so only say 1 inch down would be usable. The rest inoperative.

View 4 Replies View Related

Android :: Phone State Listener State Transitions

Feb 8, 2009

I'm a little confused by what I'm seeing with regards to phone state transitions via the PhoneStateListener. When I receive a call, this is what happens: (call comes in) RINGING -> IDLE (I pick up) OFFHOOK (I hang up) IDLE It's that first transition from RINGING to IDLE without any interaction from me (not ending the call, not answering the call) that confuses me. Do I really have to implement an idle counter to know that an incoming call has really ended? Seems like the reported phone state represents some sort of phone state that isn't the obvious one.Is this a bug or am I just not in tune with the paradigm here?

View 2 Replies View Related

Android :: Usability Bug Report - Poor Use Of Language On Failed Download

May 30, 2009

Failed downloads report "Download unsuccessful" in the Notification area. I think this should be changed to "Download failed", because the words unsuccessful and successful look a little bit too similar at a glance.

View 3 Replies View Related

HTC Desire :: Reliability And Usability Of Phone?

Nov 11, 2010

My phone broke about 1 week ago and it was just a couple of days after my parents asked me what do you want for Christmas, I have never had a smart phone before I had my K800i for 4 years so I never looked at other phones. I quite like the look of the HTC Desire, I did glance at the Galaxy S but the contract prices were too high for my parents so that went out the window pretty sharpish. Is the HTC Desire a goods choice for reliability and usability. I have read many pros and cons but I would like to hear it first hand about any faults with it. Or should I look at another android phone for one reason or another? Like I said I am new to the smart phone world and I have only had a week to look around at the phones. Basically what I want is a phone that rings and I can access the web to check my emails and play with some apps. Sorry if the questions are a bit jumbled its just I couldn't quite figure out what I wanted to ask and part of me is locked onto the desire (don't know why) another part of me says I don't need a smart phone and the other part says "but wouldn't it be nice to check your emails on the go" so I am rather muddled.

View 28 Replies View Related

Nexus :: Power Wake Button Usability

Mar 31, 2010

Current iPhone owner thinking about making the switch to the Verizon Nexus One. I have a concern about the usability of the power (wake) button on the top left of the Nexus One that I haven't heard anyone else mention so perhaps it isn't as big of an issue as I anticipate. Basically my concern is that the hand position and motion required to wake the device using that button is not the same position you want your hand to be in to use the phone. For example, with the iPhone I wake my device with the bottom "home" button that is on the face of the device and then I can very quickly just move my thumb up to swipe-to-unlock without having to reposition the phone. It seems like this would not be possible with the Nexus One given that there isn't a wake button on the face of the phone near the bottom.I'd really love to hear from current Nexus One owners. Is this not the usability issue that I am making it out to be? Do you just adjust and find a new way of quickly waking and then swiping to unlock the phone that is just as comfortable and efficient as with the iPhone? If so, what do you do?

View 11 Replies View Related

Android :: Android - Transforming Widgets Within Transformed Widgets - Usability

Jun 2, 2010

I'm new to Android application development and I'm currently experimenting with various UI ideas. In the image below, you can see a vertically scrolling list of horizontally scrolling galleries (and also textviews as you can see). I'm also doing some matrix and camera transformations which I will come to in a minute.
For the background of the list elements, I use green. Blue is the background of the galleries, and red is the background for the images. These are just for my benefit of learning.

The galleries being used are extended classes where I overrode the drawChild method to perform a canvas scale operation in order for the image closest to the center (width) to be larger than the others. The list view going vertically, I overrode the drawChild method and used the camera rotations from lack of depth dimension in the canvas functionality. The items in the list are scaled down and rotated relative to their position's proximity to the center (height).............

View 1 Replies View Related

Android :: How To Read USB State?

Oct 27, 2009

Is it possible to know when the user unplugs a charger or headsets from the device so I can trigger something..

View 2 Replies View Related

Android :: How To Get Service State?

Jan 6, 2010

I'm trying to get current service state of my phone. It can be easily fetched with get State() method of Service State when a on Service State Changed (Service State service State) callback is invoked: Code...

View 2 Replies View Related

Android :: Dev - Save State

Sep 1, 2010

can someone helpme out with how to save state of the app when the screen orientation is changed i read the development guide at http://developer.android.com/guide/topics/resources/runtime-changes.html#HandlingTheChange

But i dont know how to define the method collectMyLoadedData();

View 2 Replies View Related

Android :: Screen On/Off State?

Nov 3, 2009

I have an app that runs in the background indefinitely provided there is work to be done. I want the app to go to sleep if there is no work to be done and the user is idle. The second part has me stumped. On Windows Mobile I was able to poll the power state to determine user idleness. On BlackBerry I was able to poll the device idle time. However, there does not appear to be a way to determine user idleness on Android.

Instead of polling for user idleness directly, I thought I might be able to use the on/off state of the screen. There are 2 intents ACTION_SCREEN_OFF and ACTION_SCREEN_ON and I was able to setup a listener for these (BroadcastReceiver). The problem is that I do not know how to determine the current state of the screen at the time I register the listener, therefore I have to wait until the next screen on/off change to know anything. The docs speak of some intents that are "sticky" and thus will allow the current state to be determined, but the screen events do not appear to have that property. What am I to do?

In general, I find the lack of support for polling system state properties (e.g. screen state, power state, signal strength) in Android to be annoying. It's cool that one can listen for changes in system state rather than constantly polling for them, but one still needs to know the current state of the property at the time the listener is registered.

View 10 Replies View Related

Android :: Restore Instance State

Aug 24, 2010

I need to save some state when the user leaves my game during game play. Saving the state doesn't seem to be an issue, but I can't figure out how to restore it. The onCreate function isn't called when the Activity is resumed (only when it is first created), so I can't get my state back there. Logically, I would use onRestoreInstanceState, but it isn't being called.

CODE:..........

I see log output from onSaveInstanceState, onResume, onCreate, etc, but I never see a log message from onRestoreInstanceState and savedState is always null. Why isn't onRestoreInstanceState being called, and is there another way to get my state back?

View 1 Replies View Related

Android :: How To Get BT State / Update Application?

Apr 24, 2009

At the moment I am trying to update my application to Android 1.5. In Android 1.1 I was able to detect the BT state with catching the following broadcasts: Code...

View 8 Replies View Related

Android :: How To Save App State In Phone?

Aug 30, 2010

I am writing an app where I get all the data from the rest call and display all the data in a custom component list(based on Linear Layout) which is added to a LinearLayout. I write this code in onCreate of the activity. The problem is when I switch activity using startActivity, and come back to the calling activity (using startActivity) then onCreate is called again. I see onPause, onStop called when I call other activity. Is there any way that I can save the application's state?

View 1 Replies View Related

Android :: How To Get Pressed State Of Preference

Sep 10, 2009

There is know problem in all the Android phones. Go to Bluetooth Settings->Turn ON bluetooth->Click on bluetooth discovery->Then timer will start in summary->Long press on Bluetooth device discovery-> observe Bluetooth ON/OFF title start to toggle with Bluetooth Discovery toggle. I analyzed the issue. Blueooth ON/OFF is CheckBoxPreference. Bluetooth Discovery is also CheckBoxPreference which has dependency on Bluetooth ON/OFF. When we click on Bluetooth discovery then On thread will run at every second to update summary in Bluetooth Discovery preference. When we change the Bluetooth discovery to OFF then thread will be removed/ killed. When i press the Bluetooth discovery for long time when its already in ON State then still the thread will be updating the summary (remaining time from 120 to 00) till i press it. When i leave the Thread will stop. As it has dependency on Bluetooth ON/OFF, its making to the title invisible. But it should not happen. Solution: When i touch the Device Discovery i should kill the update summary thread then i guess, that problem will be solved. But in prefence i dont have any listener to know the pressed state. I hope somebody can give me solution.

View 2 Replies View Related

Android :: Saving Application State?

Jan 11, 2010

I understand how to save an application's state by using SharedPreferences, onSavedInstanceState() & onRestoreInstanceState(), etc as outlined in a similar post ( http://stackoverflow.com/questions/151777/how-do-i-save-an-android-applications-state ), but how do I save the last activity?

To be more specific, my application starts up and goes to a login screen. Once a user logs in and navigates through several activities, lets say he or she leaves the app using the home button or in some other way. Next time the user starts the app, it will go back to the login screen and do a login again. Instead, I want the app to start up and go to the last activity that was on top of the stack when the user left the app in the previous session.

How is the last activity saved so that it can be restored on app startup?

View 3 Replies View Related

Android :: Get Current Sensor State?

Feb 7, 2010

Yes, I can get sensor update events with SensorEventListener. But this approach has 2 drwwbacks:

1) For some sensors I have to wait for the state to update. For example, temperature may update after a minute!

2) In some cases I can get incorrect readings. For example, the phone lies on a flat surface and does not move. I receive first orientation update event after listener registration. When only a part of the orientation vector changes, other parts may be 0. And it is no way to determine, is it a true 0 degree azimuth or just an incomplete vector. If I move the phone a little, the correct non-zero azimuth appears.

To solve this problems it's possible to create a separate thread that constantly monitors sensors. After some time it will certainly contain true values. But I think that it is an overhead for such simple task.

Is it any other way to get current sensor data?

View 1 Replies View Related

Android :: ImageButton With A Selected State?

Apr 9, 2010

If I was using an ImageButton with a selector for its background, is there a state I can change which will make it change its appearance? Right now I can get it to change images when pressed, but there seems to be no "highlighted" or "selected" or similar state which lets me toggle it's appearance at will.

Here's my XML, it only changes appearance when pressed.

CODE:........................

View 2 Replies View Related

Android :: Saving State Of An Application?

Jul 5, 2010

Which of the following is/are appropriate for saving the state of an Android application?

a. Activity.onFreeze()
b. Activity.onPause()
c. Activity.onStop()
d. Activity.onDestroy()
e. Activity.onFinish()

View 2 Replies View Related

Android :: Saving And Restoring State?

Jul 15, 2010

I have searched through this and a few other sites for the answer, but I have been unable to find it. I am trying to save a boolean and an int using onSaveInstanceState and onRestoreInstanceState, but I can't seem to get it to work. It doesn't crash or anything, but it either isn't saving it or it isn't restoring it, or I am stupid and have no idea what I am doing.

Here is what I have for my activity, do I need to have it in my onCreate somewhere or something?

CODE:..............

I tried putting stuff in the onStop, but it crashes, which is why its empty, in case that matters, thanks in advance

View 2 Replies View Related

Android :: Save State In My Application

Jul 16, 2010

I am developing an android application in which,the first activity is that for Login. After successful authentication, user can see an activity with 4 Tabs. My problem is that when user taps on the home button,the application should terminate and when the user again starts my application, he should be able to see the Login screen again and after successful Login, user should be able to see the tab on which he was working before application terminated(i.e., save state for all the tabs).

View 3 Replies View Related

Android :: Save .app.Application State?

Aug 9, 2010

I've encountered a problem wile using my own subclass of android.app.Application. I have numerous activities in my application and I'm running a custom ROM which consumes quite a lot of memory. What happens is when I launch a third party activity (Camera) my Application is killed. My Application subclass stores vital data for the whole app so it can't work without it. android.app.Application doesn't have any methods for saving or restoring application state. Activity does have them but they are not suitable.

How to perform save/restore state on Application subclass?

UPDATE I've managed to do so by filling a Bundle obtained from onSaveInstanceState and restoring values in onCreate. But is there any better way?

View 1 Replies View Related

Android :: How To Know Whether A MediaRecorder Is In Running State Or Not

Aug 11, 2010

I wrote a code to record audio of call conversation using MediaRecorder.

how can i know whether a MediaRecorder is in running state or not, to stop the recording.
like

CODE:............

Above code is just an example.. If you do not understand my question, please tell me.. i will explain clearly with actual code..

What all i want to know is "In which state the MediaRecorder is?" -> recording/released/prepared/initial/etc..

View 1 Replies View Related

Android :: Get Key Events In Keylock State?

Aug 13, 2009

Basically I have handle the volume UP/DOWN key events when device in key lock state. How I can do this?

View 2 Replies View Related

Android :: Save State Between Orientations?

Sep 4, 2010

In a previous question I asked how I could display two different layouts for portrait and landscape orientations:

Problem switching to landscape orientation

Now I would like to know how I can save the state of my application before it goes into another orientation? I seem to lose this data any time orientation changes.

View 1 Replies View Related

Android :: Can't Set Checkbox State In OnPrepareDialog

Nov 6, 2010

I've got a dialog which shows a list of checkboxes. The info which boxes should be checked each time it opens comes from an edittext. I searched for a way to not allow caching of the dialog but couldn't find out how to do that. Now I override onPrepareDialog to set the checkboxes before the dialog opens. I deleted the content of my edittext, opened the dialog and there were still the same boxes checked... how to reset the checkboxes?

CODE:.......................

View 1 Replies View Related

Android :: No Broadcast On SIM State Change / Get It?

Jul 11, 2009

Am I right if I say that, there is no broadcast action currently for the SIM card state changes?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved