Questions tagged [android-developer-api]

API for android developers to access various settings

This tag mainly used to separate android developers API related.

Such as user setting and other APIs

List of APIs and classes for android developers :

Related Tags :

439 questions
0
votes
1 answer

Facebook Invite button not working on unity

My facebook invite button isn't working. Here is the code public void Invite() { FB.Mobile.AppInvite (new System.Uri ("app link"), null, InviteCallback); } void InviteCallback(IAppInviteResult result) { if (result.Cancelled) {…
0
votes
2 answers

Android CountDown Timer not stop in Quiz Application

Sorry for my poor english Hello everyone I have made a quiz application which include 5 questions. I have made a ResultActivity page which displays result of the quiz. I have added a countDown timer of 20 sec for each question. When the Countdown…
0
votes
1 answer

how to fetch data without button click

how to fetch first image without click fetch image button click to view image this code work fine but on click fetch image button but i want fetch image with out click fetch images button i want to remove this button Public class MainActivity…
0
votes
3 answers

Android studio starting issue on Windows

I just installed android studio and updated the sdk. I created a new project, but it seems not to compile. There is a problem with gradle sync: Error:(29, 0) Could not find method android() for arguments…
ela
  • 104
  • 1
  • 10
0
votes
1 answer

HTTP Post Request for Android Development - Help debugging

I am attempting to access an Apache server through a button. I am sending a message to the server and receiving a message back. I am displaying that message on a text field. My code is not working and I do not know how to debug. I am attaching my…
0
votes
2 answers

how to show background color on row in listview which is get value from server in string format ? i think i am missing something

I want to show background color inside row in listview I send color code from PHP server for particular a row which is check condition and shows the background color on a row in the listview. I'm trying and spend 2 days but I didn't get anything. …
0
votes
1 answer

Android Speech recognition behind firewall

For some reason, I have to use Android Speech recognition behind firewall.It caused connection problems at speech recognition. But i don't want to use the offline mode. Is there a list of domains that are used for Speech recognition?
0
votes
1 answer

How to open Youtube app from another app after clicking a button with a query searched in youtube?

What should i define in my activity i.e Action, ActivityClass, ActivityPackage, ExtraKey and ExtraValue to define an intent in app to open Youtube app in and android phone to open with "ExtraValue" searched in youtube? I am trying the following…
0
votes
1 answer

OSX, android emulator, Xamarin = No disk space

I've been developing w/ Xamarin on OSX for a few weeks now and I'm constantly running out of disk space on a 256 gig ssd with pretty much no other apps installed. I ran Daisy Disk and it's indicating there's a folder called ".android" taking up 143…
Jeffrey Bane
  • 592
  • 1
  • 10
  • 40
0
votes
0 answers

Right way to use Google-Play-Services in a Java SDK

We have a very simple java SDK that can be imported in any android APP to do some basic tasks. One of the functionality of this SDK is to read the AAID, so we depend on Google-Play-Services. Our current approach is use gradle java plugin and add…
0
votes
0 answers

Error:-java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity

I am not able to create intent activity on button and textview. My application is crashed when I try to click on button or textview LoginActivity.Java package com.example.nupur.kezin_king; /** * Created by Nupur on 8/1/2016. */ import…
0
votes
1 answer

Add all the TextViews and ImageViews in the same list

I'm trying to create an app. I have 4 TextViews, and 4 ImageViews. If I want to put something else at the top of the layout, I have to move all 4 TextViews and all 4 ImageViews down, but I don't want to move them each separately (it takes more…
0
votes
0 answers

isExternalStorageRemovable throws Illegal exception even if SD card is attached with device

I got paths for my application using getExternalFilesDirs api. After that for each file I am calling isExternalStorageRemovable(file_name) to check whether storage is removable or not. But it throws exception: java.lang.IllegalArgumentException:…
Praveen Pandey
  • 409
  • 3
  • 20
0
votes
1 answer

Get last Android System shutdown time from API

Is there a way to get the last Shutdown time using Android API or any Android log? I know I can use ACTION_SHUTDOWN event with a BroadcastReceviver to store the date of the shutdown, but I just want the time when the last shutdown occurred and I…
0
votes
1 answer

In android, is there any way to play an audio in just during call beeps before the call is picked up by other person?

In my android app, before a call is picked up, I want to just replace the call beeps with an audio file? and once the call is picked up, I would turn off my audio file. Please someone help me out in this issue! P.S: The purpose of this feature is…