Posts

Showing posts from March, 2021

Source code for python programs

How to Setup app-ads.txt file in admob

Image
  AdMob provides a personalized code snippet that makes setting up your app-ads.txt file easier. The customized code snippet includes your publisher ID.  Note that your  publisher ID  must be included and formatted correctly for your app-ads.txt file to be verified.  To get your personalized code snippet, which includes your publisher ID: Sign in to your AdMob account at  https://apps.admob.com . Click  Apps  in the sidebar. Click  All apps . Click the  app-ads.txt  tab. Click  How to set up app-ads.txt .  Click next to the code snippet to copy.  Paste the code snippet into your app-ads.txt file. 

Currency converter code for android studio

 Today i will give the code for currency converter code for android app if you are a beginner in android programming so it will help for you to create a converter so first you can copy and paste my code according to your program and run it so first you create android project after that on your Main Activity you can paste below code on you program public class MainActivity extends AppCompatActivity {     public void btnClick(View view){         EditText dollarAmount = (EditText) findViewById(R.id.dollorAmount);         String dollars = dollarAmount.getText().toString();         Double doubleDollars = Double.parseDouble(dollars);         Double doubleInr = 73.78 * doubleDollars;         String toastText = "= " + doubleInr.toString() + " R";         Toast.makeText(this, toastText, Toast.LENGTH_SHORT).show();         String res = "= " + doubleInr.toString() + " Rupees";         EditText result = (EditText) findViewById(R.id.result);         result.se

Popular posts from this blog

Currency converter code for android studio

Login Python Source code

Make your own Jarvis in python