Android

5K

Solutions

4K

Contributors

Android is a mobile operating system developed by Google, based on the Linux kernel and designed primarily for touchscreen mobile devices such as smartphones and tablets. Android's user interface is based on direct manipulation, using touch gestures that loosely correspond to real-world actions, such as swiping, tapping and pinching, to manipulate on-screen objects, along with a virtual keyboard for text input. In addition to touchscreen devices, variants of Android are also used on notebooks, game consoles, digital cameras, televisions, automobiles and other electronics. Applications are usually developed in Java programming language using the Android software development kit (SDK), but other development environments are also available, including Delphi, Ruby and Visual Studio (using C++).

Share tech news, updates, or what's on your mind.

Sign up to Post

hi im trying to use SmsManager to send a text message to my phone.

well here's my code:
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
    public void Work(View view)

    {

        TextView tx = findViewById(R.id.textview);

        try {

            android.telephony.SmsManager.getDefault().sendTextMessage("6973412758", null, "Hi me", null, null);



            tx.setText("Message sent");

        }
        catch(Exception e) {tx.setText(e.getMessage());
        }
        }
    }

Open in new window


and here is my android manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.roaldgallowey.test4">

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    <uses-permission android:name="android.permission.SEND_SMS"/>
    <uses-permission android:name="android.permission.WRITE_SMS"/>
  
</manifest>

Open in new window


Where am i wrong ? help appreciated
0
Cloud Class® Course: CompTIA Cloud+
LVL 12
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Hi,

We are searching for a touchscreen display/ TV to have in our conference room.

Ideally the size we are looking for is about 55 inches.

It will be useful for us but we are aware it comes at a high cost.

What is the cheapest 55 inch Touchscreen available?

Thanks,
Robbie
0
How to push files in android studio?

I have seen several videos on youtube and many topics but didn't understand at all

help appreciated
0
Hi everyone. I have an Android 7 device. It's not rooted. I need a file manager/utility that allows me to view the files & folders of the root directory; specifically the System and Data partitions. I don't need 'Write' permissions, just Read-Only. I want to copy some files. In other words, I don't want to root the device. I just need read-only access. I would prefer a file manager type app but I'm open to other methods.

I have tried Solid Explorer. It shows the System Partition but not the Data partition. Thanks.
0
Mtklogger running and how do remove it
0
What's the difference between drawable and drawable-v24 in Android Studio ?

I find that android can only read jpg saved in drawable-v24 but not other one. How does Android Studio determine which folder to read ?

Thx
1
https://www.experts-exchange.com/questions/29108461/Peel-Smart-Remote-app-kept-self-reinstall-back.html

Refer to above EE post which is not resolved.

I bought a used Note4 & since receiving it, there's this "Smart Peel remote"
app in it which I've uninstalled it (via PlayStore) : however, the next day,
this app will pop up & when I go to PlayStore, could see that it's installed.

Each time after clicking "Uninstall" for this app in PlayStore, the "Uninstall"
button will turn to "Update" button.

What must I do so that this app doesn't come back (disruptive pop-ups)
again?  

The earlier expert suggest disabling it but how is this done?
0
I have one user (out of 60) whose Sprint phone randomly but often keeps getting the message pop-up: "The SIM card has locked. Please power cycle the device and if the problem persists contact customer service." This was a new Samsung S9. After useless troubleshooting with Sprint tech, we returned the phone for a replacement. After a few days the issue appeared on the new phone as well.
Any suggestions would be appreciated. This is not happening to nay of our other users.

Wayne
0
In Office 365, we want to create a calendar to easily share our status with others. We would invite the "calendar" when adding to our own calendar annual leaves, overseas travels, birthdays, etc...
As many will share the same mailbox, there are "appointment conflicts" which can be automatically allowed (John is overseas next Monday, Jane is on leave next week, thus there are 2 appointments on the same day... not a problem to us!)
Thus we want
  1. a shared calendar
  2. that is accessible by designated members
  3. that auto accepts invitations
  4. that is visible in Outlook on PCs and
  5. that is visible in Outlook App on smartphones

I created a Room and set all the rules to auto accept invitations, to allow conflicts, etc... using "Set-CalendarProcessing".
It is visible in my Outlook. Work great!
However I have not found a way to add that Calendar to my Android Outlook App. >>> This is the reason for this post

  • A "room" mailbox does not have a password, thus cannot be added as a regular mailbox
  • A "room" mailbox cannot share its calendars in Outlook
  • I tried to add the "Room" mailbox to the Outlook app using email = room@company.com user = myemail@company.com, password = mypassword ... does not work

Any suggestions? If possible within the Office 365 enviroment?
0
I want to make sms app (short message) for android using c++ builder, so help me please
0
Cloud Class® Course: Ruby Fundamentals
LVL 12
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Hello,

Have had an Exchange 2010 setup for years.  Have had clients connected to it just as long.

All of the sudden, users are not able to receive mail from within Outlook.  We receive the error:

Cannot expand the folder.  The set of folders cannot be open.  You must connect to Microsoft Exchange with the current profile before you can synchronize your folders with your Outlook data file (.ost).

I can successfully connect to the account(s) using my Android phone.  I can access the accounts via OWA.

Per some research I did online, I created a new profile and connected to the account, but could not access anything.

Please advise.

Thank you,

Don
0
Without rooting phone

How can I have android 7 allow multiple users for 1 app.
Gmail and email allow multiple email addresses but all other apps is one to one ratio
1 app -> 1 email address

