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

How to open Class R in new Android Studio?

Hello. In new Android Studio structure of files is different than in lessons and books. I can't find and open class R.In books tells only one file R but I have many R files and can open them only use file explover nautilus (ubuntu). What file is right and how to open it inside dialog window in Android Studio?
Sorry for mistakes in text. I'm not a native speaker.

Attachments

  • 1.png
    1.png
    33.5 KB · Views: 81

send HDMI CEC Command

How to send the HDMI CEC Commands from rooted Android TV Box to connected TV to switch the input sources and also to adjust the volume?

Searched lot of android source code related to TVInputFrameWork Service and Hdmicec Service packages but it not able to integrate inside the App. If we used the sample google TVInputFrame still it throws Permission Error


Someone mentioned feasibility of JNI for HDMI CEC but we can't integrate the JNI with given libcec.h file as specified in it. Can anyone please help with any sample integration for the Android LibCEC integration in the Rooted Android Device.


Tried the Shell command but it was not working


Is there any shell commands to send the HDMI-CEC Command?

Can anyone please share the steps/ clear documentation to send the HDMI-CEC Command .

How To Fix Note9 Opening Things On Its Own?

Hi! So, I've had my Note9 for I'd say almost a year and just a few months ago I've started having this problem.

My Note9 will randomly open and do things. As I'm typing this, Google Assistant keeps popping up at the bottom of my screen and my media volume keeps randomly going up and down even though I'm not touching anything. Also, whenever I go onto YouTube, the video will randomly pause or the phone will go to the next video. It used to randomly open Spotify and play music in the background and randomly skip songs until I uninstalled and reinstalled it. Bixby will also occasionally open on its own every once in a while.

I have antivirus (Lookout and Avast) but neither has detected any virus of some kind. Restarting my phone helps, but only for about a minute or so before it starts having problems again. Any solutions?

Note 5 Low Battery Capacity Reported in Accubattery

Hello everyone,,
I have a second hand note 5 and I tried replacing the battery twice now with OEM replacements from a somewhat reputable business. Both times the initial reported capacity was around 2800mAh and drops quickly from there with additional charge cycles. Both times the battery capacity dropped to sub 2000mAh levels. The second replacement is currently at 1600mAh. Is anyone else having this problem? I read that some phones require you to multiply the reported capacity by 2?

The seller claims that no one else has reported a bad battery so he doesn't think he has a bad batch. The phone battery drains really quickly so I'm inclined to believe the low reported capacity. But I don't have anything to compare it to. Is anyone else having this problem?

The seller is offering a third replacement battery and I'm not sure if I should try this batch of battery a third time. Any suggestions?

Thanks!

Accidentally denied a thrid party app now I can't install it

Hi All,

Ive been trying to install an app that my friend built, just because i was in a rush I accidentally clicked ok instead of proceed to install anyway and now anytime I try to reinstall it it just says install failed. I've tried everything it seems and I can't figure it out does anyone have some ideas, thanks.

Device is a Google Pixel 3
Operating system: Android Version 9

(REQUEST THREAD)-REQUEST YOUR DEVICE FOR GAMERROM OS HERE!

This thread is a dedicated thread to assist users to have GamerROM OS the worlds leading in innovation Gaming OS built by a gamer for gamers.

Their are requirements in order to request a port to a device you choose below are tge requirements.

Requirments:

• A device that is supported by LineageOS or CyanogenMod OS we strictly build our OS through the Source codes without them i cannot port my OS to your device check https://download.lineageos.org to see if your device is supported if none are officially supported by LineageOS then you do not meet this requirement.

• A device that has the TWRP, Support v3.0.0.0+ our roms have issues with CWM because it cannot read how our security mesures work and cannot safely flash and may brick your device, depending on the os you may need TWRP v3.2.3.0 in order to flash CM15.1+.


• (Optional) a strong developer support such as unofficial ports just point me to the threads and must be from Lineage or CyanogenMod not custom builds for example CarbonROM etc.


If you meet these requirements then you may request a port.

Below are what we need from YOU to be abke to port our OS to your device, be specific and do not share your IMEI nor your S/N on this thread.

Instructions:

Here's what we need!...

• Name of your phone (for ex: Motorola Nexus 6)

• Carrier (for ex: T-Mobile, AT&T etc)

• Model (for ex: SM-G930T)

• Device Codename (for ex: Nexus 6 codename is shamu & Samsung GALAXY S4's codename is jflte)


We will note your device and will inform you if a port for your device is being created!

E-Bikes

Anyone have any experience with or own an e-bike? I'm seriously considering buying one and looking for input. I was an avid rider years ago but hung up my helmet with time limiting the sport/recreation. Nearing retirement now it's becoming attractive once again. I'm not certain I have the legs to throw at the adventure at my age so the electric assisted bikes look very interesting as well as exciting. My son just bought one for himself and his wife and expect shipment next week. At least I'll have the opportunity to try one. There is no local dealer to shop and it's a great investment without having some hands on. Any input from this respected group would be appreciated.

Menu is inflated at the bottom of the screen

Hello, I am having a problem rendering the menu below the ImageButton. i'm using a .NoActionBar theme and i have my own TextView and ImageButton as my "actionbar" but the thing is that when i click on the ImageButton, the menu is inflated at the bottom of the screen and not on top (below the ImageButton).

I've tried setting the item android:showAsAction="always" but doesn't work.

Clean stove drip pans

Yeah, they're really bad. I guess they've been neglected for a long time. I tried baking soda plus dish detergent, which helped a little. Then I decided to go for the big game with ammonia inside a plastic gallon bag, tightly sealed and left for almost 24 hours. It did somewhat better but still not enough. What should I use next?

Apps How to create a service similar to the Whatsapp one

Hi guys, I am new on Android developing.
I am developing a sort of IM service similar to whatapp just for fun.
I want to have a service in background to query the server and retrieve messages from it, but I have some problems with JobService.
Yeah, I've read that the old BackgroundService doesn't work anymore on newer version of Android and it's substitute is the JobScheduler system service.
Now, I wonder how Whatsapp does to retrieve messages in background approximately in realtime.
How can I create a JobService executed each second?

I am waiting for answers!
Thanks in advance!

P.S. I tried setPeriod() but since Nougat it doesn't work well anymore, so the suggested workaround is to use setMinimumLatency(), however it doesn't exactly repeat in the time speciefied and I wonder why this...

Gm8go

************************************
Xposed Framework installer zip
************************************
- Mounting /system and /vendor read-write
- Checking environment
Xposed version: 90-beta3
Android version: 8.1 / SDK27
Platform: arm
- Placing files
cp: can't create '/system/xposed.prop': Read-only file system
1 hatası oluştu

Phone corrupting photos after i take them

The phone is "processing" pictures I take and then deleting them. I will take a pic and go to look at it but then it will say in the bottom left corner "processing" and just disappear... I have removed my sd card to rule out that it was in any way the problem and it's still happening with every other photo I take with the phone. I have plugged in my phone to my computer and deleted the whole folder to see if that did anything and I'm still having the same problem. I have a feeling that my internal memory is failing... is there any way to fix this? (EDIT) also, I have plenty of space left on both the device and sd card...

Attachments

  • droid help.PNG
    droid help.PNG
    135.6 KB · Views: 333

Filter

Back
Top Bottom