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

Am sorry for asking this question it's because am still trying to figure out how to crack it
for example in case of multiple website url i can parse it from activity to webview like below

Activity A

switch (menuItem.getItemId()) {
                    //Replacing the main content with ContentFragment Which is our Inbox View;
                    case R.id.navigation_item_news:
                        Intent i = new Intent(InternalMedicine2016.this, WACPNews.class);
                        i.putExtra("wacscoac.org/index.php", "http://www.wac-physicians.org/");
                        startActivity(i);
                        return true;
                    case R.id.navigation_item_courses:
                        Intent i1 = new Intent(InternalMedicine2016.this, WACPNews.class);
                        i1.putExtra("courses", "http://www.wac-physicians.org/content/examination");
                        startActivity(i1);
                        return true;
                    case R.id.navigation_item_forms:
                        Intent i2 = new Intent(InternalMedicine2016.this, WACPNews.class);
                        i2.putExtra("forms", "http://www.wac-physicians.org/content/membership");
                        startActivity(i2);
                        return true;
                    default:
                        Toast.makeText(getApplicationContext(), "Somethings Wrong", Toast.LENGTH_SHORT).show();
                        return true;
                }

Open in new window


Webview Activity

Bundle extras = getIntent().getExtras();
        if (extras !=null)
        {
            String wacscoacUrl = extras.getString("wacscoac.org/index.php");
            String coursesUrl = extras.getString("courses");
            String formsUrl = extras.getString("forms");
            



            if (wacscoacUrl != null)
                view.loadUrl(wacscoacUrl);
            else if (coursesUrl != null)
                view.loadUrl(coursesUrl);
            else if (formsUrl != null)
                view.loadUrl(formsUrl);

        }

Open in new window


What if am passing multiple youtube video url via intent and clicklistener how will i recieve and play each video in youtubeview activity
when user clicks any listed url

Activity A


Open in new window

0
Hi, i am looking to play some videos, docs, on an Kindle - i want to lock it down and just play this for a demo, how can i accomplish that?
0
I had this question after viewing Phone Can't Connect to Exchange Server.

Hi,

I used to receive my office Microsoft exchange e-mails on my phone but since 1st of April E-mails stopped coming through.

This happens to every user on the server, so nobody is receiving the emails on their regardless of whether its IOS or Android.  

Not sure the cause of it, does anyone faces problems like this and how to resolve this?

Few more details below :-

It's SBS2011 and Microsfot Exchange 2010.
0
I want to send notification  everytime to android device when sql sever gets modify. i don't know how to do it ?  i want to know technique for this..
0
I'm new to android app development. I need a suggestion to choose which OS should I follow.
0
Hey,
I'm an android developer and I'm facing a problem in running my app in background. I'm trying in vivo 9 which have android 8 os in it. I sow whatsapp is running properly even when I swipe it off from background. But when I swipe off my app it stops running. I excluded it from battery optimization & also given high rank consumption. also locked the app to run in background by clicking the lock icon.
I think android 8 did some changes. but still I need a clear answer. Please help!
0
please help me stop my phone from bein hacked. is there somekind of program I can run or dowmload.
0
Hi, im trying to post to Facebook with the Graph API.
I have this code:

    public void post(String playerName, int wins) {

        final ShareOpenGraphObject object = new ShareOpenGraphObject.Builder()
                .putString("og:type", "kickstarter:project")
                .putString("og:title", "" + playerName + " has won a game in Tic Tac Toe!")
                .putString("og:description", "" + playerName + " has " + wins + " wins in Tic Tac Toe")
                .putString("og:image", some url image path)
                .putString("og:url", some url)
                .build();

        final ShareOpenGraphAction action = new ShareOpenGraphAction.Builder()
                .setActionType("kickstarter:back")
                .putObject("project", object)
                .build();

        final ShareOpenGraphContent content = new ShareOpenGraphContent.Builder()
                .setPreviewPropertyName("project")
                .setAction(action)
                .build();

        ShareDialog sd = new ShareDialog(this);
        sd.show(content);
    }


