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

Help After upgrade cordova version 6.4.0 to cordova 9.0.0 android platform build gets fail with error

I have upgrade cordova version 6.4.0 to cordova 9.0.0 and facing issue on android build command. Also updated cordova-android version for cordova-android 6.1.0 to cordova-android 7.1.3
I can not understand what exactly error is about can any one please help me out regarding this error.

Attachments

  • picturemessage_cj3vl3ok.yfj.png
    picturemessage_cj3vl3ok.yfj.png
    125.9 KB · Views: 152

Mirror My LG G7 Screen Onto My Fire HD 10?

I want to figure out if it is possible to save data/$ by streaming my Amazon Prime videos or any other video content I play on my LG G7 ThinQ onto the larger display of my Amazon Fire HD 10 (7th). I could of course use my G7 mobile hotspot for my tablet, which I do on occasion but I do not have unlimited mobile hotspot data, I do have unlimited data for my G7 which I really use. Thanks!

A little bragging!

Not personal bragging, but about my city: Arcadia USD has been named to the California Honor Roll for the second year in a row. :D

"For the second consecutive year, Arcadia Unified was named to the 2018 – 2019 Educational Results Partnership Honor Roll for its high achievement in student success. There are over 900 school districts in California, and Arcadia Unified is one of only 26 public school districts to receive this recognition.
<<snip>>
Each of Arcadia Unified’s six elementary schools, three middle schools, and high school were also individually named as ERP Honor Roll schools.
<<snip>>
In addition to this ERP Honor Roll recognition, Arcadia Unified achieved a rare feat of being named to the prestigious AP® District Honor Roll in consecutive years for 2017 and 2018. Likewise, Arcadia Unified was recently ranked by Niche.com as the District with the Best Teachers and the Best Place to Teach and landed in the top three best school districts in Los Angeles County. For more information about the Arcadia Unified School District, visit ausd.net, and for more information about the ERP Honor Roll, visit edresults.org."


I'm not sure about our current college matriculation statistics, but they typically run at ≈95% of our high school graduates.

I'm proud and just wanted to brag a little.

Help Adding Slimport/MHL (HDMI Output) to my Phone

I'm trying record/stream my phone's gameplay using an El Gato capture card. There wouldn't be an issue if my phone supported an HDMI output, but unfortunately it does not. I've looked into various mirroring applications that use USB and/or WiFi connectivity, but simply put, they all suck. I'm wondering if it's possible and practical to have someone take my phone apart and manually add this feature to my phone. If so, where could I get this done?

Thanks

Help All media files disappeared - Oneplus 5 - please help

Hi there.
I have a Oneplus 5 running Android 8.1.
Today I connected this to my Windows PC via usb cable to copy over my pictures. After I deleted a file which I believed to be called thumbdata. or similar from my pictures folder (on the phone in the android file structure) suddenly and instantly all kinds of media is missing of my phone.
The folder Pictures, Movies, Music, Downloads, DCIM and probably some other have completely disappeared. The folder Whatsapp is still there but all subfolders with Media, Backup, Databases are emtpy.
The phone storage basically only contains the folder android (all app including cache seem to be working, prime video downloads are still in there too)
and the folder WhatsApp with all subfolders there but empty.

Can you please help me to explain what happened there.
All input appreciated.

Kind regards
jim

Help File Transfer Mode - where is it?

My new Samsung S10 Plus (Android 9 - 2 days old) seems to be in an odd state. I work on a Mac and used the Android File Transfer app to access memory on my old Samsung S7 edge, but the Android File Transfer app seems unable to find the new phone at all. I assume that the usb setting is in the wrong state and I have been looking for the setting to change it to File Transfer Mode, but have been unable to find it anywhere in setup.

Typically on the S7 I would plug the phone into the Mac, tap on the resulting "charging" notice and that would open a dialog box for me allowing me to set the mode but I do not get the same "charging" notice on the S10 Plus and when I do press the notice that I get I do not get any way to set the transfer mode. How can I set the mode to File Transfer?

I have been thinking that I might need to reset the phone and start all over, but would prefer to not have to do that.

phone locked - help

I have a Samsung 10 e - downloaded an software update this am - when phone started back up asked for a password - I don't have one & feel 99% sure I never set one up. hate having to hit a password every time I use my phone. went to xfinity & they didn't have any way to bypass the password sign in but to factory reset. have only had phone 2 months & will loose lotsa "stuff" this phone will only receive calls nothing more so it's basically useless right now. please tell me there's a way to get around this. thank you in advance.

Looking for an app with specific function.

TLDR:
Looking for a 3rd party app that can block all incoming calls when another specific app is in focus. The 3rd party app needs to run in the background and not need to be 'enabled' before expecting it to perform.

DETAILED:
Have a complaint from our CEO that when people call his phone when he is dialed into the 'Zoom Meetings' apps, it minimizes the Zoom app and interrupts the meeting.

