I am using android build target vendor version 2.2.
I want to access/read sqlite3 database file of an application A from an application B. Is it possible to do so? because i don't want to import that DB file of apps A in Apps B.
...
Is there anyway in android to loop a recorded audio through microphone. I mean that instead of speaking in microphone, i should be able to send a recorded audio from code into it.
...
Hi all,
i need to know, how to recognize, which button is pressed.
Like if i have two buttons ,say button 1 and button2,and both of them performing the same method, say method(),how to determine which button pressed ?
Regards
...
Trying to write a game such that most of the screen gets filled with my GameView (custom view, derived from View)
I then want to have an area at the bottom of the screen for messages etc. In the following I'm just trying to put a button there to illustrate the issue.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:...
I modeled my game after the Lunar Lander demo that Google provides, and it uses Canvas and onDraw() methods, but I want to get better performance by using Opengl.
How much work is it to convert it to Opengl? Can I just replace the ondraw methods with opengl's texture methods or something? Or do I have to completely recreate the game?
C...
Hi All,
Right now, I need to develop an app of Paypal on android platform, I hope to program in Eclipse, and I have installed the android SDK successfully.
Could anybody give me any suggestion or hint of how to integrate the Paypal's api with the Eclipse IDE? Any detail about this will be more grateful.
...
package one.two;
import android.app.Activity;
import android.database.Cursor;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.SimpleCursorAdapter;
import android.widget.Spinner;
import android.widget.TextView;
import android.widget.AdapterView.OnItemSelectedListener;
public ...
I'm exploring using Scala with its Comet facilities for my next project and was curious if anyone had experience using Comet (not necessarily Scala) with:
WebOS
Android
iOS
All these phones are WebKit, which should mean that my Firefox tests would work equally well, but I don't know how long-polling connections work over 3G (or wheth...
Does this call block? Or is it in another thread and control can go beyond this statement?
...
Hi im working on an app that use gps My testing devices are Nexus One and Htc Mytouch 3g Slide
So does anyone know how to improve the gps accuracy?
...
Hi All,
pls help me in this problem. i m doing this from last three days but not got any success.
suppose i have one image. and i have set that image invisible in my XML layout.
now i want to make it visible though animation. suppose translate animation.
suppose there is point A and point B.
on point B i have alerady set the image invi...
I'm completing a project for the iPhone entirely written in Objective-C. I'd like to translate this for Android too.
While the user interface of the iPhone and the Android OS are very different and will need different code, can I some how import the core of my code (ie. the black box that does the thinking) as is to Android as part of s...
On a Nexus One (for example), the camera application is able to capture H.264 video at 720x480 (the "High" quality setting). However, when using the MediaRecorder API, it always seems to capture at a fixed frame size of 320x240.
I would expect the setVideoSize() method to control the frame size (as in the prepare fragment below), but it...
Hello,
I have a singleton in an activity. When I end my application (like pressing back button), and start it again after some time, the singleton is not recreated, but is holding previous state. Singleton is not destroyed if the application is destroyed? Do I have to null its static members in onDestroy() to avoid memory leak?
Thanks.
...
can anybody give example how to implement click event in appwidget in android ?
Thanks
...
Looked like my #$#%$%#$ the receiver was not i application element in manifest
Hi
I just created the helloworld appwidget to see how its works. i followed the dev example on adroid dev site. But for some reason the widget does not want to show in the widget list.
AndroidManifest.xml
<receiver android:name="VoiceRIAWidget" androi...
Im struggling with the done button on the soft keyboard. I can't get the soft keyboard Done key press to hide the keyboard. From another button, it works perfectly with imm.hideSoftInputFromWindow(editText.getApplicationWindowToken(), 0); but the onKeyListener does not function the way I want. When I hit the editText, the soft keyboard s...
Hello everyone. I'm currently developing an app for Android which uses google map service. Because users will be able to see thousands of markers I would like to load only those which are currently within the map bounds (i.e. when user look at specific map tile). I know how to do it with javascript/html. However, Android doesn't seem to ...
Hi,
Im doing a project which similiar like download manager. I have 1 of the function is it allow user to pause the file and they can resume the download later.I have google it, but unlucky i stil haven solve the problem (maybe i'm new in android and stupid to solve it).
the question is.. if one of the file was haven finish downloaded f...
I am trying to create an Options menu in an Activity that gets started from a Service and then changes its UI based on messages from the Service passed via a Handler.
I set up the Options menu as follows:
/** Menu creation and setup **/
/* Creates the menu items */
public boolean onCreateOptionsMenu(Menu menu) {...