Android :: Make Temporarily Non-rotatable Droid Activities?

Dec 3, 2009

Is it possible to make an Activity temporarily not rotatable (like, turning it on/off in code, not in the manifest)?

One of my old apps crashes if you rotate while it's doing an HTTP lookup as the views are no longer attached when it returns. One of these days I'll fix it proper, but in the mean time it'd be useful if I could just make the thing not-rotatable while it's doing the lookup.

Android :: Make Temporarily non-rotatable droid Activities?


General :: Temporarily Make Available Playlist Offline For Google Music?

May 12, 2012

Google Music. My only caveat is making a playlist available offline temporarily, and then deleting it once I'm done.

It makes sense for the subway, etc.

I'll load up a new album, and I normally listen to the album as a whole and then get rid of it to free up space (and to decide which songs make it to my main playlist).

I'm using a HTC One X, so 16gb is a bit limiting and I can't have it full of music.

View 4 Replies View Related

Android :: Make Variables And Multiple Activities?

Oct 12, 2010

How can I make a variable or object available to multiple activities or restarts of the same one.

View 1 Replies View Related

Android :: Switching Activities Back / Need To Make GridView Again?

Sep 22, 2010

I'm starting on Android and got a beginner question on switching between multiple activities. I understand i can go between two activities by invoking an intent and then returning with setResult(). What I want to know is how to jump between multiple activities. Specifically I want to learn about the process life-cycle. I understand how every activity is started ar onCreated(), but I'm not sure how to implement onResume() or onRestart() when I want to come back. So basically I have 3 activities: Activity1, Activity2 and Anctivity3. I start with Activity1 and then invoke Activity2 with an Intent, and Activity2 invokes Activity3. Using buttons. Now I want to come back to Activity1 from Activity3. I do the same thing here too. Make an Intent and call startActivity(Activity1_Intent). But it gives a runtime error.I think I need to implement OnResume() or onRestart(), but I'm not sure how to do this. In onCreate() I make a gridView, so when I come back, do I need to make that gridView again? If anybody could give a small explanation of refer to a tutorial it would be great.

View 1 Replies View Related

Android :: Switching Activities / Passing Data Between Activities

Jun 30, 2010

how to call BarCodeScanner, and return the value to a field.so now, i have a toast that says "successful scan" and then i want to pass the result to a new activity. when i comment out my intent, everything works (minus the passing of data/switching of screen, obviously) but when i run my project as is, it FC's no errors reported by eclipse in code or xml. any insights?

View 2 Replies View Related

Android :: Application To Disable SMS Temporarily?

Apr 11, 2010

