Hi
I have an application that get/send data from/to a remote DB on internet.
I need to get my application working in background mode, then i supose that i have to put all the send/get remote data in a service.....
but.... How can this service change values of variables and UI textfields of my activities?
i can't find any information ...
I’m writing an application (game) where I would like to end the game activity when the user fails the game. My game is loosely based off lunarlander, so I figure it may be easier to ask for help using lunarlander as an example, since a lot of folks are familiar with it.
When the user fails the lunarlander game, I want to automatically ...
Hello,
I want to ask whether it is possible in android to record an ongoing phone conversation. I was able to record what was being spoken in microphone, but not the audio coming from other end.
I tried it using MediaRecorder.AudioSource.VOICE_CALL value, but with no success.
Any help ????
...
Hi,
I'm new to opengl and android and couldn't find an answer in the forums so here I am...
I need to be able to 'draw' only the intersection of two triangles. I tried to use stencil test but it doesn't work in the android emulator.
Then I tried to use depth test and it works but only for a fraction of a second, then the screen goes bl...
Hi ,
The Android 2 APi diff says that there is an easier and better way to search for SMS in versions > 2 .
However I could not find anything like this , I was going through the API and have also googled this .
Is there any sample code or article that I could take a look at .
Thanks in advance for all your help !
...
I'm quite new to Android development and face UI implementation issues. Namely I'm trying to find a good way (design pattern?) that addresses view hierarchy and navigation between views (with history). Does is always has to be about launching new Activity? I don't want to learn bad habits during my first steps with Android SDK, hence my ...
Hello,
I need to write an Android app that would download sounds from the internet for further use.
Where should i store these sounds? Is Sqlite an option? And what's the best way to load and play these files?
Thanks in advance.
...
I connect to i ip-cam with thread. When I rotate screen, activity restart and new thread restart?? I only want to set ImageView fullscreen when ı rotate... How can I stop activity-restart???
public class ViewCam extends Activity implements OnClickListener {
private Bitmap bmp = null;
private String bmpl = null;
private ImageButton UpBu...
Can you use ADB to type directly on an android device from a computer? If so, how?
...
Hi,
I have 3 views in my application.
My first view (FIRST_VIEW) has 2 buttons (BTN_2 and BTN_3).
Each button will start seperate views, means BTN_2 causes to start SECOND_VIEW and BTN_3 will start THIRD_VIEW. In my FIRST_VIEW i have one onActivityResult() function. How can I set two onActivityResult() functions for each button result (t...
DelphiFeeds.com aggregates many community Delphi blogs and makes it all accessible from one place. Is there something analogous for Android?
...
I am wondering how I can make the orientation of the screen permanent, even when the phone has a slide-out keyboard. This is the code I have:
<activity android:name=".AppName" android:label="@string/app_name"
android:screenOrientation="portrait">
Thanks.
...
Starting from Android 2.2, the FileNotFoundException contains additional information about problem:
java.io.FileNotFoundException: /foo/bar (No such file or directory)
The error message format is:
java.io.FileNotFoundException: path (reason)
I have seen such reasons:
Invalid argument
No space left on device
No such file or direct...
Hello
I am currentry working on a project and need to display some data in an expandable list. This data might change during the lifespan of the activity.
I have the following setup:
ListMembersActivity that extends ExpandableListActivity
and
CustomExpandableListAdapter that extends BaseExpandableListAdapter
to get the data and prep...
Friend's
I have problem in showing the facebook login screen display,in larger screens like HTC Magic,and Sony Ericson Xperia X10,i never met like this problem,Here i attached Screen shot of smaller screen display,From the screen below the email field is showing well,after entering email,i need to enter password but password field is ...
Hi All,
i m calling soap web service in my application. i m getting an image URI as a response. i want to set it to the image view. i m not able to do that.
how can i do that?
pls help me..
...
Developing Java, you have always learned that its best to create an ArrayList by using the List interface as the type for the variable the list is stored in. Like this
List<String> myList = new ArrayList<String>();
However, by looking at a lot of the android examples that is included in the bundle, they have created the list by using ...
Hi,
I have been messing around with the webview function trying to add a progress bar to the webpage when it is loading. I have added a progress dialog for the transition to the webpage but now I want to add a progress bar to the webpage everytime the user clicks a link, I have tried adding different code but cannot get anything to wor...
I am using Android 2.1 SDK, the application reads from the Sqlite database, a table that has two columns, an id, and a string.
I read in this into a HashMap<Long, String>, the value part of it gets displayed in a List, now, I wish to obtain the key value, so I cooked up this simple routine:
private Map.Entry<Long, String> getEntry(Stri...
Hello,
I want to create a binder service in C++ and be able to bind to that
service from java. My question is how? I have mimicked the
implementation in frameworks/base/camera/tests/CameraServiceTest/
CameraServiceTest.cpp. It compiles nicely without any warnings and I
can run it. But how do I connect to it?
The code for the service is...