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

Uber or Lyft? Etiquette?

Perhaps I'm the only person on Earth who hasn't yet used Uber or Lyft, but there you go. :)

If you're experienced with both, which do you prefer, and why?

If you've only used one, what did/didn't you like about it?

What's proper tipping etiquette? Percentage, like in restaurants; distance, time, something else? Is that all handled online?

It looks like I'm going to have my first go at it soon, and I'd like to be prepared.

Thanks for any input!

links on the homescreen to vdeos on the card.

SM-T510NZSAXAC I am thinking of buying one of these and putting a card in it. then I will put lots of small videos on the card..
question is what is the best way to put links on the homescreen to each of these videos (will take several screens!!)
I used to use Fileshortcut.
thanks all
if this is on the wrong part of the forum i am sure someone will move it. but it is a general question that applies to all android tablets.

Flashing flickering screen

When I use fingerprint to verify my online banking it flickers and Flashes but the background of the banking is white so not sure if that makes it worse. When I don't use the fingerprint and log in using numbers it doesn't flash flicker.

Full disclosure I did drop my phone last week but it's happened since got it. How do I know if this is normal. It only is on my banking app it does it when I'm using fingerprint

Help Sending screenshots in Facebook Messenger

When I try to send an image to a friend or a group-chat in Facebook Messenger, the only recent images available are camera photos. Screenshots and downloaded photographs are missing. Old screenshots are still available.

I'm not sure if this was caused by an Android update or a Messenger update, but it seems like Messenger is no longer looking in the same folder that screenshots are saved in. Does anyone know how to change where screenshots are saved, or where Messenger looks for photos?

I've tried workarounds like directly uploading files rather than photos, but this does not seem to be possible in the Messenger app. It supposedly works if you try to log into Messenger.com in Chrome... but when I do that, it redirects me to the Messenger app.

I'm running Android 10 on a Pixel 2.

Studio suddenly "Cannot find AVD system path"

Hi all.

New to Android development, and I did a forum search on this BTW.

After some Android Studio updates, it suddenly complains

Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT

I've never set an environment variable for this, and was able to run projects just fine. I'm reluctant to set one and have the version be stuck at a hard-coded point.

I should also point out that I'm trying to run on a real phone, not the emulator.

Thanks for any insight.

Thought this news warranted its own thread...


After sitting dormant since 1999, The Far Side‘s webpage was updated suddenly and without warning (which we first learned about at The Daily Cartoonist). It features a new cartoon of an explorer using a blowtorch to melt some of the strip’s most iconic characters from a large block of ice. Below it reads, “Uncommon, unreal, and (soon-to-be) unfrozen. A new online era of The Far Side is coming!”

Not registered on network

I have a Galaxy S5 mini, it has been working fine for months, then I couldn't make and receive calls. it showed several bars of service, but wasn't connected. If I tried to make a call it said 'Not registered on network'

I found one way of making it 'work' was switching to 2G only then it makes and receives calls however data is then limited to 2G, not ideal.

I am on giffgaff network in UK. SIM worked ok in a different phone and connected straight away, so assume it must be a phone problem. Tried factory reset. Tried selecting O2 settings instead of giffgaff. Maybe a hardware issue?

Attached is a screenshot showing several parameters from the Service Mode screen, does that shed any light?

Any help appreciated!

Attachments

  • servicemodescreen.jpg
    servicemodescreen.jpg
    954.8 KB · Views: 259

Motion Event only inside the button view, and unable to be clicked more than once

I have two questions right now:

1) Using the code below this works great to show where the touch event is happening from the user on screen, however whenever the "Auto" button is clicked it only sends a motion event inside of the button view at the dimensions (X: 300, Y: 300) which is technically correct! However, I want it to send the motion event outside of the button's view dimensions.

2) Whenever the "Auto" button is clicked it only appears to send the motion events what looks like twice in quick succession and then the button is unable to be clicked again unless the app is closed and re-started.

Code:
class MainActivity : AppCompatActivity() {

   override fun onCreate(savedInstanceState: Bundle?) { //On creation of the activity this code runs
       super.onCreate(savedInstanceState)
       setContentView(R.layout.activity_main);

       editText.isFocusable = false
       editText.isFocusableInTouchMode = false

       editText2.isFocusable = false
       editText2.isFocusableInTouchMode = false
   }


   private var isTouch = false

