I am having a lot of trouble understanding how the Android context menu works. I am writing a simple program which will display a list of different types of ice cream in a list view. When the user to "taps and holds over each type, a context menu should appear with 4 options asking what information they want to be displayed about that i...
I am developing a website that will play sound files for all smartphone users -- BlackBerry, Android, and iPhone. I've already figured this out for the iPhone, but how do I do this for BlackBerry and Android?
...
Hello,
This question is a follow up to a previous question I had
http://stackoverflow.com/questions/2822885/im-trying-to-implement-2-factor-authentication-on-the-cheap-how-would-i-do-that
I'm exploring the idea of using an android phone to SMS or robot talk a pin/token code to a user's home phone or mobile device. I'm looking at using...
Hello
I'm using following code to open a gallery inside of my app
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.setType("image/*");
startActivityForResult(intent, FIND_RESULT);
Is it possible to limit a list of images to only show images taken by camera? Viewing Gallery on my 2.1 system, images are grouped so there ha...
Hey Guys,
Can anyone point me toward the source code for KeyEvent?
I am trying to select text in a webview and would like to understand how the code i am using is working. Specifically, i would like to re-write it so that the select text implements a scroll when the user gets to the end of the view that is currently visible.
pub...
I have a issue that I have been struggling with for some time and its becoming quite frustrating...
I have an app that a user can modify the background image of a widget in a configure activity. Once they select what image they want I save a SharedPreferences file with the widgetsID and the value for the image... however in the onEnabl...
I am trying to import from a file. I am getting error message like the following.
The error occurred at getColumnIndex. How can I prevent this from happening.
Cursor c = activity.getContentResolver().query(android.provider.Browser.BOOKMARKS_URI,
null,
Browser.BookmarkColumns.TITLE+"=?",
...
How can I get it back again so I can put the right path into it? I think this is the reason that app inventor wont connect to my phone.
...
I am trying to get this hello world android application working.
I go through this installation process and read about how easy this thing is to get up and running with a "Hello World" application. I run the simple hello world application (following every step exactly as it says) and POOF... nothing. I get an error java.lang.IllegalArgum...
I have two identical Moto Droids. Both are up to date (2.2). I have been using one of the phones for development for some time. I now want to install my app to the other phone but cannot get adb to recognize it.
Platform is WinSvr2008R2
Eclipse with android pluig ins.
USB debugging is turned on.
Have verified both phones have the same o...
Hi, I am trying to develop an android application (targeting versions 2.1/2.2) which requires the tracking of Path x,y coordinate points and am having a hard time. The basics of the app are similar to FingerPaint, except first a separate thread draws some lines using a Path drawable onto a canvas, then the user tries to draw over those ...
I have a widget that I have an intent that starts an activity when I click, but I need to get saved Data into the widget, so onEnabled can I start an Activity that will look up the saved data for the activity?
Also an intent I need to set up for the click events... how do I set these up with out first having the config show up?
...
I already have a TextView, but it's text is null and I set one setCompoundDrawables() into the TextView.
Drawable icon;
.....
mText.setText(null);
mText.setCompoundDrawables(null, null, null, icon);
And set padding to 0.
mText.setPadding(0, 0, 0, 0);
mText.setCompoundDrawablePadding(0);
It seems the null text alway occupy some spac...
hi..
Did anyone know how to add a link in the plurk with anchor image??
Or can I use HTML code on Plurk? For instance: I wanna share an image, but make that image, a link to another page ...
Thank you.
...
public class SimpleOptionMenu extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater i...
i want api msn for android .
i search in internet don't have but in program msntalk,himsn for android. what use api?
...
There are a number of posts all over the internet on this topic, however none of them have been able to isolate and solve the problem.
I am trying to show some special UTF-8 encoded symbols stored in a SQLite database using a TextView, however all it shows is boxes. I understand what this means is that right font is not installed. But w...
Hey there- I'm trying to set my own icons for Air for Android using Flash CS5. I see the icon tab within the Air Android Settings panel, but it won't let me navigate to my icons. Also, I would add the path to my manifest.xml file, but it gets overwritten while publishing. Thanks, any advice is appreciated!
...
Hi,
I have some questions on installing Pocketsphinx on and Android phone, and I haven't been able to find answers on CMUSphinx's support forum, IRC, existing StackOverflow posts, or intensive Googling. If anyone here has a minute and would be willing to help, I'd appreciate it.
First off, I'm confused as to whether I can even install...
I'm messing around with the Notepad exercise 1. When I create the fillData method, I get an error that "Cursor cannot be resolved to a type"
Here's my code:
private void fillData() {
//get notes from DB and create item list
Cursor c = mDbHelper.fetchAllNotes();
startManagingCursor(c);
String[] from = new String [] { No...