Zoom doesn't have the option to block this behavior.
Neither does the Android build on the his Phone (Galaxy S10+)
So I need a 3rd party app that can block incoming calls when a certain app is in focus. The CEO will not have the time or patience to enable such a feature every time it is needed. (Otherwise he could just enable 'call blocking' and disable it after the meeting.) It will need to function in the background and perform its task autonomously. There are so many apps to go through, and I haven't had luck finding one with such a feature yet. Any one know of such a thing?

Pixel Space Blast - new scroll shooter pixel game

Hello!&#160;

Recently released a game for Android. I made the game alone, the development took several months. I hope for your feedback, I will be very grateful. The game is an endless pixel scrolling shooter in space, where at the end of each level you are waiting for the boss.

There is an advertisement in the game, but it is not intrusive and you can easily play without it.

YouTube:&#160;

You can download game here:&#160;click!

Unable To Uninstall Microsoft Outlook

My ability to uninstall Microsoft Outlook has turned into an endless loop.

I have looked up and followed the instructions about removing Outlook's permission to be a device administrator.

Then, in Play Store, I can uninstall Outlook.

However, I am only uninstalling the updates. If I uninstall the updates, the Uninstall button goes away, and the app still does not have device admin privileges.

Is there a safe way to remove Outlook, or should I disable it?

Bluestacks wont sync up game progress on new added accounts

My wife loves Bluestacks and it runs all her favorite games fine. I added my account too, using the Multi-Instance manager and can log into my own Google account, but when I install a game I have on my phone, Bluestacks doesn't sync up with the progress of the phone's game. is it supposed to, because it seems silly not to. I thought the whole idea was to play on your phone or your pc and to move seamlessly between the two. Im new to this and would appreciate any advice.

Help An app that uses the NFC chip

I have an LG V40 ThinQ with Android 9.0. I use the NFC chip with the Freestyle Libre app to read my blood sugar. Until a few days ago, with the chip and android beam turned on, the chip's status was displayed in the Notifications. ( basically said it's ready to use) The status started displaying when the phone booted. AFAIK, nothing changed and the app was not updated. (The app was first released on June 6, 2019)
I'm looking for a different app that will also get the NFC chip to similarly display its status.
Thanks in advance for your help,

How to execute a class method by clicking a notification action button?

Hello everybody!
I`m developing a simple messaging/calling app, using Android`s self managed connection service.
So, when I want to display incoming call, i create notification with two action buttons (Accept and Decline).
The problem is, i cannot call setDisconnected method of my Connection when users clicks "Decline" button, because, AFAIK, notification actions can only launch pending intents.
Here`s my Connection class
Java:
public class Connection extends android.telecom.Connection {
    private static final String TAG = "Connection";

    public Connection() {
        super();
        setConnectionProperties(android.telecom.Connection.PROPERTY_SELF_MANAGED);
    }

    @Override
    public void onStateChanged(int state) {
        super.onStateChanged(state);
        Log.i(TAG, "onStateChanged state=" + android.telecom.Connection.stateToString(state));
    }

    public void setConnectionDisconnected(int cause) {
        setDisconnected(new DisconnectCause(cause));
        destroy();
        Log.i(TAG, "disconnected");
    }


    public void displayIncomingCallNotification() {
        final NotificationManager notificationManager = (NotificationManager) Config.context.getSystemService(Config.context.NOTIFICATION_SERVICE);
        String NOTIFICATION_CHANNEL_ID = "my_channel_id_01";
        Handler.Callback callback = new Handler.Callback() {
            public boolean handleMessage(Message msg) {
                Log.d("Call", "back");
                return true;
            }
        };
        PendingIntent dismissIntent = NotificationActivity.getDismissIntent(1, Config.context, callback);

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
            NotificationChannel notificationChannel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, "My Notifications", NotificationManager.IMPORTANCE_HIGH);

            notificationChannel.setDescription("Channel description");
            notificationChannel.enableLights(true);
            notificationChannel.setLightColor(Color.RED);
            Uri ringtoneUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE);
            notificationChannel.setSound(ringtoneUri, new AudioAttributes.Builder()
                    .setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)
                    .setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION)
                    .build());
            notificationManager.createNotificationChannel(notificationChannel);
        }


        NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(Config.context, NOTIFICATION_CHANNEL_ID);
        Intent intent = new Intent(Intent.ACTION_MAIN, null);
        intent.setFlags(Intent.FLAG_ACTIVITY_NO_USER_ACTION | Intent.FLAG_ACTIVITY_NEW_TASK);
        intent.setClass(Config.context, MainActivity.class);
        PendingIntent pendingIntent = PendingIntent.getActivity(Config.context, 1, intent, 0);

        notificationBuilder.setAutoCancel(true)
                .setDefaults(Notification.DEFAULT_ALL)
                .setWhen(System.currentTimeMillis())
                .setSmallIcon(android.R.drawable.sym_action_call)
                .setTicker("Hearty365")
                //.setPriority(Notification.PRIORITY_HIGH)
                .setContentTitle("Default notification")
                .setContentText("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")
                .setContentInfo("Info")
                .setOngoing(true)
                .setContentIntent(pendingIntent)
                .setFullScreenIntent(pendingIntent, true)
                .addAction(android.R.drawable.sym_call_incoming, "Accept", null)
                .addAction(android.R.drawable.sym_call_missed, "Decline", dismissIntent);
        final Notification notification = notificationBuilder.build();
        notification.flags |= Notification.FLAG_INSISTENT;

        new android.os.Handler().postDelayed(
                new Runnable() {
                    public void run() {
                        notificationManager.notify(1, notification);
                    }
                },
                4200);
    }
   

    @Override
    public void onShowIncomingCallUi() {
        displayIncomingCallNotification();

        Log.i(TAG, "onShowIncomingCallUi ");
    }

    @Override
    public void onDisconnect() {
        setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
        destroy();
        Log.i(TAG, "disconnected local");
    }


    @Override
    public void onReject() {
        setDisconnected(new DisconnectCause(DisconnectCause.REJECTED));
        destroy();
        Log.i(TAG, "disconnected reject");
    }

    @Override
    public void onAnswer() {
        Log.i(TAG, "Call answered");
    }
}

When user clicks "Dismiss" button, dismissIntent is called

Java:
public class NotificationActivity extends Activity {

    public static final String NOTIFICATION_ID = "NOTIFICATION_ID";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        NotificationManager manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
        manager.cancel(getIntent().getIntExtra(NOTIFICATION_ID, -1));

        finish();
    }

    public static PendingIntent getDismissIntent(int notificationId, Context context) {
       
        Intent intent = new Intent(context, NotificationActivity.class);
        intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
        intent.putExtra(NOTIFICATION_ID, notificationId);
        PendingIntent dismissIntent = PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);

        return dismissIntent;
    }
}

Ideally, i would want to call Connection.setConnectionDisconnected() in NotificationActivity`s onCreate()

