• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Duplicate class javax.activation.ActivationDataFlavor found in modules

//build.gradle(app)
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'androidx.navigation.safeargs.kotlin'

}

android {
namespace 'ug.ac.pentecostalcollege23.testcontact'
compileSdk 33

defaultConfig {
applicationId "ug.ac.pentecostalcollege23.testcontact"
minSdk 21
targetSdk 33
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
viewBinding true
}
}

//configurations {
// cleanedAnnotations
// implementation.exclude group: 'org.jetbrains' , module:'annotations'
//}
configurations {
// cleanedAnnotations {
// transitive = false
// }
cleanedAnnotations
// implementation.exclude group: 'org.jetbrains' , module:'annotations'
runtimeClasspath {
exclude module: 'javax.activation'
}
}

dependencies {

implementation('com.intellij:annotations:12.0') {
exclude group: 'org.jetbrains', module: 'annotations'
}
cleanedAnnotations 'org.jetbrains:annotations:13.0'

implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.5.0-alpha04'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
//Navigation
implementation 'androidx.navigation:navigation-fragment-ktx:2.6.0'
implementation 'androidx.navigation:navigation-ui-ktx:2.6.0'
implementation 'androidx.navigation:navigation-safe-args-gradle-plugin:2.5.0'
//Room
kapt 'androidx.room:room-compiler:2.5.0'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.0'
implementation 'androidx.room:room-ktx:2.5.0'
implementation 'androidx.room:room-runtime:2.5.0'
//Test
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'


}

build.gradle(Testcontact)

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
dependencies {
classpath 'androidx.navigation:navigation-safe-args-gradle-plugin:2.5.0'

}
}
plugins {
id 'com.android.application' version '7.3.1' apply false
id 'com.android.library' version '7.3.1' apply false
id 'org.jetbrains.kotlin.android' version '1.8.20' apply false
}
I want to use
in modules only jakarta.activation-api-1.2.1 (jakarta.activation:jakarta.activation-api:1.2.1) and ex clude javax.activation-1.2.0 (com.sun.activation:javax.activation:1.2.0)

+1 in messages

If that +1 was part of the phone number that would be less puzzling but being part of your name is odd. It's not likely to be something to eliminate on your end (not your phone nor your carrier-based phone number) but something that needs to be done on the receiver end. Either some otherwise random setting in your friend's Contacts app (your name in their contacts list) or whatever text messaging app they're using.
If everyone or at least several other people you exchange text messages with also see a +1 with your name I.D. than that could indicate it was on your end, but since your friend is encountering this issue with another person too it's more likely to be something they need to fix. Ask them to look closely in their Contacts app listing to see if their are any odd characters that might might have been inadvertently added to your name and that other person's name. It could be an issue where their text messaging app is just substituting that odd character with a +1.

Payment Gateway Integration using PhonePe

Are your issues solved and you have successfully integrated phone pay in your app? I also need help in the concerned issue. Please reply if you have found solution. My mail I'd for your reference - utsavthalor26022004@gmail.com
Hello

I am facing issues while integrating PhonePe payment gateway in my android application. I used PhonePe PG SDK but the SDK not doesn't have the two classes named , "PaymentInstrument" & "DeviceContext".

Next I want to know how to get AppId and Salt key, when I logged in into PhonePe Business App, I didn't get them. And I have already registered to PhonePe PaymentGateway, but then also I didn't get.

And there is no proper documentation for SDKLess PhonePe Integration using intents.

THUMBS UP: CamScanner

I had replaced CamScanner with Microsoft Lens, which has the same functions and saves directly to OneDrive. However, I'm preparing to end my long relationship with Microsoft, since I refuse to move to Windows 11. I'm testing a Linux distro called Kubuntu and have a Synology NAS here, which will become our in-house cloud storage and media server. Since Lens won't apply anymore after that, I'll probably move back to CamScanner.

Tmobile Gateway

If someone in your household is using AT&T as their cellular service carrier than leave your AT&T indoor 5G antenna as is. But if everyone is using T-Mobile as their carrier than yes, there would be no point in having that antenna active.