Any app that kills sms texting not just when driving (there's more than one for that) but that disables it period or has a toggle that works to stop texting all the time. Especially receiving texts.

View 1 Replies View Related

Android :: API To Temporarily Disable Orientation Changes?

Jan 14, 2010

Users of my application will engage a feature that temporarily uses the accelerometer. I would like to disable support for orientation changes while this feature is active. Is there an API for this?

View 2 Replies View Related

Android :: Store Password Temporarily In Memory

Jun 13, 2010

I'm looking for a way in an Android application to store a password within the memory as long as the application is running (cf. different activities). I was first thinking about the SharedPreferences, but then it's saved in the flash memory, which isn't that good for a password, I guess.

I'm unsure, what's the best way. What would you recommend me?

View 1 Replies View Related

Android :: Need To Temporarily Disable Orientation Changes In An Activity

Aug 31, 2010

My main activity has some code that makes some database changes that should not be interrupted. I'm doing the heavy lifting in another thread, and using a progress dialog which I set as non-cancellable. However, I noticed that if I rotate my phone it restarts the activity which is REALLY bad for the process that was running, and I get a Force Close.

What I want to do is programatically disable screen orientation changes until my process completes, at which time orientation changes are enabled.

View 3 Replies View Related

Android :: Can I Temporarily Disable Automatic Orientation Changes In My Activity

May 26, 2010

Can I temporarily disable automatic orientation changes in my Activity? I want to do this when my app does some background internet communication.

View 1 Replies View Related

Android :: App To Temporarily Unlock Pattern Then Lock It Back Without Going Through Settings?

Nov 14, 2010

Is there an app that allows you to temporarily unlock your pattern then lock it back without going through settings? Because its gets real annoying to keep putting in my pattern when I'm home alone..

View 22 Replies View Related

Android :: Missing Gen Folder When Clean The Eclipse Temporarily Destroys Project

Sep 29, 2010

I am experiencing an annoying problem with an Android project in Eclipse. All my other Android projects are okey (at the moment). Whenever I perform a clean (Menu:Project->Clean...) the project gives an error and I can't compile/run the app. The error is: Project 'Project Name' is missing required source folder: 'gen'

As soon as I edit some code the problem disappears until I perform a clean again. I can also right-click on the gen-folder and delete it. Eclipse will recreate the gen-folder and the problem disappears until I perform a clean. This is not a showstopper but it is really annoying since I sometimes have to do a clean before I run the app.

View 1 Replies View Related

HTC EVO 4G :: Turn An Email Account Off Temporarily?

Jul 6, 2010

I tried doing a search but couldn't find anything. Does anyone here know how to turn an email account off temporarily? I use my phone primarily for work so when I am at work I don't want to have to delete emails throughout the day. I only want to be able to turn if on when I am out of the office.

Anyone know how to do this?

View 4 Replies View Related

HTC Incredible : Verizon Temporarily Unavailable

Apr 19, 2010

Looks like they finally put up the banner on there website and signing in to your account is temporarily unavailable. ALSO, maybe this was there before but it states 4/16-4/19 Activation is FREE ONLY during that period.

View 35 Replies View Related

General :: App To Temporarily Disable Radio?

Nov 27, 2012

Im looking for an app to temporarily disable all cellular functions of the phone. For example, when Im with my girlfriend, I want to play youtube streamed music via wifi but dont like to be disturbed with work calls. Of course, airplane mode is not for me ...

View 2 Replies View Related

HTC Incredible :: How To Disable Google Voice Temporarily?

Jun 2, 2010

I have Google Voice, which I recently discovered counts against my minutes when it sends me a transcript/recording of my voicemails (this is because VZ forwards calls to GV and charges for the time). I am leaving the country and the cost of calls overseas is $2/minute. I need to avoid charges for calls where people leave me voicemail messages, so I need to disable GV for the time I'm overseas. I can't figure out how to temporarily disable GV.

View 6 Replies View Related

HTC Magic :: Google Maps Location Temporarily Unavailable

Jul 20, 2009

When ever I try to use the feature "My location" in google maps, everytime, no matter when or where I am I always get the error "location temporarily unavailable" Is there a setting I'm missing?

View 7 Replies View Related

HTC Incredible :: Disable Froyo Update Prompt Temporarily?

Sep 2, 2010

I'm getting the system update prompt every time I turn on my damn phone; I need to follow the guide that shows you how to keep root when going to 2.2:

Stock 2.1 to Fully Rooted Froyo 2.2

But I probably won't have time to do that until next weekend. In the meantime, is there a way to temporarily disable this update notice?

View 3 Replies View Related

General :: WiFi Only Works Temporarily On Phone (HTC Raider)

Jun 7, 2012

I got an HTC Raider on the weekend, and while using the 3G/4G/LTE networks, it's amazing. Super fast and wonderful. Also, generally, while using wifi it's the same thing - fast and works perfectly.

However, when I'm at work, and I connect to the wifi network at my office, it will typically only work for 3 or 4 minutes, and then just stops working. It still displays maximum signal strength, but won't load any page on the internet, and any apps that send/receive data do not work. My work computer is also on the same wifi network and it always works no problem, so I know the wifi network is fine.

View 2 Replies View Related

General :: ME172V - Temporarily Avoiding Poor Connection

Feb 27, 2014

I have a ME172V tablet I'm trying to connect to my PC via wi-fi.

I got an PQI Air Pen Express WAP and when I first connected with my tablet all was fine. Since then I'm getting a "Temporarily avoiding poor connection" error. My Motorola Edge phone connects with no problem. I've reset the WAP and the tablet, the signal strength is excellent, and I've disconnected & reconnected.

From the number of posts I found when searching this is a common Android problem. One suggested solution is to uncheck the "Avoid Poor Connection" option in wi-fi settings. Unfortunately there appears to be no such option on the ME172V. Other proposed solutions involved flashing or other techniques I'm not familiar with.

View 4 Replies View Related

HTC Hero : Use Google Maps With GPS Enabled - Message - Your Location Is Temporarily Unavailable

Feb 28, 2010

Everytime i use google maps with just the GPS enabled i get this message, if i allow wireless networks then i get a location but it's far from accurate.

View 2 Replies View Related

Android :: How Do I Temporarily Disable / Bypass Android OnTouchEvent

Oct 2, 2010

To provide feedback from the user for game I'm writing.This event fires off some game control events that take some time to complete (because there is animation involved).The problem I'm having is during the animation if I keep touching the screen (AKA firing this event),Basically while the animation is running, I do not need this event, although it would be nice to queue it.What can I do to prevent the timeout and either queue the event, or temporarily disable it?

View 2 Replies View Related

Samsung Moment :: Error On Sprint Update Site - Service Temporarily Unavailable

Apr 9, 2010

Service Temporarily Unavailable. The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

View 2 Replies View Related

Android :: Same Option Menu In All Activities In Droid

Jul 17, 2010

I have 10-15 activities in my project. I want to have the option menu mostly in all Activities. Then is their any way we can do it at one place and it appears in all activities.

Also, I will like to hide the option menu in some. So, is it possible or I have to write option menu code in all activities.

View 1 Replies View Related

Android :: Exchange Data (objects) Between Different Droid Activities?

Jul 29, 2010

What is proper way to exchange data or objects between different Android Activities?

Welcome screen <-> Main Screen <-> Startup routines <-> Processing data <-> Settings

Is it normal/recommended to have more than one activity in Android app? in my opinion, it's somehow strange to have this model of data exchange inside application

View 3 Replies View Related

Android :: Design Pattern For Extending Droid's Activities?

Apr 28, 2010

While programming on Android, I end up writing a parent activity which is extended by several others. A bit like ListActivity. My parent activity extends Activity. if I intend to use a Map or a List, I can't use my parent activity as superclass - the child activity can only extend one activity obviously. As such I end up writing my parent activities with the same logic for Activity, ListActivity, MapActivity and so forth.

What am I looking for is some sort of trait functionality/design pattern which would help in this case. Any suggestions?

View 3 Replies View Related

Android :: Moving Between Droid Activities On Button Clicks?

Apr 16, 2010

I am writing a android application where, on startup activity view, I have a button "DoIt". When user clicks "DoIt" button, I start another activity with different layout. On newly started activity, I have a button "Back" which should take me to the first activity. How to accomplish this. What code should I write on OnClick method of "Back" button. Also, I want the newly created activity to die after back button is pressed and application comes back to start-up activity.

View 4 Replies View Related

Android :: Pass Data Between Activities In Droid Application?

Jun 3, 2010

How to pass data between activities in an Android application?

View 1 Replies View Related

Android :: Way To Visualize Activity Stack (activities In Memory) On Droid?

Jun 26, 2010

I'm currently debugging my app which is quite complex and has up to 5 activity levels. In order to detect memory leaks (i.e. activities that aren't removed from memory even finish() is called, due to some references held somewhere) I want to check which activities are still alive in memory. Currently I create hprof dumps, but it's not very convenient, cause every time I need to mount the sdcard, copy the hprof dump file from the sdcard to my PC, etc. (Side note: I already tried to automate the pulling of my hprof file more easily, but I'm on an unrooted device and adb pull <hprof file> won't let me / no permission.) Therefore I am wondering, if all I want to know is IF and WHICH activities are still currently alive in my memory, is there a way through the Android API or any other way on-the-fly with which I can achieve this (list all alive activities of my app), programatically.

View 2 Replies View Related

Android :: Setup A Global Menu On Droid App Which Accessible From All Activities?

Feb 8, 2010

Duplicate: static options menu

I know how to create a menu in my application with an icon and text on each "button" of the menu, but this menu is only visible on the activity where I created it...
I would like to know if it is possible to create a global menu which would be accessible from all activities?

View 1 Replies View Related







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