Skip to content Skip to sidebar Skip to footer
Showing posts from October, 2023

Access View From Another Layout

I'm using a ListView with custom list items (including a button). I have a custom adapter, in w… Read more Access View From Another Layout

Kotlin Recyclerview Data Not Showing

Our question is how to show Parent and Child data from two SQLite DB tables? We have two tables tha… Read more Kotlin Recyclerview Data Not Showing

How To Create Custom Text-to-speech Engine

As I know, TTS needs TTS engine to speak one language. In Android emulator 2.2, Pico TTS engine is … Read more How To Create Custom Text-to-speech Engine

Cannot Resolve Method 'show(android.support.v4.app.fragmentmanager, Java.lang.string)

For some reason when I try to show a Dialog I get an error from dialog.show(fm, DIALOG_DATE); sayi… Read more Cannot Resolve Method 'show(android.support.v4.app.fragmentmanager, Java.lang.string)

Work Manager Do Not Run When Proguarding App In Api 27,28,29

I have a periodic task that runs every 15 minutes. When proguarding the application. The work manag… Read more Work Manager Do Not Run When Proguarding App In Api 27,28,29

Letter Spacing In Android Edittext

I am trying to Display a text box with letters separated by spaces. EditText wordText = (EditTe… Read more Letter Spacing In Android Edittext

How Filter Json Files With Intent.action_open_document?

When I try to open a .json file with startActivityForResult(Intent(Intent.ACTION_OPEN_DOCUMENT).app… Read more How Filter Json Files With Intent.action_open_document?

Cant Compile Project With Modules

I created an app with a library module but it's giving below build error: app/build.gradle Unab… Read more Cant Compile Project With Modules

How To Update Fragment Pager Adapter From Fragments?

Problem :: I have one SherlockFragmentActivity in which i have added six fragments. Now out of six… Read more How To Update Fragment Pager Adapter From Fragments?

Adding An Action Bar To Theme.black.notitlebar Android

I'm trying to add the action bar programatically as shown in the dev documentaion but I'm c… Read more Adding An Action Bar To Theme.black.notitlebar Android

What Is The Difference Between "min Sdk , Target Sdk And Compile With " ? In Android

What is the difference between 'min SDK, target SDK and compile with' in android? What is t… Read more What Is The Difference Between "min Sdk , Target Sdk And Compile With " ? In Android

How Can I Get A List Of Videos Available From A Particular Youtube Channel?

How can I get a list of videos available from a particular YouTube channel, using the API? Solution… Read more How Can I Get A List Of Videos Available From A Particular Youtube Channel?

Google Maps Api V2 For Android: Marker And Polyline Position Mismatch

I'm trying to draw some markers and a polyline in the same map this way MarkerOptions optio… Read more Google Maps Api V2 For Android: Marker And Polyline Position Mismatch

Read A Segment Of A File In Java / Android

I'm sure this might be a simple question, but unfortunately this is my first time using Java an… Read more Read A Segment Of A File In Java / Android

Gradle Could Not Resolve Project :linkedin-sdk

I'm using Androis Studio 3.0 Canary 4. In my project i have the Linkedin-sdk, and it works. I c… Read more Gradle Could Not Resolve Project :linkedin-sdk

Open Youtube App From My Android App. How To Pass The Id?

I am quite new to Android. I need to make an app that displays a bunch videos in an overview that g… Read more Open Youtube App From My Android App. How To Pass The Id?

Persistenceexception -duplicate Annotation Of Name In Simple Xml Deserialization

I test simple xml tutorial from this link. I change the xml file like this. abc Solution 1: You ne… Read more Persistenceexception -duplicate Annotation Of Name In Simple Xml Deserialization

Waiting For A Function To Finish Execution And Using The Results

Here's the scenario I have an activity(A) which has a button and textview. I have another class… Read more Waiting For A Function To Finish Execution And Using The Results

Android Testing Httppost String For Debugging Purposes

I'm trying to send data from my phone to mysql with HttpPost, but I don't have any server s… Read more Android Testing Httppost String For Debugging Purposes

Create A 3d Shaped Button In Android

I was trying to create a button similar in look to the round buttons over here - http://livetools.u… Read more Create A 3d Shaped Button In Android

Unable To Open The Pdf In Android

I am new in android and working on one android project in which I have to display a chosen pdf from… Read more Unable To Open The Pdf In Android

List Of Clients Who Have Registered For A Topic In Fcm

Is there a way to obtain the list of clients who have registered for a particular topic in Firebase… Read more List Of Clients Who Have Registered For A Topic In Fcm

Android - Jwplayer Fullscreen Not Working Issue

I've just implemented JWPlayer for Android and realise that the fullscreen button on the player… Read more Android - Jwplayer Fullscreen Not Working Issue

Searchbox For Custom Listview

I build a coustom listview, wich filled with data from SQLite. Now I want for my listview a search … Read more Searchbox For Custom Listview

How To Release Or Clear The Value Of Variable Or Object?

I have an application in which I have used some variables and I want to release or free the memory … Read more How To Release Or Clear The Value Of Variable Or Object?

Android Take Phone Screen Shot Programmatically, Outside Of The App?

I want to take a screen shot of my phone programmatically, when the user touch some of the key in t… Read more Android Take Phone Screen Shot Programmatically, Outside Of The App?

Android Screen Orientation Change Causes App To Quit

I have an app that I set to only display in Portrait mode by setting android:screenOrientation=… Read more Android Screen Orientation Change Causes App To Quit

Unable To Create Activity In Eclipse

I have just downloaded eclipse juno and when I create an activity, it isn't showing up in my pr… Read more Unable To Create Activity In Eclipse

Can I Somehow Get Details From Android Key Alias? Like Validity, Organisation And So On

Can I somehow get details from android key alias? like validity, organisation and so on... I lost m… Read more Can I Somehow Get Details From Android Key Alias? Like Validity, Organisation And So On

React Native - Webview Does Not Render Local Html When Building Release Apk

I have rendering local html in webview for my application, it was going great on both iOS and Andro… Read more React Native - Webview Does Not Render Local Html When Building Release Apk

How Can I Use A Cameraview With Jetpack Compose?

Currently there's no equivalent to CameraView (and PreviewView) in Compose. Is it possible to w… Read more How Can I Use A Cameraview With Jetpack Compose?

What Does It Mean To Provide An Api

I cam across this question, Does XYZ application provide an API? Now I am not really sure what it… Read more What Does It Mean To Provide An Api

How To Change Background Color Of Elevated Button In Flutter From Function?

I am new to Flutter, I started Flutter last week, And now I want to make a simple Xylophone app. I … Read more How To Change Background Color Of Elevated Button In Flutter From Function?

Unable To Create Android Oauth2 Client Id (duplicate Fingerprint)

When creating a client ID for Android in the Google Cloud Platform developer console, I get the fol… Read more Unable To Create Android Oauth2 Client Id (duplicate Fingerprint)

How To Refresh Widget Listview When Button Refresh Is Clicked?

I'm creating a Widget with ListView on it. Displaying the result from the Web Service in the Li… Read more How To Refresh Widget Listview When Button Refresh Is Clicked?

Android Sqlitedatabase.query() Group By / Having With More Than One Column Not Working

In Android I am having a table which stores latitude and longitude values, along with a correspondi… Read more Android Sqlitedatabase.query() Group By / Having With More Than One Column Not Working

Getlastlocation Returns A Null Value

I have followed this guide https://developer.android.com/training/location/retrieve-current.html#pe… Read more Getlastlocation Returns A Null Value

How To Filter Android Listview Items With Firebase Query?

I am using firebase startAt query but It does not doing right filtering for instance if i want to s… Read more How To Filter Android Listview Items With Firebase Query?

How To Set Adapter To Auto Complete Text View?

I need adapter data set to the auto complete text view in android . Solution 1: Create an array of… Read more How To Set Adapter To Auto Complete Text View?

Firebase Database Data Retrieving -java

Here is my DB structure: Code which I used for data reading: user='hrcj7'; mDatabase = Fir… Read more Firebase Database Data Retrieving -java

Issue With Edittext In Listview Softkeyboard

I have a Listview with row layout contains two textviews and a edittext In my activity i use andro… Read more Issue With Edittext In Listview Softkeyboard

Firebase Notification Not Received Behind Proxy

Does Firebase not work behind proxies? I am making an Android app for the students of my institute.… Read more Firebase Notification Not Received Behind Proxy

How To Request Location Permission Before Showing Map Set Up In Xaml. Xamarin.forms

I recently updated sdk level to 6.0 in Xamarin.forms. I used Xaml to place a map on a page. Since I… Read more How To Request Location Permission Before Showing Map Set Up In Xaml. Xamarin.forms

How To Show An Actitivity Only When An App Widget Is First Created?

My app widget needs to be configured when it first added to the home screen. I want to open a confi… Read more How To Show An Actitivity Only When An App Widget Is First Created?

Kivy App Build With Buildozer. Apk Crash

I am using Oracle VirtualBox running Ubuntu 16. I have been able to build apk files for a while unt… Read more Kivy App Build With Buildozer. Apk Crash

Layered Surfaceviews In A Framelayout In Android

I am attempting to build an augmented reality application for Android and have come across the prob… Read more Layered Surfaceviews In A Framelayout In Android

How Can You Make The Android Emulator Support Speech Recognition

I am writing an app which uses android's speech recognition. However my app doesnt run well on … Read more How Can You Make The Android Emulator Support Speech Recognition

System Overlay Detector

Is there a way to detect within my own app that a Screen Overlay is currently present? For example,… Read more System Overlay Detector

Handler.removecallbacks Not Working

public class MainActivity extends AppCompatActivity { int total = 0,k=0,j=0,i; public Edit… Read more Handler.removecallbacks Not Working

Convert Java Project Into Android Project On Eclipse

I have seen a question about converting android to java project. Now I want to know about Convertin… Read more Convert Java Project Into Android Project On Eclipse

Android Multi Window Support Using Titanium/ Appcelerator Alloy

In titanium how do I add multi window support as described here: https://developer.android.com/guid… Read more Android Multi Window Support Using Titanium/ Appcelerator Alloy

Edittext Onkeydown

I have declared an EditText programmatically (i.e. not in XML), and want to apply an OnKeyDown hand… Read more Edittext Onkeydown

Cannot Reslove Symbol 'viewholder'

Can not resolve symbol 'viewHolder'....And when I change it to 'holder' nothing is … Read more Cannot Reslove Symbol 'viewholder'

Cnc Milling Tool Material Representation

I'm writting CNC simulator for 3-axis milling tool. At first attempt I have represented the mat… Read more Cnc Milling Tool Material Representation

System.exit() In Android

I know system.exit(0) should not be used. I have read plenty of tutorials as well stating why it&#… Read more System.exit() In Android

Android Studio Project Can't Resolve Actionbarsherlock Imports

I have an Android Studio project which has a dependency on ActionBarSherlock set in build.gradle: d… Read more Android Studio Project Can't Resolve Actionbarsherlock Imports

How Can I Determine If There Is A Call Ringing On "line 2" (e.g. Call Waiting)

I'm using an intent-filter to listen to changes in PHONE_STATE Solution 1: I found a way t… Read more How Can I Determine If There Is A Call Ringing On "line 2" (e.g. Call Waiting)

Build.gradle File Could Not Compile

This error appears when I run my project: Could not compile build file 'H:\StartActivity\build.… Read more Build.gradle File Could Not Compile

How To Open Google Play Store App From My App To Install The Latest Version Of My App Available On Play Store

I have a question regarding the app upgrade scenario from the app. Basically I am sending the app v… Read more How To Open Google Play Store App From My App To Install The Latest Version Of My App Available On Play Store

Build Failed With An Exception Error In Kotlin

Got this error after updating my Kotlin plugin on android studio. package com.example.test fun mai… Read more Build Failed With An Exception Error In Kotlin

New Line On Comma Within String

I have an EditText view which will allow the user to edit an address field. I want any text with a … Read more New Line On Comma Within String

Cannot Login To Openerp In Android

With reference to the question here, Android OpenErp Search Request XMLRPC I am trying to establish… Read more Cannot Login To Openerp In Android

Select Query In Sqlite Android

String temp_address='nothing'; try { String selectQuery = 'SELECT lastc… Read more Select Query In Sqlite Android

How To Hide Status Bar In Android In Just One Activity

I want to hide status bar / notification bar in splash screen I am using style: Read more How To Hide Status Bar In Android In Just One Activity

Libgdx Distorted Texture When Using Camera.settoortho(false, Game_width, Game_height);

I'am trying to make libgdx game, adn i've got 2 problems now: 1. When im using camera.setTo… Read more Libgdx Distorted Texture When Using Camera.settoortho(false, Game_width, Game_height);

Android - Gridview Onitemclick

Hi i have strange problem with my gridView. I set on this itemClikListener and it doesn't work.… Read more Android - Gridview Onitemclick

Java.util.arraylist Cannot Be Cast To Java.util.hashmap Firebase Android

Structure of my database: a,b,s are my building names; 1,1,2 are floor numbers; 1,1,3 are flat num… Read more Java.util.arraylist Cannot Be Cast To Java.util.hashmap Firebase Android

Vt-x Not Turned On, Haxm Error, Android Studio

I just installed the android studio on my laptop, and while running my program on the virtual devi… Read more Vt-x Not Turned On, Haxm Error, Android Studio

Updates In Admob - Missing

I have 2 android app in Google Play. One with the Old Admob SDK and another one with the Google pla… Read more Updates In Admob - Missing

Gradle.properties. Unused Property

I have a gradle.properties file in the project of Android Studio. I put a few lines inside the file… Read more Gradle.properties. Unused Property

Sharing Android Market Statistics With Another Account

Is there any way within the Android Marketplace to share sales statistics of any/all of my apps wit… Read more Sharing Android Market Statistics With Another Account

How To Control Background Music From My Android App?

I want to make an in-app widget, that can pause/play and switch music forward/backward for a locksc… Read more How To Control Background Music From My Android App?

Set Android Datepicker Title Language

I have an app that is available in 4 languages, which can be chosen within the app. On Android, the… Read more Set Android Datepicker Title Language