Hi,
I have made a android application using zxing libraries to scan QRcode generation. Its running fine with my htc magic device. What my problem is that when i try to run the same application on other devices say Motorola Droid which has big screen sizes, though it scans well, i see the scanning frame in a different position as that of...
Hello together,
i try to build an TextEdit (AutocompleteTextView) that format his text with an DecimalFormatter!
The TextEdit is set to numeric integer, so only can type numbers.
Now i want to format it while writing (or after) to format it like normal money format
like:
public String formatAmount(String currentValue, String loc){
...
Hi all,
I love how Android automaticly displays a number of menuitems in the options menu and when there are too many for your screen, it displays a 'More' button. I'd like to keep it that way, but the menuitems in the popup that you get when you press 'More' don't have the menuicons. Is there a way that I can overrule this? If not, how...
mp=MediaPlayer.create(AlarmAlert.this, R.raw.clear);
mp.seekTo(0);
mp.start();
I use this code in my application, it's working when i try it in android emulator.
The application size is around 356KB in emulator.
But when i install the .apk in my phone there are o sound at all and the application size only around 50 KB.
What could be th...
I want to use a Bitmap that Tile on the Horizontal only, is there any way to do it, so that it will expand only on X like repeat x on CSS.
I using the following code but the bitmap tile Horizontal and vertical :
...
Hi Gurus,
I have some critical issue related to height of TextView. I want to set the height of the TextView based on the content which is set at runtime. Here is my xml code:-
<TextView android:id="@+id/tv"
android:layout_width="fill_parent" android:layout_height="wrap_content"/>
Here is the java code to set the height of the TextVi...
I'm trying to use Google Spreadsheet api to update a cell of a worksheet.
I followed the guide , tried to send a HttpPut request to do that but failed.
i got 200 OK from the following Code, but nothing be updated in the worksheet........T.T
String cellUri = "https://spreadsheets.google.com/feeds/cells/tD0jOr1kFs6yHag573hB0YA/od6/priva...
I want to build an application that is able to read .CSV files.
These .CSV files are downloaded NOT from within the application but just the regular Android browser.
Now, when I start my custom application, is that download available to me? Any examples?
...
I have a cursor adapter and the logcat is filled with above errors, as soon as I click on a view. I am already releasing the CursorAdapter's cursor in onDestroy().
Is there any way to get information about when the cursor was opened?
...
Hello,
I know it is possible to develop a full flex application using AIR for android but what I need is to embed a flex component into an already existing classic java android application.
I found some flash players in java but they all either require a JFrame or include of specific windows dlls.
Is it even possible ? I found no info...
I am writing an android application for sending email which launches the default mail application of android and asks to allow sending mail or not.
I want to know the type of Exceptions that are expected to throw in this case.
I have gone through Developer guide and some other Android PDFs ,I am finding only base class Exception.
I wan...
I have two activities. A and B.
A starts B. Both are running in the screen and both are visible. Say now B is visible.
On a special key press, I want to bring the A to the front and make it active.
The problem I am facing is when the special key is pressed, another instance of A is launched and the new instance is brought to the front.
...
I am developing an application which requires android phone to be configured as a wireless access point.
Any ideas?
...
please give me the solution
public class Calc extends Activity implements OnClickListener
{
private Button clr;
clr=(Button)findViewById(R.id.Button01);
}
public void onClick(View v)
{
case R.id.Button01:
tv1.setText("REF");
if( ref_flg==true)
{
final AlertDialog alert...
Hi all,
In an application I need to limit the length of drop down list displayed by AutoCompleteTextView in android to let the below buttons be visible.Can anyone help me in limiting the length of drop down list programmatically.
Regards
Saurabh
...
I am making an application which makes use of internet.
It works fine when Wifi is availble.But when wi fi is turned of then it give me error "Address Family Not supported".
I am using NetworkInfo Class to know the status of network availble and using WifiManager to enable and manage Wi-fi connection if available
...
I want to create two new custom buttons to use in my android application.
I want them to be like this:
Icon on the left
Text on the right for a button
Another button with Icon on top and text on bottom
So basically I will have a png image stored in my resources that will be the button's icon. I will have another image as a 9patch st...
Hi: I'm Facing some problems while scanning for bluetooth devices on a HTC Desire with Android 2.2 (Froyo). Directly after device reboot, it works but when I try to scan again later I only get the following error message. Broadcasts like BluetoothDevice.ACTION_FOUND and BluetoothAdapter.ACTION_DISCOVERY_FINISHED are not received.
ERROR/...
As we know, startActivityForResult() used to get a result for a task from parent activity. Here when we click the setResult(). It returns the result to the parent Activity.
Child Activity means it should maintain the persistent state. That is when the users clicks a button on the child activity. It do not finishes that activity and sho...
I'm trying to override the onBackPressed() method of the ActivityGroup class:
public class MyClass extends ActivityGroup {
@Override
public void onBackPressed() {
// do something
return;
}
but I'm getting the error The method onBackPressed() of type MyClass must override a superclass method.
I'm relative...