Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Posts by Anonymous‭

39 posts
80%
+6 −0
Q&A How to show XML in browser?

I was searching further why it's not working properly. Then I created a CSS file. Linked that CSS to XML using the following command. <?xml-stylesheet type="text/css" href="test.css"?> Th...

posted 3y ago by Anonymous‭

Answer
75%
+4 −0
Meta Tags are highlighting while my favourite tags is empty

My favourite tags is empty. Although, some tags are highlighting. Usually, I was using another account earlier. I forgot (lost that gmail address) password (I can reset but, I don't want to use tha...

2 answers  ·  posted 3y ago by Anonymous‭  ·  edited 1y ago by Alexei‭

71%
+3 −0
Q&A What does android:ems do?

What does ems in xml do? I saw that I was using following line in EditText. But, I never thought what it does. I was trying to check what actually it does by removing the line. I couldn't see any d...

1 answer  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Alexei‭

Question fonts android em
71%
+3 −0
Q&A What does android:ems do?

The em is simply the font size. In an element with a 2in font, 1em thus means 2in. Expressing sizes, such as margins and paddings, in em means they are related to the font size, and if the user h...

posted 3y ago by Anonymous‭

Answer
70%
+5 −1
Q&A How allocated memory is calculated?

int arr[] = {10,123,14,14,15,16}; cout<<sizeof(arr)/sizeof(arr[0]); I was reading the article. When sizeof() is used with the data types such as int, float, char… etc it simply ret...

1 answer  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by Canina‭

Question c++ memory
66%
+2 −0
Meta edit button isn't taking me to `/edit/` page

Whenever I click on edit button it is redirecting me to that answer. This is happening for the answer. Here's a video

0 answers  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Monica Cellio‭

66%
+2 −0
Q&A Unable to use pyttx3 (libespeak.so.1: cannot open shared object file: No such file or directory)

from tkinter import * from tkinter import messagebox, filedialog import pyttsx3 import PyPDF2 import os import webbrowser root = Tk() # root.geometry("500x500") root.title("Audio Book") ...

1 answer  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by Alexei‭

66%
+2 −0
Q&A What's the better way to store base64 in SQLite Database?

What's the better way to store base64 in SQLite Database? I was thinking to put base64 as TEXT since base64 has lots of chars. CREATE TABLE name (id INTEGER PRIMARY KEY AUTO_INCREMENT, image TEXT)...

1 answer  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Anonymous‭

Question sql base64 sqlite
60%
+1 −0
Q&A event_start always returning contact number in android

Why ContactsContract.CommonDataKinds.Event.START_DATE always returning contact number. The number is available in Google Contacts. Here what I am doing... Cursor c; if (contactID==""...

0 answers  ·  posted 3y ago by Anonymous‭

60%
+1 −0
Q&A How does PathData work?

What is pathData? I was thinking to convert SVG to XML. I found it. In the code, I had seen that android:pathData="M 64 2 C 98.2416544895 2 126 29.7583455105 126 64 C 126 98.2416544895 98.2416544...

2 answers  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Alexei‭

60%
+1 −0
Q&A WARNING: environment variable DISPLAY is not set (netbeans)

I was trying to install Netbeans in Xubuntu. I had installed Netbeans using Snapd. sudo snap install netbeans --classic I was trying to start Netbeans then I got an error which was looking like...

1 answer  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by Anonymous‭

60%
+1 −0
Q&A can't find git repo (library)

At first you have to add maven { url "jitpack.io" } in settings.gradle. I was facing the issue after adding that line also. When I had reboot my system it's working fine then. You can try to cl...

posted 3y ago by Anonymous‭

Answer
60%
+1 −0
Q&A can't find git repo (library)

Could not find com.github.Kunzisoft:Android-SwitchDateTimePicker:1.9. Required by: project :app Search in build.gradle files I was trying to use the library. I had searched for 2.1, 2.0 a...

1 answer  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by Anonymous‭

Question android gradle
60%
+1 −0
Q&A Why is the switch statement not executing the correct case blocks?

In the code below, the value of order variable should change according to i's value: String order; switch (i){ case 0: order = CallLog.Calls.DATE + " DESC "; contactViewAda...

1 answer  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by hkotsubo‭

60%
+1 −0
Q&A Why ArrayList is always same value in only Adapter?

This is the worst bug I have ever seen.. I was fetching CallLogs following way. ArrayList<HashMap<String, String>> callLog= new ArrayList<>(); HashMap<String, Strin...

1 answer  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by Anonymous‭

60%
+1 −0
Q&A Find image for contact list in Android Java

See https://developer.android.com/reference/android/provider/ContactsContract.Contacts.Photo There's PHOTO_URI in ContactsContract.class. Fetch it following way. String photo = c.getString(c.getC...

posted 3y ago by Anonymous‭

Answer
60%
+1 −0
Q&A Find image for contact list in Android Java

How to get image of contact list? I was using cursor to get contact list. Here how it looks like. ArrayList<HashMap<String, String>> contactList = new ArrayList<>(); Has...

1 answer  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by Anonymous‭

57%
+2 −1
Q&A Hash sum mismatch (only for openjdk-11-jdk)

I was installing Java yesterday. I had faced lot of problem. I had fixed most of them. But I had changed Hash that's what I think. I don't remember which command I had executed since I had executed...

1 answer  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Alexei‭

57%
+2 −1
Q&A What's the minimum API level for activity transition?

I was trying to show transition on activity changes. I had followed two method from SO. I lost those link so I can't add them here. My first method was I had used overridePendingTransition on onCr...

1 answer  ·  posted 3y ago by Anonymous‭  ·  last activity 3y ago by Anonymous‭

50%
+0 −0
Q&A What should I use instead of managedQuery?

There's obviously an alternative. But it was available earlier also. It's actually getContentResolver().query(). There's not much more difference. Both classes (not actually class it's something el...

posted 3y ago by Anonymous‭

Answer
50%
+0 −0
Q&A Why ArrayList is always same value in only Adapter?

Each list index refers to the same HashMap which it just override the key's value with each iteration of your loop, losing any previously set values. So if I put the HashMap value inside loop then ...

posted 3y ago by Anonymous‭

Answer
50%
+0 −0
Q&A What should I use instead of managedQuery?

managedQuery is recently deprecated. ManagedQuery was used for using Cursor. What should I use since managedQuery was deprecated? Without it, I can't work with Cursor. So there must be alternative ...

1 answer  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Alexei‭

50%
+0 −0
Q&A What's the alternative of "ContactsContract.Contacts.LAST_TIME_CONTACTED"?

What should I use instead of ContactsContract.Contacts.LAST_TIME_CONTACTED? According to documentation, LAST_TIME_CONTACTED variable was deprecated. Even it was written in ContactsContract.class /...

0 answers  ·  posted 3y ago by Anonymous‭  ·  edited 3y ago by Anonymous‭

50%
+0 −0
Q&A What's the minimum API level for activity transition?

It worked for me hardly. Intent intent = new Intent(Activity.this, SecondActivity.class); ActivityOptions options = ActivityOptions.makeSceneTransitionAnimation(Activity.this); startActivity(int...

posted 3y ago by Anonymous‭  ·  edited 3y ago by Anonymous‭

Answer
50%
+0 −0
Q&A Why some items aren't clickable in RecyclerView?

if (type=="dialer") { String timestamp = list.get(position).get(Constants.DATE); holder.txtTimestamp.setVisibility(View.VISIBLE); holder.imgDelete.s...

0 answers  ·  posted 3y ago by Anonymous‭