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

Tell the Bell

This one's really stupid. I went to Taco Bell and the receipt says to take a survey and maybe win $500. The receipt got messed up by the food. How do I "tell them" anyway? I realize the money's a long shot, but I still want to let TB know about the cheese (specifically requested none but there nonetheless) and the flimsy packaging. One of the tostadas fell out of the box, into the bag, thank goodness. I still don't want to get anybody in trouble, though.

[Game][4.1+] Find a Cat 2: Hidden Object

Find a Cat 2: Hidden Object
Requirements: Android 4+
Overview: Find a Cat is a free game in the genre of "hidden object"



Everybody loves cats! This game is entirely devoted to these cute and fluffy animals - cats! They perfectly hid in the picture, and you try to find a cat as soon as possible!
Find a Cat 2: Hidden Object is a free game in the genre of "hidden object". You need to carefully consider the picture and find a hidden cat on it!

In the game you expect:
★ nice music;
★ hints;
★ high-quality pictures;
★ zoom;
★ search for items without the Internet;
★ find an item, go through the current level to unlock the next level in the hidden object game;
★ games without internet for free.

The game is great for kids, develops dexterity and attention! If you like to look for hidden objects, this game is created for you!

Download:
Google Play: https://play.google.com/store/apps/details?id=com.pollux.findcat2

[APP][FREE] Control android phone on PC with mirroid app

Mirroid is a fully free screen mirroring tool that will display your android phone’s screen on your PC, and you can control your android phone on your PC via USB in real-time without delays.

Mirroid has a simple interface with unlimited features without need to log in. It has a keyboard control settings feature which enables you to play games easily with controls, take screenshots, control volume, transfer files, control graphics quality, use shortcuts, turn off/on screen, record video and stream with friends. You can also play in full screen. However for now, it does not connect over wifi, only USB. There are no locked features, no water marks.
mirroid.io.png


To get started, you need to install both the android & PC version of the app, then make sure you enable USB debugging on your android phone, then connect your devices via USB.

Get it on Google Play: https://play.google.com/store/apps/details?id=io.mirroid.mirroidinput

Apps Android Retrofit: Unable to upload image to server. Uploads 0 kb image when using file_put_contents

Hi,


I am trying to use retrofit to upload an image from the android device to mysql database and server. Below is the java code that I am using for uploading the image:

```

private void uploadImage() {




Bitmap fullSizeBitmap = BitmapFactory.decodeFile(pathToFile);

Bitmap reducedBitmap = ImageResizer.reduceBitmapSize(fullSizeBitmap,240000);

File reducedFile = getBitmapfile(reducedBitmap);




MultipartBody.Part parts = null;





Retrofit retrofit = NetworkClient.getRetrofit();

UploadAPIs uploadAPIs = retrofit.create(UploadAPIs.class);

RequestBody requestBody = RequestBody.create(MediaType.parse("image/*"), reducedFile);




parts = MultipartBody.Part.createFormData("newimage", reducedFile.getName(),requestBody);


// RequestBody someData = RequestBody.create(MediaType.parse("text/plain"),"This is a new image");



Call call = uploadAPIs.uploadImage(parts);





call.enqueue(new Callback() {

@override

public void onResponse(Call call, retrofit2.Response response) {




Toast.makeText(Bottom_up.this, "uploaded image", Toast.LENGTH_SHORT).show();

}


@override

public void onFailure(Call call, Throwable t) {

Toast.makeText(Bottom_up.this, "upload image error", Toast.LENGTH_SHORT).show();


}

});



}

//image upload to server and reduce size

private File getBitmapfile(Bitmap reducedBitmap) {

File file = new File(Environment.getExternalStorageDirectory() + File.separator + "reduced_file");

//"reduced_file");


ByteArrayOutputStream byteArrayOutputStream=new ByteArrayOutputStream();

reducedBitmap.compress(Bitmap.CompressFormat.JPEG,40,byteArrayOutputStream);

byte[] imgbytes=byteArrayOutputStream.toByteArray();

try {

file.createNewFile();

FileOutputStream fos = new FileOutputStream(file);

fos.write(imgbytes);

fos.flush();

fos.close();

return file;

} catch (Exception e) {

e.printStackTrace();

}

return file;

}

```




