Pages

Monday, November 15, 2021

Fetch Folder name in php

 <?php


    $path ="indus-img";
    $contents = scandir($path);


    $new_src=$contents[2];
    $count=count($contents);
    echo $new_src;
    echo $count;
 


?>

Fetch Json Data in JAVASCRIPT

 <script>

    fetch('./data.json')
    .then(function(resp){
        return resp.json();
    })
        .then(function(data){
        console.log(data.items[p].name.substr(7));
        content=data.items[p].name.substr(7)


        

    });
  

</script>

Friday, November 12, 2021

Google Sheets Create Json Api

function doGet(e) {
  var sheet = SpreadsheetApp.getActive();
  var nse = sheet.getSheetByName("NSEE");
  var data =[];
  var rlen=nse.getLastRow();
  var clen=nse.getLastColumn();
  var rows = nse.getRange(1,1,rlen,clen).getValues();
  for(var i=1;i<rows.length;i++ ){
    var datarowrows[i];
    var record ={};
    for (var j=0;j<clen;j++){
      record[rows[0][j]] = datarow[j];

    }
    data.push(record);
  }
  console.log(data);
  var result = JSON.stringify(data);
  return ContentService.createTextOutput(result).setMimeType(ContentService.MimeType.JSON);
  
 }

Tuesday, July 20, 2021

Fused locations api in android studio

In order to acces the device location one can go networkprovided location or gps provided location . fused location provider api enables us to use location whenever we desires with less use of power consumption .and it enables us to get the best location of the meanwhile . it normally uses the last known location used by amy app in the devices and display it to the user 

Friday, July 16, 2021

Python apps and native Android programming

 ✅✅✅ Yes we can make android apps with python with a verygood design .although there are some limitations also which one can easily do with native programming . Like for say using the android hardwares amd sensor sometimes it becomes difficult than what we can easily do with java or kotlin … the platform mostly used is kivy for python programmed android apps

✅✅✅ Hope you find it to be useful Feel free to ask anything

Wednesday, July 14, 2021

Android Play Store Earning Potential

If wanna make some money from playstore you can place some ads google ads of various orientation right from the start you dont need to have particular installs for doing this . Thats the most amazing thing with playstore publishing . 




Thursday, July 8, 2021

Career opportunities in Android Development

 MULTIPLE OPPOTUNITIES ARE AVAILABLE FOR THE ANDROID DEVELOPER 


SOURCES OF INCOME :


      There are more than 4 income and money-making ways in android development 


Freelancing 

Job 

Teaching as a programmer 

youtube channel  

blog writing 

contributing for the global community

publish app to playstore



    Best Of Luck

Wednesday, March 31, 2021

callbacks in android

suppose b(return of a ) and a is a function . B function takes argument of A(FUNCTION POINTER ),





KeyPoints-Series-1

  The Android architecture has the Main Thread AKA UI thread, which updates the UI after every  16ms  frame.