This brings me to the Facebook post screen, but when i click post - it does not get posted on my Facebook wall. So, someone told me i might need PUBLISH_ACTIONS permissions, so i tried adding this at the end of the method above:

        ArrayList<String> permissions = new ArrayList<>();
        permissions.add("PUBLISH_ACTIONS");

        …
0
Hi, I have a video on a thumb drive that I would like to continuously loop on a Sony TV KDL-50W800C. I can get it to play once by selecting it through the photo or video player apps (sorry TV not with me at the moment) but once it’s played it stops. I feel sure that it must be possible to loop the video. Does anyone know how to do this? Thanks
0
i have successfully implemented a one to one push notification using firebase. my problem is, when i receive a notification, it should play a ringtone in my device. and this ringtone should keep playing until i press a button in my app.


my notification service class is









    public class FirebaseMessagingService extends com.google.firebase.messaging.FirebaseMessagingService {

    @Override
    public void onMessageReceived(RemoteMessage remoteMessage) {
        super.onMessageReceived(remoteMessage);

        String messageTitle = remoteMessage.getNotification().getTitle();
        String messagebody = remoteMessage.getNotification().getBody();

        String click_action = remoteMessage.getNotification().getClickAction();
        String dataMessage = remoteMessage.getData().get("message");
        String dataFrom = remoteMessage.getData().get("from_user_id");

        NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this,getString(R.string.default_notification_channel_id))
                .setSmallIcon(R.drawable.ic_notify)
                .setLargeIcon(BitmapFactory.decodeResource(getResources(),R.drawable.notification))
                .setContentTitle(messageTitle)
                .setContentText(messagebody);
        Uri soundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE);
        mBuilder.setSound(soundUri);

        Intent resultIntent = new Intent(click_action);
        …
0
I have had someone with UUID numbers, Profile ID numbers, etc on my phone logs for over 3 years. I can’t seem to get a phone to work correctly. I have large amounts of data on calandars, and other apps I have never used. I have been through 5 iPhones, several Androids, and even tried a prepaid without a data package but I still had large amounts of data running under specific programs. Verizon told me with my first Android I had problems with, I was being recorded and videoed with everything. It has been over 3 years. My home network through Xfinity can’t be secured , my cell phone is  not secure and I am just not at this point what to do about it all. I have hired IT guys. A PI who could take my phone had been tampered with but said the mics were off while he was here . I am paying Comcast but their network is not secure! I have many phone logs similar to the one submitted above. Please tell me how to find out who is doing this and stop them if  possible.
Thank you Sincerely
Single Mom of two struggling college kids with no secure phone or internet.
0
I bought a mobile phone from a second-hand store, The shopkeeper told me it was 64 GB, but I checked the actual storage is 20G. There are not many apps .photos , messages on the phone.Maybe they were saved in a device file on the phone, and I couldn't find them.How do I deal with them?
0
What are the tools, resources and languages that one needs to learn given that new work/project would be a web application, with front end in html/angular, back end in java (spring, hibernate) and DB as postgre/mysql?
I need improve my skill at IOS / Android / Backend Development. I'm Read about usefules this skills here http://offingapp.com/post/useful-tips-developing-successful-educational-app/ . Please give me advice.
I want learn Visual Studio Code - who know nice service for that?
1
How can I disable or remove Sha-1 and sha-256  from android phone causing  multiple security issues?
0
Blackberry Keyone:
Under Settings Sound is set to Also vibrate for calls.
This setting is switched off from time to time without user intervention ???
Any ideas how to resolve?
0
How to use c4.5 classifier in android studio to process the  accelerometer and and gyroscope  sensor data from phone.
0
How to create a employee Report for leave balance in android studio?Already I tried only notification for employee leave to hr in android studio, now I want to create a leave balance for empolyee
0
I am using following code  ( but not clear how to pass a parameter when a user click on firebase notification? )

