Is unregisterReceiver absolutely required for a context-based Android Broadcast Receiver?

Android
The Android developer pages for Broadcasts say this about broadcast receivers and their receiving of broadcasts: Context-registered receivers rece...
7 months ago

How to sort by descending datetime ng-repeat in Angularjs?

AngularJS
I want to sort my data by descending date, ie 27, 26 , 25 .... How to do this? <tbody class="gradeX" ng-repeat="x in Profile | orderBy: x.created_...
7 months ago

AngularJS error : Module Error. fixing typo doesn't apply and keeping causing error

AngularJS
I am new in Angular. I was following the tutorial of Thinkster : Building Web Applications with Django and AngularJS. Tutorial code is like below. On...
7 months ago

Internet access for SSRS reports

ASP.NET (C#)
I am trying to get my company to start using SSRS for reporting but I realized something today that I have never tried to use SSRS outside the local L...
7 months ago

How to create activex control in c#.net windows form and how to deploy

ASP.NET (C#)
I have created an activeX control but i am facing an issue when it comes to deploying it in Internet Explorer. The browser (IE 11) is not able to down...
7 months ago

Linux shell output command to file

Bash
I run a shell script but do not get the output to my file, only the first line that echos the date is appended to the .log file. Can anyone explain wh...
7 months ago

Defining an array using define directive in C?

C
I'm new here and I'd like some help. My code #define ASDF "548896" Does this mean that ASDF can be used as an array? What will be the output of...
7 months ago

Find a file with a certain extension in folder

C#
Given a folder path (like C:\Random Folder), how can I find a file in it that holds a certain extension, like txt? I assume I'll have to do a search f...
7 months ago

Regular expression to remove HTML tags

C#
I am using the following Regular Expresion to remove html tags from a string. It works except I leave the closing tag. If I attempt to remove: <a...
7 months ago

Multi-threading benchmark

C++
I have had a heavy mathematical computation to count the number of twin prime numbers within a range and I have divided the task between threads. Her...
7 months ago

how to stop the cells of a row from increasing in size when a cell within is larger then all

HTML
how to stop the cells of a row from increasing in size when a cell within is larger then all. and the cell increases in size because a dynamic cont...
7 months ago

Apple maps route request URL from current location

iOS
I'm now thinking about an app for iOS, which could send an SMS to other people (without Internet connection) with a URL link to give them offline dire...
7 months ago

Should I use Core Data for iOS To-Do App?

iOS
The title sort of sums it up... I am making a to-do list application with Xcode 8 and am not sure whether to use Core Data or not. I want to integrate...
7 months ago

Preventing line breaks in part of an NSAttributedString

iOS
I am working on a UILabel which features large main text followed by smaller text that tells you who said it: Right now it is basically an NSAttrib...
7 months ago

Why sometime variable become NULL in block

iOS
I have some event from C++ written library which works in background thread: virtual void OnData(const char* data) { NSLog(@"Here 'data' string i...
7 months ago

Swift Array closure extension raises an error

iOS
I have an extension on Array instances for looping over with indices in mind like so: extension Array { func fun (_ iterator: (Int, Element) -&gt...
7 months ago

Find Char in Array and if it does not exist then add to new String array

Java
I am making a small project and I am stuck at the phase: User inserts some chars (x,y,z,k) System tries to search in the existing char array if thes...
7 months ago

Convert a number from base 10 to N

Java
This code is a part of a project that I have to develop. I need to write a java method that converts a number (base 10) to another number in n base. T...
7 months ago

Get all child of HashMap<Integer, ArrayList<String>>

Java
I use this code for add to hashmap : static HashMap&lt;Integer, ArrayList&lt;String&gt;&gt; arrayMap = new HashMap&lt;Integer, ArrayList&lt;String&gt...
7 months ago

maven "cannot find symbol" message unhelpful

Java
This is a really simple question, and it's probably a setting somewhere I don't know about, but Google is being particularly unhelpful for this questi...
7 months ago