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

[FREE][GAME]Mastermind (Bulls and cows)

Hi, here
I would like to present my new game. It's a logical game where you need to guess the secret code.

"Mastermind" (or "Bulls and Cows" or "Codebreaker") is a logical game where you need to guess the secret code.
The code is a sequence of colored chips, depending on the settings the secret code can contain 4, 5 or 6 chips. They can be repeated (no more than two chips of the same color for codes with 4 and 5 chips and no more than three chips in the same color for 6 chips codes.)
At each turn, a player tries to guess the color and sequence of chips in the code and receives several hints. The hints can be white (cow) or black (bull):
The white hint means that the color of a chip is correct;
The black hint means that color and the position of some chip are guessed correctly.
The order of the hints does not matter and does not depend on the order of the chips in the code.

This process continues until the player finds the secret code.

Some screenshots:
Screenshot_20191011-122116_Master mind (1).jpg Screenshot_20191011-194942_Master mind.png Screenshot_20191012-081026_Master mind.png

a small video

Download it from GP https://play.google.com/store/apps/details?id=org.xbasoft.master_mind

Have fun and good luck!

Help Tablet stuck on boot animation, cant enter recovery mode

I have an chinese tablet (T691) which is facing this problem.I tried pressing Power + Vol-Up but it would redirect to "Select Boot Mode:" where Recovery, Normal and Fastboot mode are the options. After selecting Recovery mode, the boot loop occurs (same with normal) and only fastboot mode is working. I tried to hard reset it using fastboot but there wasnt any result. Please can anyone solve this problem.

Exception in plugin Android Support

Hi

I'm developing an native android app, using c/c++.
I use cmake to construct my project for android studio.
But when I try to open the project with Android Studio,
It immediately outputs an error like this

```
java.util.UnknownFormatConversionException: Conversion = 'L'
at java.util.Formatter$FormatSpecifier.conversion(Formatter.java:2691)
at java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2720)
at java.util.Formatter.parse(Formatter.java:2560)
at java.util.Formatter.format(Formatter.java:2501)
at java.util.Formatter.format(Formatter.java:2455)
at java.lang.String.format(String.java:2940)
at com.android.tools.idea.log.LogWrapper.warning(LogWrapper.java:82)
at com.android.tools.idea.stats.AnonymizerUtil.anonymizeUtf8(AnonymizerUtil.java:39)
at com.android.tools.idea.stats.UsageTrackerUtils.withProjectId(extensions.kt:59)
at com.android.tools.idea.gradle.project.sync.GradleSyncState.generateSyncEvent(GradleSyncState.java:653)
at com.android.tools.idea.gradle.project.sync.GradleSyncState.logSyncEvent(GradleSyncState.java:626)
at com.android.tools.idea.gradle.project.sync.GradleSyncState.syncStarted(GradleSyncState.java:258)
at com.android.tools.idea.gradle.project.sync.GradleSyncState.syncStarted(GradleSyncState.java:224)
at com.android.tools.idea.gradle.project.sync.GradleSyncInvoker.sync(GradleSyncInvoker.java:238)
at com.android.tools.idea.gradle.project.sync.GradleSyncInvoker.lambda$requestProjectSync$0(GradleSyncInvoker.java:149)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:111)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:120)
at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransactionLater$4(TransactionGuardImpl.java:271)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:757)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:706)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:375)
at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:814)
at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:210)
at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:196)
at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:609)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:454)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:109)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:251)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:205)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadProjectUnderProgress(ProjectManagerImpl.java:450)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:425)
at com.intellij.platform.PlatformProjectOpenProcessor.doOpenProject(PlatformProjectOpenProcessor.java:260)
at com.intellij.ide.RecentProjectsManagerBase.doOpenProject(RecentProjectsManagerBase.java:512)
at com.intellij.ide.RecentProjectsManagerBase.doReopenLastProject(RecentProjectsManagerBase.java:634)
at com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appStarting(RecentProjectsManagerBase.java:692)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:114)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:393)
at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:354)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:343)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:320)
at com.intellij.util.messages.impl.MessageBusImpl.access$100(MessageBusImpl.java:29)
at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:192)
at com.sun.proxy.$Proxy61.appStarting(Unknown Source)
at com.intellij.idea.IdeaApplication$IdeStarter.lambda$main$1(IdeaApplication.java:388)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:111)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:120)
at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:121)
at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:386)
at com.intellij.idea.IdeaApplication.lambda$run$1(IdeaApplication.java:220)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:220)
at com.intellij.idea.IdeaApplication.lambda$initApplication$0(IdeaApplication.java:77)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
```

