Can I make ImageView in android make some action when I click on that ImageView ?
For example, when I click on ImageView imgV that some panel be visible and when I click on other ImageView imgUV that he become unvisible .
imgV.setOnClickListener( new OnClickListener() {
public void onClick(View v)
{
...
I have the live view working, I was just wondering if it is possible within the constraints of Android to manipulate colors coming in from the phone's hardware in real-time. For instance, would it be possible to make it so that red's display as green, certain colors are more or less vibrant, etc. within a live view window. Thanks.
...
I obviously new and have been trying to two days to figure out how to save the state of my main activity to no avail. I would appreciate any help. When I launch the ShowDetail activity and return to the main activity I have no data in the list. I have two xml files a main.xml and a item.xml file. main is just a listview and a textview. I...
I found this strange behavior with Eclipse when I try to open the Android Manifest file. Specially when the file was checked out by other user, Eclipse is trying to open the file and do some edits. If it finds that the file is checked out by other user, it displays a message to remove the read only flag.
And we have also seen old versio...
I want to develop a program using the Java MSN Messenger library (JML). I can not solve a problem where the following exeception is thrown.
ERROR/AndroidRuntime(312): FATAL EXCEPTION: Thread-21
**ERROR/AndroidRuntime(312): java.lang.ExceptionInInitializerError
ERROR/AndroidRuntime(312): at net.sf.jml.protocol.incoming.IncomingU...
everything was fine until this morning, lol. upon trying to run this app in my avd, i get a null pointer. problem is, i can't find one mention of my code in the logcat. and i've systematically commented out every line of code in my app, to no avail. this tells me that i either have more than one, or that it's not where i'm looking. ...
I'm developing a mobile Flash application (not an AIR app) running in the browser. According to Adobe:
Flash Player 10.1 provides support for
use of native device virtual keyboards
with TextField support if no physical
keyboard is detected. A virtual
keyboard is automatically raised and
lowered in response to focus changes
...
I am writing an Android app, which is basically a quiz. A it contains pictures of animals and the user must click on the correct picture.
The pictures are all png files used as background pictures for button views.
The problem I have/had is with the onCLick method.
THis is the code.
public void onClick(View view) {
if(view == r1)...
I wish to find out how to get following details in android:
·
Account name
· POP3 address
· SMTP address
· Username
· OWA address if connecting through Exchange
· Internet profile through which it is connected.
...
Hello,
I have 2 activities.
Activity 1 is the 'Homepage' which consists of one spinner.
Activity 2 will be started once an item from the spinner has been selected in Activity 1. The value of the item will also be passed into Activity 2.
Actvity 2 also has the same spinner as Actvity 1.
I would like to make a varible (TABLE_NAME in t...
Possible Duplicates:
What is the preferred way to declare a Java array?
Difference between int[] array and int array[]
Hi!
Been learning Java for Android by reading some tutorials. And in lots of the tutorials there are used two different ways of declaring arrays - even in the same project:
public int integers[] = { ... }...
Hi all,
I have an application which using a sync adapter and one of the requirements is to have a notification in the status bar.
I added a notification but the problem is that there is also a system icon which is displayed but only part of the time during the sync operation.
I would like to use one (just one) of the icons.
Does anyo...
Hi, I'm looking for a SIP stack to use on the Android platform. Since it's for a client, to be used for commercial purposes, GPL'ed stacks are not feasible.
What would you recommend, SO?
...
Hi!
I'm learning Java and OpenGL ES for Android by reading tutorials and applying what I already know. And I have now hit a brick wall when it comes to rotating an object.
Rotating a cube by touching the screen is no problem. But if I rotate the cube 180 degrees up or down, then when I now try to rotate the cube left or right it is i...
I am teaching myself Android using Eclipse, the Android plug-in, and Sams "Teach Yourself Android Development" book. I have this weird little problem. I've been able to create xml files in the res/values directory that hold strings and color values (colors.xml and strings.xml). I have been able to reference these values in the propert...
how do i disable the back button function to do nothing ?
...
I need to sync my Android SQLite DB with my cloud-server DB, and doing it in a bi-directional way in a multiuser environment.
I have found and introduction to the solution here (http://blog.deeje.tv/musings/2009/06/notes-on-writing-a-history-driven-client-server-synchronization-engine.html) but I would like to read about a better soluti...
As title,
is there someone who use netbeans here when developing for android?
Personally I like netbeans, I always programmed in Java using netbeans, and I will continue using netbeans.
nbAndroid is the "unofficial" plugin for netbeans to work with android and it works really well.
unfortunantly I haven't finded a good way to obfuscate...
I have written a service with a remote interface and installed it on my PC's Eclipse AVD. I have a client test harness which starts and invokes methods in the service. Initially I had the service installed by a control class and activity, which I have now removed, so that the manifest for the service looks like:
<?xml version="1.0" enco...
Hello ,
I want to write an app to send an sms from a shortcut on a home screen. That is all.
I just can't understand within the framework how I can write such an app. Here's what I've tried so far and what my ideas are:
I wrote an activity that sends an sms using SmsManager within the onCreate() however, this just keeps on sending me...