Posts

Showing posts from February, 2018

Featured Post

CustomElement with shadow dom

Friends,    I have created custom element with shadow dom.  class RamElementE extends HTMLElement {    static get observedAttributes(){return ["label"];}    constructor(){ super();           this.attachShadow({mode:"open"});           this.input =  document.createElement("input ");this.label =  document.createElement("label");this.input.id="me";           this.button = document.createElement("button");this.button.textContent="∆";           this.shadowRoot.appendChild(this.input); this.shadowRoot.appendChild(this.label);this.shadowRoot.appendChild(this.button);    }   attributeChangedCallback(name,oldVal,newVal){if(name === 'label' && newVal){this.label.textContent = newVal;this.button.textContent=newVal;}} } customElements.define("ram-element-e",RamElementE);

samsung galaxy s8 + rooted (NRD90M.G955USQS2BQL1) USA carrier

Friends,    I have successfully rooted my Samsung device s8+.  here is details which I found in xda-developers forums My method is a little different than the actual SamFAIL method so please to tell me it says this in their thread. I feel my procedure is the best method for the  S8+  and this method may not work on the other models so please follow there own set of directions. This method allows you to obtain  root  by simply flashing a modified system.img using only odin. These images include all carrier  files  and will work on all carriers. These  roms  should be stable and you can probably just use these as your daily  rom . You can choose from stock odex  rom  or deodexed  rom This Odin Images Contain AQI2 Eng Combo Firmware with AQI6 modems, NON_HLOS.bin, persist.img.ext4 and system.img.ext4. CSC files are included in the system.img along with all carrier files Download...

gadle shared lib

here is code to execute gradle based shared lib  cpp ----- #include #include using namespace std; extern "C" { JNIEXPORT jstring JNICALL Java_com_seo_Sample1_stringMethod    (JNIEnv *env, jobject obj, jstring string) {  const char *name = (*env).GetStringUTFChars(string, NULL);  char msg[60] = "Hello ";  jstring result;  strcat(msg, name);    (*env).ReleaseStringUTFChars(string, name);     puts(msg);              result = (*env).NewStringUTF(msg);   return result;          }  } Java ----- /*  * To change this license header, choose License Headers in Project Properties.  * To change this template file, choose Tools | Templates  * and open the template in the editor.  */ package com.seo; /**  *  * @author vpilaka  */ public class...