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

Drop box.

While downloading an hour long videos via dropbox to my moto, Somehow they dissapear and give me the broken image of video, I am going to stop doing that and just have like half hour videos too, but it was for incase of an emergencies as well. Ontop of that, well I almost fear that dropbox will even over power cloud, I am just wondering if I could send my files to my drive accounts, and just like have my notes on there more.

But I am not looking for just space itself either, I have around 900 Terabites of notes, mostly on facebook and also on my blog too. I am a serious writer too. So my original thought was when download an hour long video, why does it show up a blank image ? Is it because of CCleaner?

BubbleDraws problems

Hello, I tried a tutorial: Learn Java Like a Kid Build Fun Desktop and Mobile Apps
And I have problems with Android Studio.
Indeed what I have done is only create a class BubbleView:
But I don't know what I have to do with the xml files...
thanks

Code:
import...

public class  BubbleView extends ImageView implements View.OnTouchListener {
    private ArrayList<Bubble> bubbleList;
    private final int DELAY = 16;
    private Paint myPaint = new Paint();
    private Handler h;

    public BubbleView(Context context, AttributeSet attrs) {
        super(context, attrs);
        bubbleList = new ArrayList<Bubble>();
        myPaint.setColor(BLACK);
        h = new Handler();
        this.setOnTouchListener(this);
    }

    private class Bubble {
        public int x;
        public int y;
        public int size;
        public int color;
        public int xspeed;
        public int yspeed;
        private final int MAX_SPEED = 5;

        public Bubble(int newX, int newY, int newSize) {
            x = newX;
            y = newY;
            size = newSize;
            color = Color.argb((int) (Math.random() * 256),
                    (int) (Math.random() * 256),
                    (int) (Math.random() * 256),
                    (int) (Math.random() * 256));
            xspeed = (int) (Math.random() * MAX_SPEED * 2 - MAX_SPEED);
            yspeed = (int) (Math.random() * MAX_SPEED * 2 - MAX_SPEED);
            if (xspeed == 0 && yspeed == 0) {
                xspeed = 1;
                yspeed = 1;
            }
        }

        public void update() {
            x += xspeed;
            y += yspeed;
            if (x < 0 || x > getWidth())
                xspeed = -1 * xspeed;
            if (y < 0 || y > getHeight())
                yspeed = -yspeed;
        }
    }

    protected void onDraw(Canvas c) {
        for (int x = 0; x < 100; x++)
            for (Bubble bubble : bubbleList) {
                myPaint.setColor(bubble.color);
                c.drawOval(bubble.x - bubble.size / 2, bubble.y - bubble.size / 2,
                        bubble.x + bubble.size / 2, bubble.y + bubble.size / 2, myPaint);

            }
        h.postDelayed(r, DELAY);
    }

    private Runnable r = new Runnable() {
        public void run() {
            //update burbujas
            for (Bubble bubble : bubbleList)
                bubble.update();
            //dibuja
            invalidate();
        }
    };

    public boolean onTouch(View v, MotionEvent event) {
        bubbleList.add(new Bubble((int) event.getX(),
                (int) event.getY(),
                (int) (Math.random() * 50 + 50)));
        return true;
    }
}

Apps Filtering List for Recycler View

Hello Everyone,

I am attempting to write a course scheduling app as an assignment. I am writing in Java and using a Room database. It's intended as a build-your-own schedule tool.

Basically, I have Terms, Courses, and Assessments. A term has its own courses, a course has its own assessments. All objects are created ad hoc based on the user's needs, so there are no established lists of objects aside from sample data I have provided in the database.

I am using a recycler view to display the courses in a Term details activity, but I haven't been able to figure out how to specifically display courses by Term instead of the full list of Courses. As of now, both sample Terms are displaying the full list of courses in their respective recycler views.

What would be a good way to go about filtering my course list by Term id?

This is how I am populating my Term's course list recycler view, and I know this is incorrect for what I am trying to do, but I am getting confused by the DOA, Repository, CourseViewModel, Database cycle. I have attempted to solve the problem from multiple levels and keep getting into Catch-22 type situations.


