The function below is part of the code for Google's Camera app.
It is supposed to update a text view that displays dynamically the time elapsed since start of recording. But this function does not have a loop so how does it do it? Please help.
private static final int UPDATE_RECORD_TIME = 5;
private final Handler mHandler = new MainHan...
Hi guys I'm newbie to android development and I need some help...
I want to make an app that will use data from an xml database and there are two points where I need help cause I find java with xml too complicate...
eg.
<items>
<1><name>box</name><price>2.00</price></1>
<2><name>pencil</name><price>1.00</price></1>
</items>
1)get a ...
AccountAuthenticator.java:
Intent intent = new Intent(context, AccountActivity.class);
AccountActivity.java:
In onCreate(Bundle aBundle) I want to say:
getIntent().getContext();
But getContext() does not exist.
How do I get the Context from the Intent ?
Since it's passed in the Intent constructor, I was expecting it to be availabl...
i download AlarmClock in the sound code of android,i have modified it,but i want to run it
can i rebuild AlarmClock in Windows, if i can ,how? thanks.
...
Hi!
I want to implement a Web Service on Android.. I want to use my device as server. After doing some research on the internet, I found several options:
SerDroid (small web server for the Android platform)
i-Jetty (open-source web container to run on the Android mobile device platform)
KWS (lightweight and fast web server especially ...
Hi, guys.I’ve got the following problem. I need to create interface for number selection which is similar to data selection in HTC Desire, i.e. there is an initial value which is varied by forward or backward gesture. For this I used FlipView with two TextViews. I managed to change the value by 1 unit by scrolling forward or backward. ...
Hi all. I am new to android. I just create one application it download the file from the mail attachment. When we try to open a file my application will give an alert dialog. But it gives the alert, behind that it shows a black background with my application title bar. I don’t want to display that background and title. I wish to display ...
UID - is unique for every device.
But is it possible to determine to wich device it belongs(iPhone or Android i mean) ?
iPhone devices are quite standartised - they come with almoust same hardware but Android is almoust on every device(including iPhone in some cases :) )
...
Hello all, I would like to access the word lists used on android phones for spell checking (not including the user-defined-dictionary).
I am writing an app which i would like to be able to check if a word exists in the current phone users language. I imagine their is some API call or service i can use to access the build in word lists?
...
I am new to mobile application development.I wish to know how to create and use the database in android. Is there any requirements needed to create the database(like sql)? now i use the eclipse ide.
...
My android app requires to get the current date and time from internet. I can't rely on the date from the phone How is it possible to get the time from internet. what are the available time servers ?
...
I've been through the Android tutorials - these do a good job of introducing how we can hand-roll an Android user-interface. Actually, I do not need that level of control right now... I'm looking for something simpler...
I'd like to make an Android app which will mainly contain a number of standard UI widgets, nothing particularly fancy...
Hi All
I am developing in Android, I am using instrumentation to test Phone application.
Instrumentation is Android env to test applications.
For that I use am command with name of test case.
I run adb, then I enter adb shell, then write in shell the am command.
I wish to deliver a parameter together with this am command.
I mean...
Hello,
I have a button in my application....
I want to change its position by programmatically...
I have created a button in xml as follows:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
andro...
i don't know it is right place to ask question in stackoverflow .but i fell its best place to get quick answer for my query.
for getting more downloads i developed my application in android 1.5 version,minSDK 3. if i place application into android market.it will visible 1.5 and higher version mobile android market.it is good way for deve...
Hi!
I was wondering if it is possible to abbreviate only a portion of a string in a TextView. What I would like to do is something like this:
Element with short title (X)
Element with a very lo...(X)
The title should be ellipsized, but the X must be always visible. In my case, is not possible to use more than one TextView. Do you thi...
how do i display videos retrieved from resources in my android application
...
I want to use the concept of array in my Android Application, I don't know how to do that actually.
So could anybody please help me how to do that on demand.
...
Hi, I want to set the autotext programmatically, I have set the edittext proprty like
EditTxt.setInputType(InputType.TYPE_TEXT_FLAG_AUTO_COMPLETE); but no effect.
Please give some inputs
...
I wish to use database for my application.How to use the database in android.I use eclipse ide.Is there any requirements need for create database.Give some basic ideas about it.I am android beginner.Help me to know about it.
...