Android studio is a perfectly developed application that you can do whatever you want to see on phones. With having a great ability, it is also easy to use. The program i share down belongs to me and i created it in a really short time with having no knowledge before. And it really works perfectly. So i wanted to share with you too.
The program is like i shared:
package com.example.mahmuttatar.sehimteyit;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class SehimTeyit extends AppCompatActivity {
TextView giris1, giris2, giris3, giris4, sonuc;
Button button;
EditText deger1, deger2, deger3, deger4;
double formul;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_sehim_teyit);
giris1= (TextView) findViewById(R.id.giris1);
giris2= (TextView) findViewById(R.id.giris2);
giris3= (TextView) findViewById(R.id.giris3);
giris4= (TextView) findViewById(R.id.giris4);
sonuc= (TextView) findViewById(R.id.sonuc);
button= (Button) findViewById(R.id.button);
deger1= (EditText) findViewById(R.id.deger1);
deger2= (EditText) findViewById(R.id.deger2);
deger3= (EditText) findViewById(R.id.deger3);
deger4= (EditText) findViewById(R.id.deger4);
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
double deger1_int = Double.parseDouble(deger1.getText().toString());
double deger2_int = Double.parseDouble(deger2.getText().toString());
double deger3_int = Double.parseDouble(deger3.getText().toString());
double deger4_int = Double.parseDouble(deger4.getText().toString());
//formul = (deger1_int+deger2_int+deger3_int+deger4_int);
formul= Math.pow(((Math.sqrt(((Math.tan(Math.toRadians((deger1_int-100)*0.9))+Math.tan(Math.toRadians((100-deger4_int)*0.9)))*deger3_int))+Math.sqrt(deger2_int))/2),2);
//formul = (Math.toDegrees(Math.atan((Math.pow(((Math.sqrt(deger1_int)*2)-Math.sqrt(deger2_int)),2)/deger3_int)-Math.tan(Math.toRadians((100-deger4_int)*(0.9))))*(1.111111))+100);
// =DERECE(ATAN((KUVVET(((KAREKÖK(B2)*2)-KAREKÖK(B3));2)/B4)-TAN(RADYAN((100-B5)*0,9)))*(1/0,9))+100
// (((KAREKÖK(B2)*2)-KAREKÖK(B3));2)
// =DERECE(ATAN((KUVVET(((KAREKÖK(B2)*2)-KAREKÖK(B3));2)/B4)
// -TAN(RADYAN((100-B5)*0,9)))*(1/0,9))+100
// =DERECE(ATAN((KUVVET /B4)
// -TAN(RADYAN((100-B5)*0,9)))*(1/0,9))+100 //
// B2 1, B3 2, B4 3, B5 4
String deger1=Double.toString(formul);
sonuc.setText(deger1);
}
});
}
}
Writing this program to Android Studio is as it showed down:
And its lines couldn't see at first image:
After writing the program and "Run" it it starst to show your VIRTUAL ANDROID EMULATOR (Virtual Phone You selected):
Then your Virtual Phone Starts like that:
Then The aplication we wrote its program starts by itself like that:
And it works with my writing measurements... It shows the number i needed:
So you can also create an application on Android Studio easily with working on a bit...
Thanks..
Thank you for your contribution.
Check out our guidelines for more info about utopian and contributions
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your comment. You are right that may not be a tutorial. I am new at steemit.com so with time i will improve myself on posts. Thank you again
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your review, @mcfarhat! Keep up the good work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thank you for your comment, as you say my post may not be tutorial. With being new on steemit.com, i will improve on posting day by day. thank you again..
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @metehn! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word
STOP
To support your work, I also upvoted your post!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thank you so much, will try to complete my targets.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit