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

Free tablet

Could be a scammer, so be beware.

I found the comment about the 'Indian guy' hilarious, especially in conjunction with your warning.

I had never been online or had a smartphone, nor did I want to.
It was right at the point where cellular companies were forcing the switch from 2G to 3G phones.
So, I had just bought a replacement phone, without knowing of this forced change.
Anyway, as a longtime customer, AT&T has treated me well, and as they do with forced changes like this they offered to send me a compliant device.

But, I was leery of the offer, because I was getting so many fake scam calls that I just figured that the calls and texts were some of the same.

It was always some 'Indian guy', hahaha!

Finally, I got fed up with the aggrevation and reported it multiple times.
They continued anyway, and finally in exasperation I told them what they wanted to hear and told them to send me a free phone.

So, it came in the mail and that began my Android journey.

Even better, I soon found that the phone that I had just purchased was an oddball in that I could put the 3G sim card from the smartphone into it, and it would continue to work anyway.

So, I used the Android as a miniature tablet, and was free to experiment and learn without worry of bricking my cellular device.

I still have that old 2G phone with the 3G sim, and it is now my emergency cellphone.

I also still have a cheap Android that I pulled the sim out and use as a tiny tablet on Wi-Fi.

Blockort 80, http, unencrypted traffic

Non-root firewall apps rely upon a local-only VPN process where online packets get funneled through it. This local VPN is where the filtering is applied. Root-required firewall apps, like AFWall+, don't need any VPN as they have system-level access and can tie directly to iptables, the firewall service that's already integral to the Linux kernel. (non-root apps only have user-level permissions so no access to iptables.)
The issue then is you can only have one VPN service running on your device so you need to pick which suits your needs the best.
Best practice is apps 'should' rely upon https to communicate with their home services online but of course that's not an absolute. Things like user I.D. and password data should be using a secure connection but a lot of traffic (i.e. Google News updating itself on the latest articles to display or whatever) doesn't need to go through https. Even if you were to readily be able to block port 80, it's not like you can then just set each app that does use http to exchange data to not use port 80, that's something that gets set up by the developer of the app itself. All you would do is break the functionality of a lot of apps.

Thanks Svim
Have installed a sniffer, shall remove apps that I don't trust. Its a shame they don't automatically sell phones rooted with appropriate security installed. If I could block port 80 or anything else unencrypted, I would just remove the apps that break.

Updates for Z2 Force

You could always download the firmware and use Fastboot or mfastboot to manually update the device.

Not one to run a challenge, I am very gun-shy regarding puters and phones. I haven't a clue how to do that.This afternoon I read posts on the net from people who ran into trouble doing that. If it is OTA I am good with that. I am concerned that this model originally built for Sprint. I have a Verizon sim. My smallest tool is a 20 lb Stilson wrench.

Galaxy 20 vs Galaxy S20 Plus

Wow, $200 for 1/2" of screen real estate seems steep. That list has a lot of TBAs, so maybe there's more too it. My son (yeah, my 12YO son knows about the S20 phones already) :rolleyes: asked if the S20 was coming with the Samsung Earbuds. Maybe there are other throw ins for the Plus beyond the phone.

With push for next gen sammy buds I would doubt they are free. But wouldn't that be amazing? (not ruling it out)

A lot of talk about the 'time of flight' camera function, though I have no clue what that is. Otherwise, I kinda agree. The S20 is sized same as Pixel XL right? SO I can see a premium for bigger screen and bigger battery. But 200?

[App][Free] Tomato List - Grocery Shopping App

Now all shopping lists are at your fingertips
Tomato List is a grocery list app that helps you save time and keep all the products in one place. It’s a very convenient solution to know exactly what you have to buy from your local supermarket, without using the classic “pen and paper” list. With a large variety of items to choose from, you can quickly find all the products that you need and add them to the list, or you can create your own ones.

Features that we provide
Unlimited number of shopping lists
Items grouped in categories
User-friendly and intuitive interface ✨
Personalize each list with different colors
Support the following languages: English, German, Spanish, Italian, French, Romanian. Many more will be added soon

Create an account using your email address or use the quick registration methods via Google and Facebook accounts.
All your lists will be synced with the cloud, so you can access all your shopping lists from any device using your account.

