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

How to access one onclick method for 2 buttons which are in two different activities?

Hi guys can anyone please clear my doubt. i have 2 activities. activity 1 and activity 2. and each activity has a button. Now my doubt is i want to access a onclick method written for button which is in activity 1 for the button which is in activity 2. in the whole i want to access same onclick method for two buttons which are in two different activities. how can we do that?

2 GWifi question

My phone has been acting crazy for a while now and I have had my bank account fraudulent used as well as my credit card. Been locked out of all my accounts and so much more. I've just now had the time to Google 2g spectrum wifi.... Ok .. so my phone prompts me for open wifi regularly even though I have set it not to. I can't disable the 2g3g settings so my guess is that my roommate is taking advantage of the free 30 minutes of wifi use that spectrum offers many many times and somehow connecting my phone to it??? Many times a day I happen to catch that my wifi and Bluetooth are on when I've not turned them on and their not supposed to be scanning for them. Any thoughts

[Ad-Free] [APP] Bat Messenger – A New Secure Messenger

Hi everyone,
Bat Messenger is a free secure messaging app. It is available in Google play now. Signing up for it is totally anonymous. Except all of the basic messaging tools users are going to need, including sending text, audio & video messages, photos, files, group chats, and audio & video calls, it provides powerful features to protect privacy.
Download Link: Google play
Key Features

√ Anonymous: BAT account won’t link your phone number and email.

√ Retract all: Retract messages without a time limit.

√ Temporary chat: Chat with people without being added as friends

√ Anonymous chat: Hide your identity and speak freely

√ Confidential code: Enter right code to view messages

√ Destroy password: Protect your account in case of emergency

√ Lock screen password: Enter right password to use

√ Proxy: Improve the using speed of BAT

√ No ads: Free of advertisement

√ Support Touch ID

√ Clear message history automatically

√ Screenshot alert

√ Hide online status
8669fee3d5de03d661bb9b338fd1461e.png
085bd9166041faa135cb5fa8a8231e76.png
5e55d372edd803c33bc57aea23b9c496.png

Please leave your comment or request in this thread directly. I will visit and reply regularly.
Also you can send any suggestion to my support email: support@batmessenger.com
Thanks for your support! Enjoy it!

honor 5x restarting and battery goes to 2%

Hi! I have a Huawei honor 5x in good quality it is about 4.5 years in use and barely scratched. I have installed many apps(<150) (all from play store) in its lifetime and some got me a few popups in the main screen lately. (uninstalled previously before pop-ups appeared) and I was able to find the app and uninstall it and the popups stopped.there is a small chance that someone that I know might have intentionally installed a virus.
the symptoms are random restarts throughout the day and after restart battery drops to 2% and goes to 0% (shutdown) in 30 seconds. battery life has gone down by almost around 60%(100% to 0% without restarts around 2.5 hours with little use) and phone by itself has turned extremely slow. (no duplicate files or anything suspicious)(no suspicious apps)
I have not tried to factory reset it yet but I think it might be a trojan virus in the firmware of the device.


any help appreciated.
thanks.

Map search bar closes

I'm trying to get a simple map working, with a search bar to look up a location. It is mostly working, but whenever I open the search bar, it closes on its own after a couple seconds, or immediately when I input anything.

I have searched all over - found several answers on SO addressing this, and I've tried applying all of the solutions offered. So far, I have had no luck.

At one point I got an error message (bad API key, fixed it) referencing Google Maps Android API v2 - but I don't see that anywhere in the API browser in my developer console. I have "Maps SDK for Android", "Directions API', and "Places API" enabled.

From what I've been reading, I think it's related to the API but I don't know what to try next. Any suggestions?

I have
Code:
<meta-data
    android:name="com.google.android.geo.API_KEY"
    android:value="<key>" />
in the <application> section of the manifest, and
Code:
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.android.gms:play-services-locatoin:16.0.0'
implementation 'com.google.android.gms:play-services-places:16-0-0'
in build.gradle

Fingerprint Scan

Why not have a sensor on the bottom right screen for unlocking the phone as well? It will make it to where if some one breaks their screen, or if the sensor in the back gets damaged, they can still unlock the phone from the front. It works all around for damages done to phone's just in case people still need to get in and find information, unbind google accounts, transfer information to a new device, etc. I believe it to be a pretty good idea if it's placed near the bottom right of the screwn or even near the top right seeing as there is space for one there as well.

Kiosk Manager

Hello,

two years ago I announced ZigZag React here now I would like to introduce a new, smaller Project called "Kiosk Manager". A game simulating a City Kiosk.

Play Store Link

Youtube Video!



Manage you own small town Kiosk!

Enjoy the experience to manage your own small Kiosk in this exciting brand new game.

You have to watch carefully for the weather and upcoming events so you can sell the right products. Upgrade your Kiosk so more people will be attracted. Manage your stock and set the prices to sell as much Burgers, Coke, Fries and much more. Enjoy watching many different people visiting your Kiosk!

Top features:

  • Buy and sell many different products
  • Uprage your Kisok
  • See everything live in stunning 3D graphics
  • 12 challenging levels
  • Changing weather and great town events
  • Unique Kiosk simulation
Be the top KIOSK MANAGER in town!

  • Locked
Mods Modify android app to import picture instead of taking it...

Hi to everybody, I have a quite special question today : any of you guys knows how to modify an android app to replace the cam source (= realtime transmission from the phone cam) by a static picture, from gallery, or file explorer by example. And I want to do that even if the photo has normally to be taken directly inside of the app...
I want this app to be modified : N26 bank app. Because we have to verify identity with in-app picture to open an account for a friend, who is in this moment abroad, and he can't do it by himself, because there's no N26 app in his country (= not in play store, and not working when trying to install it from apk...etc.), so I have to photography his identity proofs, and cannot import their picture from gallery for example.
I think I could modify the N26 apk, once I've decompiled it, in Android Studio, or anything like this... but I really don't know how to do this, because I don't code at all. So any of you there could help, teach me how to replace N26 in-app cam to capture our documents by a simple "Complete action using..." interface or something like that..?
Thanks a lot !
Bye

Fb22

Contact Apps

Andoid Ver 8.1.0

Problem: I have two apps called Contacts with almost identical icons (blue person outline). One is Google LLC v.3.5.7.24363481 which I believe is legit. The other one has version 1.7.21, it takes 5.01MB and can not be removed. What is it? I have disabled all permissions of the later application and all works fine, but I am concerned.

Attachments

  • Screenshot_20190515-103357.png
    Screenshot_20190515-103357.png
    173.5 KB · Views: 119

Rescue maybe worth it

I'm considering buying a 256 gb Sandisk sd card from Amazon. They're promoting something called Rescue, a 3 year data recovery plan for flash memory devices. I assume that includes sd cards. The price is $5.99. Should I go for it? It says that if the device fails they'll recover the data and send them on "a new piece of external storage media". If it doesn't work there's that money back guarantee.

Captive portal issues

I have a captive portal Wi-Fi that I am having issues with since the update 2 days ago. When I click on the 'sign in to WiFi' my page gets stuck on the connectivity.gstatic.com. page. normally it would open a login page to sign in. I have tried multiple other browsers. Clearing cache, storage etc., Restarting network connections. Could someone please assist?

Adding an unlisted system language?

My phone currently has a very limited set of languages available(Asiatic ones) in the Language and Input menu and I was looking to change it to Portuguese.

I have tried using apps like Locale & Language or Language Enabler, however they never seem to fully translate the entirety of the phone's menus and whatnot(actually, barely anything gets translated at all...).

I've read that I could flash a European ROM into the phone in order to properly change the system's language to Portuguese, however I was wondering if anyone knows any alternative to this? And also, could there be any conflict in the phone for flashing a different region ROM? I'm uneasy about it as I've never flashed android ROMs before and would rather minimize any risk of messing up.

android.uid.phone high wifi usage

Hello there!

I have a Huawei P20 Pro, and recently - 4 days ago - I noticed that android.uid.phone began to use a massive data on wifi, not on mobile data though. I have been looking around on the internet, however I did not find any solution yet. I tried scanning with anti-virus apps, however nothing was found, tried restarting the phone, and leaving it off for a while, then turning it back on, nothing worked.

Here is a pic about it:
K87i8Kb.jpg


I hope you can help me!

Thanks in advance!

Biometrics

Hi Guys,

Imagine I want to create an app that will use biometrics from the mobile phone.
I want to use the sensor in the way it registers multiple records in my app. From functional perspective it's like the registry - you log in to app, you have "your team" and you need to register their fingerprints.

Is BiometricPrompt API capable of doing it? Or it only serves to authenticate one user that the device belongs to?

If the answer is not in my favour, do you have any other ideas?

Doesn't turn on

Hello i have a problem with my Samsung Galaxy S6 Edge. My phone doesn't open, i press the power button and it just Samung... in a blue with black screen. After this i try it with Power + Home + Volume down button and switches me to a page WARNING A custon OS can cause problems..... and press Volume Up: Continue or Volume Down: Cancel (restat phone). I try it volume down fist and nothing, i try volume up and switches me to an another page Downloadin (Do not turn off target) but again nothing.
Plese help me, have any way to recover the photos?

Attachments

  • Photo 1.jpg
    Photo 1.jpg
    49.3 KB · Views: 319
  • Photo 2.jpg
    Photo 2.jpg
    27.9 KB · Views: 263
  • Photo 3.jpg
    Photo 3.jpg
    34.7 KB · Views: 251

Filter

Back
Top Bottom