Posts

تحميل مشروع متجر.

 هتحمل الملف بصيغه zip  تفك عنو الضغط وبعدها هتلقي في التطبيق و ملف المشروع  V_86           رابط التحميل
تحميل Sketchware الكود final android.widget.ProgressBar prog = new android.widget.ProgressBar(this,null, android.R.attr.progressBarStyleHorizontal); prog.setPadding(0,0,0,0); prog.setIndeterminate(false); prog.setFitsSystemWindows(true); prog.setProgress(0); prog.setScrollBarStyle(android.widget.ProgressBar.SCROLLBARS_OUTSIDE_INSET); prog.setMax(100); ViewGroup.LayoutParams vlp = new ViewGroup.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT); prog.setLayoutParams(vlp); linear1.addView(prog); webview1.setWebChromeClient(new WebChromeClient() { @Override public void onProgressChanged(WebView view, int newProgress) { prog.setProgress(newProgress); } });
تحميل sketchware تحميل esfile  الكود final VideoView vid = new VideoView(MainActivity.this); vid.setLayoutParams(new LinearLayout.LayoutParams(android.widget.LinearLayout.LayoutParams.MATCH_PARENT, android.widget.LinearLayout.LayoutParams.MATCH_PARENT)); linear1.addView(vid); vid.setVideoURI(Uri.parse("android.resource://"+getPackageName()+"/"+R.raw.vid)); vid.setMediaController(new MediaController(this)); vid.requestFocus(); vid.start();
لايوجد اي روابط

تحميل التطبيق

حمل التطبيق من هنا  
رابط المشروع الاول من هنا رابط المشرع التاني من هنا الاكواد الكود ١ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { CharSequence name = "Channel name 1"; String description = "Notification channel"; int importance = NotificationManager.IMPORTANCE_DEFAULT; NotificationChannel channel = new NotificationChannel("id 1", name, importance); channel.setDescription(description); NotificationManager notificationManager = getSystemService(NotificationManager.class); notificationManager.createNotificationChannel(channel); } الكود ٢ Intent intent = new Intent(MainActivity.this, TwoActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); PendingIntent pendingIntent = PendingIntent.getActivity(MainActivity.this, 0, intent, 0); android.support.v4.app .NotificationCompat.Builder builder = new  android.support.v4.app .NotificationCompat.Builder(MainActivity.this, "id 1") .setSmallIcon(R.draw...