Tag Info

New answers tagged

0

So you have two set of points, a 'target' one and an 'attempt' one, and want to know how close is one to another. What I'd do: For each point in the 'attempt' image, find the closest point in the 'target' image. These distances, averaged, give you an idea how close the attempt image is to the target. Calculate the percent of attempt points where the ...


3

Though compressed for storage, images can take up much more space internally as they are mapped into the display memory. Combine this with the wide variation in device capacities among Android devices, and you're likely to hit the memory limits of the less capable devices. If possible, you can try to keep track of images that are not currently in the ...


1

It is possible given enough money but this doesn't seem very practical. The obvious solution is to write the app in html/js/css with one of the single page app frameworks, angularjs or somehing else, and transform it to an android app with apache cordova or phonegap or what have you. That way, desktop users can just access the same code base you deployed ...


2

You need to read and understand the entire license. Here are a few noteworthy points: Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual... ...no-charge,... ...copyright license to reproduce, prepare Derivative Works... ...and distribute the... ...Derivative Works in ...


0

If there's a "gateway" use case for fragment skeptics, it's probably dialogs. The long-deprecated methods showDialog(...), onCreateDialog(...), etc., were nice in that the framework would call them to automatically destroy and recreate your dialogs when the hosting activity was destroyed and recreated. If you create your own dialogs directly, you have to ...


0

I would first break it down into a number of classes with their own SINGLE responsibilities. You would need to apply GRASP principals here first. GRASP Secondly, I would look into strategy design pattern. Strategy Design Pattern


0

While you could build a HTML parser for your WordPress page, it is recommended to use a proper API to retrieve data from your site. That way you can get structured data Any site hosted on wordpress.org itself can access the API as according to this page. A self-hosted WordPress site can install a plugin like WP-API to add an API to their website. WP-API ...


1

I'm going to assume some things about this question. When you say API, you mean an API based on a Web Service (HTTP/SOAP/Etc). When you say CMS, you are referring to a CMS for a website, and that it has it's own API. The nice thing about having an API, is that it can give you can get and send data (JSON/XML/Etc) from the service in a language agnostic ...


1

Application object is not responsible for delegating events to different part of the app. I would suggest not to clutter it with such responsibilities. From what I understand, your MainService class is some sort of dispatcher that initiates some service or activity when it gets a particular event. This should be a separate class as you have designed. I ...


0

You can use mobileapptracking.com to do this. We are using this in Mammoth Hunters. You create unique links for each publisher and send events to Mobile App tracking such as Purchase. You can track which campaign each event came from.


1

Yes, it is very possible to to have different implementations of the same methods in the same class between Android and Oracle Java. Remember, Android does not use the JVM. The only similarity between Android's Java and Oracle's Java is the API. Android does not use traditional Java, it uses an API that is "Java-like". For instance, there is a difference ...


0

I suggest: Patience & Honesty they are sweet virtues. You see things eventually die & market always moves on, I suppose by the time I am posting this you may have lost a few users, although I sincerely hope not. Set a lower than break-even-point bar of income for yourself, once you reach this open-source your project - without any self excuse. ...



Top 50 recent answers are included