Play store link: https://play.google.com/store/apps/details?id=com.major.android.shoppinglist
Facebook: https://www.facebook.com/tomatoListApp
Pinterest: https://www.pinterest.com/tomatoList/

Multitasking: Floating Apps, Split View Multiple

Hello, and Welcome to the site

Please read the below before posting any app threads.

This site has a procedure for developers to announce their apps.



Below info for instructions on how to properly post your apps.

http://androidforums.com/threads/how-to-post-app-game-announcements.1128134/

Developer Announcement Procedure
Install the Forum for Android app from Play store from link here >>, https://play.google.com/store/apps/details?id=com.tapatalk.androidforumscom

Sign in to the forum using the app and follow below instructions

Go to the forums tab
Select "My Apps & Games"
Select your app from the list
Tap the green icon in the bottom right to start a new thread
Add a thread title / content and hit the post button (right pointing arrow in the top right of the screen)
Once this is done you can use your PC to create or modify threads in your channel

Once you create the channel using the app, one of us staff members will move your thread to the appropriate channel and or approve your post.

If you have any questions, please reply to this message.

Gd LK with the App, and thanks for joining Android Forums.

Don

Apps Sensors don't gather data when phone is idle

Hi everyone,

I’m trying to develop an app for Android in which I pick up data from several sensors (if available on the device) and write it down to a file which will later be analyzed for certain uses.
I’m facing several problems, a minor one which I can kind of ignore and a major one that I haven’t been able to solve and makes the app not work properly.

- Minor problem

I’m gathering data from: Accelerometer, Linear Accelerometer, Gyroscope and Magnetometer and also from the GPS but that works quite differently and can only be sampled at much lower frequencies, so I’ll ignore it for now.
I gather the data by implementing a listener for each sensor:

Java:
    public class AccelerometerWatcher implements SensorEventListener
    {
        private SensorManager sm;
        private Sensor accelerometer;
 
        AccelerometerWatcher(Context context) {
 
            sm = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE);
 
            assert sm != null;
            if (sm.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) != null) {
                accelerometer = sm.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
            }
        }
    }

And I’m setting the frequency to ~50Hz by using:

Java:
    sm.registerListener(this, accelerometer, SensorManager.SENSOR_DELAY_GAME);

When gathering data, I understand the frequency can’t be 100% stable, but the weird thing is it stays more or less stable on every sensor (at around 50Hz) except on the Accelerometer, where most of the time it samples at 100Hz and sometimes drops down to 50Hz.

Is there something I might be doing wrong or any way to control this? So far it’s happened in every device I tried, although they don’t all behave in exactly the same way.

- Major problem

I’m writing down the info to a file by first writing everything I pick up from the sensors to a string and then every X seconds, writing what’s on the string to a file and clearing it so the sensor listeners can keep on writing on it but it doesn’t become infinitely long.

I write on the string like this:


Java:
     @override
        public void onSensorChanged(SensorEvent event) {
 
            if (event.sensor.getType() != Sensor.TYPE_ACCELEROMETER)
                return;
 
 
                if(initTime == -1)
                    initTime = event.timestamp;
 
                MyConfig.SENSOR_ACCEL_READINGS += ((event.timestamp - initTime) / 1000000L) + MyConfig.DELIMITER + event.values[0] + MyConfig.DELIMITER + event.values[1] + MyConfig.DELIMITER + event.values[2] + "\n";
    }

And then save it to a file using this:

