Android :: Locale Defaults - When Using Shortcut Plug In?

Dec 9, 2009

I have a simple "sleep" situation set up.

Conditions:
Time: 11:00 PM-6:30 AM

Settings:
Notification: Status Bar
Shortcut: Bedside (Alarm Clock/notification suppressant)

Configure Defaults:
Display: Level 2; 30 sec
Volume: Level 3; vibrate off

I had an issue with picking up GPS at home with using cell tower triangulation and leaving GPS off. So, I removed that portion.

I have no issues with Locale going into the situation, but it never comes out. I have to manually close Locale and sometimes forget when I first wake up, so I will miss text messages and emails.

Android :: Locale defaults - when using shortcut plug in?


Android :: Locale - Not Switching Back To Defaults

Dec 1, 2008

new to Android, G1 and the forums Wondered if any of you can help?
I have 4 things set up in locale
1) turn on silent when at work
2) turn on Wi-fi when at home
3) turn on silent 6:30PM to 7:30PM (when getting my son to bed)
4) turn on silent 11PM to 8AM (so no emails are waking me!) number 2 works fine, the problem however is with the silent ones, ALL of them never go back to the default (ringer at full volume) when the time is up or when I'm away from the location. any ideas? I don't have GPS on, but the distance from home to work is large so it can't think I'm still anywhere near there plus that won't affect the time related ones.

View 2 Replies View Related

Android :: Capturing HEADSET PLUG - .intent.action.HEADSET PLUG

Feb 15, 2009

yesterday, I spent several hours trying to figure out how to capture the HEADSET_PLUG intent with a BroadcastReceiver. The manifest defines the <receiver>, with its intent-filter set to <action android:name="android.intent.action.HEADSET_PLUG" />.

The receiver is working correctly (I verified that by changing the intent filter to capture things like SMS_RECEIVED including the proper permissions and the receiver fired as expected on receiving an SMS), but when listening for HEADSET_PLUG, it never fires. Debugging the whole thing is a bit complicated, as the emulator doesn't seem to support headsets and I have to disconnect my target device (a HTC Dream) from USB in order to attach a headset (so there's no logfile viewing). Are there any special permissions required for applications to capture the HEADSET_PLUG intent (and if so, which? I've tried several, to no avail)?

Maybe the Dream doesn't fire such an intent at all (that'd be bad luck for me), but I guess that it must be an issue related to application permissions. The documentation says extremely little (well, actually: nothing) about the single permissions needed to perform all the actions described in the API docs, so this is absolutely something to be improved.