Can I with newest or newer version of android
0
While compiling my code I am getting this error

error: cannot find symbol variable DrawingImageView

Can someone lead me to how to overcome this?

package rectangle.android.com.rectangletouch;

import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.Signature;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.ActivityCompat;
import android.support.v7.app.AppCompatActivity;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.MotionEvent;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

import com.google.android.gms.auth.api.signin.GoogleSignInClient;
import com.google.android.gms.drive.DriveClient;
import com.google.android.gms.drive.DriveResourceClient;

import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import 

Open in new window

0
I am new to Xamarin and MvvmCross learning with an online tutorial, https://visualstudiomagazine.com/Articles/2018/05/08/Build-a-Xamarin.Forms-Application.aspx which comes with a github code sample at https://github.com/nickrandolph/VisualStudioMagazineMobileCorner 
 
This is clearly a simple application with just a few lines of code, but I ran into a namespace error that prevents the code from compiling. I also tried a different tutorial, the tipcalc tutorial provided by MvvmCross at https://www.mvvmcross.com/documentation/tutorials/tipcalc/the-tip-calc-tutorial but got the exact same namespace error.

Hoping someone can help identify what I am doing wrong. I have used the nuget packages for MvvmCross 6.1.2 and  MvvmCross.Forms 6.1.2 together with Visual Studio 2017 15.7.2. I also installed the Android 8.1 Oreo (SDK Platform 27) since both tutorials mention Android 8.1. No luck getting rid of the namespace issue.

The compilation error is in two parts:
(1) Missing Namespace: "The type or namespace name 'Platforms' does not exist in the namespace 'MvvmCross.Forms' (are you missing an assembly reference?)" on the using statement, "using MvvmCross.Forms.Platforms.Android.Views;"
(2)Missing class:  "The Type or Namespace Name MvxFormsAppCompatActivity Could Not be Found"

Both errors are in ...\XFwMvx.Android\MainActivity.cs
0
I am having the same issue, but with Boomerang. Help, please!
0
Hi,

I have a Samsung Note 8 and a Samsung Note 4 smartphone.

I would like to migrate all data from the Samsung Note 8 to the Samsung Note 4.

What would be the best software to use to achieve this?

Thanks,
Robbie
0
Hi,

We have an Amazon Fire 7 tablet.

The plan is to use the Fire 7 tablet as a device to display information.

The problem is that when the tablet goes to sleep or runs out of power, the next time the tablet is turned on or woken up, the lock screen appears.

I would like to configure, with the use of an automation app, a function that will activate when the Fire 7 tablet displays its lock screen and automatically unlock by way of a swipe up action on the screen.

Is there an automation app that can do this, mainly a free app.

Thanks,
Robbie
0
Hi,

Bought a WD Wireless Pro with 2TB for sharing movies while in car (don't have it yet):
https://www.wdc.com/products/portable-storage/my-passport-wireless-pro.html

Now there is a Plex server on board, so I installed Plex app on Android.
How on earth is this Plex app working? Just see, start, podcasts, news, pictures (need none of them), then "more", where you can select movies, films, series. Yes, movies I need. When I click movies, it points me to a website "howto" setup.
But how should I configure it to connect to a Plex server, don't see any option there?

Note: got a Synology NAS which has a Plex server too (but using VideoStation right now), any chance I could keep both (if I would install Plex on the Synology) Plex servers in sync?

J.
0
i have a psd file which contains two designed screens for my app. My question is, how do I implement it into my application? Thank you all

A basic example would be appreciated
0
Upgrade your Question Security!
LVL 12
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Using Kotlin I have been trying to connect an Android App with Amazon Web Services. I have carefully followed all the instructions in the "Getting Started" guide. I have done it over and over about 6 times thinking I was making a little error. I honestly can not figure out what I have done wrong. I installed imports, dependencies and permissions without trouble. After I modified the onCreate it would no longer work on the emulator and I didn't get the handshake back from AWS.  Please note: Text file of all codes attached!
errorAWS.txt
0
Hi,

I have several Android devices: smaller tablet, bigger tablet and a Galaxy S8.
Now I'd like to play videos in the car from the biggest tablet, which has an external sd card and on which I can put lots of movies.
Is there a way to stream from that Android to others (or one at least)?

Please advise.
J.
0
is there a way to keep android tablet profiles in sync over different tablets?
Now I have to configure them each time again.
0
Galaxy s6
SM-G920P
android 7

pressing the home button may have completely broke

finger print in home button works all the time to log in

now I press delete key to go back

I tried restarting and powering off

I want to fix phone without resetting phone
0
how to execute the same command again and again in adb shell without typing it
0
another/same question: but specifically for the united states android phones

my previous question:
https://www.experts-exchange.com/questions/29105906/android-phone-both-internet-and-phone-at-same-time.html
0

Android

5K

Solutions

4K

Contributors

Android is a mobile operating system developed by Google, based on the Linux kernel and designed primarily for touchscreen mobile devices such as smartphones and tablets. Android's user interface is based on direct manipulation, using touch gestures that loosely correspond to real-world actions, such as swiping, tapping and pinching, to manipulate on-screen objects, along with a virtual keyboard for text input. In addition to touchscreen devices, variants of Android are also used on notebooks, game consoles, digital cameras, televisions, automobiles and other electronics. Applications are usually developed in Java programming language using the Android software development kit (SDK), but other development environments are also available, including Delphi, Ruby and Visual Studio (using C++).