[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Smartphone Programming

Smartphones run using a variety of operating systems -- Android, iOS and Windows Mobile most commonly -- and an even wider variety of programming languages, including Objective-C, Java, Visual C#, C++ and .NET, not to mention HTML5 and JavaScript, and cross-platform frameworks such as PhoneGap.

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

Sign up to Post

i bought two 128gb mini mocro sd card one from sandisc other from patriot

when i insert card to laptop to check size by right clicking on it and proprties shows 119gb for sandisc card

when i insert card to laptop to check size by right clicking on it and proprties shows 119gb for patriot card

i wonder why 128gb they do not show
also why both show different?

any place i can put price alerts to get deals email to my gmail
please advise
Microsoft Azure 2017
LVL 12
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Javascript routine works on PCs but not on touchscreen phones or tablets:

Zakaria Acharki helped me at www.experts-exchange.com/questions/29129533 with a webpage I designed in 2012 to get it partially working on touchscreen phones and tablets.

Here is a link to the webpage modified so it doesn't send data to me: www.barnwellmd.com/PainDiagram/Testdrawing.html

But this routine which works great with a mouse on a PC does not work on phones or tablets:
function clearGray()
	var imageData2 = context.getImageData(0, 0, 700, 643);
	var newPixels = imageData2.data;
	for (var i = 0, il = pixels.length; i < il; i += 4) 
		if((pixels[i] == 255 && pixels[i+1] == 204 && pixels[i+2] == 153) 
		|| (newPixels[i] > 235 && newPixels[i+1] < 150 && newPixels[i+2] > 75 && newPixels[i+2] < 110))
		   newPixels[i] = pixels[i];
		   newPixels[i+1] = pixels[i+1];
		   newPixels[i+2] = pixels[i+2];
	context.putImageData(imageData2, 0, 0);
	context.fillStyle  = "#CDCDCD";
	context.fillText("Referred pain",275,600);

Open in new window

This routine deletes the markings not on the body image when mouseup is fired.

This is what it looks like on the pc after swiping the mouse across the entire image: desktop imageThis is what it looks like on my phone after swiping my finger across the entire image:phone image
So on the phone, lines drawn on the image are not deleted outside of the body image.

What do I need to do to get this to work on touchscreens?
This webpage is not working on phones/tablets without a mouse:
Note: I modified the above webpage for this question so it does not send anything to me. Otherwise it works the same as the real page.

The webpage displays ok (not great) on my phone and tablet but I cannot draw on the image with my finger without a mouse.

Any ideas on how to fix this?

Here is the code:
<html lang="en">
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
	<title>Pain Diagram</title>
	<style type="text/css">
		body {background-color:#CCFFFF;} 
		#container { position: relative; }
		#imageView { border: 1px solid #000; }
		.button {
		  background-color: #004A7F;
		  -webkit-border-radius: 10px;
		  border-radius: 10px;
		  border: none;
		  color: #FFFFFF;
		  cursor: pointer;
		  display: inline-block;
		  padding: 5px;
		  text-decoration: none;
		  -webkit-animation: glowing 1500ms infinite;
		  -moz-animation: glowing 1500ms infinite;
		  -o-animation: glowing 1500ms infinite;
		  animation: glowing 1500ms infinite;
		@-webkit-keyframes glowing {
		  0% { background-color: #B20000; -webkit-box-shadow: 0 0 3px #B20000; }
		  50% { background-color: #FF0000; -webkit-box-shadow: 0 0 40px #FF0000; }
		  100% { background-color: #B20000; -webkit-box-shadow: 0 0 3px #B20000; }

		@-moz-keyframes glowing

Open in new window


I have a Samsung Note 9 phone.

My contacts are located in two different places; sim card and Gmail account.

There are different contacts in both of these places but would like all imported to Note 9 phone.

Also, there are some contacts which are the same in both places.

Is there a way of syncing together contacts in Gmail with contacts on this phone, where contacts were imported from sim card, without having duplication of contacts?

i have android app with bunch of videos in it.

how to access the same app in windows 10 laptop
please advise
Hi Experts

Could you point a way to automatically transfer a telephone contact list from a smartphone to another ?

The last time I shop a new smartphone someone transfered it by via bluetooth, I guess.

The new smartphone is using Android 8.

Thanks in advance!
I hv a few very active wasapp groups tt I often housekeep most of the messages so that the 30GB phone storage dont run out.  however it takes a long time to select one by one the hundreds of messages: is there a way to do shift -select like in Windows?

I cud do it by connectg phone to PC but usually while waiting for buses or in the queue, I do this housekeepg
any good android or iphone with 256 gb internal memory and good ram around 350$ budget in usa market? looking for unlocked phone without any contract obligations

Please advise
any android app that plays .mpg video files which is free
please advise
mx player i tried which did not work
hi i have 13 hour .mpg video file which i am trying to play in my phone which is not working

how to conver tthat to say mp4 which easily play in my anroid phone.
i am using mx player to play videos on phone

any free good tool for this conversion

please advise
Fundamentals of JavaScript
LVL 12
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

I like to sell my moto 4g plus current phone.

any good genuine sites where i can sell my phone to get reasonable amount.

please advise
I have a UIPageViewController which I am using for onboarding/walthrough screens but at the moment they only work with swipes. I added a button but I can't actually connect it and create an IBAction. I was able to programatically create a button that could print to console but I don't know how to get it to move the screens like swiping does.

class PageViewController: UIPageViewController, UIPageViewControllerDelegate, UIPageViewControllerDataSource {
    var pageControl = UIPageControl()
    // MARK: UIPageViewControllerDataSource
    lazy var orderedViewControllers: [UIViewController] = {
        return [self.newVc(viewController: "sbBlue"),
                self.newVc(viewController: "sbRed")]
    override func viewDidLoad() {
        self.dataSource = self
        self.delegate = self
        // This sets up the first view that will show up on our page control
        if let firstViewController = orderedViewControllers.first {
                               direction: .forward,
                               animated: true,
                               completion: nil)
        // Do any additional setup after loading the view.
    func configurePageControl() {
        // The total number of pages that are available is based on how many 

Open in new window

looking for cheap and best phone which has lot of memory like 128gb and good ram like 4gb

any suggestions where to see and compare varous features and costs etc. that are available in usa markets

i also like to put 400 gb mini micro sd card (i think that is maximum available in market now right?)
please advise
yesteray i put 256gb mini micro sd card (with about 220gb content) to my motorola 4g plus below phone


i played one video and my phone heating up a bit.

Do i not supposed to load that big micro sd card to my phone.

what is the maximum mini micro sd card that i can put safely without overheating etc issues

please advise

I am working on an iOS application (in nativescript) that needs to get and post some data to an API in the background each 5 minutes. Now it seems that iOS is closing my application so I took a look at the long running tasks section of https://docs.nativescript.org/core-concepts/ios-runtime/how-to/BackgroundExecution but I fail to see how I should configure an interval now.

Also while it works correctly on the simulator (not thinking about the interval) with the debug fetch command, I can't get it to work correctly on a real device.

Referring to above unfinished EE thread,

will anything break if I move Whatsapp photos/images from Phone to microSD & if needed,
later move the photos/images back to the phone?

Would like to clarify what Tim Green mentioned below: I could not locate it.

"Just because it doesn't cache the email, it still save info about the mailbox that will be needed for connectivity.
The move process may be a bit different depending on the android device but you can do it like this for the most part:

1.Navigate to settings on your phone
2.Tap Apps.
3.Select an app you want to move to the microSD card.
4.Tap Storage.
5.Tap Change if it's there. If you don't see the Change option, the app cannot be moved.
6.Tap Move. "
After installing MobilePass (a 2FA/OTP app for use with Checkpoint
VPN), it has required my Android phone to enter a PIN : previously
I just need to swipe the screen.

The issue is: since MobilePass app is installed, all my various
Whatsapp groups don't give a sound/alert even if I set custom
notifications.  However, the new whatsapp messages will still
pop up (if I set a custom notification).

I would like the sound notifications for new messages at set
by custom notifications.

My Android Note 4 is not managed by MDM
On my 32GB Galaxy Note 4 (appears to have 26GB nett only from Win Explorer) :
see attached.  How is the "missing" 6GB accounted for?

I'm running MS Outlook on this Note4: when there's is huge emails in my Inbox,
does it  "sync" down to the Note4?  If so, how can I make it such that it take
Outlook emails take the space on the microSD card & not on the phone?
If this can't be done, is there any other email client app that could sync from
our MS Exchange 2016 but store the emails in microSD : pls recommend &
provide steps to configure
Lately, when I have been taking pictures with my iPhone X some of the pictures have been captured as movie files (.MOV) instead of just regular pictures (.JPG files).

How can I change this so that when I use the camera app on my iPhone it will only capture picture and won't capture movie files?
CompTIA Cloud+
LVL 12
CompTIA Cloud+

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

I have a cordova app and would like to make some changes to the build.gradle file. Basically, I would like to remove some lines (with **) and add some new statements (*)

I have added the lines but when I build my code with  cordova  the gradle file gets regenerated and my changes are lost.

I know that I can use the android studio but I am automating my process and would do it with my current automation script

Can you please let me know how to make this change with maybe gradle.extra file

I am using Cordova 6.5.0

Thanks for the help

here is the snippet from the build.gradle file

dependencies {
    compile fileTree(dir: 'libs', include: '*.jar')
    debugCompile(project(path: "CordovaLib", configuration: "debug"))
    releaseCompile(project(path: "CordovaLib", configuration: "release"))
    **//compile "com.google.android.gms:play-services-gcm:11.+"**
    compile "com.android.support:support-v4:24.1.1+"
    compile "com.squareup.okhttp:okhttp-urlconnection:2+"
    **//compile "com.google.android.gms:play-services-gcm:+"**
    *compile 'com.google.firebase:firebase-messaging:10.2.6'
*apply plugin: 'com.google.gms.google-services'

Open in new window

Published iOS app about 18 months ago using Xamarin Studio.  Now that its Visual Studio 2017, need to recreate Apple certificates and profiles and then use fastlane to install them on my Mac.  App builds fine and it runs on an iPhone attached to my Mac.  Looking for a consultant who can help me with this process.
Outlook (and smartphone email apps) show a NAME, instead of a specific email address on incoming email.  This seems to be a huge spam risk, and I'd like to set Outlook to show the exact sender address on incoming mail. Anyone know how to do that?
  I get several emails a week from folks asking me if this message from "The Boss" is real or even to help them fulfill the bogus request, and I write them back asking them to compare the bogus email address to the boss' REAL address and disregard the request.  I feel if they saw the incoming email was from Borus@corruptedemailscam.uk we could avoid some wasted time and risk...any ideas or fixes are appreciated.
After my kid helped me install Facebook, Messenger &
a few other apps (CamScanner etc), now I can't share out
my Whatsapp images via Gmail anymore:

After I selected an image in Whatsapp, select "Share", will
get to the 1st attachment which used to have an option for
Gmail but now it doesn't show the "Gmail" option anymore.
Instead when I tap on "Email" will get to the 2nd attachment's
screen which says "No email was set up" : previously it was
set up & there.

Hmm, I think I uninstalled Gmail app & disabled a couple of apps
 when I was low on storage space : could this be the reason?

Also, I've been getting beeping notifications sounds though there's
no new Whatsapp nor SMS messages coming in: could it be one of
the new app (Facebook, Messenger, ... ?)
Hi all
We have a number of Android tablets, some of which are misbehaving. I need to be able to save (or send) the system logs (and maybe dmesg as well, if poss) continuously to the removeable SD card, or alternately, to send the logs out to an FTP server. Can someone help me do this please? I will not be able to "root" the devices.
Thanks in advance
My company is paying for me to go to training for mobile app development for Android and iOs.  I am in the IT dept 15 years manager and I have basic programming experience.  Can someone recommend a hands on course I can take.

Smartphone Programming

Smartphones run using a variety of operating systems -- Android, iOS and Windows Mobile most commonly -- and an even wider variety of programming languages, including Objective-C, Java, Visual C#, C++ and .NET, not to mention HTML5 and JavaScript, and cross-platform frameworks such as PhoneGap.