   @SuppressLint("SetTextI18n")
   override fun onTouchEvent(event: MotionEvent): Boolean {

       val X = event.x.toInt()
       val Y = event.y.toInt()

       val eventaction = event.action


       editText.setText("X: $X")
       editText2.setText("Y: $Y")
       return true
   }


fun button (view: View) {
   Toast.makeText(this, "AutoClicked", Toast.LENGTH_SHORT).show()
}


fun auto (view: View) {

   // Obtain MotionEvent object
   val downTime = SystemClock.uptimeMillis()
   val eventTime = SystemClock.uptimeMillis() + 100
   val x = 300.0f
   val y = 300.0f
// List of meta states found here:     developer.android.com/reference/android/view/KeyEvent.html#getMetaState()
   val metaState = 0
   val motionEvent = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_DOWN, x, y, metaState)
   val motionEvent2 = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, metaState)


// Dispatch touch event to view
   view.dispatchTouchEvent(motionEvent)
   view.dispatchTouchEvent(motionEvent2)
}

}

I have posted code above and a picture with a quick summary of what happens in the picture linked below.

(1.jpg)

I have seen ideas on how to make a layout that this motion event references, but it doesn't seem to make sense to me for this implementation of code I currently have.

Attachments

  • 1.jpg
    1.jpg
    28.5 KB · Views: 341

Android 10 security updates via play store

So Google have at last seen sense and are pushing security updates to all Android 10 phones via the Play Store. I'm just wondering if it's for 3 years like with Android one phones, or whether Google are mofing to more of a Windows 10 style of support with ongoing security updates and yearly or half yearly 'feature updates'.
It could be part of a 'green initiative' to reduce plastic , along with a reappearance of replaceable batteries..

Reading mmaped buffer in JNI without using fast message queue

Hi Everyone,

I have a device which generate video and audio data.
We have implemented a custom data source for Exoplayer to read the AV data.
Now, we are reading the data from kernel buffer to fast message queue.
Then, we are copying it from FMQ to JNI (java buffer).
This inturn is read in to player's buffer, when the player performs a read.
But, we want to improve it's performance.

We have implemented a mmap interface for the driver from which we get direct access(virtual address) to kernel buffer.
Is there a way to access/copy from mmaped kernel buffer directly to JNI buffer without using FMQ.
I couldn't find any such interface in HIDL implementation site.

Thanks & Regards,
Sooraj

Wakelocks?

I've been especially pleased with the battery life on my V40, untill recently.
Battery stats indicate that "Held Awake" percentages are increasing.
No new apps recently to explain the increase in wakelocks either.

What do I look for to find out what's happening. I had thought I had my settings right.

Did I miss something?

Nova Launcher

This is one of the most popular third party home screens for the Android ecosystem. This brings advanced features to enhance the android devices' home screens. So there you can overhaul your home screens using this launcher. So another thing is this can clean and faster your home launcher because of this a powerful, customizable and versatile home screen replacement for Android devices.

Rhythm Machine App?

i am ISO of an app that lets me create rhythm music to go with jazz chants that I use to teach English. The app must be able to synthesize a stringed bass, snare drum, hihat, and other percussion instruments. I need to be able to record it (remember) and be able to change the speed when I am playing it back. Any suggestions?

Help Setting up Do Not Disturb for a large array of numbers

I will be working night shift on call next weekend. I'd like to just nap throughout the day and perhaps a bit a night without my phone going off at all unless it's from work.
Ideally I would just turn on DND mode and add my works number to the "exceptions' list to ring at full blast.
Unfortunately my work can call from anywhere in the building all with their own different numbers. BUT they all start with the same 6 digits, so is there a way to add a contact to my phone that would be like (123)456-**** which would cover every number from (123)456-0000 to (123)456-9999?
Would be great to just add that as a Do Not Disturb exception. I've added the numbers that do call me to my contacts as they come but there are just too many of them and I don't want to manually add 9,999 numbers to one contact.
Thanks,
-Toph

InstagramApi - Retrofit

Hi friends, I want to develop an application using the following api. When I test api on chrome, json data is returned if any instagram account is logged in. I know how to use retrofit. But there is no access_token section in the url. How do I get the user to login when using these URLs with retrofit? Please help me.

// Returns user information if logged in
https://i.instagram.com/api/v1/users/26352342/info/
// Returns users followed by the user if logged in
https://www.instagram.com/graphql/query/?query_id=17874545323001329&id=26352342&first=20

Filter

Back
Top Bottom