Skip to content Skip to sidebar Skip to footer
Showing posts from November, 2024

Android Edit Text - Cursor Stays At The Starting Position

I am using an Edit Text in my project. The problem is that whenever I type anything into the text b… Read more Android Edit Text - Cursor Stays At The Starting Position

Android Distance Between Two Points

I have 3 ways to calculate the distance and all 3 gives me different answers, double lat = 6.92… Read more Android Distance Between Two Points

Android Java Time Picker Dialog

hey I am trying to make a TimepickerDialog. But the app crashes soon as I press the Set Time button… Read more Android Java Time Picker Dialog

Android Webview: Handle Arrow Keys In Javascript

I have a simple WebView application which I want to control with the keyboard. Is it possible to ca… Read more Android Webview: Handle Arrow Keys In Javascript

How Can I Know An Activity Is Going To Be Killed By Os?

I know I can use isFinishing() in onPause() to know whether an activity is going to be killed by fi… Read more How Can I Know An Activity Is Going To Be Killed By Os?

Apply Cartoonizer Effect In Android

I am trying to achieve a cartoon style effect on photos using Android, but I don't really have … Read more Apply Cartoonizer Effect In Android

Device Imei Locking For Tablets

In my application I used to lock application with IMEI code. I mean during startup application chec… Read more Device Imei Locking For Tablets

Getting The Byte Array Using Just The Image Name

I am stuck in a situation. I have some set of 10 images in drawable folder. During my code I have … Read more Getting The Byte Array Using Just The Image Name

Architecture For A Custom View Library Android

I am building a library that every 30 seconds displays a question (obtained from a REST Api) and al… Read more Architecture For A Custom View Library Android

How Can I Check The Image Is Touched Using Ontouch()

I am trying to get the x,y co-ordinates on Touch of Image and on that I want to perform some action… Read more How Can I Check The Image Is Touched Using Ontouch()

Place A Image At The Touched Area In Android

I need to create a image wherever the user touched on the screen. If the user touches more places, … Read more Place A Image At The Touched Area In Android

Zooming Image In Viewflipper

