Skip to content

Homework/activity 02#2

Closed
riggs84 wants to merge 8 commits intoAndroid-Developer-Basic:homework/activity_02from
riggs84:homework/activity_02
Closed

Homework/activity 02#2
riggs84 wants to merge 8 commits intoAndroid-Developer-Basic:homework/activity_02from
riggs84:homework/activity_02

Conversation

@riggs84
Copy link
Copy Markdown

@riggs84 riggs84 commented Nov 8, 2022

Home work Activity_02 Intents

JegernOUTT added a commit to JegernOUTT/Activity that referenced this pull request Nov 8, 2022
<activity
android:name=".SenderActivity"
android:exported="true">

Copy link
Copy Markdown

@azamat87 azamat87 Nov 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нужно добавить action и category для запуска активити
action android:name="android.intent.action.MAIN"
category android:name="android.intent.category.LAUNCHER"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спасибо. Исправил

private fun getIdByTitle(title: String): Int {
return when (title) {
"Славные парни" -> {
this.resources.getIdentifier(
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ресурсы можно получать еще так R.drawable.niceguys

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Спасибо. Откорректировал

tojeyest added a commit to tojeyest/Activity1 that referenced this pull request Dec 19, 2022
PortnovAS added a commit to PortnovAS/Activity that referenced this pull request Feb 27, 2023
iskino added a commit to iskino/Activity that referenced this pull request Apr 19, 2023
iskino added a commit to iskino/Activity that referenced this pull request Apr 19, 2023
EdKrupenin added a commit to EdKrupenin/Activity that referenced this pull request May 17, 2023
@LexAndro3723 LexAndro3723 mentioned this pull request Jun 16, 2023
@riggs84 riggs84 closed this by deleting the head repository Nov 5, 2023
temikng pushed a commit to temikng/Activity that referenced this pull request Nov 7, 2023
glasolin added a commit to glasolin/kotlin-activity02 that referenced this pull request Nov 15, 2023
Morozov0208Saveliy added a commit to Morozov0208Saveliy/Activity that referenced this pull request May 16, 2024
crayfish1975 added a commit to crayfish1975/Activity that referenced this pull request Nov 3, 2024
crayfish1975 added a commit to crayfish1975/Activity that referenced this pull request Nov 10, 2024
crayfish1975 added a commit to crayfish1975/Activity that referenced this pull request Nov 11, 2024
crayfish1975 added a commit to crayfish1975/Activity that referenced this pull request Nov 24, 2024
Lofter23rus added a commit to Lofter23rus/activities_01_ab2409_lofter that referenced this pull request Jan 28, 2025
slakop pushed a commit to slakop/Activity that referenced this pull request Sep 26, 2025
mahonin-ms pushed a commit to mahonin-ms/Activity that referenced this pull request Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants