Forwarded from Galeton
دليل البرمجة للمبدئين - كيف تختار مسارك البرمجي؟
https://www.youtube.com/watch?v=XXLA-2PbSJE
- @Galeton
https://www.youtube.com/watch?v=XXLA-2PbSJE
- @Galeton
Forwarded from Galeton
يريت دعم من كل اخواتي علي القناه و انشاء الله هيبقي فيه مشاريع كتير مثل xml الخاص بفريق mn team
Many projects such as XML for the work mn team.
https://youtube.com/channel/UCAoeKsCKzsIKyn8WroS4LtQ
@Galeton
Many projects such as XML for the work mn team.
https://youtube.com/channel/UCAoeKsCKzsIKyn8WroS4LtQ
@Galeton
👍2
Forwarded from Galeton
دورة برمجة اندرويد || Android Studio Tutorials Arabic
https://www.youtube.com/watch?v=VoES7xpuEME
- @Galeton
https://www.youtube.com/watch?v=VoES7xpuEME
- @Galeton
Forwarded from مسلسلات رمضان 2023
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Galeton
مشروع افلام و مشاهده ليف للقنوات الدراميه.
Project films and watching LIF for drama channels.
https://youtu.be/f089OrPOaAs
Project films and watching LIF for drama channels.
https://youtu.be/f089OrPOaAs
Forwarded from CODE X
كود تحميل التطبيقات apk مباشر يوضع الكود في زر بوتم او صوره.
Applications code Direct apk download The code is placed in the button or image.
//CODES BY Neon
StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder().build());
Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE);
intent.setData(Uri.fromFile(new java.io.File(Environment.getExternalStorageDirectory(), "YourFolderName/filename.apk")));
startActivity(intent);
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
@codex_mn
Applications code Direct apk download The code is placed in the button or image.
//CODES BY Neon
StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder().build());
Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE);
intent.setData(Uri.fromFile(new java.io.File(Environment.getExternalStorageDirectory(), "YourFolderName/filename.apk")));
startActivity(intent);
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
@codex_mn
👍1
Forwarded from CODE X
كود تشغيل اعلانات الفيديو ادموب.
Admob video ad code.
//CODES BY Neon
AdMob For Sketchware Ads Video
Tutorial Add this on onCreate:
##################
MobileAds.initialize(this, "ca-app-pub-7530745542139842~3681476673");
mRewardedVideoAd = MobileAds.getRewardedVideoAdInstance(this);
mRewardedVideoAd.setRewardedVideoAdListener(this);
loadRewardedVideoAd();
}
private void loadRewardedVideoAd() {
mRewardedVideoAd.loadAd("ca-app-pub-7530745542139842/2336605413", new AdRequest.Builder().build());
}
@Override
public void onRewarded(RewardItem reward) {
Toast.makeText(this, "onRewarded! currency: " + reward.getType() + " amount: " + reward.getAmount(), Toast.LENGTH_SHORT).show();
//Reward the user.
}
@Override
public void onRewardedVideoAdLeftApplication() {
Toast.makeText(this, "onRewardedVideoAdLeftApplication",Toast.LENGTH_SHORT).show();
}
@Override
public void onRewardedVideoAdClosed() {
Toast.makeText(this, "onRewardedVideoAdClosed", Toast.LENGTH_SHORT).show();
loadRewardedVideoAd();
}
@Override
public void onRewardedVideoAdFailedToLoad(int errorCode) {
Toast.makeText(this, "onRewardedVideoAdFailedToLoad", Toast.LENGTH_SHORT).show();
}
@Override
public void onRewardedVideoAdLoaded() {
Toast.makeText(this, "onRewardedVideoAdLoaded", Toast.LENGTH_SHORT).show();
}
@Override
public void onRewardedVideoAdOpened() {
Toast.makeText(this, "onRewardedVideoAdOpened", Toast.LENGTH_SHORT).show();
}
@Override
public void onRewardedVideoStarted() {
Toast.makeText(this, "onRewardedVideoStarted", Toast.LENGTH_SHORT).show();
}
@Override
public void onRewardedVideoCompleted() {
Toast.makeText(this, "onRewardedVideoCompleted", Toast.LENGTH_SHORT).show();
}
@Override
public void onResume() {
mRewardedVideoAd.resume(this);
super.onResume();
}
@Override
public void onPause() {
mRewardedVideoAd.pause(this);
super.onPause();
}
@Override
public void onDestroy() {
showMessage("Success");
mRewardedVideoAd.destroy(this);
super.onDestroy();
}
public void nossss() {
###############
to show This:
########
if (mRewardedVideoAd.isLoaded()) {
mRewardedVideoAd.show();
}
##########
Save And Export this to Aide:
Add import from aide:
#############
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.MobileAds;
import com.google.android.gms.ads.reward.RewardedVideoAd;
import com.google.android.gms.ads.reward.RewardItem;
import com.google.android.gms.ads.reward.RewardedVideoAdListener;
##########
Change This:
public class MainActivity extends Activity
{
Change to:
public class MainActivity extends Activity implements RewardedVideoAdListener
{
add this:
private RewardedVideoAd mRewardedVideoAd;
################
And Manifest Add:
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:name="com.google.android.gms.ads.AdActivity" android:theme="@android:style/Theme.Translucent" />
<activity android:name="com.google.android.gms.ads.purchase.InAppPurchaseActivity" android:theme="@style/Theme.IAPTheme" />
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<activity android:exported="false" android:name="com.google.android.gms.common.api.GoogleApiActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" />
################
This need permission:
INTERNET
ACCESS_NETWORK_STATE
@codex_mn
Admob video ad code.
//CODES BY Neon
AdMob For Sketchware Ads Video
Tutorial Add this on onCreate:
##################
MobileAds.initialize(this, "ca-app-pub-7530745542139842~3681476673");
mRewardedVideoAd = MobileAds.getRewardedVideoAdInstance(this);
mRewardedVideoAd.setRewardedVideoAdListener(this);
loadRewardedVideoAd();
}
private void loadRewardedVideoAd() {
mRewardedVideoAd.loadAd("ca-app-pub-7530745542139842/2336605413", new AdRequest.Builder().build());
}
@Override
public void onRewarded(RewardItem reward) {
Toast.makeText(this, "onRewarded! currency: " + reward.getType() + " amount: " + reward.getAmount(), Toast.LENGTH_SHORT).show();
//Reward the user.
}
@Override
public void onRewardedVideoAdLeftApplication() {
Toast.makeText(this, "onRewardedVideoAdLeftApplication",Toast.LENGTH_SHORT).show();
}
@Override
public void onRewardedVideoAdClosed() {
Toast.makeText(this, "onRewardedVideoAdClosed", Toast.LENGTH_SHORT).show();
loadRewardedVideoAd();
}
@Override
public void onRewardedVideoAdFailedToLoad(int errorCode) {
Toast.makeText(this, "onRewardedVideoAdFailedToLoad", Toast.LENGTH_SHORT).show();
}
@Override
public void onRewardedVideoAdLoaded() {
Toast.makeText(this, "onRewardedVideoAdLoaded", Toast.LENGTH_SHORT).show();
}
@Override
public void onRewardedVideoAdOpened() {
Toast.makeText(this, "onRewardedVideoAdOpened", Toast.LENGTH_SHORT).show();
}
@Override
public void onRewardedVideoStarted() {
Toast.makeText(this, "onRewardedVideoStarted", Toast.LENGTH_SHORT).show();
}
@Override
public void onRewardedVideoCompleted() {
Toast.makeText(this, "onRewardedVideoCompleted", Toast.LENGTH_SHORT).show();
}
@Override
public void onResume() {
mRewardedVideoAd.resume(this);
super.onResume();
}
@Override
public void onPause() {
mRewardedVideoAd.pause(this);
super.onPause();
}
@Override
public void onDestroy() {
showMessage("Success");
mRewardedVideoAd.destroy(this);
super.onDestroy();
}
public void nossss() {
###############
to show This:
########
if (mRewardedVideoAd.isLoaded()) {
mRewardedVideoAd.show();
}
##########
Save And Export this to Aide:
Add import from aide:
#############
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.MobileAds;
import com.google.android.gms.ads.reward.RewardedVideoAd;
import com.google.android.gms.ads.reward.RewardItem;
import com.google.android.gms.ads.reward.RewardedVideoAdListener;
##########
Change This:
public class MainActivity extends Activity
{
Change to:
public class MainActivity extends Activity implements RewardedVideoAdListener
{
add this:
private RewardedVideoAd mRewardedVideoAd;
################
And Manifest Add:
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:name="com.google.android.gms.ads.AdActivity" android:theme="@android:style/Theme.Translucent" />
<activity android:name="com.google.android.gms.ads.purchase.InAppPurchaseActivity" android:theme="@style/Theme.IAPTheme" />
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<activity android:exported="false" android:name="com.google.android.gms.common.api.GoogleApiActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" />
################
This need permission:
INTERNET
ACCESS_NETWORK_STATE
@codex_mn
👍1
Forwarded from Galeton
Install Android Studio on Windows تنصيب اندرويد علوندوز
https://www.youtube.com/watch?v=iI9dEgSNOo0
@Galeton
https://www.youtube.com/watch?v=iI9dEgSNOo0
@Galeton
Forwarded from Galeton
install android studio on MAC تنصيب اندوريد ستوديو
https://www.youtube.com/watch?v=_jZG0DM1d-E
@Galeton
https://www.youtube.com/watch?v=_jZG0DM1d-E
@Galeton