Avi Patel

1

votes
0

answer
54

views

Color Space and color Ranges for Efficient Color detection

I am making an app for solving Rubik's cube. For standard rubik's cube there are mainly 6 colors (Red,Orange,Yellow,Green,White,Blue). In our app we want to have functionality to automatically detecting colors and filling this detected colors in our cube. I have looked through and applied 'RGB and...
Avi Patel
1

votes
0

answer
37

views

Creating Expandable Grid View

I have Bunch of images and their description as shown in the pic below. I have already done the setting up the images inside gridview. Now i want to add tap to show description functionality, I have seen many stackoverflow answers, but didn't find any concrete solution. Please help me...
Avi Patel
1

votes
0

answer
32

views

Listview not updating but in logs adapter is changing data

I have created a generic ArrayList and generic array adapter for the custom view that contains a search view and listview. for this listview, I have created generic ArrayList and generic arrayadapter that I will be using just for updating the data and setting it up on listview.i am dynamically updat...
Avi Patel
1

votes
0

answer
31

views

Could not calculate build plan

I have seen many problems, that can solve this kind of problem, and i have tried most of them and i am stuck for around 2 days now.I am using ubuntu 18.04 and java version 1.8.0. I am getting following error. -> Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:...
Avi Patel
0

votes
1

answer
17

views

save arrayList<Class> as a string inside Room

I am using Room library from jetpack and i want to save my arrayList inside Room database. I am using typeConverter to convert arrayList into String, but still getting error. Error Message : Cannot figure out how to save this field into database. You can consider adding a type converter for it. thi...
Avi Patel
1

votes
1

answer
422

views

JNI Pass a String from java to c++ and then pass c++ string to string Array

I declared native method in java. static { // Replace 'Myfile' with the name of your Native File System.loadLibrary('JohnnyX'); } // Declare your native methods here public static native String string(StringBuffer sb); and pass a string buffer to it. System.out.println(string(sb)); and in my JohnnyX...
Avi Patel
1

votes
1

answer
49

views

Google Speech to Text dialog stuck

I am developing an app in which I want to use transliteration from Hindi to English via speech input. for that, I am using google STT API. Everything works when my voice input is short, but when I give long voice input, Dialog gets stuck at 'Try Saying Something...' and I don't get results a well....
Avi Patel
1

votes
1

answer
25

views

Retrofit Giving Wrong data

Okay, So i am currently working on weather forecast Android App and for that i am using openweathermap API for fetching weather Data. I am getting this response for 5 days weatherforecast. See my Json Response that API gives me here. Now when i parse same API using Retrofit some of the values which...
Avi Patel
1

votes
1

answer
239

views

Send Image file via Retrofit from Android to Spring

I am trying to upload Image via Retrofit to S3 via Spring. So, it's basically 2 tasks. Pass Image to Spring API From Spring API upload it to S3 Server. I know how to upload the Image to S3 and it works fine. My Problem is the first part. I have tried many solutions on net but didn't work.Here's my c...
Avi Patel
0

votes
0

answer
5

views

Spring MongoDB returns empty Array

I am trying to find All the Documents from Collection containing CropData, where cropName is RICE. this is mock Data generated by mockaroo, for testing API. this is how my 1 out of 1000 Documents looks like : { '_id' : { 'ObjectId' : '5c603f99fc13ae49e8000000' }, '_class' : 'com.cheruvu.webapp.enti...
Avi Patel
2

votes
1

answer
62

views

Fill Polygon with icons

I am able to draw polygon inside Google map. Now when I finished drawing a polygon of the area on the map, I want to fill that polygon with the same icons. I can fill the polygon with color, but I want to fill it with icons with some padding at the border and some specified space between the icons....
Avi Patel
0

votes
2

answer
677

views

Import Error : DLL module could not found, while importing pandas

I am working on Python 3.5 and I am importing Pandas, Numpy, scikit-learn and pickle libraries in pycharm IDE. I have installed all the libraries as well, via pycharm IDE's package installer. When i execute following commands it gives me no 'Syntax' errors in IDE. import pickle from pathlib import P...
Avi Patel