Hi all,
Can we change the levels of battery in android manually to display low battery alert in android.? It has been fised to 15% to display an low battery alert. If possible how can we change that level..Please if any one had clues please share it to me..thanks in advance..
<integer name="config_lowBatteryWarningLevel">15</integer>
...
I am trying to connect WebServices using HTTPS in Android but I keep getting this error. Is there a way to fix it?
URL url = new URL(urlString);
Log.d("SSLDemo", "Setting hostname verifier");
startProgressSpinner();
HttpsURLConnection.setDefaultHostnameVerifier(new AllowAll...
I would like to know if there is a way to lock (prevent) an application from starting.
And i also would like to know if there is a way to prevent a service(application) from starting at boot of the device
...i would like to know because i would like to create an anti-malware app.
...
Hi Friends,
This is py struggling about installation of apk file in my android phone.
I am using htc android phone in that i am trying to install my application.
I developed application using eclipse ADT plugin and taken apk file and copied in my phone SD card -> Android folder.
After that i installed Astro file manager in my phone a...
I am beginner in Android development. At the moment, I am working a calculator. I want to use GridView in button part, but i have one error:
Caused by:java.lang.IllegalArgumentException: can't have a viewTypeCount < 1
First i make class ButtonAdapter and implements ListAdapter. But i cant understand this error.
Please help me
...
Hi,
Can any one help me to give some hint about
How can i implement OSGI framewok i.e. Remotely installation of application,transfer of media, etc in android.
I have some idea on OSGI framework, I want to make application that should be able to install some media dynamically from remote location...
Any idea will be appreciated...THa...
Hi,
I want to show a simple toast, when exiting an application. The problem is, that the toast is not shown. I assume it is because the acitivity is finished or because of System.exit(0), but I don't know how to solve it. Does anyone have a tip? Thanks!!
In my activity I have the following code:
Toast.makeText(this,"Exit application."...
My girlfriend recently bought a Sony Ericsson Xperia Android phone. For the most part, she loves it.
Except that Sony Ericsson has changed the emoticons in the chat application.
On my phone, an HTC-03A (aka HTC Magic), the emoticons look like little aliens. (Yes, I know they are supposed to be robots, like the Android logo, but my girl...
hi...
I implemented tabhost in my application,when i run my application it shows the page with list content and two tab's at bottom,when i clicked 2nd tab(it moves to new activity),it moves to corresponding tab control with 1st list of data shows,from this list i have click event to move for next listview,it parse and shows da...
At the moment the LEDs that light up the keyboard of the G1 (HTC Dream) are very quick to turn off, I time it at six seconds. This is a pain when using the phone in the dark as you must press a button in order to turn the lights back on if you look away even for a very short time.
Since my G1 is rooted I have access to the system files ...
I'm trying to use either Calendar or Gregorian Calendar to iterate and create a date grid. However, both of them seem to think that August, 2010 has 30 days, and that September 2 and 3 are weekends. It's as if the calendar has the wrong year, but I've tripple-checked that parameter. Here are some excerpts.
startDate.set(2010, 8, 28);...
Has anyone managed to invoke a pdf viewer to display pdf files upon clicking a hyperlink inside webview? If so, can you share some idea how you accomplish that?
...
Hi
Im trying to create some jUnit tests for my Activities.
The main activity seems easy to test by extending ActivityInstrumentationTestCase2<Main>
and when i click "Run..." the app and the tests are installed on the emulator and runs fine. I can see that the main activity is starting.
The problem is that I can't figure out what I nee...
Trying to understand the Android framework model. I have an application that needs to have several threads running. On thread gets GPS fixes, another picks up GPS fixes and pushes them to server, and yet another occasionally polls a server for dispatched orders. Some of these threads update status Views as well.
Since I am new to And...
I am having two activities, say activity A and B. Activity A is an ListActivity, and when the items in the list is selected, it will call startActivity() to bring up B. The problem here is that when I am in B and click the home key, and then go to the application launcher to resume my application, A will be brought up again. This time wh...
Hello Friends,
I am developing one Android application in which i have to integrate voice mail feature means First of all i have record one audio file and save it as a voice mail then i will assign this file to any contact so when a call is coming from a particular contact then my application is start and the assigned voice mail will st...
I have some ideas about running some anti-piracy measures for my app so I wondered if I could do this to sign the application on install. Running the code on first launch is no good, because someone could still copy out the apk without running it.
...
I have one activity. OnCreate the activity gets the source (html) of a web page to a string and presents the result (after parsing it a bit) in a textview.
I would like the activity to reload/refresh periodically to always present the latest information.
What is the best solution for this?
...
Hey,
i've got this Tabhost:
TabHost tabHost = getTabHost();
TabHost.TabSpec spec;
Intent intent;
/** Initialization Tab1 */
intent = new Intent(this, Tab1.Class);
spec = tabHost.newTabSpec("Tab1").setIndicator("Tab1").setContent(intent);
tabHost.addTab(spec);
/** Initial...
Hello
In my android application i need to insert an array into an array and access its values.
Is there any way that i can get this done.
Please share your valuable suggestions
Thanks in advance :)
...