I have purchased an Samsung Galaxy I9000 Phone, knowing that it does not have either a trackball nor a touchpad/cursorkeys. I thougt: simply write an application that reads gestures and sends/generates the appropriate cursor events. Checking the SDK documantation and found that this is possible after granting my application the permissio...
Hi all,
Application icon clicked action in Android
How to get application clicked action in Android??
Example:When i click on Contacts i want to display Image First the display Contacts List How can i Do this???
Please Reply soon.
Waitin for your reply.
Thanks
...
Hello , i just followed the tutorial on tabs creation from the android dev documentation
and my tabs didn't turn out the way they probably should. Here is a screen on how it looks for me:
and here is how it should look like:
I found som threads that talks about putting localisation on the tabhost and make every activity follow the s...
I have an application with two activities and I'd like to be able to have two icons appear in the launcher, each launching the respective activity within the app.
Specifically, I want one icon to launch my main app, and another icon to launch my settings activity. Is this possible?
Here is what I've tried so far:
<activity androi...
I've found today that my recently published app on the Android Market,
is not showing up on this device Market: Samsung Apollo.
I've already followed this tutorial to make my app accesible to almost all devices configurations
and it still don't show on that device's Market.
What am I doing wrong?
...
In an Android app with multiple Activities, is each activity's UI thread a separate thread or are they actually the same thread (like a global, per app UI thread)?
...
I came across the following two lines in AndroidMenifest.xml file of my android application:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
Why we have write "encoding" in <xml> tag, what is the purpose of it?
What is the purpose of writing 2nd line ?
if anybody know ...
I would like to disable the keyboard across the OS, but I am not exactly sure if this is possible.
http://developer.android.com/reference/android/app/KeyguardManager.html
...
Hi,
I got a code for connecting the web page but it shows always
"Connection failed; Host is
unresolved: www.streetcar.org:80"
The code is as follows.
package myapp.httpdwnd;
import android.app.Activity;
import java.io.InputStream;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.TextV...
I have an application with a multi-instance activity. I would like each
instance of the activity to appear in a new task and process.
Any suggestions on how to do this? By manipulating the manifest I can
cause all instances of the activity to appear in a specific task and
process, but I haven't found any way to cause each instance to ap...
hi,
in android manifest code these permissions are used sometimes.for what these are used?
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permissi...
Hi,
I'm trying to set a system property in Android 2.2. Using Android for eclipse plug-in. The line that's causing the exception is:
Settings.Secure.putString(getContentResolver(),
Settings.Secure.HTTP_PROXY, "127.0.0.1:8099")
And while running in the emulator I'm getting:
08-01 22:48:44.338: ERROR/Datab...
I'm very new to android, in fact only started yesterday. I managed to get an application setup with tabs. It works fine on a 2.2 virtual avd (i think it is called). But the version my HTC has is 2.0.1
I'm posting snippets of the code below as well as debug info.
Logcat shows the following error
08-02 09:56:05.946: WARN/dalvikvm(414): t...
Hi,
I am tring to invote internal media player of android from my activity.
Seems there is some problem in menifest file .
Please look into this issue .
08-04 18:08:47.825: ERROR/AndroidRuntime(1386): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=file:///sdcard/audio...
Hello,
I am trying to draw rectangle on top of image and I am having trouble placing the art on the image. Only part of Rectangle shows up somewhere in bottom of screen. Here is what I am doing:
sinewave is the image from res>drawable folder
public void onDraw(Canvas canvas)
{
Bitmap myBitmap = BitmapFactory.decodeResource(ge...
Hello,
I am trying to have the main screen displayed from within activity using setContentView(R.layout.main); and then have an image displayed as follows:
public class TryGraph extends Activity
{
/** Called when the activity is first created. */
public LinearLayout mLinearLayout;
protected void onCreate(Bundle savedInstanceState)...
Hello all,
I am unable to display both the setContentView(R.layout.main) and View together. I think I am not getting the concept right. Could anyone explain me where I am going wrong. Thank you. //please read the comment in code
I am trying to display a image on main.xml using BitmapFactory.
public class TryGraph extends Activity
...
This is probably related to this question. I want to know if anyone else gets the same error as me and if there is a way to get around this.
I did the following:
Followed the instructions from this page.
From the top, go to File -> Create a new project -> Android Project -> Create project from existing sample.
Checked Android 2.2.
...
Hi All.. I am getting this exception while I am trying to call an activity from another one.. .The complete exception is
android.content.ActivityNotFoundException:Unable to find explicit activity class {com.x.y/com.x.y.class};
I am doing an intent.setClass("com.x.y","com.x.y.className") where className is the name of my activity class ...
Hi All,
I Have one App which is having four Tabs.
When i click on Tabs it shows me different activities.
now the problem is i m working on current project and i want to call another project in my applicaion.
i have imported the package in my current project. but when i m calling the other activity in Manifest its is showing me the error...