Custom listView adapter, model, JSONParsing not working

Android
I'm designing a listview that displays food information list from php server. the url I passed is a php file after I convert it to json file. the list...
7 months ago

Unable to instantiate activity:Attempt to invoke virtual method android.content.Context.getResources()

Android
i am a beginner. First of all say that I have read previous posts but did not answer. I try to test a audio player,But when I try to run the app...
7 months ago

Null pointer after capturing image using android camera

Android
in my application,i am using android devices camera to capture an image. for some devices it works fine but some are not. I just tested it on LG nexus...
7 months ago

Stretch to fill VideoView, aspect ratio of VideoView

Android
I try to stretch video in aim to fill videoview. The target is to create view that in device look like the first pic (like it look in layout preview)....
7 months ago

populate an adapter with the checked items of a listview

Android
I have an Adapter that poulate my listview ,(A list of books). my listview contain a checkbox.I wish to show all the checked items in another listview...
7 months ago

When does isGooglePlayServicesAvailable return SERVICE_VERSION_UPDATE_REQUIRED?

Android
According to the documentation GooglePlayServicesUtil.isGooglePlayServicesAvailable returns SERVICE_VERSION_UPDATE_REQUIRED when "The installed versio...
7 months ago

Add marker on long press in Google Maps API v3

Android
How to implement adding a marker on long press in Google Maps API v3 for android? There are answers about this in Stack Overflow itself but they are f...
7 months ago

How come signing the app doesn't use Proguard?

Android
Background Recently I've made a new app, and when I tried to generate a signed APK, I've noticed a weird behavior: There was no mapping file anywhe...
7 months ago

Speed up the startup of BroadcastReceiver at reboot

Android
I've an app where the user can call custom lock screen to lock his/her mobile, that is an activity called LockScreen.class. One this screen is loaded,...
7 months ago

Write to usb port from android application

Android
I am writing an android application and need to write some data to PC's USB port (Windows/Linux) from android application. I've searched a lot and can...
7 months ago

How to implement an Assistant with Google Assist API

Android
I have been checking out and reading about Google Now on Tap (from http://developer.android.com/training/articles/assistant.html). It was very inter...
7 months ago

Select image from galery and show in imageview

Android
Sorry for writening but i have a BIG problem.. I 6 hours looking for result it but .. no :( I need Open my galery in mobile phone and select one p...
7 months ago

Get last inserted value from sqlite database Android

Android
I am trying to get the last inserted rowid from a sqlite database in Android. I have read a lot of posts about it, but can't get one to work. This is...
7 months ago

Using SVG files with libgdx

Android
I'm planing to create tablet app. I would ask for some guidance. I have pictures in SVG format like this one. With SVG it is easy, You just change f...
7 months ago

Elements not positionable on Fragment

Android
I created a Fragment element, but I can't position widget anywhere - it's just fixed on the top-left angle. <FrameLayout xmlns:android="http:/...
7 months ago

Adapter error: NullPointerException: Attempt to invoke virtual method 'int android.view.View.getImportantForAccessibility()

Android
I cant find whats causing this null pointer, im returning rowview for child and parent. I've readed that normally its caused by some view returning nu...
7 months ago

Make a ListView visible when the layout is set to have black background

Android
I have a simple activity with a relative layout, ListView, and a TextView I want to make my app have black background and white text, but when I set t...
7 months ago

Android: Synchronize Timestamps of Sensors and GPS

Android
Is there a way to synchronize the timestamps in values meassured by Sensors (e.g. acceleration) (SensorEvent.timestamp) and GPS (Location.getTime()). ...
7 months ago

Transparent status bar overlaps action bar

Android
Actual result: The status bar appears over the action bar Toolbar and the MenuItem inside the action bar is cut off. Note: "Test" is the action bar's ...
7 months ago

Missing debug tab in Android Studio

Android
first question here. Hope it goes well... I'm novice in Android Studio, but used to have the debug tab and now I can't find it back (after collapsing...
7 months ago