I tried to do lots of things to fix this one, such as reinstalling Android Studio, rebuilding project, Invalidate Cache and Restart, and so on.

Sometimes, I managed to made it work. But after a few of days from that, It's made an error like above again.

Can Anybody know how to fix, or how to trace this bug on IDE?

Thanks in advance.

"Unfortunately, Internet has stopped"

I have an old Samsung Galaxy Prime phone and every time I open the INTERNET APP a pop up always shows and it says "Unfortunately, Internet has stopped". I've seen people say to delete cache and data, but I want to CONFIRM that this works because I don't want to be loosing all of my bookmarks or important passwords that I have saved on the phone without knowing that they will be lost. Does this method work to stop this pop up? Is there a BETTER method out there because I don't really want to loose all my bookmarks and passwords, but if its the only way, I have to do it.
upload_2019-10-27_20-41-12.png

  • Poll Poll
Help Huawei m865-muve from cricket firmware

Looking for a rom, firmware for cricket huawei m865-muve. All links ive found are dead ends. Only s

  • File name n location please

    Votes: 0 0.0%
  • Any info that may help

    Votes: 0 0.0%

I'm looking for firmware or rom I can use for a Cricket Huawei m865-muve. It only shows ftm mode w red letters on a black screen. I can get it to boot to a Huawei logo screen by holding buttons but just stays there. Also able to boot to recovery screen but will not reset. Wanted to reload but can't find the firmware anywhere. All the links I've found are old dead endsthat don't exist anymore. Does anyone know what file I need to look for. I don't use Cricket but I like the feel of this phone n would like to try and get it working. I have several other phones as well that were given to me or am working on. Just can't seem to locate the file for this or what I may be able to use.

Getting a replacement phone and copying over

My Note 9 screen shattered and I am waiting for my replacement phone. I should get it within a day or two. It will be the same style Note 9.

I have had phones replaced in years past by my insurance but it has been over five years since I have had to do it.

In the past I had to copy all my photos and data files to a hard drive and then copy them back to the new phone. Then I have to make a list of the programs that were install on the bad phone and reinstall them one by one onto the new phone. It was a real pain in the butt to get everything copy over to the new phone and install the same programs to make it identical to the phone I was replacing.

I am hoping that things have change since I last had to replace a phone. Is there any program out there that will copy everything over and make it identical to the phone I am replacing?

Acting weird

I tried to take a screenshot and the phone restarted. When it did, I now get an error message about the sd card being corrupted. And the phone act odd. Even though I have sound alerts (system sounds not on sd sd c) for messages I get no sound. Also I have a notification for on messages showing new text. All text have been seen and I even elected to show all as read. I turned off for notification and the dot stayed. Email is slugish. Suggestions? Also anyway to recover data on micro card before I reformat it?

How and where my device store fingerprint results and matches with my next attempt ?

MAIN QUESTION IS AT BOTTOM



Where my android devices stores scanned fingerprint data and in what format and how it matches with new scanned.



I also know this: :the scan of fingertip is analysed for certain control points and generates a token which is like a password hash.



It generates hash via this:



KeyStore mKeyStore;

String KEY_NAME = UUID.randomUUID().toString();

Cipher mCipher;

mKeyStore = KeyStore.getInstance("AndroidKeyStore");

keyGenerator = KeyGenerator.getInstance(KeyProperties.KEY_ALGORITHM_AES, "AndroidKeyStore");



keyGenerator.init(new

KeyGenParameterSpec.Builder(KEY_NAME,

KeyProperties.PURPOSE_ENCRYPT |

KeyProperties.PURPOSE_DECRYPT)

.setBlockModes(KeyProperties.BLOCK_MODE_CBC)

.setUserAuthenticationRequired(true)

.setEncryptionPaddings(

KeyProperties.ENCRYPTION_PADDING_PKCS7)

.build());

keyGenerator.generateKey();



mCipher = Cipher.getInstance(

KeyProperties.KEY_ALGORITHM_AES + "/"

+ KeyProperties.BLOCK_MODE_CBC + "/"

+ KeyProperties.ENCRYPTION_PADDING_PKCS7);



