添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
威武的灯泡  ·  李晶·  1 月前    · 
暴躁的人字拖  ·  tiny-pinyin - npm·  2 月前    · 
深情的韭菜  ·  Unable to drop lines ...·  4 月前    · 
B4X is a set of simple and powerful cross platform RAD tools:
  • B4A (free) - Android development
  • B4J (free) - Desktop and Server development
  • B4i - iOS development
  • B4R (free) - Arduino, ESP8266 and ESP32 development
  • All developers, with any skill level, are welcome to join the B4X community .

    Android Question Unreachable Code detected.

    I have studied Shortcut creating ,and have followed the example code. It has error code "Unreachable Code detected."
    I have adding some code in manifest file.
    '<uses-AddPermission android:name="CreateResourceFromFile.android.launcher.Permission.CREATE_SHORTCUT"/>
    AddPermission(android.permission.CREATE_SHORTCUT) I don't know how to solve my problem.

    Attachments

    Dim ic As JavaObject Return '<<<<<<<---------------------------THIS IS THE PROBELM 'ic.InitializeStatic("androidx.core.graphics.drawable.IconCompat").RunMethod("createWithBitmap",Array(LoadBitmap(File.DirAssets,"android-icon-72x72.png"))) ic.InitializeStatic("androidx.core.graphics.drawable.IconCompat").RunMethod("createWithBitmap",Array(LoadBitmap(File.DirAssets,"Letter-S-icon.png"))) End Sub Dim ic As JavaObject Return '<<<<<<<---------------------------THIS IS THE PROBELM 'ic.InitializeStatic("androidx.core.graphics.drawable.IconCompat").RunMethod("createWithBitmap",Array(LoadBitmap(File.DirAssets,"android-icon-72x72.png"))) ic.InitializeStatic("androidx.core.graphics.drawable.IconCompat").RunMethod("createWithBitmap",Array(LoadBitmap(File.DirAssets,"Letter-S-icon.png"))) End Sub
    Subscribe To My YouTube B4X Tutorials Channel
    Lib: Strong Password Generator
    Github: Github Repository
    Tool: Start every new project with: B4X Projects Launcher
    This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies. Accept Learn more…