I have some bitmap A which I modify to produce bitmap B. I want to efficiently produce a bitmap D by XORing the pixels values of A and B together such that D XOR A produces bitmap B and D XOR B produces bitmap A. I want to store the differences between the bitmaps so I can reverse changes that I've made.
So far I've tried:
Drawing A o...
10-28 11:24:10.579: ERROR/AndroidRuntime(748): Uncaught handler: thread main exiting due to uncaught exception
10-28 11:24:10.610: ERROR/AndroidRuntime(748): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.build/com.example.build.ComBuild}: android.content.res.Resources$NotFoundException: File res/drawable/...
I have a listview in my program. the problem is that. the list is in single choice mode and when i select any item i have 4 buttons on the footer of my page for that item.. alll i want is to know that. how can i keep that item selected and while cliking any button i can get the selected item.
...
i am trying to implement gdata map api in my android project.. but i am unable to solve this error
"java.lang.VerifyError: com.google.gdata.client.media.MediaService"
i am using all the libraries required to implement gdata apis
MapsService myService = new MapsService("createMap"); error is coming due to this line
is there any clue..
...
I have created a custom AutoCompleteTextView which shows result as in the screen shot below:
this shows me a list of Contacts names and their respective number.
but there is an extra gap between the first item in suggestion list and bottom border of the text field as show in black rectangle in image. Now i want to remove this space ...
Hi folks
i have image in sqlserver db.using ksoap2 client webservice for getting image.there i am converting image into base64 encoding and in mobile i am converting it into base64 decoding but i am unable to get image
whats the problem.how i will get image or any alternative solution for this problem
Thanks in advance
Aswan
...
Hai friends,
Am downloading a ZipFile from web. where it contain folders and files. Uncompressing them using zipInputstream and zipentry . zipentry.getName giving name of file as "htm/css/aaa.htm".
so i am creating New File(zipentry.getName);
But problem it throwing an exception File not found. i got that it is creating subfolders ht...
I need to input latitude and longitude separately in 2 EditTexts and diplay the location at the click of a button. Somehow i'm not able to get the correct layout as i precisely require 2 EditTexts aligned side by side and a button below them.
Here is what i already have:
<LinearLayout android:id="@+id/zoom"
android:...
Hello everyone,
is it somehow possible to have horizontal scrollable tabbar if there are more than e.g. 10 tabs in it?
Have anybody implemented something like this?
Mur
Ps.
It was not nice, what I did: I've deleted almost the same topic, I'd started yesterday. A big SORRY for man, who answered it already, even if it wasn't really t...
Is it possible to easily get the size of a folder on the SD card? I use a folder for caching of images, and would like to present the total size of all cached images. Is there a way to this other than iterating over each file? They all reside inside the same folder?
...
Hi,
I have an alert dialog which lists around 100 cities. Is there a way to search within it? Or maybe autocomplete?
I want to add a textbox which will filter the list according to what I type.
EDIT: I'm very SORRY. What I meant was that I wanted to FILTER the above list based on what I type in a textbox. For example if I type 'D', I...
Hi stackies,
I recently read that the content provider content://sms shouldn't be used to access the SMS store, as there could be some mobile phones that might not know how to deal with it.
So, what would be the best way to access the SMS database in Android? How can I access mmssms.db (this should be the database I need to deal with, ...
mycontext.startActivity(new Intent(mycontext, logoSplash.class)); //this finishis after 3 seconds
initcontrols();
final Timer timerStartAll = new Timer();
timerStartAll.schedule(new TimerTask() {
@Override public void run() {
handler.post(new Runnable() { public void run() {
timerStartAll.cancel();
start()...
Hi everyone,
I am implementing C2DM for push notification in an android application, it need at least
one log in Google account. I create a Google g mail account and login on device, but I am
not able to sync it.
Please help me.
Thanks in advance.
...
hello guys,
I have a large image on the screen and I want to display a small image on that image where I touch the screen. but I do not know how to change the position of the image when I touch on the screen and the small image must display where ever I touch on screen.
any suggestions or hint will be appreciative.
thanks
...
Hi,
I know that we can get the current location of Android device using getLastKnownLocation and by registering a listener in requestForUpdates method. But, this method works for an Activity which I think means that the updates will be sent to that particular activity only.
I want to receive the location update in any activity. It sho...
I'm learning Android development and I'm a bit confused about how Android manages killing process when an activity is on the task's stack.
Let's say I have a task with 4 activities: A-B-C-D.
Let A,B,D be part of process P1 and C be part of process P2.
Let's suppose that while the user is interacting with D Android kills P2 since D need...
I'm not really fascinated by TabView in Android.
So I've got a crazy idea how to do a "handmade"-almost-TabView.
Before I start to implement it, I decide to ask you, if this idea too bad, what are negative or positive sides of it.
Assume the whole application should
include tabbar.
The Layout of every activity will
get as tabbar for ...
I am using an Android device running Froyo supporting OpenGL ES 1.1 and OpenGL ES 2.0
I want to render the depth buffer to a texture. Having seen a number of examples for OpenGL, OpenGL ES on other platforms (including iPhone) I have tried a number of FBO configurations.
I seem to be able to get an FBO set-up with a colour texture but ...
Hi,
If got a String and I want to convert it into a Bitmap thanks ;)
...