I have created a image slideshow using ViewFlipper. I have used imageFrame.setOnTouchListener(gestu… Read more Zooming Image In Viewflipper

Installing The Same App On Two Emulators

When I launch the android emulator through eclipse for the first time, its menu shows all the test … Read more Installing The Same App On Two Emulators

How To Perform Two-way Data Binding With A Togglebutton?

I have an ObservableBoolean field in my activity class, which is bound to the 'checked' att… Read more How To Perform Two-way Data Binding With A Togglebutton?

Every Connection Request Is Being Treated As Direct Connect Request + Android Ble

We are writing a ble application where want to have a persistent connection with the peripheral we … Read more Every Connection Request Is Being Treated As Direct Connect Request + Android Ble

Launch Existing Singletask Activity From Launcher Icon

Scenario: Activity A (MAIN and LAUNCHER in manifest) starts up when clicking on launcher icon. In … Read more Launch Existing Singletask Activity From Launcher Icon

Android: Share Bitmap Not Saved To Sd

I have an app that takes a screenshot and the shares this with the share intent. Rather than save m… Read more Android: Share Bitmap Not Saved To Sd

Is There A Way To Programmatically Set Src Image For Togglebutton?

I am using a ToggleButton with an image. The image is 16x16, however, I want the button to be 50x50… Read more Is There A Way To Programmatically Set Src Image For Togglebutton?

Android Sms Delivery Notification On Failure: False Positive

My application sends a SMS from one device to another. The problem is that when the receiving devic… Read more Android Sms Delivery Notification On Failure: False Positive

Image Resources Disappearing From React-native App

I'm having a strange problem that I cant quite figure out the reason for. I have an app created… Read more Image Resources Disappearing From React-native App

"could Not Find Class 'android.support.v4.app.fragmentactivity'" Error

I'm getting the following error: > 02-06 23:10:24.104: E/dalvikvm(912): Could not find class… Read more "could Not Find Class 'android.support.v4.app.fragmentactivity'" Error

How To Play Recorded Audio File From 'onactivityresult()'?

I'm using this library to record audio in my app. Here's my code: recordDefectAudio.setOnCl… Read more How To Play Recorded Audio File From 'onactivityresult()'?

Can't Get Meta State From Android Keyevent

Looks silly, but I can't get meta state out of KeyEvent, accessed from onKeyListener. Tried wit… Read more Can't Get Meta State From Android Keyevent

Listview Click Show/hide All Check Box

I am having a listview and it has one checkbox and two textfields , i would like to change check bo… Read more Listview Click Show/hide All Check Box

How To Pass An Object Containing With Drawable Parameter To Another Activity Through Intent Using Parcelable Interface In Android

I want to pass an object containing a drawable field using Parcelable Inteface to another Activity.… Read more How To Pass An Object Containing With Drawable Parameter To Another Activity Through Intent Using Parcelable Interface In Android

Google Vision Api: Differentiate Real Face And A Photo

I'm trying develop a facial recognition system. But the issue is it can be by-passed by a photo… Read more Google Vision Api: Differentiate Real Face And A Photo

Correct Approach For Providing Argument To A Fragment

I have a class like this: public Class Row { private int data = 0; private View.OnClickList… Read more Correct Approach For Providing Argument To A Fragment

How Many Viewgroup (linearlayout, Relative, Grid, Etc..) Considered Too Many?

I tried to find an answer for this specific question but I couldn't. I watched a video https://… Read more How Many Viewgroup (linearlayout, Relative, Grid, Etc..) Considered Too Many?

Android Localization Problem: Not All Items In The Layout Update Properly When Switching Locales

Here's the problem: When I have an activity running in the background, and I switch locales, an… Read more Android Localization Problem: Not All Items In The Layout Update Properly When Switching Locales

Android Development - Call State Of The Phone

I'm new to Android and I need to read the call state of the phone. I receive error when the app… Read more Android Development - Call State Of The Phone

Can't Deserialize Json Array

I know this question has been asked many times. But i'm still a newbie and it seems like I can&… Read more Can't Deserialize Json Array

Adding Custom Listview To Alert Dialog

I want to add custom list view too a alert dialog it works fine when i select a item from list and … Read more Adding Custom Listview To Alert Dialog

Preferencescreen Android:summary Update !

In my android application I have a PreferenceScreen parent that has 3 CheckBoxPreferences as childr… Read more Preferencescreen Android:summary Update !

Putting Password On An Android Class

i have been working on an sms application and i want to provide some private space for the user... … Read more Putting Password On An Android Class

Mvvmcross.platform.exceptions.mvxexception Bindingcontext Is Null During Mvxadapter Creation

I tried to convert MVXActivity into MvxFragment , the application crashes when i try to inflate the… Read more Mvvmcross.platform.exceptions.mvxexception Bindingcontext Is Null During Mvxadapter Creation

Cause: Failed To Find Target With Hash String 'android-n'

Today, I'm newbie in android studio. I have updated the latest version of andriod studio When I… Read more Cause: Failed To Find Target With Hash String 'android-n'

"flutter Pub Get" Can't Get Dependency Plugins

I've been trying to get dependencies for my Flutter project on Windows but it's taking a lo… Read more "flutter Pub Get" Can't Get Dependency Plugins

Implement A Read Receipt Feature In Firebase Group Messaging App

I'd like to implement a 'Seen' feature in my Firebase group messaging app. Can you kind… Read more Implement A Read Receipt Feature In Firebase Group Messaging App

How To Change Payu's Dependency Activity Toolbar Background Color In Android/java?

I already integrated PayU money SDK and everything is working fine. The thing is in one of the pay … Read more How To Change Payu's Dependency Activity Toolbar Background Color In Android/java?

Check If Credential Exists Without Prompting For Fingerprint In Android

Is there an API or other method for determining if a credential exists on the device that doesn'… Read more Check If Credential Exists Without Prompting For Fingerprint In Android