رفتن به مطلب

DexterFstone

کاربر رو به رشد
  • تعداد ارسال ها

    567
  • تاریخ عضویت

  • آخرین بازدید

  • روز های برد

    89

تمامی مطالب نوشته شده توسط DexterFstone

  1. شما بجای لیبل ادیت تکست بنویسید باید جواب بده
  2. برای اندازه ویوها من dip میدم و تمامی دستگاه ها درست نمایش میده اگر از % استفاده میکنید ب مشکل میخورید ول برای چیزی ک شما میخواین فکنم StringUtil متد مد نظر داره MeasureMultilineTextHeight Dim Label1 As Label Label1.Initialize("") Label1.Text = "this is a long sentence, and we need to " _ & "know the height required in order To show it completely." Label1.TextSize = 20 Activity.AddView(Label1, 10dip, 10dip, 200dip, 30dip) Dim su As StringUtils Label1.Height = su.MeasureMultilineTextHeight(Label1, Label1.Text) موفق باشید
  3. فکنم سری پیش این خط از خطا را جا انداخته بودم > Task :app:processDebugAndroidTestManifest FAILED [androidx.versionedparcelable:versionedparcelable:1.1.1] C:\Users\Dexter\.gradle\caches\transforms-3\ec2eb3840be362e74ab25570b26da47c\transformed\versionedparcelable-1.1.1\AndroidManifest.xml Warning: Namespace 'androidx.versionedparcelable' is used in multiple modules and/or libraries: androidx.versionedparcelable:versionedparcelable:1.1.1, com.android.support:versionedparcelable:28.0.0. Please ensure that all modules and libraries have a unique namespace. For more information, See https://developer.android.com/studio/build/configure-app-module#set-namespace C:\Users\Dexter\AndroidStudioProjects\GodotPushPolePlugin\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest16082066546625039828.xml:28:18-86 Error: Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.9.0] AndroidManifest.xml:28:18-86 is also present at [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at tempFile1ProcessTestManifest16082066546625039828.xml:7:5-9:19 to override. See https://developer.android.com/r/studio-ui/build/manifest-merger for more information about the manifest merger. ویرایش: این خطا با قطعه زیر در گریدل حل شد ولی خطاهای قبلی پا برجایست configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -> def requested = details.requested if (requested.group == 'com.android.support') { if (!requested.name.startsWith("multidex")) { details.useVersion '25.3.0' } } } } خطاهلی قبلی هم با خط زیر حل شد android.enableJetifier=true
  4. خب استاد بعدش باید چیکار کنم چون بلاخره باید از اون کتابخانه هم استفاده کنم راه حلی نداره؟
  5. استاد شرمنده گفتم تاپیک جدید نزنم چون حالا ارور جدید دریافت کردم ممنون میشم راهنمایی فرمایید > Task :app:mergeDebugAndroidTestJavaResource FAILED FAILURE: Build completed with 3 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:processDebugManifest'. > A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction > Manifest merger failed with multiple errors, see logs * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 2: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:checkDebugAndroidTestDuplicateClasses'. > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable > Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class android.support.v4.os.IResultReceiver found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class android.support.v4.os.ResultReceiver found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class android.support.v4.os.ResultReceiver$1 found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class androidx.core.graphics.drawable.IconCompatParcelizer found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class androidx.core.internal.package-info found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and support-compat-28.0.0-runtime (com.android.support:support-compat:28.0.0) Duplicate class androidx.versionedparcelable.CustomVersionedParcelable found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.NonParcelField found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.ParcelField found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.ParcelImpl found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.ParcelImpl$1 found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.ParcelUtils found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.VersionedParcel found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.VersionedParcel$1 found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.VersionedParcel$ParcelException found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.VersionedParcelParcel found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.VersionedParcelStream found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.VersionedParcelStream$FieldBuffer found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.VersionedParcelable found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Duplicate class androidx.versionedparcelable.VersionedParcelize found in modules versionedparcelable-1.1.1-runtime (androidx.versionedparcelable:versionedparcelable:1.1.1) and versionedparcelable-28.0.0-runtime (com.android.support:versionedparcelable:28.0.0) Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== 3: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mergeDebugAndroidTestJavaResource'. > A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction > 2 files found with path 'META-INF/androidx.localbroadcastmanager_localbroadcastmanager.version' from inputs: - C:\Users\Dexter\.gradle\caches\transforms-3\2e49548e557ad3d981e0f53424b0c757\transformed\localbroadcastmanager-1.0.0\jars\classes.jar - C:\Users\Dexter\.gradle\caches\transforms-3\a15cc399ddde63742fc17939ec2289a5\transformed\localbroadcastmanager-28.0.0\jars\classes.jar Adding a packagingOptions block may help, please refer to https://developer.android.com/reference/tools/gradle-api/8.2/com/android/build/api/dsl/ResourcesPackagingOptions for more information * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. ============================================================================== BUILD FAILED in 8s 34 actionable tasks: 7 executed, 27 up-to-date تنها چیزی ک اضافه کردم ب پروژه این مورد بوده implementation 'com.push-pole.android:pushpolesdk:1.7.8' قبل از اون چنین خطایی نداشتم
  6. خیلی ممنون استاد درست شد
  7. سلام هنگام بیلد پروژه ی همچنین اروری دریافت میکنم Execution failed for task ':app:extractDebugAnnotations'. > Could not resolve all files for configuration ':app:detachedConfiguration1'. > Could not find lint-checks-31.2.2.jar (com.android.tools.lint:lint-checks:31.2.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/lint/lint-checks/31.2.2/lint-checks-31.2.2.jar > Could not find intellij-core-31.2.2.jar (com.android.tools.external.com-intellij:intellij-core:31.2.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/intellij-core/31.2.2/intellij-core-31.2.2.jar > Could not find kotlin-compiler-31.2.2.jar (com.android.tools.external.com-intellij:kotlin-compiler:31.2.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/external/com-intellij/kotlin-compiler/31.2.2/kotlin-compiler-31.2.2.jar > Could not find uast-31.2.2.jar (com.android.tools.external.org-jetbrains:uast:31.2.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/external/org-jetbrains/uast/31.2.2/uast-31.2.2.jar > Could not find play-sdk-proto-31.2.2.jar (com.android.tools:play-sdk-proto:31.2.2). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/play-sdk-proto/31.2.2/play-sdk-proto-31.2.2.jar Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html شکن متصل هست حتی فایل هایی ک لینک داده را هم بصورت جدا دانلود کردم ولی نمیدونستم جدا باید قرار بگیرند حالا موندم مشکل چیه؟
  8. خب عرض کردم لینک ک دادم دانلود کنید متد مدنظر را دارد
  9. دانلود کردید؟ پیشفرض B4A نه این یکی دیگست
  10. سلام از این کتابخانه استفاده کنید https://www.b4x.com/android/forum/threads/b4x-b4xdraweradvanced-sliding-drawer-left-and-right-panel.143543/ و بجای OpenLeft از OpenRight استفاده کنید و بجای LeftPanel از RightPanel
  11. بهترین کار اینکه ب پشتیبانی پیام دهید تا بتون توضیح بدم ب چ صورته
  12. مورد اول می‌تونه مال واسطه هایی مثل ادیوری یا تپسل باشه و از اونها استفاده میکنن چون اگر تعداد نصب ها بالا باشه چنین خدماتی میدن و میتونین تبلیغات گوگل نمایش بدید مورد دوم هم اگر واقعا از تبلیغات ادموب استفاده میکنن می‌تونه اختلاف در ف ی ل ت ر باشه چون اگر توجه کرده باشید بعضی وقت ها یوتیوب هم بدون مشکل لود میشه ولی ب احتمال زیاد مورد یک هستش و بعید می‌دونم پ ر و ک س ی ست کنن چون دسترسی کاربر میخواد
  13. DexterFstone

    ساخت سایت اجاره ماشین

    سلام و درود شما به یک هاست کم مصرف نیاز دارید برای شروع که تقریبا ۶۰ تومن میشه یک دامنه هم اگه داخلی بگیرید ۲۵ تومن و وردپرس می‌ریزید روش بعدش میمونه قالب اگر قالب مناسب رایگان پیدا کردید ک چ عالی وگرنه قالب های پولی هم از ۱۰۰ تومن شروع میشن اگر از سایت و مدیریتش هم اطلاعی ندارید مجبورید یک نفر جهت کنترل سایت خودتون استخدام کنید بطور کلی میتونم بگم برای شروع میتونین ۵۰۰ تومن خرج کنید اگر هم جاییش را اشتباه گفتم اساتید اصلاح کنن موفق باشید
  14. بله متأسفانه چنین هست از ادیوری یا تپسل استفاده کنید
  15. DexterFstone

    دریافتکتابخانه DGTextField

    مشاهده فایل کتابخانه DGTextField سلام کتابخانه DGTextField یک تکست فیلد با قابلیت سفارشی سازی رنگ و اندازه و فونت می باشد نکته: تغییر اندازه ویو از عرض فقط باعث تغییر اندازه فیلد می شود و در اندازه عرض ارور و عنوان تاثیری ندارد نکته: اندازه عرض بیشنهادی 94dip و بالاتر و در اندازه طول محدودیتی وجود ندارد نکته: فونت پیشفرض فونت وزیر میباشد ولی میتواند با متد TitleFont و TextFont و ErrorFont مقادیر دلخواه خودتون را از نوع B4XFont بدید تا جای امکان تمام موارد تست شده است ولی درصورت مشاهده هرگونه مشکل اطلاع دهید تا رفع شود اگر هم ویزگی مد نظر وجود نداشت درخواست دهید تا اضافه شود ارسال کننده DexterFstone ارسال ۰۲/۱۰/۱۵ دسته کتابخانه ها  
  16. سلام معمولا در طراحی از dip استفاده کنید نباید مشکلی پیش بیاید سورس زیر تست کنید ببینید چنین مشکلی رویت میشه یا نه درنظر بگیرید در حالت landscape در دیزاینر باید شرط گذاشته و مجدد مقدار دهی کنید If Portrait Then Else If Landscape Then End if
  17. دوستان امکانش هست درباره پیاده سازی تبلیغات بنری و همسان ادیوری راهنمایی کنید با استفاده از کد ظاهرا پشتيباني درست پاسخگو نیست

    قراره داخل کلاس پیاده سازی بشه

  18. تازگیا انجمن خیلی سوت و کوره

  19. سلام ببخشید امکان ران شدن توی سرویس را هم داره؟ اگه نمیشه برای اینکه هر یک ثانیه بررسی انجام بدم توی سرویس چ پیشنهادی میدید؟
  20. مطلب خوبی بود ولی چرا سبک نوشته اینطوریه؟ ترجمه اش کردین؟
  21. سلام ببخشید ی سوال قابلیت import یا export وجود نداره؟ برای مثال با برنامه sql ی دیتابیس دارم و import کنم توی سایت شما یا برعکس اطلاعاتی که ذخیره شده را خروجی بگیرم و بصورت آفلاین روی کامپیوترم داشته باشم؟
  22. به طور کلی برای اینکه گوشه هارا گرد کنید میتونین به شکل زیر عمل کنید Dim CR As CornerRadius CR.Initialize CR.xCR_BottomLeft = 10 CR.yCR_BottomLeft = 10 CR.xCR_BottomRight = 10 CR.yCR_BottomRight = 10 CR.xCR_TopLeft = 10 CR.yCR_TopLeft = 10 CR.xCR_TopRight = 10 CR.yCR_TopRight = 10 DGPanel1.CornerRadius = CR DGPanel1.SetCornerRadiusAnimated(1000,CR) به این شکل تمام گوشه ها به اندازه 10 تا گرد میشه از دو مورد آخری فقط یکی را انتخاب کنید میزان زمان هم برای انیمشین بر حسب میلی ثاینه است
  23. کجاش مشکل دارین عزیز؟
  24. DexterFstone

    دریافت کتابخانه DGPanel

    مشاهده فایل کتابخانه DGPanel سلام با یک کتابخانه دیگه همراهتون هستیم با این کتابخانه که یک پنل هست میتونین تمام امکانات پنل خود بیسیک داشته باشید + خم کرده گوشه ها به صورت تکی یا گروهی همچنین قابلیت اعمال انیمیشن هم برای خم کردن موجود میباشد. سوال یا مشکلی بود در خدمتم. امیدوارم مفید واقع بشه ارسال کننده DexterFstone ارسال ۰۰/۱۰/۰۷ دسته کتابخانه ها
×
×
  • اضافه کردن...