Keep in mind that AT&T and T-Mobile are two different carriers and that each use their own different cellular networks so there isn't a conflict involved. Depending on where you reside where all being immersed with wireless cellular signals from different carriers, it's only a matter of which one we've chosen to have an active account with that we've chosen to use.
Plus there's a big difference between your AT&T antenna and your T-Mobile Gateway -- the former is taking in an AT&T cellular signal and emitting a boosted, stronger cellular signal for your household; the latter is taking in T-Mobile's cellular signal and emitting a converted WiFi signal to your household. Cellular and WiFi may both be wireless signals but they are different from each and are not interchangeable.

Need some help with hooking NFC

Hey All!
Im working on my first Magisk Module; a "Minimal-NFC-Framework Magisk Module"; for NFC devs and Researchers. The goal here is to have a cross-compatible and customizable NFC framework that contains a hook and some other useful NFC related dev tools (I.e NFCGate, but its own hook isn't working correctly on some devices, part of why i want to make a more compatible hook). Currently I've got the NXP SNxxxU series controllers supported, with plans to add the rest of NXP's stuff if/when someone reports it as needed, Likewise with all other NFC controllers and their framework/firmware. My Github repo for this project can be found here. You can see I've got a pretty good start already. I am having to reverse engineer my way through all of this as I can not find too much documentation on it. Please share any docs you may find too that may help!

So Hurdle #1 -->I optimally need to sort out a way to hook NFC in a similar way to xHook (The hook NFCGate uses), I have not messed with hooking before so need some good advice/guides/templates or prebuilt solutions.
Requirements for hook?
1- Support for android 10-13
2- ???

Hurdle #2 --> Need to identify the most common NFC controllers used on other devices so i can collect/source all the needed componets/files/libs/etc
Hurdle #3 --> Figure out a way to dynamically detect and mount the correct init/firmware & config files for the NFC controller on each individual device.

If you think you could help with this I want to hear from you! Even the smallest advice could be what I was missing!
Find me on any TG/Discord/Twitter
@k0mraid3

Help Google Play Book to Pdf?

I bought and downloaded a book to my Google Play Book. But I want to more conveniently search this book on my PC as a pdf file format. Can I do that?

Google Play Books offers its own application and online interface for reading books electronically. However, you may want to look into the possibility of using third-party programs to record your screen or print pages to a PDF file. When I wanted to learn about great depression, I used https://supremestudy.com/essay-examples/great-depression/ for this. Please remember that it is important to respect copyright and use books in accordance with the law and Google Play Books policies. Not everyone just follows through.
Unfortunately, in the case of books purchased and downloaded from Google Play Books, access to the PDF file is usually limited.

Being Hacked

Thank you for all your replies, he has never been my boyfriend, and his fiance' was happily destroying my entire wardrobe as he snuck into my room at night to get my laptop to chip away at gaining admin power, which he did,... I have 2 step verification, but google picks up his activity as well as mine due to him constantly hacking my phones, and I have seen his links that bypass my passwords. I have done the new phone thing once, turns out he was hacking my t mobile account, so I am figuring II am going to have to do the cleanse of all tech items, but any suggestions as to how long I stay off the newly formatted system? Anybody know a really good hacker that needs some work? I do want some justice, and I want these people to not ever do this to somebody else because I am not okay at all, it's been 6 months of this, and 3 months out of the room I rented from him, but I don't dream at all, don't feel any hope, and I have never been this distraught before,... And for so many consecutive days in a row. I don't understand all this effort he is putting into robbing/stalking me when a job would be less hours for more money with no risk??
You sound so much like me at one point a while back. You most likely were being connected to via SOCKS proxy.

KOTLIN : HOW TO MAKE A FRAGMENT VISIBLE PROGRAMATICALLY

MAN, DO I NEED HELP!!

I have a MainActivity.kt along with its related MainActivity.xml.

I also have a Fragment that is a part of the MainActivity and it is consists of a MyFragment.kt and MyFragment.xml.
Within the MyFragment.xml I've specified that the MyFragment is Invisible, which means that wne the app starts and the MainActivity gets laid out, that MyFragment is not visible to the user.

I also have a MakeMyFragmentVisibleButton that's part of the MainActivity which, when clicked, I want to cause the MyFragment to become visible.

I am ASSUMING that while the MyFragment is INvisible no buttons or other controls that might be IN that MyFragmment are effectgivly UN-available to the user. He can't see them, can't interact with them.

BUT when the MakeMyFragmentVisibleButton is clicked by the user I want the MyFragment to become visible and thereby make any controls that might be within the MyFragment become visble and the user can interact with them.

That is how I WANT it to work.

BUT I can't figure out how to cause the MyFragment to become visible. I have succeeded in setting an onClickListener for the Button and it does indeed get called when the user clicks the button. But I haven't figure out WHAT CODE actually must run in order to make the MyFragment VISIBLE.

I looked at dozens of YouTube videos and online documents but they all seem to be written in JAVA. My app is in Kotlin which, unfortunately I have zero experience with (I have 45 years experience as a software engineer but I"m baffled by Kotlin).

So, if someone could PLEASE enlighten me as to what I need to do in Kotlin code to cause a Fragment to become visible (and correspondingly IN-visible) I would really appreciate it.

Help Good Samsung smartphone

As an AI language model, I don't have personal opinions. However, I can provide some information that may help you make a decision.

The Samsung Galaxy A52 5G is a smartphone that offers 5G connectivity, which can provide faster internet speeds if you have access to a 5G network. In terms of performance, it is equipped with a Qualcomm Snapdragon processor (exact model may vary based on the region) and has sufficient power to handle most tasks and apps smoothly.

When it comes to camera quality, the Galaxy A52 5G has a versatile camera setup. It typically includes a main high-resolution camera, an ultra-wide-angle camera for capturing wider scenes, and additional cameras such as a depth sensor or macro lens. This setup allows for a variety of photography options and generally produces good quality images, especially in well-lit conditions.

However, it's important to note that camera quality can be subjective and dependent on individual preferences. It's recommended to read reviews, compare sample photos, and consider your specific photography needs before making a decision.

Ultimately, the "better choice" between smartphones depends on your specific requirements, preferences, and budget. It's a good idea to consider factors such as overall performance, camera quality, software features, battery life, display quality, and any other features that are important to you when making a decision.
but as ai, you provided very little info. its all very vague and does not really help in contribution.

Any YouTube TV Subscribers

Oh, you'll still get your baseball, just different games and teams.
I've been looking at my options. I follow a number of teams and currently have the MLB package. My home team is the Royals. They stink so bad that they will not make ESPN or network. If I didn't have the MLB package, I get all of the Royals games on Bally sports KC through DirecTV. When I drop DTV I'll lose the package and Bally KC. Not only will I lose the majority of my baseball, I'll lose my home team. I suspect that I sound like a spoiled child... because I am. I've had the MLB package for a number of years and have always been able to watch the Royals through cable and then DTV. I'll miss my baseball.

Bally sports is offered by a number of streaming services. I can subscribe after confirming that Bally KC is part of their programming. I can subscribe to a streaming service that offers the MLB package or simply subscribe directly from MLB.com.
All of it is doable but it makes streaming a lesser value. I talked my wife into making the big change so we would pay less. I've got to make that happen or I'm in the dog house. :)

Notification icon

What about modern android notifications such as those from 'permission controller' or 'Android System' which also show icons in the 'app' area? Even the periodic 'GPS searching' icon when something requests location shows under the app area, despite it being a system service.

Heck, violations of this Android 'policy' date back to Cupcake. I don't think even Google claimed there was such a thing as an 'app' and 'system' section of the notification bar. It's always been one cluttered mess and something I still don't like about Android today. (Enough that I use a third-party status bar replacement that overlays over it and is as simple as I like.)

Group MMS Not Sending

I've never used WiFi calling with MMS, because WiFi calling didn't even exist when I last used MMS.

(In the UK many providers continued to treat MMS as a premium service, and charge accordingly, even after SMS had become effectively free. Hence it was never popular, and with WhatsApp, Signal etc being more competent and free MMS usage here just died).

Filter

Back
Top Bottom