public override void OnMessageReceived(RemoteMessage message)
        {
            base.OnMessageReceived(message);
            string click_action = message.GetNotification().ClickAction;
            SendNotificatios(message.GetNotification().Body, message.GetNotification().Title, click_action);
        }
        public void SendNotificatios(string body, string Header, string click_action)
        {
            Notification.Builder builder = new Notification.Builder(this);
            builder.SetSmallIcon(Resource.Drawable.AppLauncher);
            //Intent intent = new Intent(this, typeof(MainActivity));
            Intent intent = new Intent(click_action);
            intent.PutExtra("click", click_action);
            intent.AddFlags(ActivityFlags.ClearTop);
            PendingIntent pendingIntent = PendingIntent.GetActivity(this, 0, intent, PendingIntentFlags.OneShot);
            builder.SetContentIntent(pendingIntent);
            builder.SetLargeIcon(BitmapFactory.DecodeResource(Resources, Resource.Drawable.AppLauncher));
            builder.SetContentTitle(Header);
            builder.SetContentText(body);
            builder.SetDefaults(NotificationDefaults.Sound);
            builder.SetAutoCancel(true);
            NotificationManager notificationManager = (NotificationManager)GetSystemService(NotificationService);
            

Open in new window

0
Hello.
I created an account in my local exchange (2010). When I run the microsoft connectivity test the autodiscover is OK. When I access the email in OWA is OK. When I set up this account on my Android it works OK. When I open Outlook (2013 or 2016) and try to configure this email I can not, it says that it can not connect to the server despite pinging the server (mail.mydomain.com and autodiscover.mydomain.com). My outlook is outside my internal network (using my LTE connection).
Some ideias?
0
Can someone guide me to making a simple application on android wherein the screen is blank and everytime someone touches the screen a small rectangle is drawn on and then erased the next time.
0
Error method not allowed usin g POST in WCF


i want to send data from android to sqlserver using wcf post method because i want to send a stream of basex64 as a image in a parameter which GET method not accept in a browser but the post method can do this work.Kindly tell me the use of post method in WCF.Is is requires any additional information in post method?My all GET methods working fine.
First time post the problem hope so any one can rep me,tnx bilawal sharif
0
This works perfectly on a Win desktop but I need this to work on IOS and Android devices.  This is an ASP.Net MVC Razor JQuery environment.


$(function () {
            $('#dt_LiveCoinWallets tbody tr td:first-child').click(function (e) {
                var el = $(this).next().find('input')[0];
                el.select();
                document.execCommand("Copy");
                alert("Copied " + el.value);

            });
        });

Open in new window



<table id="dt_LiveCoinWallets" class="table table-striped table-bordered table-hover table-condensed">
                            <thead>
                                <tr>
                                    <th title="Click to select column">
                                        <h3>Copy</h3>
                                    </th>
                                    <th>
                                        <h3>Your Wallet Address</h3>
                                    </th>
                                </tr>
                            </thead>
                            @foreach (var item in Model)
                            {
                                <tr>
                                    <td>
                                        <Font color="blue">
                                            @Html.DisplayFor(modelItem => item.Currency)
                                        </Font>
                                    </td>
                                    <td>
                                        @{ string s = item.Wallet + memo; }
                                        <input type="text" readonly value=@s  />
                                    </td>
                                </tr>
                            }
                        </table>

Open in new window

0
I have micromax  p275 tablet  with  ~500 MB RAM (its old tablet), I have already flashed custom RoM (cyanogenmod).  I now want to flash Android Oreo Go version (suitable for low-resource device). Where can I find ROM  ?

Thanks
Sactel
0
Just recently my apps are using full screen.  I read the articles on how to enable or disable full screen per app, but some of my apps are "optimized for full screen"

I have no idea why this started happening all of a sudden.

My goal is not not use Full Screen at all.
Such as facebook, youtube, samsung internet, etc.
0
im having newly OnePlus A5010 (8gb ram) Mobile phone,  type C USB( i guess) I want to connect to my HDMI port for the TV.. and share the screen.. any idea, which cable i need to buy, but i saw in some forums.. this phone is not supported for connecting the HDMI Cable to sharing the screen..

Appreciate your help and any pointers.. thanks
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++).