The pathtofile in the above function is coming from the below:

```

private void dispatchPictureTakenAction() {

Intent takePic = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);

if (takePic.resolveActivity(getPackageManager())!=null) {


photoFile = createPhotoFile();


if (photoFile != null) {

//path to file in below variable

pathToFile = photoFile.getAbsolutePath();

Uri photoURI = FileProvider.getUriForFile(Bottom_up.this,"com.android.cameraandroid.fileprovider",photoFile);

takePic.putExtra(MediaStore.EXTRA_OUTPUT,photoURI);


startActivityForResult(takePic, 1);


}


}

}


private File createPhotoFile() {

String name = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());

File storageDir = getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);

File image =null;

try {

image = File.createTempFile(name,".jpg", storageDir);

} catch (IOException e) {

Log.d("myLog","Exception: " + e.toString());

}

return image;


}


```


Below is the api client code:

```

public class NetworkClient {


private static Retrofit retrofit;

private static String BASE_URL = "http://192.168.2.13/Dashboard/";


public static Retrofit getRetrofit() {

OkHttpClient okHttpClient = new OkHttpClient.Builder().build();


if (retrofit == null) {

retrofit = new Retrofit.Builder().baseUrl(BASE_URL).

addConverterFactory(GsonConverterFactory.create()).

client(okHttpClient).

build();

}

return retrofit;



}



}


```


Below is the API interface code (insert is the server side PHP script):


```

public interface UploadAPIs {

@Multipart

@Post ("insert")

Call<RequestBody> uploadImage(@part MultipartBody.Part reducedFile);



}


```


Now, in the PHP script I have tried the following:


1. Use file_put_contents (it uploads a blank image i.e. 0 kb image on the server):

```

$image = $_POST["newimage"];

$sql ="SELECT id FROM
ORDER BY id ASC";



$res = mysqli_query($connect,$sql);

$id = 0;



while($row = mysqli_fetch_array($res)){

$id = $row['id'];

}



$upload_paths = "Photo/$id.jpg";

file_put_contents($upload_paths,$image);

```


2. Use move_uploaded_file (it throws an error for undefined index for newimage and errors the upload. It seems like the key value for newimage is not being sent to the php script):