Java:
    public class Utils {
 
        private static Timer timer;
        private static TimerTask timerTask;
 
        public static void startRecording() {
            timer = new Timer();
            timerTask = new TimerTask()
            {
                @override
                public void run()
                {
                    // THIS CODE RUNS EVERY x SECONDS
                    writeDataToFile();
                }
            };
            timer.scheduleAtFixedRate(timerTask, 0, MyConfig.SAVE_TIMER_PERIOD);
        }
 
        public static void stopRecording()
        {
            if(timer != null)
                timer.cancel();
            if(timerTask != null)
                timerTask.cancel();
 
            writeDataToFile();
        }
 
        private static void writeDataToFile()
        {
            String temp_accel = String.copyValueOf(MyConfig.SENSOR_ACCEL_READINGS.toCharArray());
            WriteData.write(MyConfig.RECORDING_FOLDER, MyConfig.FILENAME_ACCEL, temp_accel);
            MyConfig.SENSOR_ACCEL_READINGS = MyConfig.SENSOR_ACCEL_READINGS.replaceFirst(temp_accel, "");
        }

In the listener, every time I stop listening, I set “initTime” to -1 so the samples always start at 0 and go up to the duration of the listening period in miliseconds. (Ignore the DELIMITER it’s just a matter of formatting).

My main app-breaking problem, is the following:

In most phones (a few lucky ones work flawlessly) 1 or 2 things fail.

In some, after being idle for a while (locked and in your pocket for example) the sensors stop recording data so the app just writes blank values until I wake the phone up again.

In others, it’s even worse, not only do the sensors stop recording data, but the timer / writing to file, seems to stop working too, and when the phone wakes up again, it tries to write what it should’ve written while it wasn’t working and messes up all the timestamps, writing the same samples at different points “in the past” until it catches up to the current time. (If you visualize it as a graph, it basically looks as if the data gathering travelled back in time).

Is there any way in which I can make sure that the app keeps on working no matter what, whether the phone is locked, dozing, the app is minimized, on the background, foreground, etc.?

I tried a method I googled that consists of setting and alarm to "wake up the process" every X seconds (no matter what time I set to it, it only worked max once per minute).
I saw how for a few miliseconds every time the alarm went off, it captured samples again but then went to sleep right away, it didn't keep the phone "awake" for a longer period of time.
It solved nothing and even for the brief period it forced the sensors to gather data, it only helped wake up the sensors, the problem with the timer / writing to file still persisted.

Hope someone can shed some light on how to keep the phone gathering data no matter what, I've been trying everything I could think of and I'm not getting anywhere. Sorry for the brick of text, but I didn't really know how to explain it in a shorter way.


P.S: I saw that having the Battery Saver ON made it even worse, even on the phones where it usually worked properly, it started messing things up. So another question would be... How can I stop it from interfering?

I am trying to give root access to my app and trying to copy a file to root directory, I need help

More details about what phone model you have, which version of Android it's running, and if it is or isn't actually rooted will help to make relevant suggestions.
But offhand, if you go into your Settings >> Apps menu, find and open the Termux app listing, and in Permissions, check that Storage is enabled. Then when you start up Termux, run

apt update && apt upgrade

and then

termux-setup-storage

More details on this here:
https://wiki.termux.com/wiki/Termux-setup-storage

Help Velocity Micro Cruz T510 - internal storage

I am not talking about external SD card storage.


Vicky, so sorry for the confusion..even though you explained your self very well..FIVE TIMES..

I see what you are saying..I'm having that issue too every since I installed this costume rom a few days ago..the original stock version didn't have that..I've tried to delete that folder but it will populate back up right away..maybe some one has a solution

Attachments

  • Screenshot_2020-02-09-10-36-11.jpg
    Screenshot_2020-02-09-10-36-11.jpg
    282.4 KB · Views: 323
  • Screenshot_2020-02-09-10-36-51.jpg
    Screenshot_2020-02-09-10-36-51.jpg
    261.2 KB · Views: 318
  • Screenshot_2020-02-09-10-45-36.jpg
    Screenshot_2020-02-09-10-45-36.jpg
    295.6 KB · Views: 338

Help Missing S9+ voice note - urgent

Hi MoodyBlues, thanks for your welcome and input.
Aw, you're welcome.
Unfortunately I have tried showing hidden files, and still nothing. It's all very strange.
Oh, shoot. I was hoping that was it.

Have you tried a broad search, using part of its name? By broad I mean outside its expected location. Maybe it somehow ended up in a different directory. I see that you've "searched my phone top to bottom," but how? Moving through directories visually looking for a file is different from doing a search based on characters you're sure are in its name. Try that, if you haven't already.

You might also try, from a computer, doing a search for files modified during a certain time period; that would catch things that may not show up for some reason other ways. In fact, really, this is the most foolproof method. I only use Linux, on which a search like this is a breeze; I don't know about other OSes, so I can't help you there.

avi or mp4 file size

i have 4 video files on my pc which add up to 7.55 gbs but when i copy and paste them on my tablet my usage says i used 36 gbs out of my 60
When making file size comparisons it's much more revealing to look into the actual size of both files, relying upon used or open disk space of the storage media will always need to also take into account the size of each storage media plus whatever data is residing on both (which must also include things like hidden files and directories).

Filter

Back
Top Bottom