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 have an activity where the user can update some data related to his profile (for example, his name) and he can also upload a new profile image.

After the update operation, the user is redirected to a new activity. The problem is that when the user comes back to his profile activity, the showed image is still the old one and not the new one while the name updated correctly.

In order to see the new profile image, the user needs to close the app and open is again.

How can I solve this problem? I use a function updateInfo(), but it seems to not work as I would like.

Can you help me, please?

public class ProfileActivity extends BaseActivity implements ProfileView {

    ImageView p_avatar;
    ImageButton ibBack;
    TextView txtTitle;
    ImageButton ibRight;
    Toolbar toolbar;
    EditText etFullname;
    EditText etEmail;
    Button btnUpdate;
    TextView txtLogout;
    LinearLayout llMain;

    private static final String TAG = "ProfileActivity";
    private String userName = null, userEmail = null;
    private ProfilePresenter profilePresenter;
    private Dialog dialog;
    Bitmap FixBitmap;
    Bitmap bitmap_to_save;
    ImageView ShowSelectedImage;

Open in new window

Get expert help—faster!
LVL 12
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

I would like the best way to text from a desktop or laptop PC without knowing the carrier?
There are a few ways to send a text message from any PC but you have to know the person's smartphone carrier.
Then you create an email to the person's cell phone number followed by "@" and the carrier's domain.
But unlike a cell phone, there is no need to lookup the carrier.
I have about 180 physicians with their independently owned smartphones, and I would like to send a text to all of them or a small fraction of them.   I would like to do this from Windows 7, or 8 or 10.
Thank you.
Does the iPhone X have a delete button?

While typing, editing, or modifying emails or texts I sometimes find the need to delete letters or words that are in front of the cursor rather than behind the cursor.

So what do I need to do so I can delete these characters in front of where the cursor is currently located?
I have a new Samsung Galaxy S9 which replaces a Samsung Galaxy S6 and I have two issues which are probably connected:

a) I cannot use the App "Wifi File Transfer Pro" - when I launch the App on the phone it gives an IP address to enter into my browser on the PC, but when I enter this address it will not bring up the page - the connection eventually times out; on the Galaxy S6 this works perfectly

b) I have an app I have written in Java which has components running on the phone and my PC, which I use for transferring various files between the phone and my PC - again this has worked perfectly for many years on the Galaxy S6, but on the S9 it fails to connect:  the phone component successfully wakes up the PC component which does its thing and then tries to connect to send the result, but the java command connection=new Socket(host, PORT) times out with the error message " Connection timed out: connect"

It looks like a firewall issue, but it's not the firewall on my PC since I've tried disabling that temporarily.   It may be a firewall issue on the Samsung S9 but I can't see how to configure that.   I've tried tweaking the Setting "Phone visibility" but that doesn't seem to solve the issue.

Any thoughts?
How much longer will it be until the iPhone X can be jailbroken?
I have a Samsung Galaxy S9+.
Android Version: 8.0.0

I recently put a micro SD card in it and moved many apps to it.  One of them was Bejeweled Classic by Electronic Arts.  Later I noticed that the icon for it was missing, so I went to download/install it again.  When that happened I got a strange error message: "You cannot install this app because another user has already installed an incompatible version on this device"

NOTE: I cannot find the app on my Installed Applications list.

You cannot install this app because another user has already installed an incompatible version on this device
In the link above someone wrote:
What worked for me was: adb shell pm uninstall com.packagename

I have a Terminal Emulator to try that command, I just need to know the exact packagename.

Question: How do I get a listing of package names in the Terminal Emulator?

Screenshot of error message
I have an off-brand Android phone (Alcatel) using Tracfone as my service provider.  For the last couple of weeks I have been having authentication problems after a Norton alert that "my connection was compromised".  I checked all of the router settings, rebooted the phone and now can no longer connect the phone to my home wi-fi network.  I just get the message "Authentication Problem" after an attempt to connect.  I have restarted the phone numerous times, I have rebooted the router a couple of times, and I have Forgotten the connection and re-added it as a new connection numerous times, but it will not connect properly.

My two daughters have exactly the same phone, and they can connect without a problem.

I can connect my phone to the wireless network at work without a problem.

Short of resetting the phone to its factory defaults, is there anything I can try to resolve this?
Anyone knows if there is a way to change a hostname in Polycom SoundStation 7000?   So it would broadcast an actual hostname instead of the make/model name.
Easier to manage and troubleshoot.
airbnb app for android 7
crashes so I delete all storage in "settings"

then it works again

can I just delete data from a folder

where are the folders for that app
I noticed usually  at night (though I'm uncertain at time), my Note4 (which I bought as
a used device) will go into 'silent mode' ie when new Whatsapp/SMS comes, it is quiet
despite that on some crucial Whatsapp group, I set 'Custom notifications" to alert
with sounds (as I am on-call 24x7).