Java:
courseRecyclerView = findViewById(R.id.course_recycler);         
                    adapter = new CourseListAdapter(TermDetailsActivity.this);
                              courseRecyclerView.setLayoutManager(new LinearLayoutManager(TermDetailsActivity.this));
                    courseRecyclerView.setAdapter(adapter);
                    adapter.setCourses(allCourseList);
                    mCourseViewModel = ViewModelProviders.of(TermDetailsActivity.this).get(CourseViewModel.class);                  mCourseViewModel.getAllCourses().observe(TermDetailsActivity.this, new Observer<List<Course>>() {
                        @Override
                        public void onChanged(@Nullable final List<Course> courses) {
                           
                            adapter.setCourses(courses);
});

Sincerely,
Andrew

ONN tablets, behaving differently

Bought the ONN 10.1", liked it alot so bought the 8" as well. Both show to uname -a 'Linux localhost 4.9.117 #1 SMP PREEMPT, then different dates, then armv81.

On the 10.1" to close a program I touch the square and running apps appear and have an X in the upper left that closes the app.

On the 8" the apps appear, on on the screen to be scrolled to the side and do not have an X to close the app. I can swipe the app window to the top to close, so that works, but I would prefer to have consistent behavior on both devices..

Update says they're both up to date.

BOOTLOADER PROBLEM

Hi guys, my GOOGLE PIXELS XL has been stuck on infinite boot loop for a week or two now. i have researched on various solutions and has gotten a lot, unluckily for my i am not able to do any because my phone will not even come on access user data for a start.
i discovered i can flash the phone with SP FLASH TOOL, but that would require a SCATTER FILE which i cannot generate too, due to the phones current condition.
pls guys, i need someone who uses GOOGLE PIXELS XL to generate the scatter file for me or has the SCATTER FILE for the phone to either mail it to me @ (**mod removed email due to spambots seeing it :) ) or mail where i can get it or recommend other solutions.

N/B; ONLY FOR GOOGLE PIXELS XL users.
thanks

  • Poll Poll
Help I/We(?) have been cheated!(?)

Did you find that your Samsung product had the incorrect motherboard in it?

  • Yeah, I couldn't believe it!

    Votes: 1 100.0%
  • Nope, you're crazy buddy.

    Votes: 0 0.0%

Something does not seem right! I had purchased a Galaxy S7 Edge (SM-G935V) when they first came out. She had it about 6 months before she washed it in the washer (how many phones she has gone through is another thread). At any rate, I kept it and recently I decided to see if I could switch out the motherboard to keep it running. WELL, I opened the S7 to start the work and when I got to the motherboard, I found that it has a SM-G928V motherboard :| .... that's a motherboard for a Samsung Galaxy S6 Edge.

WHAT THE SNAPS???

I reached out to Samsung support and received a couple of pithy responses from their support (see attachment).

ACTION ITEM: If you have an old galaxy phone you're not using, take a look. I would suggest videotaping the work you do. Not sure if this was localized to a specific store, a region or if it's widespread. ALSO, it could have just been Verizon phones .... I don't know.

Help me out and let me know what you find. Keep in mind ... I still love Samsung products (in spite of a couple knucklehead social media support guys) and Verizon. Well, at least until I know if they've been jacking around with people.

Nexus 6 Vs Nexus 6P-Witch Is Better?

So this thread is going to discuss eitch is better and witxh is better for you to buy overall based on your preferences.

So we are going to discuss pros and cons of both and i own both devices so i can accurately tell you what these are so lets get started!

Nexus 6 (shamu):

Pros:

• Display is big so you'll find playing or viewing apps is quite pleasing to view even if you have big fingers.

• Has 3GB of DDR4 RAM (1GB IN USE OF OS)

• Storage can go up to 64GB or higher depending in the model (mine is 32GB).

• Huge battey capacity 3000MAh

• Highly Supported in the development community so you will find all kinds of ROMS to install and is officially supported by LineageOS up to LineageOS 16.0+.

• Dual front facing speakers.

• Fast Charging Supported.

• Specs: Qualcomm Snapdragon 810 2.67GHz 4 Core CPU with a Qualcomm Adreno 420 600MHz GPU using a 32-Bit Arch armeabi-v7a,armeabi.

• Decent Camera but a little outdated for its time, but still a good camera.

• Audio jack is in a perfect place insead of being in the bottom it's placed on the top middle of the device.

• Supports USB OTG devices such as external storage etc.

• Supports Wireless Fast Charging.

• Official TWRP Supported.

• Bootloader is easy to unlock and no security notice on every boot.

• Support USB Type-A Micro USB Input

Cons:

• Battery Life isn't the best as their is a faulty with the battery this is normal for the stock battery and when the device hits below 50% or even lower than 50% the device will randomly shutdown and assume the battery is dead, can be replaced but this is a faulty that google has not addressed and will never address at all!

• USB Type-A Micro USB port is open to break due to it's lack of support to keep it from breaking (this hasn't happend to me yet but experienced devices with the same USB tyoe as this device has).

• Dual Audio speakers do sound great but they do tend to flexuate from time to time and can last up to 15 to 25 seconds each time it happens this can be patched via software to an extent to help but this is more of a hardware issue then a software issue, this also affects calls because the other user on the other end can hear echos, but this can be patched via software end.

• This device is running a 32-Bit arch and runs great but unfortunately you lose the ability to use Vulkan OpenGL witch some newer games require to run, but isn't a deal breaker.

• Touch Screen is slighty too sensitive this causes small issues so when you scroll down on a page or in a app sometimes you will accidentally select an option you didn't want.

• No removable battery so it's a slight challenge to replace the components within your device without the proper tools and knowledge.

• No sdcard support so you wont be able to add additional storage.

