I’m implementing a REST client according to the first method of this presentation – http://www.google.com/events/io/2010/sessions/developing-RESTful-android-apps.html currently I’m using a ResultReceiver for the “binder callback” between the service and the service helper, is there any reason I should prefer a Messenger over ResultReceiver or the opposite for this ?
I need to create a simple Drawable object with needed color as background color, but I don’t know how I can do it programmatically without using a XML schema (is it possible really?). Please, tell me, I need it to do for making a LayerDrawable and working with SeekBar (changing background of SeekBar programmatically). Thank […]
How can I open Google Maps(using Intents or adding Google Maps into my application) with address? I have the address, but I don’t have latitude/longitude. How can I do it? Thank you.
This question already has an answer here: What is a NullPointerException, and how do I fix it? 12 answers
I wanna read in a bitmap that I have in my drawable folder and store it as a Bitmap variable so that I can set it as a background. Would the best way to do this be using a “file reader”? like Bitmap decodeFile (String pathName) method Or is there a way to just set […]
What I want to do is Show a background image on the SurfaceView before starting to play video. I tried to just draw a jpeg image as its background of SurfaceView. It worked. I also tried to play a video on the SurfaceView. It also worked. But, when I tried to draw the jpeg image […]
I am having a hybrid android application (Android web view + JS/HTML UI). Few day back application was working perfectly on all the devices but from last few days application is not working on Samsung S4 device Android 4.2.2. In logs i am getting following erros while starting the app: E/IMGSRV(22014): 0: GetPTLAFormat: Invalid format […]
I want to download some files and save them into the internal storage of the phone/tab. Tried on Samsung Galaxy Note 2 and Galaxt Tab 10.1. When I use /storage/sdcard0/ on them the code runs successfully but when I use Galaxy Nexus 3 the code fails. I want to get absolute path of the phoe […]
How could i insert some padding between the pages inside view-pager like in the market app – the black line