2018-06-30         Bing

How to implement multiple filters in SearchView using RecyclerView and CardView?

Hi everyone, I have created a project, shown link above. I have SearchView using RecyclerView and CardView, items are stored using ArrayList. I have two problems that i can't solve it, so please help me.First, SearchView works but does not match between Name and ColorLike.Secondly, I want to implement multiple filters in SearchView using Spinner for options, so I can search by Name or ColorLike. Is it possible?Thanks in advance.Here is my code.Model.javapackage com.example.myapplication;public class Model { private String name; public String getName() { return ...

 android                     2 answers                     4 view
 2018-06-30         Herman

Internal error parsing svg file in android studio

Start from this month, I was not able to import any svg file though Vector Asset in my laptop, I always get the msg 'Internal error parsing abc.svg'I tried to import same svg file using android studio in other laptop, it works, but my laptop cannot import anymore.I was using android studio in my laptop around 2 years and has been go through many updates, but this month suddenly cannot import anymore, I had performed factory reset in my laptop, and re-install android studio again. I tried create new project as well, but it still cannot work, anyone can help me? Finally i ...

 android                     6 answers                     5 view
 2018-06-30         Genevieve

Android sdk not included with android studio

Trying to download android studio, i have all the needed requirements for a PC.Found that i need both jdk and sdk and that sdk should be included with android studio.First i downloaded and installed jdk.After downloading android studio from https://developer.android.com/studio/ , everytime i start a new project i get the following error Your Android SDK is missing, out of date or corruptedI checked the path of my sdk and found that by default it should be C:\Users\elhachem\AppData\Local\Android\SdkOr in Appdata/Local there isn't any folder named Android.. Seems like and...

 android                     1 answers                     4 view
 2018-06-30         Max

Error in running git cloned android project

I have cloned an android project from Github and after building it up if I try to run it, it displays this error message.I have already set the SDK path in local.properties file but still showing this error.Error Screenshot Go toFile -> project Structure into Project StructureLeft -> SDK LocationSDK location select Android SDK location And i recommand to you to invalidate cache and restart (in file menu) [XXX]

 android                     1 answers                     5 view
 2018-06-30         Rex

Could not find any version that matches com.google.android.gms:play-services-gcm:12+ (

I'm trying to compile on ionic 3.20 with cordova 6.5.0 on Android.I'm executing cordova run android but everytime I'm getting:Error: ~/Develop/blastbot-ionic/platforms/android/gradlew: Command failed with exit code 1 Error output:FAILURE: Build failed with an exception.* What went wrong:A problem occurred configuring root project 'android'. Could not resolve all dependencies for configuration ':_debugApkCopy'. > Could not find any version that matches com.google.android.gms:play-services-gcm:12+. Versions that do not match: 11.0.4 11.0.2 11.0.1 11.0.0 ...

 android                     1 answers                     7 view
 2018-06-30         Nathan

React Native error 'Unable to resolve module `react-native` '

I am attempting to learn React Native so I went ahead and followed all the steps in the Getting Started guide at the official documentation site. I have some experience with React so i wanted to expand on it. I did wade in around 6 months ago for a simple 'hello world' app and everything worked fine for me on both the Android emulator and the IoS simulator. Did test on my device as well and had no issues. Since i got busy with other work i did not get back to it until now.The error i get when i attempt the react-native run-android command: Metro Bundler ready.Loading dep...

 android                     1 answers                     36 view
 2018-06-30         Magee

Automatically set hight of ImageView and Button

I am trying to set height of an image view and a Button to be automatically resized for different devices . I want to show the button below the imageview whatever the height of the image is.I am trying this code : <ImageView android:id="@+id/imageView" android:layout_width="match_parent" android:layout_height="match_parent" /> <Button android:id="@+id/send_btn" android:layout_bellow="imageView" android:layout_width="match_parent" android:layout_height="wrap_content"/>Thanks in advance I suppose, you are usi...

 android                     1 answers                     93 view
 2018-06-30         Armstrong

taskSnapshot.downloadUrl.toString() dont work in Kotlin

Code ImgI'm trying to follow a tutorial but the part that teaches the value of DownloadURL = taskSnapshot.downloadUrl.toString() does not work anymore.I tried to substitute some options like :val DownloadURL = taskSnapshot.storage.downloadUrl.toString()Or :val DownloadURL = ImageRef.downloadUrl.toString()But I only get print values such as : com.google.android.gms.tasks.zzu@8a94cv2 and not a valid url. The reason is that the getDownloadUrl() method does not return a URL or a String, it returns a Task<URI> based on this documentation.If you would like to get the Ur...

 android                     2 answers                     5 view
 2018-06-30         Quinn

Android : Implementing order progress tracking

Hi i am working on a order progress tracking module in my application. When a user books a service it is accepted by our service provider and then service provider keeps updating the status as the events occurs.I am using firebase notification for realtime updates of the status. But, there are various scenarios where the notification is not received and hence the status is not updated.So in that case should i use polling every 1 min to fetch status.Or what are the other ways order tracking is implemented ? Polling can be optimised further based on your use case:Poll only...

 android                     1 answers                     79 view

Page 4922 of 4922  |  Show More Pages:  Top Prev Next Last