I'm piecing together a cheapo app that amongst other things "frames" some of our websites... Pretty simple with the WebViewClient... until I hit the video.
The video is done as HTML5 elements, and these work fine and dandy on Chrome, iPhones, and now that we fixed the encoding issues it works great on Android... in the native browser....
Hello,I want to write an Android remote control application that allows people to navigate back and forth on a PowerPoint slideshow presentation in Microsoft Office (preferably 2007/2010) on my PC. In this case, I have to make a small PowerPoint navigation client on the Android, and also I have create a PC server to access Microsoft Offi...
Is there a changelog available for Android 2.2.1?
...
I'm coding an audio player where a thread updates the TextView representing the track's elapsed time, every 250 milliseconds.
The display looks like this:
1:30/2:30<-----Progress Bar----->
TextView 1 is 1:30/ and TextView 2 is 2:30.
Both are set to wrap_content for width.
What happens is that on every 250 millisecond cycle, the thre...
Help!
When I install my app on the phone to test, it is showing up to be a HUGE size, 11.35 MB. It is a very simple app that lets user browse through fun-facts. The only reason I can think of is that there are 14 JPEG files in the drawables which serve as background images of the fun-facts. The average size of these is about 500 KB.
I'...
When I change the background color of a list item it no longer flashes green when selected. Is there a way to retain this default behavior when the background is changed?
...
Hi,
I am working on my first Android Application. Now wat I want to do is to make a POST request to a restfull service running on server and I want the BODY of this request to be a JSon String.
I am using GSon to generate the JSon to send to server. The code I am using to make the POST request follows:
HttpPost requisicao = new Http...
I have the following code:
String response = webService.webGet(""); the response of the web service
String LargeImage = new Gson().fromJson(response,String.class);
byte[] imageByteArray = Base64.decode(LargeImage);
response is like: "iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCA... " a Base64 encoded image having around 400.000 characters.
T...
I have an application based on the MapActivity. The application drops
ItemizedOverlay items on the map as you start to move about. It has
been running with no problems until I dropped it into a Nexus 2.2
phone.
I'm running into a weird problem where sometimes when I zoom in/out
too fast, or pan too fast, the MapView will go "white" an...
i am having 4 xml files with the same tagnames in all the four xml files ..here i have to use saxparser to parse these 4 xml files ......i don't know from where to start this..this is a standalone application .....can anyone please explain this...i am new to this project.........thank you.
...
I currently have an app with a regular layout of buttons and widgets. On top of this I'd like to draw some animated sparks and particles and whatnot going on in response to events, so I've got it in a FrameLayout with another View on top to draw the animations. The problem is I can't work out a way of getting smooth movement out of it. I...
I have some images (.png format) that I use as drawables on the surface of canvas in my android app. The problem I have is mspaint only allows a rectangular image file, so whatever I draw on the screen always shows up in a box.
Is there a (free) program or way I can edit the png files so that when they are drawn on the surface of my ca...
Hi, I currently modifying the sample home screen app from the SDK.
My question is how do I add an appwidget to the sample home app on a long press?
...
Hi,
this is the class that calls my Service:
public class TicketList extends ListActivity
{
private ArrayList<Tickets> alTickets = new ArrayList<Tickets>();
private boolean listCreated = false;
private static Drawable background = null;
private Resources res;
private Tickets ticket = null;
private TicketConnector localService;
/**
*...
I have made a custom preference (i.e. a preference with a custom layout) which displayed in the preferences list of a PreferenceActivity.
The layout is created in code. The problem is that the font of the TextView created in code looks somewhat different than Android's standard preference font.
So the solution would be to apply the s...
I need to create GridView with groups like this:
GroupText1
Image Image Image
Image Image Image
GroupText2
Image Image Image
Image Image Image
There will be lots of images( 300-400 ), and about 10 groups. How can I do it?
Thanks a lot.
...
I am trying to programmatically resize a custom view in android. The custom view contains a Button and an EditText in a LinearLayout. I want to make several instances of this custom view and alter the width of each one slightly narrower than the last so that they overlap each other. At what point can I do this and how?
If I override ...
Hello! I want to dynamically load a ListView, for example, load them during the scrolling so its not loading all 100 posts I have. How can I achieve this?
I have looked at similiar solutions here at SO, but since I not got it to work, I asked this question.
My code:
//orders is my is my ArrayList<WithMyOwnOrderClass> that handling ord...
I have subclassed Overlay as LandMarkOverlay (and implemented an onTap(GeoPoint) method).
In the main activity I do this:
setContentView(R.layout.main);
MapView mapView = (MapView) findViewById(R.id.mapview);
mapView.setBuiltInZoomControls(true);
landmarkOverlay = new LandmarkOverlay();
//add the landmarkOverlay ...
is there any way to navigate to multiple destinations? like you can do on google maps?
...