Posts

android - Detect in Azure Notification Hub when an app has been uninstalled -

i need detect when application has been uninstalled, in both android , ios. purpose update table record in backend. seems it's not exists "canonical way" detect uninstall in device side, people it's possible handling message error when publish push notification. we use azure notification hub, class notificationhubclient, can't see value in response alert notification fail uninstalled app. gcm must return "not registered" receive "0 success" in result. can see registration of device response of notificationhubclient.getallregistrations method. in response of registrations still appear registration of device did uninstall app. really it's possible know azure notification hub if app has been uninstalled? it's possible request firebase o apple registration ids if still installed applications doing tests can see registrations of azure disappear 1 or 2 hours after application it's uninstalled. work in android gcm. in io...

image - html img scr no showing -

i've been putting following in wysiwyg html view , image refuses show up: <img src=“http://evolveddigital.co.uk/wp-content/uploads/2016/10/google.png" alt="a screencapture of unpublished media release" height="330" width="623"> i text. i've tried http, https , www nothing working. any great! here go <img src="http://www.eadt.co.uk/polopoly_fs/1.4709095.1474628177!/image/image.jpg_gen/derivatives/landscape_630/image.jpg" alt="a screencapture of unpublished media release" height="330" width="623"> change <img src=“http <img src="http

Wordpress: Output a custom post type list by two Custom Taxonomies -

Image
i need list out custom post type organised 2 different taxonomies on these posts. i have custom post type of properties/apartments taxonomies of location , type/size trying list them out below required layout custom post type apartment location apartment size 1 list item 1 list item 2 list item 3 apartment size 2 list item 4 list item 5 list item 6 apartment location 2 apartment size 1 list item 7 list item 8 list item 9 apartment size 2 list item 10 list item 11 list item 12 i'm using current code it's spitting out under each taxonomy size? , cant filter location , size <?php $terms = get_terms('apartment_location'); foreach( $terms $term ): ?> <h2><?php echo $term->name;?></h2> <?php $posts = get_posts(array( 'post_type' => 'apartments', 'taxonomy' => $term->taxonomy, 'term...

angular - Property 'xxxx' does not exist on type '{ [key: string]: AbstractControl; }' -

import { formgroup } '@angular/forms'; export class mastervendorformcontactcomponent implements oninit { @input() formcontactgroup: formgroup; // rest of code } <fieldset [formgroup]="formcontactgroup" class="master-vendor-form-contact"> <md-input-container class="master-vendor-form-contact__phone" [dividercolor]="formcontactgroup.controls.phone?.valid ? 'default' : 'warn'"> <input mdinput placeholder="enter phone" formcontrolname="phone"> <md-hint align="end" *ngif="!formcontactgroup.controls.phone?.valid"> vendor phone number must in (xxx) xxx-xxxx format </md-hint> </md-input-container> <!-- rest of code --> </fieldset> on compiling code aot gives following error: angular_app/src/$$_gendir/app/master-vendors/master-vendor-form-contact/master-vendor-form-contact....

windows - Alternative to appactivate (so SendKeys works in background) -

this question has answer here: how mock background window active state using vb script? 1 answer i have written script , of course every 10 seconds 'my program' window activated send f9 key. however, i'd send f9 key every 10s 'my program' window without activating interupts work on other windows/browsers. need run continuously during day background process ideally. (the f9 key refreshes screen) option explicit dim wshshell set wshshell = wscript.createobject("wscript.shell") wshshell.appactivate "my program" wshshell.sendkeys "{f9}" wscript.sleep (1000 * 10) loop as alex k. mentioned, sendkeys can send keystrokes foreground window, you're asking not possible vbscript.

javascript - Passing data from jQueryUI dialog form to controller -

i'm new asp.net/javascript , i'm having little trouble implementation of simple crud operations using jqueryui dialog form. code: <button class="update" id="@model.id">update</button> <div id="dialog-form" title="update"> <form> <fieldset> <input type="text" name="state" id="state"> <input type="text" name="note" id="note"> <input type="submit"> </fieldset> </form> </div> <script> $(function() { var dialog, state = $("#state"), note = $("#note"), id = this.id, //?? dialog = $("#dialog-form").dialog({ autoopen: false, height: 400, width: 350, modal: true, buttons: { "ok": func...

llvm - How to construct Program Dependence Graph of a binary -

i'd construct ferrante's program dependence graph binary. once binary disassembled i'd create graph nodes instructions , edges relate nodes writes or read same data space (regs, memory address, ...). there tool accomplish ? i've been using radare2 i'm able extract cfg of entire program, xrefs , regs read , writen per instruction. algorithm ... in advance.