Questions tagged [package-name]

An Android project package name that uniquely identifies an app.

165 questions
0
votes
0 answers

appPackageName returning null even when AppObject is not null

I am a brand new app developer creating a launcher app using Kotlin. I am running the following code in order to launch apps from the app drawer I've made: class AppAdapter(context:Context, appList:List):BaseAdapter() { private val…
0
votes
0 answers

Is there a way to change the package name after I uploaded my apk for closed testing?

I uploaded my apk to the google play console and made a test track and released on this test track. But our client wants have their own developer account and release it on that account. Since the app is alread released with a packagename I was…
anonymous-dev
  • 2,897
  • 9
  • 48
  • 112
0
votes
1 answer

Test Android in-app purchases with multiple applicationId flavors?

The app I'm working on needs to have 3 variants (dev, QA, live) each with different application IDs, so testers can have multiple variants simultaneously installed. I implemented the above using flavors, but now the dev and QA builds no longer…
0
votes
2 answers

Redirect to specific url if page viewed from android by detecting it's package name from website (html or javascript)?

Is it possible Redirect to specific url if page viewed from android by detecting it's package name (or another identificator information) from website (html or javascript)?
0
votes
2 answers

how to set a package name without Website?

I've recently started creating an app for Android. but i do not have a Website. how to get Package name. Can i make it com.example.(app name) ? and how to know if it is available or not ?
Mohamed Hassan
  • 191
  • 2
  • 12
0
votes
0 answers

Class name doesn't reside within package name (from AccessibilityEvent)

I am working on an android service that tracks window state changes on a device. Each event is logged, including the reported package name and class name that triggered the event. I noticed that some events have a className that doesn't reside…
0
votes
3 answers

How to Invoke or call one app from another app in Android?

I want to invoke one application from another application. My Java file code: Intent intent = new Intent(Intent.ACTION_RUN); intent.setComponent(new ComponentName("Package name", "class name")); startActivity(intent); But I'm getting problem in…
akki
  • 405
  • 1
  • 6
  • 13
0
votes
1 answer

Changing android package name throughout the Manifest file

My project name contains ".", so the package name is not really valid since it was "P.C.P.P.C.P" (my project name is "P.C.P"). I edited it in the AndroidManifest.xml and it works pretty well- the pakcage name is now valid and the app runs perfectly…
Daniel Reyhanian
  • 579
  • 4
  • 26
0
votes
1 answer

Scalafmt package name checker

I have found a nice rule in scalariform that checks the package names and is as follows:
Kratos
  • 1,064
  • 4
  • 20
  • 39
0
votes
1 answer

Error type 3 Error: Activity class {com.myapp/com.myapp.MainActivity} does not exist

when i run react-native run-android i get this error, i was installing react-native firebase I did all configuration to get this to work and just at the end it seems to be a package name error. The thing is that I already checked the files : -…
0
votes
1 answer

this.packagename not working in Android Studio?

I wanted to add rate us button to Android app.So I added below code.but "getPackageName" colored in RED.I deleted "this".Then it's OK.Why is that? Is it effect to my code...? Button ratebutton = (Button) findViewById(R.id.ratebutton); …
Mr.Soft
  • 143
  • 2
  • 14
0
votes
1 answer

Is it possible to update app in Samsung Galaxy App Store to consolidate multiple build flavors?

I currently build two flavors of my app: AppAndroid.apk --> Available on Google Play store AppSamsung.apk --> Available on the Samsung Galaxy store I am looking to consolidate the two apks into just one and have a few questions: What happens if I…
0
votes
1 answer

Get list of all social media application installed in phone?

I am developing an application which lists all application installed in users mobile. I retrieved all applications and I listed it in RecyclerView. Now I want to separate Social Media applications from that list for some other purposes. Is there any…
Jayesh M
  • 139
  • 12
0
votes
0 answers

"Application not installed on your phone" when accessing activity using product flavors. Any Advice?

My gradle has: defaultConfig { targetSdkVersion 26 applicationId 'com.company.appname' } buildTypes { debug { minifyEnabled false useProguard false proguardFiles…
0
votes
0 answers

Getting Application info from name

I am trying to put all installed program list into a Spinner. It shows only packageInfo.packageName, but selected item should show packageInfo.sourceDir ,MD5 and SHA1 checksum on TextView below spinner. As I understand this lines stores information…