SecretKey key = (SecretKey) mKeyStore.getKey(KEY_NAME, null);

mCipher.init(Cipher.ENCRYPT_MODE, key);

ALSO

KeyStore ks = KeyStore.getInstance("AndroidKeyStore");

ks.load(null);

KeyStore.Entry entry = ks.getEntry(alias, null);

if (!(entry instanceof PrivateKeyEntry)) {

Log.w(TAG, "Not an instance of a PrivateKeyEntry");

return null;

}



Signature s = Signature.getInstance("SHA256withECDSA");

s.initSign(((PrivateKeyEntry) entry).getPrivateKey());

s.update(data);

byte[] signature = s.sign();

boolean valid = s.verify(signature);



I have used this [URL]https://github.com/googlesamples/android-FingerprintDialog[/URL] but this only provides matching with previously recorded data.



Is editing/extracting or using this hash and storing somewhere else and try to match the newly generated hash with this while storing that security key of android(assuming same for all), is it possible OR ANY OTHERWAY ROUND?

Turning on device security

I am curious about my device being hacked with a idk, clone or spyware problem, and I'm not going to be paranoid but my partner has done it before.
When turning on my device I have noticed that after I enter my lock pin the phone goes on to unlock, but instead of gettin it unlocked it takes me to pin screen again? To re enter my pin? Literally just entered it? I am asked to do this on a pattern or anything that's not biometric.
HERE'S THE ONE THING...IF I START IT UP IN SAFE MODE...THIS DON'T HAPPEN!? I of course lose access to some apps but this isn't the norm...I never had to enter my pin have phone begin unlock and start up to be right back at pin code screen after just doing it? I am embarrassed but not to Savey at all this .I appreciate all feedback. Thanks.

Help Please Help Me With My LG G8 ThinkQ!!!

I chose this phone over Samsung this time because of the the incredible memory that it comes with, but it has features that are really frustrating me and I just can't figure them out or change things. Here is a run-down:


Date and Time:

I can't keep the time on the 24 hour clock. Every time I turn my phone off, it reverts the settings back to the 12 hour clock.

I can't find a way to have the date read DD/MM/YY(YY)


Keyboard Functions:

The predictive text is a joke compared to Samsung's. They give you only 3 words and most of the time the words suggested are a joke and you're pretty much forced to type in each individual word, along with adding a space after each word. The predictive text also doesn't complete words for you if you type a partial word and hit the space bar. Not to mention that a lot of the predictive text doesn't make any sense when typing words. You try typing one word and it gives you a completely different set of word suggestions completely irrelevant to what I'm needing.

Also, each key doesn't provide you with symbols and foreign language letter, it's simply symbols. While it's nice to have the symbols, it's frustrating that the foreign language letters are not provided.

Emojis. What gives? The Emojis on the Galaxy, at least my old Galaxy A5, that FB translates to their own are so much better than what the LG G8 ThinQ has. On the same token, the Emojis for general for the G8 ThinQ for chatting online and within texting are equally as bad.

Is there any way to change all the above to make it feel, look, and function like my beloved features that
my Samsung Galaxy A5 provided?


General Functionality:

I don't understand what the notch at the top is for, but when I try to change it so that it doesn't exist anymore, it keeps reverting to showing the notch again each time I turn my phone off or restart it. How can I get it to function like my Galaxy?


Camera and Gallery:

The gallery is so difficult to use and it keeps sending me to my photo editing apps to do the quick touch-ups that I'd normally do in my Samsung Galaxy gallery such as filters and resizing. How can I make this like the Galaxy?


I'm sure that there will be more that crops up, but this is all for now.

Thank you!!!!

Looking for a cure

Hi all. I have a Pixel 1 phone. I do a lot of voice to text.
Does this sound familiar to anyone? You dictate a text but have the edit the word that's closest to the send button. Try as you might, occasionally your finger lands on the send button instead of the word. Awkward.....especially if the unedited text is in any way embarrassing!
Anyone have a fix for that?
Thanks.
Larry S

Safety in Threes

I just found out about what seems to be a cool little puzzle game, Threes. The idea is to add up numbers to make three and thus clear the board. However, it seems to be asking too many permissions, such as phone identity and messing with the SD card. I don't want that. Is there some way to get around it and simply enjoy the game?

Filter

Back
Top Bottom