Pomodoro Smart Timer - No Ads - Stable Version 2.5 of 2020

Pomodoro Smart Timer - Productivity Application
mockup.png

Pomodoro Smart Timer is a time management application based on Pomodoro technology.
Pomodoro
is a method of increasing productivity. The division of work time into 25-minute segments, separated by short breaks.
This is a well-known, scientific method of work. Many people apply.
You can visit here: https://en.wikipedia.org/wiki/Pomodoro
Screenshot-1562601807.png

Pomodoro Smart Timer app includes the main function of accurate time notification.
Even if you turn off the app, you will receive notifications and easily decide to continue or skip.
The application allows you to choose how long to work, how long to rest.
Pomodoro Smart Timer app has night mode.
Pomodoro Smart Timer application has a screen rotation mode that is conveniently placed when placed on a table, as in real working time.
Supported Android 4.1 (API level 16) to newest Android 9.0 (API level 28)
Everything is designed to be comfortable and minimalist.
I wish you an interesting experience.

Android app not displaying string in Yii 2 framework

Java:
package com.example.anitaa.student;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.android.volley.Request;
import com.android.volley.RequestQueue;
import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.StringRequest;
import com.android.volley.toolbox.Volley;

public class MainActivity extends AppCompatActivity {
    TextView text;
    Button b1;
   
String url1="http://192.168.1.3/student/web/index.php?r=message/display";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        text=(TextView) findViewById(R.id.text_content);
        b1=(Button) findViewById(R.id.btn5);
        b1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                final RequestQueue requestQueue1= Volley.newRequestQueue(MainActivity.this);
                StringRequest stringRequest1=new StringRequest(Request.Method.POST, url1, new Response.Listener<String>() {
                    @Override
                    public void onResponse(String response) {
                           text.setText(response);
                           requestQueue1.stop();
                    }
                }, new Response.ErrorListener() {
                    @Override
                    public void onErrorResponse(VolleyError error) {
                        text.setText("Error");
                        error.printStackTrace();
                        requestQueue1.stop();
                    }
                });
                requestQueue1.add(stringRequest1);
            }
        });
    }
}
Hi I am using PHP Yii framework. I have below code but it does not display the string value

  • Poll Poll
How to take default input from USB camera in Android inside an application

Do you think this question will ever be answered?

  • Yep!

  • Nope


Results are only viewable after voting.

I am developing an image recognition application by following this tutorial: https://medium.com/coding-blocks/google-lens-firebase-54d34d7e1505

The issue is, I need the application to take default input from a USB camera instead of the device camera. How do I do that? I don't have previous expertise in Android development. My device supports OTG USB camera input.

Device specifications:

Device name: Moto C+

Android Version: Android Noughat

Not rooted and I prefer not to root.

Android Studio Project/Java 9.0 Gets Internet Conection problems

Hi All !

I have an Android Studio Project that has run just fine on mobile devices running Java 7.0 (and possibly Java 8.0). I now had feedback from users running Java 9.0 on their mobile devices that they get "please verify your internet connection and try again" when they try to run my app.

The same thing goes for Android Studio, it ran ok but then I updated with Java 9 and set targetSdkVersion to 28/29 (Java 9.0/9+), when I run the Virtual Device i get the same "please verify your internet connection and try again" (this is when the app tries to download some data from my site).

Just wondering if something about internet connectivity/security has changed with Android 9 so that some extra settings etc. must be dome in order for the app to reach internet?

BR Ivashu

Filter

Back
Top Bottom