Android :: App - How To For Scheduling On/off Etc
Jun 21, 2010
My blackberry allowed me to program when my phone would shut off in the evening and turn on in the morning. Is there anything similar?
My wife has a habit of forgetting to lower the volume on her phone at night so we hear her reminders and such all night long (or at least until I get up and silence her phone)
View 5 Replies
Apr 8, 2010
I updated my app to use the "new" startForeground() method of Service. Now beta testers are complaining about the foreground app going slow. Is that a coincidence or does startForeground() mess with the thread's prio or does anything else but what is written below? Just as an additional information the background activity does some syncing, reports the progress to the notification using remote views and as it is not latency dependent I use (and did that before already) this: Process.setThreadPriority(Process.THREAD_PRIORITY_LOWEST);
Should I use another Priority? And if it makes any difference, how does that play with Android 1.5 devices?
View 13 Replies
View Related
Mar 15, 2009
I'm trying to find the "correct" way to do the following:
I have an activity with a button that starts a repeating task in the background. That is, if the user goes away from my activity, I want my task to still be scheduled and executed every x minutes. I want a status TextView to be displayed on the activity, and if the task happens to start executing while my activity is showing, the TextView should be updated so the user can be aware of what's going on. So basically, is there a way to start a scheduled background repeating task and be notified when it is executed? From what I saw in the sample applications, I understand I'm supposed to use AlarmManager and a Service but I'm not sure about the notification part.
View 7 Replies
View Related
Jun 18, 2009
I am writing a demo app that allows the user to set a number of times they want my app to run. The app has no interface and just puts shows some notifications. Running this as a service seems the most obvious.
View 4 Replies
View Related
Apr 26, 2010
I have a class that extends Application. In the class I make a call to AlarmManager and pass in an intent. As scheduled my EventReceiver class, that extends BroadcastReceiver, processes the call in the onReceive method. How would I call the intent again from the onReceive method to schedule another event?
View 2 Replies
View Related
Nov 18, 2010
I'm trying to schedule my alarm manager to fire up an intent every hour in a day. this is what I do , and it doesnt work properly.
code:
new code after edit:
CODE:.................
View 1 Replies
View Related
Mar 7, 2010
In the 1.6 API, is there a way to ensure that the onStart() method of a Service is called after the service is killed due to memory pressure?
View 4 Replies
View Related
Mar 7, 2010
In the 1.6 API, is there a way to ensure that the onStart() method of a Service is called after the service is killed due to memory pressure? From the logs, it seems that the "process" that the service belongs to is restarted, but the service itself is not. I have placed a Log.d() call in the onStart() method, and this is not reached.
View 1 Replies
View Related
May 14, 2014
My internet package is capped but has unlimited usage between 2am to 8am. I have an internet stick (MK808B) running rooted jelly bean connected to my TV that I want to use as an overnight torrent client, but am having no luck finding a solution to the scheduling problem.
I've looked for an android torrent client with a scheduler or a firewall application that can block an app during specific times of day, but have found neither.
View 1 Replies
View Related
Nov 29, 2009
This is quick and easy. Can I get a sampling of what people are using for podcasting apps and likes/dislikes? Here is what I want to be able to do:
1. ESPN-"type" podcasts (scheduled, generally weekly, etc.)
2. Semi-"custom" podcasts (hometown newspaper podcasts, generally not scheduled)
Would preferably like something I can schedule to download at night.
View 20 Replies
View Related
Aug 31, 2010
Is there an app for having a text to be sent at a certain time or a certain place (using GPS)? I was curious because I need to send a text to someone at 5 AM to remind them of something. I'll be asleep, of course.
I thought I remembered reading about something at the Google Apps Innovation conference from last November or so, or an app like this.
View 8 Replies
View Related
Dec 23, 2013
I have connections in all different time zones, and I used to schedule my texts to go out during their daytime hours. Now with 4.3, I do not seem to have that option.
View 2 Replies
View Related
Oct 9, 2009
How long does it take until an application is available to the public once it has been uploaded to android market? I need to know to create a release/marketing schedule.
View 3 Replies
View Related
Oct 19, 2010
today i meet the problem.i need technic can control the android machine from server.then i want send data from server to android with no request from android.
View 2 Replies
View Related
Apr 14, 2010
I'm trying to open a dialog window, but every time I try to open it it throws this exception:
CODE:.................
I'm creating it by calling showDialog with the display's id. The onCreateDialog handler logs fine and I can step through it without an issue, but I've attached it since it seems like I'm missing something:
CODE:............
Is there something missing from this? Some questions have talked about having this problem when creating a dialog from onCreate, which happen because the activity isn't created yet, but this is coming from a call from a menu object, and the appContext variable seems like it is correctly populated in the debugger.
View 3 Replies
View Related
Jun 3, 2010
I'm writing an application which connects to a back office site. The backoffice site contains a whole slew of JavaScript functions, at least 100 times the average site. Unfortunately it does not load them, and causes much of the functionality to not work properly. So I am running a test. I put a page out on my server which loads the FireBugLite javascript text. Its a lot of javascript and perfect to test and see if the Android WebView will load it. The WebView loads nothing, but the browser loads the Firebug Icon. What on earth would make the difference, why can it run in the browser and not in my WebView? Any suggestions.
More background information, in order to get the stinking backoffice application available on a Droid (or any other platform except windows) I needed to trick the bakcoffice application to believe what's accessing the website is Internet Explorer. I do this by modifying the WebView User Agent.Also for this application I've slimmed my landing page, so I could give you the source to offer me aid. package ksc.myKMB;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.Window;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.webkit.WebSettings;
import android.webkit.WebViewClient;
import android.widget.Toast;
public class myKMB extends Activity {
I already have JavaScript on the web browser on, the problem is the web view is acting to different from the web browser.
View 1 Replies
View Related
Aug 15, 2010
I want to implement my own Tokenizer base on the file
"MultiAutoCompleteTextView.java",
but I encounter an error "com.android.internal.R cannot be resolved" when I try to
import "MultiAutoCompleteTextView.java" to my project.
code:.................
I haven't research any solutions to resolve this problem.How to correct "com.android.internal.R.attr.autoCompleteTextViewStyle" my own attr?
View 1 Replies
View Related
Jan 11, 2010
1- Does Android Browser (Éclair code base) support the "plug-in" or not?
2- Why "Google Gears" support is removed from the clair code base?
I searched the forum and came to know that earlier version of the Android does not support it at all? Here is the link for that, but this query asked in Dec'2008.
View 2 Replies
View Related
Jan 5, 2010
At first,I have a database created by using Ruby on rails.I just already implement insert function(HTTPPost) in my Android Application and it's work.But I don't know how to retrieve specific record from my databases and insert it back to specific record in Android (Like edit function in RoR)This is my insert code :
private void insertComment() {DefaultHttpClient client = new DefaultHttpClient();HttpPost post = new HttpPost("http://10.10.3.87:3000/comments");
// Configure the form parameters
List<NameValuePair> nvps = new ArrayList<NameValuePair>();
nvps.add(new BasicNameValuePair("comment[content]", t_comment.getText().toString();
nvps.add(new BasicNameValuePair("comment[id_account]", "1"));
nvps.add(new BasicNameValuePair("comment[id_place]", Integer.toString(position)I really try many ways out but it doesn't work and it takes very long time to fight with this piece of code. Actually, I really don't know how to specify RowID to HTTPPost.
View 2 Replies
View Related
Sep 17, 2010
I am doing some android development, and now I need to send some android application generated data onto a remote server (a database)?How can I do that? can I use direct JDBC connection and sql?
View 1 Replies
View Related
Oct 9, 2010
So i am making a android app, and i want it to be so if i call lets say 911 it sends my GPS coordinents to a certain IP, i know everything but how i make it so if i call 911 it sends the info and how i can make it send the info to the IP via 3g,
View 3 Replies
View Related
Jul 10, 2010
I released updates of my apps yesterday and they are being hidden from android 1.5 and 1.6 phones.
This is due to a Market bug which hides apps with bluetooth permissions from android 1.5 and 1.6.
Come on Google fix the market. We spend countless hours making are apps work on ALL android versions and now you do this...
This issue has been raised since June, but has only affected me since i made an update to the market yesterday.
View 1 Replies
View Related
Dec 23, 2009
What exactly are mock tests... I need to know the mock and performance tests available in android for testing android apps..what is the best tool for testing android apps and how..
View 1 Replies
View Related
Aug 17, 2009
I'd like to add a menu option to the Android camera app. Is this possible to do using the current SDK? I know I need to add an intent-filter tag in my activity. But I don't know what I should put in the mime type. I want to be able to process the live camera previews if the user selects the menu option. So what do I put into the type tag of the intent-filter? Also I suppose I won't be using ALTERNATIVE or SELECTED-ALTERNATIVE for the category as I want to deal with the whole intent?
View 3 Replies
View Related
Jan 21, 2010
I was wondering if the market checks if the application can be installed on the device. For example, if I have an Android 1.6 and if I try to install an application with :"<uses-sdk android:minSdkVersion="7" />" on its manifest. What will happend ?
View 4 Replies
View Related
Jan 27, 2010
I have a question about bluetooth RSSI functionality on the Android (either 2.0 or 2.1):
It's easy enough to get the RSSI value when a bluetooth connection is created, but how can you repeatedly get the RSSI value of a connection that is already active? It's really important to be able to do this, because this lets you determine if bluetooth devices are close to each other or far away, but I can't find any appropriate function calls in the Android API.
View 2 Replies
View Related
Feb 5, 2010
I am having a bit of a problem with my Android. So what happened was I downloaded "DroidRootPro" from the market. I rooted my phone with this, installed the 800MHZ ROM image, rebooted and the phone came up great. I was actually surprised on how fast it became. Once the phone came back up, I tried installing one of the custom themes that came with that app (I know I should have left it alone). The phone than rebooted and I was never able to bring it back up. It gets stuck in this endless loop where it tries to boot but doesn�t get past the "Droid" splash screen, it just keeps rebooting every time.
Things I have tried:
-Wipe data/factory reset (in recovery mode), no go.
-Wipe cach partition, no go
-Restore from a "nandroid" backup, no go. I tried pretty much every combination of restores and am unable to bring the phone up.
Is there anyway I can download the factory image that comes with the phone, put it on an SD card and restore to that? I have looked all over but cant find any information on this.
View 1 Replies
View Related
Sep 29, 2010
I am trying to develop an app to supplement the built-in music player. I've used git to download the com.android.music package and looked around at its code. I can launch the music player by copying some of its code and launching activities with intents.
Now what I need to do is get a handle to its current view. In the MusicUtils.java file, I see a line that says
View nowPlayingView = a.findViewById(R.id.nowplaying);
I'd like to do the same thing. Only I don't have access to the R.java file, so I can't write e.g. R.id.nowplaying. How do I do this? How do I reference the music players R.java? I do know the R.java stuff is declared public so that shouldn't be a problem. Right?
Is it even possible? I saw this related question and am now wondering: http://stackoverflow.com/questions/2437271/how-to-load-com-android-music-code-into-eclipse-and-compile
I'm working against the Android 2.2 SDK, but it'd be helpful to know if the answer is different for older versions such as 1.5.
View 2 Replies
View Related
Aug 26, 2010
I am developing an application using com.google.android.maps.jar It is OK to develop it with Eclipse SDK. but an build-error happens when building system.img with GMS licence (com.google.android.maps.jar is already installed at out/target/common/ obj/JAVA_LIBRARIES/com.google.android.maps.jar_intermediates/ com.google.android.maps.jar)
make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/ com.google.android.maps.jar_intermediates/javalib.jar', needed by `out/ target/common/obj/APPS/LifeStory_intermediates/classes-full- debug.jar'. Stop.
Here is my Android.mk
CODE:.............
View 4 Replies
View Related
Feb 23, 2010
I have a very simple AsyncTask implementation example and have problem to test it using Android JUnit framework. It works just fine when I instantiate and execute it in normal application. However when it's executed from any of Android Testing framework classes (i.e. AndroidTestCase, ActivityUnitTestCase, ActivityInstrumentationTestCase2 etc) it behaves sarngely:
- It executes doInBackground() method correctly
- However it doesn't invokes any of its notification methods (onPostExecute(), onProgressUpdate(), etc) --
just silently ignores them whitout showing any errors. This is very simple AsyncTask example................................
View 2 Replies
View Related