Hi
I am getting photos from website and display them in Grid view, but
here I do not want display all of them at time,
1. I want show only 10 photos and a "more" link below the grid , but i
can display "more" link at top, how can I add it at bottom?
2.when user click on "more" it should display the another 10 photos
only, I need to refre...
I want to press an Android button and automatically direct the user to the PayPal site with all the relevant data POSTED along also. Is this possible?
...
Hi,
I specified a meta-data in my manifest.xml like this:
<meta-data android:value="5555555555" android:name="foo"></meta-data>
When accessing the meta data like this:
ActivityInfo ai = act.getPackageManager().getActivityInfo(componentName, PackageManager.GET_META_DATA);
Object value = (Object)ai.metaData.get(key);
this value gets ...
How do I use Android TTS API's from the web page?
...
Hello,
I'm new to android and I'm trying to figure out if there is a best practise in menu handling. Well, here is the thing:
I have created a menu.xml file (wihtin res/menu), Main.java handle the menu action with a switch case.
I'm wondering what is the best way to run appropriate task when an action is performed on a menu item:
Use...
I currently have this:
Builder yesandno = new AlertDialog.Builder(this);
yesandno.setTitle("QuickResponse");
yesandno.setMessage(message);
yesandno.setPositiveButton("YES", null);
yesandno.setNegativeButton("NO", null);
yesandno.show();
How should I go by setting an event listener that will capture if the user clicked YES o...
Hi all!
My dev team and I are looking to do a game in Android, instead of iPhone for our next sprint iteration. We've been tweaking with GeekGameBoard (which we love), and I was wondering if anyone could recommend a similar game library for Java / Android-esque.
We're not looking for OpenGL
We're looking for Board Game / Card Game (e...
Hello all, I would like to get user contacts and then append some kind of regular expression and append them to a list view. I am currently able to get all the contacts via getContentResolver().query(People.CONTENT_URI, null, null, null, null); and then pass them to a custom class that extends SimpleCursorAdapter. So I would like to know...
Has anybody succeeded in updating/installing Android SDK platforms on a headless Linux server? All I got is the following error:
It seems like the action "update sdk" is actually not supported?
~/android-sdk-linux_86/tools$ ./android --verbose update sdk
No command line parameters provided, launching UI.
See 'android --help' for opera...
So I have successfully downloaded/compiled the ported Facebook Connect code for Android, created a Facebook app to connect to, and run the code on my emulator. It updates my status from my emulator, but I was under the impression I could perform other Facebook API calls.
How would I go about making a friend request(knowing the user's Fa...
In my app i let the user select one image from the media gallery. To do this i use the Intent.ACTION_PICK.
Like
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.setType("image/*");
startActivityForResult(intent, IMAGE_PICK);
The app works mostly fine, the users can select an image and the uri correctly.
The matter is in ...
Hi there,
I'm planning to perhaps purchase an android phone, and would love to be able to script some simple apps in Ruby on it. I found this article from back in August where the author was able to get the scripts working, but since I'm not a Java head, I had a hard time understanding all the steps.
http://amazing-development.com/arch...
How can I size a view based on the size of its parent layout. For example I have a relativelayout that fills the full screen, and I want a child view, say an imageview, to take up the whole height, and 1/2 the width?
I've tried overriding all on onMeasu onLayout onSizeChanged etc and I couldn't get it working....
...
I have a drupal-based website where people can log in and see private discussion forums. This is where I want to have my beta testers for my Android application download the beta .apk files. I tested this thoroughly on my Android 1.6 based myTouch 3G, and was able to log in, and download files attached to forum posts without problems.
N...
I have been able to create an *.apk file from my code, place the file
in IIS, and download it onto a number of Android phones. Upon the
install, the application works exactly as expected.
However, after a phone is rebooted, the application name is changed to
the fully-qualifed java class name of the activity in the menu (so
"MyActivity...
I'm considering to develop rich text edit widget, so I'd like to get some useful information.
The requirement of widget is RTF support. I don't mean supporting MS RTF format exactly,
just supporting style like RTF is enough for me. So, anything about its development, such as kind of styles, how to design edit widget, is welcome. Thanks i...
I am using the following code to set the adapter (SimpleCursorAdapter) for an AutoCompleteTextView
mComment = (AutoCompleteTextView) findViewById(R.id.comment);
Cursor cComments = myAdapter.getDistinctComments();
scaComments = new SimpleCursorAdapter(this,R.layout.auto_complete_item,cComments,new String[] {DBAdapter.KEY_LOG_COM...
Hello I am trying to make a terminal type app that is wider than the actual android screen. A listview is great except that I don't want the text to wrap. If the text is wider than the screen I want it to print the full text and then the user can scroll over horizontally if they want to see what was printed off the screen. Just FYI this ...
I'm struggling with using EditText and Spannable text object, These days, I've read API documents around ten times, even I'm not certain that I understand correctly. So I'm looking for a kind of example which show me how to utilize EditText and Spannable.
...
Hi,
I would like to know whether the Android provides any sort of compatibility i.e either forward or backward. It means as in Blackberry if develop an Application with JDE 4.2 then that application will work on any handset with OS 4.2 or higher which means it has forward compatibility. Is there anything similar in Android?
Suppose I ...