I will notice that following will become disabled (ie at the lowest/minimum setting)
& after enabling it back, it will go back again & again (with each day) without
intervention from me.
  Settings => Sounds & Notifications => Notifications

When new Whatsapp comes, the pop-up still appear tho
(this is a setting under  Custom Notifications)

When I first got the device from the seller, there's a pop-up saying "Good Night,
do you want to silent your phone" which I will cancel but I don't see this pop-up
anymore the last 2 weeks.

What can I do to disable this 'auto-silent' mode which doesn't reverse itself
even day breaks (it's morning)?
Cloud Class® Course: Amazon Web Services - Basic
LVL 12
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

My Note4's Android  kept flashing advertisements & I had to touch the "Close" button on the
touch screen : I'd like  to remove this.  Kindly provide step by step instruction

I have a Samsung SmartPhone with numerous photos and a few videos. I need to get them on to my PC (Windows).I hooked it up to a USB port on my computer. I see a bunch of folders, including PHOTOS. However, this folder seems not to have my videos. (On the phone, they seem to be in same folder.)

Here's a list of folders. Where would the videos be?

Where is video folder?


I have 2 APK - I would like to change the "Android package name".

Any simple application to do this? (I have to use the APKs in Android for works - but the package name already exist)

Thanks in advance

I used "Custom Notifications" on my Galaxy Note 2 previously for some critical Whatsapp group
(which I need to respond urgently) by making new messages to pop up with a custom sound.

After migrating to Note4 (Note2's screen broke), I set the same custom notifications but only
the "popup" for new messages surface but no sound.  Is there a setting somewhere that I
I have a Samsung Galaxy S7 and I use Android Auto to connect to my car.  I recently lost the ability to use the voice command "Ok Google". I can still prompt it if I touch the mic on my car dashboard and then voice command whatever I want it to do..

Note: That this has worked before with my current set up. It may of stopped working after a recent phone update, but I can't be sure.

My settings in Android Auto are on to allow voice command. Are there any other settings that might be causing this?

What's the best way to troubleshoot?
On my Note4 Android 6.0.1, I can only enter up to 10 characters in a Contacts' name: in my now broken Note2 (Android 4.x), I could enter a much longer name (possibly double).
Is there any Setting I have to turn on or any workaround for this?
samsung galaxy s6
android 7

buzzes/vibrates too loud

can I turn down the vibration?

I am looking for an app that can tell me how to get from A to B from my car but also base this on traffic etc.

I know there is Apple Maps, Google maps and so on but does this take into traffic and roadworks?

how to mute moto 4g plus camera.
when i take i hear click sound which i hate. i want silent camera. please advise
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.

Here is what we have found so far along with pricing info, as well as pros and cons.  The sheet can be viewed by anyone.  Editing is restricted but anyone can comment here

I would like to monitor ingress and egress to my home and yard.

I need it to be able to notify me every time it recognizes someone that shouldn't be there.

The most important location to monitor is when people come up to the front door from the street which is about 50 ft away.  I would like the smartphone camera there to be good enough to see activity actually at the street level.

I am really looking for best in class here within reason cost-wise, and suggestions are greatly appreciated.
We plan to begin coding (Delphi 10.x) application for smartphone, in a first stage, accessing the customer database, the smartphone being connected to the customer local network.
It seems I have two alternatives : Direct access or REST/HTTPS layer.
Is there some documentation explaining advantages and disavantages of both methods ?
one of our corporate applications have recently issued a windows/android app for smartphones, to give the users an alternative to using their web app. the suppliers are a relatively small company. Some of the end user smartphone devices are currently not encrypted, but the suppliers say this is not a show stopper as security is 'contained' within the app itself. The login to the app is single factor authentication, username/password. how practical is it that security for an app would be 'contained' within itself, so if someone lost the smartphone with the app itself there would be no data specific to the app accessible on the devices storage. And perhaps more relevant what type of testing would you suggest to see what data specific to the app is stored and retrievable on the phone itself? or what types of security sensitive data do/could apps leave on the phones themselves and what could be retrieved if the device was lost/stolen?
plugging into windows 10
I sometimes see my files of samsung galaxy s6 android 7

I think when I dont see files; then I may need to reset computer

I click refresh file explorer window but says; this folder empty

I try plugging into different usb
Is there another type of refresh I could do without reseting my windows computer

Please dont request an me downloading a windows program because that is another question.
is there is any built in voice recorder for mot 4g plus or any recommended apps for this
please advise

i took lot of picture on my moto 4g plus phone. how to sync the photos i took to my computer. Is there is straight forward way to sync up taken pictures to google photos and flickr directly including the videos i took. I do not want any of watsup junk images, videos though.  please advise

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.