i want to create a bitmap of whats being currently displayed of my app, one thing i went into is cant read FB buffer requires root, would like to know if it is possible to create a image file for the screen, please i want the help to code this, no 3rd party intents , thanks, answers would be much appreciated
...
I want to store a few values in the form of high scores. But since im not going to be storing more than 5 values, using SQLlite doesnt seem appropriate. Another option considering was a flat file, but not sure how to go about..
...
I have implemented my own accountAuthenticator and SyncAdapter, but when I click on the authorities list in Manage data and synchronization to sync it, the updating icon stays there forever and my syncAdapter's onPerformSync is not called at all. what's the problem?
...
hi all,, pls help me out in following matter,,, its esstentail for me..
I want to build android 2.1 with Launcher2 rather than default Launcher....for this , m taking following steps
i m changing the /buil/target/product in this some . mk files , m changing on them Launcher to Launcher2.
I m removing or commentintg the
...
Hi,
I want to write a program which can install and uninstall an application over android device.As these features are provided over android device,but from where should i start and which files are required to be seen to develop my own application. please help me out.
Thnx in advance.
Praween
...
I'm setting up OAuth for my Android app. To test it I did the following:
Added signpost-core-1.2.1.1.jar and signpost-commonshttp4-1.2.1.1.jar to my project, added the variables "CommonsHttpOAuthConsumer consumer" and "CommonsHttpOAuthProvider provider" and did the following when the button is clicked:
consumer = new CommonsHttpOAuthCon...
how do i play videos in android application??
the videos will be placed in res/raw folder??
...
I have created a listActivity with my own ListAdapter. The problem is that the list is viewed in order once launched. But When I scroll down, or go back from another activity, the listView is completely out of order.
I thought the problem was in ArrayList but no, the list is sorted and i'm sure of it because when I loop over all element...
Hi there
I'm building an app that uses content observers.
My problem is, that I tend to register my content observers multiple
times. This causes my application to log events several times.
How do I find out, if my content observer is already registered?
...
I am writing an Android app that should exchange data to a server over Bluetooth, with the server side on a PC running Ubuntu, using the bluez library, in C (or C++).
My Android app fails (IOException) when I try to connect to my server socket on the PC.
Here is essentially what I in the java code (in Android, full eclipse project her...
Hello,
I read the first tutorials today on SOAP webs ervices and I'd like to create my own service, e.g. a java class Person that should be my web service. I don't know what application do I need to store this web service for accesing it as a test, and neither how to access it from ANDROID.
Please help me with this.
All the best
...
Hello,
I have a ListView that I want to use with an ArrayAdapter to add different styled rows. The rows are created on different states in my application, and depending on the different states the rows should be styled(like colors and stuff).
Here is some pseudo-code:
on creation:
mArrayAdapter = new ArrayAdapter(this, R.layout.messa...
What's the best way to implement an Android Market-like tabbar (Apps/Games/Downloads)?
It would be great if I could use TabHost, but I believe it doesn't allow this level of customization.
...
Hi,
I'm currently writing an application which builds the UI dynamially from the server;i.e a template file is loaded and from it Tabs containing ListViews are created. When a user selects an item in the list, another view is to be shown, with the possibility of a back button.
It makes good sense to use the ViewFlipper I'm guessing.
The ...
Android I am using jTwitter
Twitter my_twiter = new Twitter("my_user_name","my_pass");
my_twiter.setStatus("hello world");
line 2 throws
winterwell.jtwitter.TwitterException$E403: Forbidden http://twitter.com/statuses/update.json (my_user_name)
what does that mean ??
...
Hi all
I want to show a progress dialog on the screen if the activity is showing. But when the activity window is not showing, it will not do anything. Please suggest, how do i check whether my activity is showing or not??
...
Hello , i'm trying to retrieve the current date via unix time like this:
long unixTime = System.currentTimeMillis()/1000;
Date d = new Date(unixTime);
StringBuffer tmp = new StringBuffer();
tmp.append(d.getYear());
tmp.append(" - ");
tmp.append(d.getMonth());
tmp.append(" - ");
tmp.append(d.getDay());`
...
For a site I'm working on I'm implementing image preloading with javascript however i most certainly do not want to call my preload_images() function if someone is on slow bandwidth.
For my market the only people with slow bandwidth are those using mobile internet on a smartphone.
What's the best approach for detecting these users so i...
i'm triing to get the output from a servlet on an android phone
this is my servlet:
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package main;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletExc...
I have 4 tabs, in my application which is been developed in android.
I wanted to know which event is fired when i navigate from one tab to another.
@Matthew Vines
*Where should i use this event in my code, as i am a fresher with android*
public class Test extends TabActivity
{
@Override
public void onCreate(Bundle savedInstance...