Hi,
I have updated my app for target sdk 34 and min sdk 24
my app has got 4 tabs and the first and main tab is a google maps which displays markers on maps but the app works fine on simulator and even launched with my phone connected but I uploaded it to google play store but the app...
Hello everyone,
this is my first thread so I hope that this will bring me to a solution.
I recently bought a SMART IR Blaster for my phone that connects via otg port. I'm currently making an app to control every
kind of device of all brands. I installed the app made for this IR and works...
I have an app that will not connect to network. My wife has a working older version of the app so I have copied it and tried to install it but the installation fails. I have tried just clicking to open the file, using adb and Split APK installer without luck. I get a Java error 'cannot open...
Hey all I have been trying to get my remotes volume up/down buttons to register in my app but they never seem to do anything when I press them?
I have tried:
public class CallBroadcastReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {...
I am getting such an error while compiling the application.
When I make a LinearLayout, the error disappears, but when I use a ConstraitLayout, the error appears.
Java Class
Xml
I get this error when I try to convert LinearLayout ConstraintLayout.
I changed the Java Class to...
Hi all!
I've asked this very same in other forums but I had not luck. I want to create a TextView, TextField or similar with an effect in title mentioned.
I am newbie programmer so this is being hard to me. I saw libraries such as CreditsRoll but are all so old and deprecated. I've tried...
I have a system service running on Android which uses BouncyCastle to create a "secp256k1" KeyPair. This is the code:
KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("ECDSA", "BC");
ECGenParameterSpec ecGenParameterSpec = new ECGenParameterSpec("secp256k1");
And before...
Hi,
I would like to use parseUri instead of getIntent(); but parseUri the does not work. What I have to do ?
try {
//Intent intent = getIntent();
Intent intent = (android.content.Intent) parseUri( "android-app://com.example.myapp.MainActivity", 0); //
message...
I am trying to do this very trivial task, but I cannot find any complete instructions on how to do it.
So far, I gathered that
APK is just an archive that files can be added to using aapt add MyApp.apk file1 file2 ...
Or the files must be added to the assets folder
The APK must be less than...
Hi,
I am trying startActivity function on a set of simple images which are placed to a GridView, but I am getting a suspicious error - see below.
Can someone help me where is problem ?
Here is source code (AndroidStudio 2022.1.1 Patch 1, Java)...
SOLVED: The component was an EditText rather than TextView lul
Hi there, some questions about preventing a component from detecting touch from users (like the title). I'm developing an app that has a background rendered with OpenGL that also has a few TextView components layered on top of them...
I am trying to programmatically define objects in one of the activities, so I'm using the ConstraintSet class it Java to do it. However, when I run the application, all of the widgets that I gave constraints to with java go to 0,0 as if they don't have constraints. I've tried looking online but...
I am trying to code a java app for android phones and tablets that takes voice input and converts it to text. It is working but input breaks off at a random time less after than 20 seconds of speech. Is there some kind of settable attribute to make input unlimited?
Thanks,
Arthur
Good morning,
I would appreciate some help with an issue that I have with a code in Java with Android Studio. This work perfectly in Eclipse, but not with android.
This apk consists of saving data from a form to a txt file.
I can't see any error while debugging, but no folder or file is...
Hi,
I want to retrieve the ARFCN (Channel Frequency Number) while the device is connected to a 5G network, which can be of 2 certain types (SA and NSA). The type (NSA) I have problems with (and it is the type which most of the actual 5G networks fall into) uses a 4G LTE network cell as a...
I want to output the speech to traditional chinese but it output to simplify chinese instead. My codes:
Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
RecognizerIntent.LANGUAGE_MODEL_FREE_FORM)...
Before Android 11, I've adjusted my app to fullscreen easily
My old phone had the camera hole and base buttons outside the screen area, my new phone has a camera hole and the base buttons inside a screen.
With few settings, my app was fullscreen in the old phone.
Styles.xml
<style...
If you were to make a to-do list / reminder app with notifications on a specific date/time - How would you make it? (A small step-by-step list would be very helpful) What tools/databases would you use? SQLite, WorkManager, AlarmManager or are there any better/easier ones?
Is it possible to update JSON API when new data is added to the JSON? I tried to use Handler but the problem is that when I run the application the data is duplicated and they are shown up in the recyclerView more and more times as it runs. Here is what I did:
handler.postDelayed( runnable =...
Hi,
Trying to learn to create a keyboard. Wanted to see if there is a way to associate a full word to a keyboard key.
In my example, I'm trying to get the following item:
·e·
I tried the following, but it only inserts the first middle-dot.
Any help is appreciated.
I'm trying to create a custom Android Keyboard, just trying to learn the process.
I've been relatively successful, as I'm just learning the basics for now:
My question is, how can I achieve this effect from the usual keyboard in which I keep a key pressed and a list of more options will pop...
I'm building a custom bluetooth connect/disconnect app and so far I am able to connect my device using the a2dp profile, however when I try to trigger a disconnect, it runs through the disconnect method just fine but the device remains connected. I've tried everything I could find on the web and...
I have a question about using a real phone to run my Android Studio app. I have been working on an app as part of my senior design class and have it working as I want when emulating my device. However, when using my real device (Galaxy S7 Edge) it will crash when I try and run it. I believe this...
Hi,
I am trying to make a keyboard with hexagon shaped keys. I made hexagon shaped Drawable. Can I change the shape of the keyboard key to a hexagon shape or make a keyboard where keys are ImageViewws? I am using Keyboard class.
Best regards,
Leo
Hi all!
I'm developing an App.
Since the App should load many data at start, I decided to add a splash screen.
I followed the instruction on https://medium.com/android-news/the-complete-android-splash-screen-guide-c7db82bce565 (first choice).
The splash screen works perfect on my mobile phone...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.