What I want to do: Upon detecting a headset, I want to re-route the ringtones from the speakers to the headset, so as not to annoy people in my vicinity by a harsh ringing sound (I'm used to this behaviour from my old phone) - by default, the speaker just keeps on ringing, no matter whether a headset is attached or not. This part is already working, but now I need to know how to detect headset attachment/ detachment events.

View 7 Replies View Related

Android :: Gmail Defaults Everything

Aug 17, 2010

I have the X (very nice BTW) and I have a few questions.

Everytime a save a new contact or add a phone number, or anything from the phone is defaults to add it to the Gmail profile. I like gmail, but I'm pretty sure I want my work mates to be on the work account. Is there a way to change that default or does Google really want that infomation?

Can I disconnect gmail? I know... ouch... but it keeps getting in my way. I use gmail, but I need the phone to be a work phone. I don't want Gmail stealing all my contacts. I mean seriously, it scanned my AD at work (awesome) and I saved the person... it went to gmail. When you pull someone off the AD, why does it dup them in Gmail, obviouslyt the phone was smart enough to look there, but not save there?

I need a nice line. My average conact now has 3 linked profiles. I want most in the "phone" and work people in the "work" and gmail...sorry. You don't need to know any of these people.

Any ideas or thoughts.... I hate Google bashing, but I need the phone to act like a smart phone and not a gPhone. (Yes I know who makes it, but even Apple doesn't steal your contacts...ouch)

View 1 Replies View Related

Android :: Clear Defaults Programmatically

Apr 16, 2010

Does anyone know how to clear defaults of my own app by code.I know that a user can always go to Manage Applications, find my app and click the button there to clear previously assigned default actions. But for most users this isn't intuitive at all. I would like to offer my customers a solution to clear defaults within my own app if they don't like to use my app as a replacement for a specific action anymore.

View 9 Replies View Related

Android :: Using Custom Defaults For PreferenceScreen

Dec 8, 2009

I am currently trying to implement a PreferenceActivity for my application that uses custom default values for its preferences instead of the defaults declared in the corresponding preference XML as the defaults are supposed to change dynamically based on certain conditions.However, when I modify the defaults via the Android API after loading the preferences through addPreferencesFromResource(R.xml.preferences); it already seems to be too late and the individual defaults set via Preference.setDefaultValue do not seem to be taken into consideration when rendering the UI.As I would like to avoid re-inventing the wheel I hope there is some possibility to achieve this using the standard Android preference API. Is there any way to trigger a re-evaluation of the values (and default values) associated with a PreferenceScreen hierarchy? I did not yet try whether creating the PreferenceScreen via APIs instead of loading from XML would help, so that could be an option.

View 3 Replies View Related

Android :: SharedPreference - Defaults Not Set At Startup

May 1, 2010

I have Listpreferences in my app. They don't appear to be setting to their defaults right after installation - they appear to be null. I'm trying to figure out why my default preferences are not being set right after installation.

In my main code I have:

CODE:......

Right after the above code executes, each variable contains "defValue" instead of the actual values I have assigned in my ListPreference below.

My preference xml file is called, "settings.xml". Here's what one of the ListPreferences there looks like:

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

Here's what some of my strings.xml file looks like:

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

When I go to menu, and then settings, I can see my defaults checked (radiobuttoned). Then when I go back from the settings menu to my main screen - all is well - for life! ...then each var above is assigned the proper default value.

This only happens when I first install my app on the phone. After I go to the settings screen once and then right out of it, the app is fine and accepts any setting changes.

By the way, as you can see, "List1" is the android:key within a file called settings.xml in my res/xml folder.

View 1 Replies View Related

Android :: What App That Defaults Ended Calls Behavior

Jan 12, 2010

What's the app that changes the default end call behavior? I believe it gave multiple options beyond defaulting to the call log, as I frequently misdial after ending a call.

View 1 Replies View Related

Android :: No Visual Feedback For Preference Defaults - Bug Or Feature?

Feb 3, 2010

What are the display semantics for displaying preference defaults? I have been expecting that the first time the app is run, that when the preference activity and its screens appear that any default values say in a list preference are visually indicated as selected. This is not the case in my app, and I think I'm doing everything the same way as the DefaultValues.java example. Is the idea that only those preferences that have actually been set and persisted by the user display selected values?

View 2 Replies View Related

Android :: Clear Defaults By Code - After Setting Use By Default For This Action

Mar 10, 2009

I'm playing with the alternative Home app that comes with the SDK.

I can set this as default for 'Home' action.

I can unset this by -->Setting->Manage Application->My Alternative Home-> "clear defaults"

Question:

How to do this "clear defaults" by code?

I've browsed the forums but cannot find an answer.

View 2 Replies View Related

Android :: App - Locale

Jun 24, 2010

Locale is one of my faverate App, it can create situations specifying conditions under which your phone's settings should change. For example, your "At School" situation notices when your location condition is "77 Massachusetts Ave.," and changes your ringer volume setting to vibrate.

With Locale's advanced touch-screen interface, you'll be set up in no time. Quickly define locations that are important to you using a simple Google Maps interface.

If you think this is exactly what you are looking for, you can download it in the market

View 4 Replies View Related

Android :: Get Current Locale

Jun 15, 2009

Does anyone know how to get current locale in program?

View 3 Replies View Related

Android :: Changing Locale Within The App Itself

Feb 15, 2010

My users can change the Locale within the app (they may want to keep their phone settings in English but read the content of my app in French, Dutch or any other language ...)

Why is this working perfectly fine in 1.5/1.6 but NOT in 2.0 anymore?

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

The problem is that the MENU "shrinks" more and more everytime the user is going through the lines of code above ...

This is the Menu that gets shrunk:

CODE:.........

What should I do in API Level 5 to make this work again ?

HERE IS THE FULL CODE IF YOU WANT TO TEST THIS :

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

AND HERE IS THE MANIFEST :

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

THIS IS WHAT I FOUND :

<uses-sdk android:minSdkVersion="5" />

=> IT WORKS JUST FINE ...

<uses-sdk android:minSdkVersion="3" />

=> Menu shrinks every time you change the locale!

As I want to keep my application accessible for users on 1.5.

View 3 Replies View Related

Android :: Locale Spanish

Jun 16, 2009

So there is Locale for all other countries/languages where apps are available but I can't set Locale for Spain/Spanish?

See Locale list: http://developer.android.com/reference/java/util/Locale.html

How can I get Locale.SPANISH so that I can set my app to spanish? res/ values-es

How can I find or create a Locale.SPANISH?

View 2 Replies View Related

Android :: Scenes For Locale

Dec 7, 2009

Does that just make too much sense to hope for? I'd love for my home screens to automatically change for qork, travel, weekends, nights, etc.

View 1 Replies View Related

Android :: Locale Icon

Jan 28, 2009

Is there any way to get rid of the the stupid red balloon locale icon that shows up in the notification bar? I can't stand having icons up there, its a pain to clear them.

View 3 Replies View Related

Android :: Locale Alternative

Apr 17, 2010

I'm about to get my first Android phone and I'm wondering what your favorite alternative to Locale is? I'm seeing reviews that are less and less favorable and for a $10 app, it out to be darn amazing in my book.

View 21 Replies View Related

Android :: Cannot Find Locale

Aug 2, 2009

I've been looking for this app:

Locale for Android

The website states that it can be downloaded over at Android Market but I can't find it anywhere.

View 7 Replies View Related

HTC Desire :: Loudspeaker Defaults To ON For Calls

Aug 23, 2010

I'm running a non branded desire at 2.2 but its developed an annoying problem.Whenever i make a call or answer a call it defaults to loud speaker ON and i have to press the button to disable it.I can't see any menu setting anywhere to cause or change this so any idea how i fix this?Also,maybe unrelated but whenever i first boot the phone it comes up with an icon saying "car mode on" which i have to disable by clicking on it (but this doesnt stop the speaker phone behaviour)Any idea how i can get speaker phone to default off?

View 9 Replies View Related

HTC EVO 4G :: Factory Defaults - No Privacy Option?

Aug 19, 2010

I need to reset an EVO to factory defaults. After updating to Fro Yo there is no privacy option under settings. Where did it go? How can I reset to defaults?

View 3 Replies View Related

HTC Droid Eris :: Message Defaults ?

Dec 21, 2009

I just switched over to handcent as my messaging app. I changed the defaults and switched off the notifications function on original app. Here's my question... just switching off the notifications from old app, messages still come thru to old app...does that take up some form of memory? If so, how do I turn off un-wanted app so messages do not go to it anymore? Any hints, info or thoughts on this matter is greatly appreciated.

View 3 Replies View Related

HTC Droid Eris :: How To Change Defaults

Jun 3, 2010

How can I change the default app for viewing pictures or videos from a MMS? I got the popup before and set the default. But now want to change it, and I cant figure out how.

View 1 Replies View Related

HTC Desire :: Setting Widget Defaults

Aug 29, 2010

How to set the default actions for the contacts widget, other than by calling each person. I am abit of a Rom hound so I am regularly wiping my phone. There was definitely a way of setting widget default action in 2.1 but i just cannot find it in 2.2.

View 1 Replies View Related

HTC EVO 4G :: Defaults To Speaker Mode - Defect Or Not?

Nov 3, 2010

Every time I make a call (and on most INcoming calls as well), my EVO automatically goes to speaker mode, forcing me to finagle with it just to turn off the speaker so I can use the handset. Is there a way to stop this--I've looked around but haven't found the answer yet--or is this a defect I will have to correct with a replacement phone? I've only had it 3 weeks, so I'm within the 30-day return window.

View 6 Replies View Related

Android :: Locale Type Application

Oct 12, 2010

Does anyone know a Locale-like application that is free? I don't really care about GPS settings, more time.

View 5 Replies View Related

Android :: Locale Update Settings

Feb 11, 2010

Is there a way to slow down the gps update setting on locale? It seems to check about every 4 - 5 mins or so for me. is there a way to slow it down? I fear it is killing my battery

View 10 Replies View Related

Android :: How To Know If Somebody Has Changed Locale In Settings

Oct 27, 2010

I am writing a service in which I want to have an observer kind of thing for the phone Locale, which lets me know if any one has changed the Locale through Settings->Language & keyboard. Is there a way to do this?

View 2 Replies View Related

Android :: How To Retrieve Locale Independent App?

Jan 21, 2010

I'm using PackageManager.getApplicationLabel(ApplicationInfo) to retrieve application labels. It looks like the label that is returned depends on the Locale set for the phone. For instance with the music app I get "Music" in English, vs. "Musica" if I have my locale set to Spanish. Is there a way to get the default application label (perhaps as defined in strings.xml)? I want to be able to retrieve an application label for each app that is independent of locale.

View 1 Replies View Related

Android :: Wi-Fi Keeps Turning On And Locale Isn't Working

Jun 16, 2010

I've already read the issues with Locale, and that's sad, because I love the concept of the app. Even before I bought a smartphone and knew about Locale, I wished the existence of such a thing would exist. Hence my excitement when I got it was off the charts, but now, not so much. The situations aren't enabling and it's the same 'ole story of "Defaults" dicking everything up.

Can someone please make a Locale that works? (rhetorical question...).

Anyways, another frustration I've come across is that my Wi-Fi keeps turning on. Does anyone know what setting is causing this? I'm about to do a hard reset again and just say screw it.

View 4 Replies View Related

Android :: Can I Obtain Resources With A Given Locale

Jul 28, 2009

I have different text packaged into my app for different locale. The Resource.getString(int resid) method automatically returns me the string for the CURRENT locale of the phone. Is there a way I can specifically obtain resources while passing in a locale? For example, there isn't such method as: Resource.getString(int resId, Locale myLocale);

View 3 Replies View Related







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