Hi all,
I am developing a small application in Android. I come across a problem, and not sure whether it is possible in Android platform.
I have some local html files. There is an Activity contains a webview, which is used to display these local html files. In some cases, I want to display a picture selected from phone into one of thes...
So far I just have one XML layout file, and one drawable directory, drawable-hdpi.
I first want to target the high density screens.
I added a bunch of imagebuttons to a relativelayout and everything looks perfect in the WVGA800 emulator. The problem arises when I view it in the WVGA854 emulator. Not only do the imagebuttons not positi...
I'm currently exploring Broadcast Receivers and Broadcast Intent. There are some aspects of the tutorials which are ambiguous to me. To my knowledge this is how the process works. I can broadcast an intent from my application and any receiver on the phone can act on that intent as long as the actions match. I can register a broadcast...
Although my relativelayout looks very similar on WVGA800 and WVGA854 on the emulator, theres different spacing on some of the objects because I'm going off of marginleft or marginright. Since the 854 is a greater width, its pushing some objects differently. Is there any way I could target either one to adjust for the different margins?
...
My client wants to dogfood my android app. They don't have eclipse and don't want to install it. Is there a more convenient way to send my apk to them? Can I send it via email and let them open the attachment in mobile device? Will it start installing itself automatically?
...
Building our Android app from Ant fails with this error:
[apply]
[apply] UNEXPECTED TOP-LEVEL ERROR:
[apply] java.lang.OutOfMemoryError: Java heap space
[apply] at java.util.HashMap.<init>(HashMap.java:209)
[apply] at java.util.HashSet.<init>(HashSet.java:86)
[apply] at com.android.dx.ssa.Dominators....
Hi,
In my android application, I would like to support multiple screens.
So I have my layout xml files in res/layout (the layout are the same across different screen resolution).
And I place my high-resolution asserts in res/drawable-hdpi
In my layout xml, I have
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http...
Hey i want to develop a player on Android, which can play streaming audio and video.how should i start about?
...
My app icon shows up on my Nexus One, but not on the Android Market site or the emulator. Is there some naming convention to use?
Thanks.
...
I am working on an app which calls a rest web service. Sometimes the xml responses contain characters which the phone can not display. When displaying these characters, an empty box is displayed instead. I would like to filter out these characters. How can I detect if a character will be able to be displayed on the screen?
Some spec...
I'm creating something like a SlideDrawer but with most customization, basically the thing is working but the animation is flickering at the end.
To further explain, I got an TranslateAnimation then after this animation it returns back to the original position, if i set setFillAfter then the buttons inside the layout stops working. If i...
how to use nmap port scanner on android sdk in windows???
...
Is it possible to place buttons at an X,Y position over the top of a Canvas?
For example, on the opening screen of my game, I would like to place buttons for "Play Now", "Instructions", etc, right on top of the canvas.
Right now, I'm looking at Touch locations on the Canvas and comparing them to various X,Y bounds. It works, but add...
Brand new to droid programming, but would love to learn as much as possible, so I finally got my emulator working correctly, I even got a hello world button to work,
I'm attempting to make this button display a random number, I've googled this and came up with this code:
Random generator = new Random();
int n = generator.nextInt(n);
...
Hi guys.
I am trying to make Layout that contains 2 layout, vertical and horizontal scrolls.
Like this :
http://202.131.244.11/demo/VerticalAndHorizontalScrolls.PNG
How to make it ?
I've tried it. But horizontal scroll doesn't work for me.
Please advise.
...
Hi,
I am working on an Location Based Application. In this application i
am using LocationListener class to update the location when the
Location is changed.In each Activity i have different
LocationListener to update location and do some specific work on
updated location. But my problem is that when i am changing my
location through DD...
How to make button show it is clicked (by setting it go down/some change) for buttons using custom background image in Android.
I do not want to include more images and set different one to different states like shown in google hello views example.
Thanks.
...
Hello,
We know that we can use a concept "Java Package" but I just wanted to
know that whether Android has provided a DLL or DLL like concept where we can write a
most of the functionality.
Or can we use Activity for serving a purpose of DLL.
Can any one tell me is there any concept like DLL on Android OS? Can we develop a DLL for b...
Hi,
I have a collection of strings and declared the strings individually as arrays using
ArrayList<String> al=new ArrayList<String>();
and called the arrays in the program by using
al=getIntent().getStringArrayListExtra("titles");
Now, instead of declaring each of the arrays i have created SongsArray.java like below...
public cla...
Hi,
I completely revamped an app. Tested it for a while on my device and emulator. The app worked fine. However when I updated the app through the Android market, my users experienced crashes.
Since there is no way to properly debug this procedure I asume the crash is caused by old data which is not being removed from the device (proba...