```

$image = $_FILES["newimage"];


if (move_uploaded_file($image, $upload_paths))


{

echo “Successfully uploaded $image.";


}

else

{

echo "Error uploading THIS $image.";

}


````


Can anyone please let me know what I could be missing or doing incorrect in the above code?


Appreciate your help in advance.

Cannot set notification sound in Textra

Hey;
I just bought a new phone - Moto G7 Optimo Maxx (Tracfone) with Android 9 Pie.
Before this phone I was using an LG Fiesta 2 with Android 7.

I have been using Textra ver 4.27 as my SMS app, and on Android 7 it worked perfectly.
But now on Android 9 I am unable to set the Notification Sound to anything but the default set for the phone.
For example, I have the Default Notification Sound (in Apps & Notifications > Notifications > Default Notification Sound) set to Captain's Log.

In Textra, I set the Notification Sound to Tinkerbell.
But whenever a text comes in, I get the Captain's Log sound.
If I set Default Notification to None, then I get no sound when a text arrives.

I uninstalled and re-installed Textra, but this had no effect.

Can anyone tell me what the problem is?

Thanks
ET

Help Storage Doesn't Make Sense?

My phone has basically no storage left. I've already transferred everything possible to my SD card. I have to clear the cache every time I want to use any Samsung apps. Today I discovered the breakdown of my storage usage and I'm really confused! It makes no sense at all!

I have 16GB internal storage total, and the system says:
- 5.9GB is the system
- 415MB is photos and videos (even though system otherwise says it's 66MB)
- etc etc with more things that are hundreds of MB but that I only have maybe 30MB max)
- Secure folder is 1.4GB (but I have nothing in there! When I click to see what exactly makes up those 1.4GB. it says I have 14GB of files in there???)
- 8.6GB of apps (otherwise it says I only have 3.5)

Does anyone know what's happened and what I can do about it? Thank you so much! :)
Screenshot_20200719-184606_Device maintenance.jpg
Screenshot_20200719-184637_Settings.jpg
Screenshot_20200719-190947_Settings.jpg

android-x86 Installation

I downloaded android-x86-9.0-r2.iso from https://www.fosshub.com/Android-x86.html and installed it on my old IBM Thinkpad x40 without error. After rebooting, it said 'Operating System not found'. I tried to boot manually by selecting boot partition with no luck. I also tried to run it without installation but it keeps rebooting. Is it because the hardware is not supported, or I should download from other sources? Thanks.

[APP][5.0+] ChronoLines - An app for creating and sharing historical chronologies

Hi everyone!

Recently I have released an Android app intended for creating and sharing chronologies (or time lines) about any subject. I have developed the application because I like history and I think it could be a good tool to share knowledge. It can also be used to create chronologically ordered bibliographies or discographies. As an example, the first chronology I have created and that can be downloaded from the app is a list of all the pop-culture references appeared in Ready Player One novel written by Ernest Cline.

This is my first Android app, so I would appreciate feedback and comments.

ChronoLines main features are:
  • Search and download chronologies from a shared library or import them from received “chrono” files.

  • Create new chronologies or edit existing ones and upload changes.

  • Share chronologies using the remote shared library or sending them to other people as “chrono” files.

  • Use different date formats for your chronologies: only year, year-month, year-month-day, year-era.

  • Classify events in categories that can be separately shown / hidden.

  • Add images and links to events.

Download link: https://play.google.com/store/apps/details?id=com.studio_381b.chronolines

Video explaining how to download a shared chronology:

More info: https://studio-381b.com/chronolines/

screenshot_1.png screenshot_2.png screenshot_5.png screenshot_7.png

Photo Auto Upload

My A40 does not automatically upload my photos to my Google account like my other phones (mostly MOTO's) do. I have to view them in the Google Photos App before they turn up on my Google drive. As soon as I open the Photos App, I see the little upload icon top right. I've played around with the settings and Googled for fixes but drawn a blank.

Is there a setting which automatically uploads them when I have WiFi access?

Pete

[APP] Speak & Listen - Improve diction and phonetics of your speech

Have you ever listened to a recording with your voice and noticed how it sounds different from what you expect?


When you hear your voice on a recording, you're only hearing sounds transmitted via air conduction. Since you're missing the part of the sound that comes from bone conduction within the head, your voice sounds different to you on a recording. But guess what? The recording doesn't lie, that IS you!


This app allows you to hear your "real" voice and compare it with a sample reference.


You just need to speak and listen again until the result is satisfactory. The app features a set of simple but powerful tools that will help you in improving the diction and phonetics of your speech. if you want to achieve perfect pronunciation, all you have to do is speak & compare your real voice (played by the app) with that of a native speaker, until you are able to reproduce the same sound. This type of training will allow you to achieve excellent results either in your native language or in any other foreign language you wish to practice.

https://play.google.com/store/apps/details?id=com.optivelox.speaklisten

Attachments

  • Screenshot_zopo1_sm.jpg
    Screenshot_zopo1_sm.jpg
    37.9 KB · Views: 298

LG v521 head phone issue

My son broke the head phone jack. Replaced it and still does work.
I pulled the little jack out. I still have a head phone icon on the top right menu bar. I have to keep using a head phone doable toggle app in order to use the speaker for facetime or videos. Annoying because I have to reset this all the time.

How can I disable the headphone jack perminatly.
I've reset the bios battery rebuild the tab

Pls help
TIA
Danny

Filter

Back
Top Bottom