If you want a button to provide haptic feedback (ie, the phone vibrates very briefly so you can feel that you really pushed the button), what's the standard way to do that?
It seems you can either explicitly set an onClick() event and call the vibrate() function, giving a number of milliseconds to vibrate, or you can set hapticFeedbackEn...
I have an issue with the following code:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
On my emulator this seems to work fine. The status bar disappears and the empty space is filled with the content view. However on my Nexus One this sometimes works...
For an EditText box, the user should only be entering valid numbers, so I am using android:inputType="numberDecimal". Unfortunately, the soft keyboard that Android brings up has numbers only along the top row, while the next three rows have various other symbols (dollar sign, percent sign, exclamation mark, space, etc). Since the numberD...
In my Android app, I have a tabbed Activity. In one of the tabs I have two TextViews and two EditTexts.
The first EditText is only one line, and that's fine. However, I want the other EditText, android:id="@+id/paste_code", to take up the remaining space, but no matter what I do to it, it will only show one line. I don't want to manua...
Hello,
I want to create a simple android binary clock but my application crashes.
I use 6 textview fields: 3 for the decimal and 3 for the binary representation of the current time (HH:mm:ss).
Here's the code:
import java.text.SimpleDateFormat;
import java.util.Calendar;
import android.app.Activity;
import android.os.Bundle;
import an...
I recently tried out the applicationCache / offline web apps on Android 2.1's WebKit and unfortunately it does not work exactly like on a webkit on the iPhone. I was wondering how I can easily see what features should be implemented and if there is something like a roadmap?
Does that information somewhere exist?
...
Hello,
As I know Android Froyo will support Flash 10.1.
I just wonder how Flash apps could be distributed on Froyo based device.
Will Google allows distribute Flash apps by Android Market?
Or, any other ways for it?
Regards,
Wonil.
...
i try some method,but not success,help me.
...
PostgreSQL has announced an Android app contest. I wanted to try out something but the only hosting I have does not provide PostgreSQL.
Do I have any economical (read cheap :D ) options? Is there a free hosting that anyone knows of?
Thanks in advance. --AJ
...
This question is related to an existing question I asked. I though I'll ask a new question instead of replying back to the other question. Cannot "comment" on my previous question because of a word limit.
Marc wrote - I've more than one Handlers in an Activity." Why? If you do not want a complicated handleMessage() method, then use pos...
Using
HttpGet httpget = new HttpGet(urlToGet);
I get an intermittent error that results in a forced closure of the app. The error is always Host is unresolved: www..com:443
How can I stop this from happening?
...
Are there known issues with navigator.onLine on Android 2.1? I have a Droid on airplane mode, but navigator.onLine appears to be returning true anyway. (I'm using an HTML manifest to cache the page, and its behavior works fine in Mobile Safari and Firefox in offline mode.)
...
I'm trying to create a sliding drawer in code, but I don't understand what to do for the AttributeSet part of the constructor.
What do I need to do for that?
Also, how do I define in code where the slider is going to show up?
Thanks,
...
Im new to android and thought it would be fun to develop an app that goes out and checks woot.com. The idea I came up with is for the app to be a widget that refresh woot.com once a day and displays a picture of the item and price. If the widget is clicked on it would open the browser to woot.com. In theory this seems like it would be ea...
A gridview has many imageviews to show images. The image has transparent padding. and
These images in the gridview always show with white background.
Actually. if i just use a imageview to this image. I can get the it correctly.
So what the problem? and How to make it show correctly.
Pls help me. Thanks
...
Hi,I have a range say,1-100 and i want the user to select a value from this range.Ofcourse showing this with a spinner will be awful.I want to use the functionality of date widget,where we can pick a date by pressing a +/- sign,the longer the press ,higher the iteration speed.
I found numberpicker.java that has the code the date widget u...
Hi friends,
Yet I use Soft Keyboard sample from http://developer.android.com/resources/samples/SoftKeyboard/index.html
Here we uses ASCII value from XML ,now at the place of XML I want to generate these value using array.
How can I do this
Thanks in Advance
...
I am developing a reminder application. I am generating notifications using notification manager class, when the timeline crosses.But if my cell phone is switched off ,I am unable to see these notifications. Not even when i switch it on again.
Even if i switch it off and switch on again, i think the pending intents are destroyed and no ...
What are the mobile handset security solutions used by you / your organization.
What are the pro's and cons of usage of these solution - and how far have you been successful in implementing these - were there any loopholes / issues faced in using them?.
In general, can you suggest a set of guidelines to watch for when going for going ...
Hi I am displaying an icon in status bar depending up on my condition .upto this it is ok.Now problem in my application is when i come back to application still the icon is displayed in the status bar.I don't want the icon when i come back from the application.For this give me some suggestions
...