Is it possible, from within my android java app, to capture an image of what is on the screen, even if it was written using native (ndk)? I do not wish to take screen shots of other apps, just my own. I can already capture and image of a canvas that I am aware of, but is there a view or canvas or something like it that always represents ...
I have tried to solve this for days but now i try my luck here.
I use an lazy load to show my images in a custom adaper.
i want to fade in images as they ar download loaded.
This is working BUT the Thread stops while animation is ON
public void run()
{
if(bitmap!=null) {
myProgressBar.setVisibility(View.INVISIBLE);
...
What is proper way to exchange data or objects between different Android Activities?
Welcome screen <-> Main Screen <-> Startup routines <-> Processing data <-> Settings
Is it normal/recommended to have more than one activity in Android app? in my opinion, it's somehow strange to have this model of data exchange inside application
...
I have a site which makes SOAP requests to a separate domain using YUI's cross-domain AJAX transport. This is working wonderfully on my site, but unfortunately since mobile browsers don't support flash, I can't get it to work.
Does anyone know of a way to make cross-domain AJAX posts on mobile browsers?
Thanks!
...
Is it possible to add an activity on top of the current activity.
For example lets say i click a button, and then it adds a second activity to the current activity. And the second activity only covers a small place at the buttom of my current activity.
...
Hello,
What is wrong on this code ?
I've a Raw file in my project (mp4 videofile),
when i do this, and then i retreive file from SDcard file are not identical so video can not be load :(
Do you have another way to automaticly copy a raw file to sdcard ?
Thanks
String FICHIER_BLOW = "blowvid4.mp4";
File f=new File(Environment.getExternal...
Hi
I 'm opening a video file (3gp) file using code below
String url = "rtsp://v5.cache4.c.youtube.com/CkELENy73wIaOAliq6nKYdHZZxMYESARFEIJbXYtZ29vZ2xlSARSBWluZGV4Wgl4bF9ibGF6ZXJg7sXyzsWH3ZlMDA==/0/0/0/video.3gp";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
I can also play th...
Hi,
Can you please tell me how can I create my own Preference class in andorid? with my own layout and own click listener?
Thank you.
...
I am developing a website that relies on pulling the geolocation data of a mobile user. I am doing it the typical way via:
function initialize() {
if(window.google && google.gears) {
var geo = google.gears.factory.create('beta.geolocation');
geo.getCurrentPosition(useLocation, errorOnLocate);
}
else if(navigator...
I have a custom View that I'd like to specify the layout of in an XML file rather than through code, is there anyway I can take an Android XML layout file and use it to flush out my custom View's content? I know it can be done in an Activity via the setContentView method, but there doesn't seem to be a similiar method for Views.
Thanks...
Ive been trying to make a scrollable/zoomable app and everything has gone great except for drawing bitmaps. It is a very large image (6656 by 4096) that i have split into tiles. There is a rectangle array that the bitmaps are drawn to, and it detects what rectangle is in the top left corner so it can draw the bitmaps that will cover the ...
How do I build and debug the cores apps in Android source tree, like AlarmClock and Settings, located under:
${ROOT}/packages/apps?
...
I am using the getExternalFilesDir(null) method to save to the SD card. Saving and reading from the SD card is fine. The problem I am having is that every time I edit anything in Eclipse and rerun the app the data on the SD card is deleted. I know that saving to the directory returned by getExternalFilesDir(null) will allow the files the...
Hi All,
I am android beginner and while running emulator in win2000 i am getting bellow error
*the procedure entry point addressinfo could not be located in the dynamic link library WS2_32.DLL*
Thanks
...
It will save a lot of coding if I am able to make a breaking change to my Android application. Instead, they will have to download a clean install and visit a URL to reinitialise the application data.
According to the documentation, "if the package name and signing certificate do not match those of the existing version, Market will cons...
Hi i want to display the images one by one that means first i am displaying the some (5) images in a single row.when i am track that view next pair is coming.and when i click on particular image that image will be dispayed as big image in layout which is above of this single row layout.For this which layout are useful that means grid vie...
Hi everyone,
i have two bitmap images ..and i need to merge the bitmaps with precise positioning of one bitmap over other and get a resultant bitmap (which is combination of both)
and the resultant bitmap is a font character and i want that bitmap to be displayed in a edit box where i am inputting text.
is it possible. Please help.
...
first of all i declare an integer array in my strings.xml file and add 3 items to them
then i use that items with
private TextView Number12;
Number12=(TextView)findViewById(R.id.TextView01);
Resources r = getResources();
int[] bases = r.getIntArray(R.array.UserBases);
for(i=0;i<bases[i];i++)
{
Number12.set...
I am trying to play a sound file on the click of a button. The sound is just 1 sec long. It plays well the first few times I click the button, but after a while it gives a NullPointerException. Here's the code:
button[i].setOnClickListener(new OnClickListener() {
public void onClick(View view) {
mp = ...
Hi all,
Greetings
I Have seen so many solutions u provide to developers. great work man.
i have some GOOGLE map display problem. i have developed an android application. which uses google map api.
but now application is working but only showing blank map. i got map key also after providing MD5 certificate.
i m really very fed up. not ...