• USB to HDMI output is NOT supported, unlike other devices MHL USB to HDMI is not supported.

• If your staying in stock OS this device is bloated with google stock apps and cannot be unistalled, and no new security patches are not being relased to this device.

• Device cannot view video content beyond 1080p but can render videos in software up to 4k but is not viewable within your device unless you upload it to youtube etc.

Nexus 6P (angler):

Pros:

• Great build quality feels similar to an iphone.

• Dual Audio Speakers that sounds better and works better then the OG Nexus 6.

• Great battery life (can lsst up to 5 to 8hrs depending on how you use it, it can last even longer).

• Audio Jack is on the top of the device witch is a good thing.

• Supports USB Type-C Connection.

• Specs: Qualcomm Snapdragon 820 2.67GHz 8 Core CPU with a Qualcomm Adreno 430 600MHz GPU ruuning on a 64-Bit arch arm64-v8a,armeabi-v8a.

• 3GB of DDR4 RAM.

• Storage can come in up to 64GB (mine is the 64GB model).

• Has a dedicated Fingerprint sensor on the back witch the OG Nexus 6 did not have.

• Has bigger capacity then the OG Nexus 6 3220MAh

• Decently sized display and more better resolution then the OG Nexus 6.

• Really amazing camera(s) that is an improvement from the OG Nexus 6.

• Less bloatware on the stock OS and apps are uninstallable!

• Officially Supported By LineageOS up to 15.1 (their are ither sources to get a higher version on LineageOS but is unofficially supported).

• Has decent development community you can find alot of ROMS for this device.

• Officially Supported By: TWRP

• Bootloader is fairly easy to unlock.

• Support USB OTG devices such as external usb drives etc.

• The device has a rating of IP68 water resistance.

• Device supports OpenGL Vulkan Support and runs games and apps requiring it very well.

• Fast Charging Supported.

• Touch Sensitivity is better then the OG Nexus 6.

Cons:

• No Wireless Fast Charging Supported (means you can not fast charge this device with anykind of wireless charging accessory).

• No MHL USB to HDMI output support.

• No removable battery.

• No sdcard support this means you cannot add additional storage.

• Device cannot view video content beyond 1080p but can renders videos in software up to 4k but is not viewable within your device unless you upload it to youtube etc.

• Battery slightly decreases a bit faster due to the 8 Core CPU but i love it still.

• After unlocking the bootloader you will receive a notic about notifying you to relock the bootloader to check for corruption this is normal and does go away after a few seconds but can annoy you if your not used to it!

İnstagram Private Api - Advice

Hello my friend,

I need to make an application that pulls user shares using instagram private api.
I will make the project mobile application using android studio.

Github stands on "charlieAndroidDev / Instagram4Andorid", "dilame / instagram-private-api", the most used is "mgp25 / Instagram-API" with php, but I'll develop mobile application with java-kotlin on android studio.

I'm a bit novice, but I love everyone on this forum and they help me. good that you are. Can you give suggestions on which api you can use or from someone else. and android studio with sample application, if the document would be very nice.

I'm sorry for my bad English, I hope it's a clear explanation.

Thank you and have nice work.

Automatic acknowledge

Hi,
Here is my typical request. I provide on-call technical support during non-business hours in my organization. We have pager duty configured which gives a automated call to my mobile number whenever there is a critical alert triggered in the monitoring tool. I have to receive the call, press 4 to acknowledge.

The problem is, we get flood of such calls. So, is there a way to automatically pick and press 4 to acknowledge the call without my intervention? any app which does this function?



Thanks,

Umesh.S.K

Why Won't Google Maps Display A Map?

My Aspera Jazz won't display maps on Google maps when I click the google maps icon.

It goes to a google maps page and says it is downloading maps but gets halfway there and reckons I should check the internet connection.

It never, ever, completes the job.

But meanwhile if I use Firefox and go to google maps from there everything runs perfectly.

How do I deal with this, is there a way?

How To Know What Apps Are Running?

I am new to smartphones and don't understand them very well.

Mine is an Aspera Jazz and seems to run very slowly.

Coming from a pc I'm puzzled by not being able to close things when I've used them and I read somewhere that they remain running in the background.

Perhaps that's why it's slow.

But I can't find how to see what apps are running.

All I found is running services and they don't seem to amount to much. They are, right now:

Bluetooth share
Google Services
Google Services
Google Play Services
Google
Messages
Smartcard Service
Gmail
Youtube
Gboard

Should I/ Could I close down any of those?

What's the best way to deal with this whole apps thing?

Keyboard navigation using code

Let say for some reason I have gotten a code where the main activity will present a dialog to allow the user to confirm exit or just cancel, I would like to implement that the user can use the arrow key to move left and right or rotate back to the two buttons ( cancel or ok ), how do I do it in code ?
I found many solutions using the XML method where the view will have the android:nextFocusRight="@+id/button2". But how could this be done programmatically ?

Thank you very much.

Filter

Back
Top Bottom