Is it possible implement an Android application as a web service?
On the official site I've read:
Note: If you want to develop a server-side application, we recommend
that you implement your application as
a servlet running in a servlet engine
like Tomcat or full-blown JSEE
container like Geronimo. If you prefer
to impleme...
Hi,
I am using a Gallery based Coverflow, as suggested here.
Is there an event that can be caught, which indicates that a single shift (either left or right) has been made in my gallery/coverflow?
To be clear, if I gave the gallery a decent swipe and my center (selected) image has changed 8 times, I would like to catch this event 8 time...
I have the following problem. My main activity consists of a ListView populated with the data obtained from a web service. When the main activity is first loaded, in case the data can't be retrieved from the web, I want to display a dialog with 2 buttons, 'Retry' and 'Cancel'. If the user clicks on 'Reply', the reload data method is call...
HI,
Is it possible to support zooming of a WebView (similar to the default browser) when the user pinches and moves their fingers closer / further away. Im using 2.2 and tought this would be possible using the ScaleGestureDetector. THe problem is that I can't seem to find a method to set the scale. WebView.getScale() returns the curren...
I want to computerize an office
to do so I want to buy one of the latest and using an intent (creating an application ) make my workers work with them
I want them to import an excel file format and to fill it up (when I program the excel file using c#) my workers are kind of old pepole so i want my app to b the most simple so all tasks ...
How can I implement Facebook login in android?
...
Hi everyone. Doing some R&D for my company. We are trying to have a listView that contains an imageview, and two edit boxes for each entry in the listview.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap...
Hello
I'm trying to move a circle inside a custom component, and it only moves when I click a button outside of the custom component.
I touch and drag the circle, it does nothing, but as soon as I click on the button (that has nothing to do with the custom component) it gets updated (drawn) to the location where I stopped touching...
Sho...
Hi!!!
I'd like to implement a Client Android of a web-service.
How Web-Server, I use Tomcat, and how Web-Application I use Axis.To invoke a web-service, I need Axis Library.
When I run my Client on Android emulator, the application is closed and in the LogCat there is following error:
tag
dalvikvm
Message
Could not find class 'org.a...
I'm working on a service for my application whose purpose is to allow easy access to various web services we are running. The service is used to maintain a login state across any applications that want to use it so the user only has to log in once when the service is first started.
What is the best way to go about making the service run...
So I've created an Activity subclass called CustomTitlebarActivity. Essentially, each main activity in my app will have a custom titlebar with many common features such as a Home button, a title, a search button, etc. In my current implementation, I am still explicitly using an include statement in the layout XML for each CustomTitlebarA...
Hi
I have a HorizontalScrollView that has lots of views and images inside it.
The issue is that if I have lots of stuff inside it I will get a 'java.lang.OutOfMemoryError: bitmap size exceeds VM budget'
is there any way to use some kind of cache, or add/remove stuff as I move left/right so its not on memory all the time?
Thanks
...
Hi,
I need to retrieve the orientation of my phone. At the moment i wrote this :
public void onSensorChanged(SensorEvent event) {
switch (event.sensor.getType()){
case Sensor.TYPE_MAGNETIC_FIELD:
this.mag_vals = event.values.clone();
this.sensorReady = true;
break;
case Sensor.TYPE_ACCELEROMETER:
this.acc_vals = ...
I have been tasked with updating my teams dev. environment. This environment will be used to develop and test J2ME and Android mobile applications. I am looking at NetBeans 6.8 and Eclipse 3.6. Do you have any recommendations for why either of these would be good or bad for this? (aka mobile plugin problems, compatibility issues, ease of...
I am using VideoView to play an mp4 video. I would like to give the user the option of watching this video with sound or mute the sound if he/she chooses. I do not use the mediaController allowing the user to stop and play, I have "touch" events controlling this.
UPDATE: I have a menu that I have added a "mute" icon to. Now I am try...
Hi,
i have read about the issue of getView called multiple times and all the answers. However, i don't find a solution for my problem.
I have a list where rows have two states: read or not. Well, i want to the items seen for first time have a different color and when i scroll the list, they change their color to "read state".
In orde...
I'm new to Android development, and I've been playing around with it a bit. I was trying to create a program that has a small database-like collection of never-changing data. In C#, my currently best language, I'd use a List of a custom class and serialize that to an xml file, then read that into my application at runtime. I found the...
Hello,
I've been looking to create a custom keyboard for my application.
At first, i started to look at the SoftKeyboard for the SDK examples,
but reading the Android Developer Group led me to this post :
This is really not how the input
method framework is supposed to work.
An IME should be a generic input
facility, not fo...
I'd like to dynamically change color of a bitmap in an Android application. I'm using Paint.setColorFilter() to do this but I'd like to avoid creating multiple instances of eg. PorterDuffColorFilter inside the game loop. Do you know a way to acomplish this?
...
I followed instructions from here. After $ repo sync I tried to build it with $ make, but got this error:
host SharedLib: libneo_cgi (out/host/linux-x86/obj/lib/libneo_cgi.so)
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i48...