Smartphone Programming

7K

Solutions

42

Articles & Videos

7K

Contributors

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

1. What does it mean for  "tools:context="com.abc.passingdata.MainActivity"  ? (sample 1)
2. What does it mean for the following XML statement ? For "action", does it refer to the corresponding java class. How does "category" defined in sample 2 ? Any special meaning ? Thx

            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />  

           <action android:name="com.abc.usingintent.SecondActivity" />
            <category android:name="android.intent.category.DEFAULT" />
   
SAMPLE 1
-------------
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical"

    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context="com.abc.passingdata.MainActivity">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Welcome to the Second Activity"
        android:id="@+id/textView" />

    <Button
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Click to go to Main  Activity"
        android:id="@+id/button"
        android:onClick="onClick"/>

</LinearLayout>

SAMPLE 2
--------------
        <activity …
0
Free Tool: Path Explorer
LVL 9
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

We send an SMS with a URL (e.g. mydomain.com/whatever)
The custom app "ABC" installed on the phone has "mydomain.com" as "supported links"
Using Android Messages, no problem, it launches ABC.

However using Samsung Messenger or Messages, clicking on the URL just opens the website.
In other words, it ignores the Settings for ABC.

Forcing users to install Android Messages is not an option for us.
What do you suggest?
0
Hello

I understand with the Samsung S8 that there is the ability to view more than one app on the screen at the same time

Some questions

1. I know Mac can do this, can IOS iPhone and iPad

2. When I try this on a Samsung S8, i always seem to get the Settings as the first app and then any other app as the second. How can I get two real apps to run in multi screen
0
android 7
will i get app alerts , phone calls , sms when battery is on
medium?
supersaver with black screen?
0
Last week my Note 2's phone popped up the above message & while this message
is showing up, it won't allow any activity (reading, typing) etc in Whatsapp: it took
more than 15mins & I decided to power cycle it.

Presume its whatsapp messages/content being backup : does it backup to
the microSD card in the phone or to Cloud & how can I restore (ideally selective
restore of selected messages) ?
0
I'm trying to run commands in command prompt on PC,

npm install -g cordova
cordova platform remove <platform>
cordova platform add <platform>

The NPM part works fine, but when i try to run cordova lines it fails with unknown command cordova. I do have cordova installed since I use it in VS and can deploy to android and ios. I realise I'm somehow missing the path in system path but I cannot find anywhere on the net or computer where the cordova root is. Can anyone help?

Thanks,
Primoz
0
Last week my Android popped up a message saying the memory of the phone is
full & whether to save into microSD (I can't recall the exact message).

Q1:
How can I choose what to save: say selective Whatsapp threads / groups    messages and images

Q2:
Can I choose to save photos in galleries & SMSes into the microSD as well?
1
Hello everyone,

I am trying to build a very simple Android Mp3 Player.

I am preparing the bar that contains "Next song" "Play" "Previous" etc but I am not able to put it in the bottom of the page in a way that can be identical on every device.

I started coding my app from a swiped tab interface (the default one in android) and then added my fragment:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_alignParentBottom="true"
        android:orientation="horizontal">

        <ImageButton
            android:id="@+id/previous_button"
            android:layout_width="50dp"
            android:layout_height="50dp"
            android:background="@drawable/ic_skip_previous_black_24dp" />

        <LinearLayout
            android:layout_width="50dp"
            android:layout_height="50dp"
            android:background="@drawable/circle"
            android:gravity="center_horizontal|center_vertical">

            <jp.co.recruit_lifestyle.android.widget.PlayPauseButton
                android:id="@+id/play_pause_button"
                android:layout_width="25dp"
                android:layout_height="25dp" />
        </LinearLayout>

        <ImageButton
            android:id="@+id/next_button"
      …
0
I have searched the android developer docs (and made lots of google searches) but I cannot find anything that shows what the code is exactly for turning off the 'Motion Effect' when setting a wallpaper. Apparently I am looking in the wrong directions or just completely missing something... but could someone please show or point in the right direction for how to turn off the 'Motion Effect' when setting the wallpaper from an app?

I see how to do this when manually setting my own wallpaper on my phone using android's ui but I cannot find java code that does the same thing (for example using the WallpaperManager or something similar).  Please see attached image.  Thanks
wallpaper_motion2.jpg
0
I'm new to both VS, cordova and everything else in between (but long time programmer).

When trying to install cordova plugins via config.xml, choosing from local path, it appears to fail to install or crash if the directories have spaces in them or if any of the variables have spaces in them (eg. a facebook plugin asked for a appname and if i put in two words it would fail).

Am i missing something or do these plugins still follow dos standards where spaces and periods are not allowed and should be only 8 characters long?
0
Free Tool: Port Scanner
LVL 9
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Hello

Imagine this scenario -

A user walks into one of our support centres. The user has one of our mobile apps installed on their device. A beacon within the support centre is set to transmit an alert to a support tech when it detects the presence of our mobile app close to it. The beacon sends information on the user to the support tech who is able to identify them.

Possible?
0
We are looking at a couple of applications for voice recording on corporate owned mobile devices. We want these to be hidden, such that the user can't delete these. Is this possible on iOS / Android? I'm not sure what the correct term is but I've chosen 'headless'.

Going one step further, is it possible to prevent these being stopped from running on iOS/Android?
0
What is the best apps where I can use my computer to text other phone and receive text and pictures. I know some of them you have to know the service of the phone that you contacting so it can use SMS. I don’t want to have to use that but to go through my wifi. Also, I don’t want to use Google because I tried that before and created a separate account but it still integrated with my other Google account.
0
Do anyone know is it possible to flash samsung galaxy s6 edge + (sm-g928v) with tmobile(sm-g928t) and how?
0
I've been researching which is better for native cross platform development React native or Xamarin? my research has led me to the following

User React native when
  • your team is made up of web developers
  • you are only building for tablet/phone IOS or Driod (No IOT support??)
  • you want a free tool

Use Xamarin when
  • Your team is made up of c# developers
  • you want to target IOS, droid, windows as well as IOT devices for platforms
  • You have money to spend, the free version of xamarin is lacking for enterprise

i've also read that React Native is buggier and that xamarin is more performent how ever i'm skeptical that these may have been the results of individuals and not a reflection of the tools/platforms.

anyway i'd really like it if someone could confirm or challenge my findings
0
Pleases provide me with the steps on how to change the Exchange email sync schedule on a Samsung Galaxy S8 cell phone.
0
Is there a Google Voice API that allows calls to be placed from Google voice numbers?

And is it possible to use it for development of an Android app intended to be free in the Google Play store?

Thanks in advance!
0
Hi ,

how to find moto 4g plus sar value.

i saw below link but not able to see exact model

http://www.s21.com/sar.htm
https://www.rfsafe.com/samsung-cell-phones-rated-lowest-radiation-cell-phones/
https://www.rfsafe.com/select-model-smartphone/

is there is a way i can reduce the sAR value of phone withouth replacing with other phone with lower values say 0.2 etc rather than above 1.0

please advise
0
Hello:

On my Windows 7 laptop, I have downloaded the Android Studio and will be developing Android apps, of course.

I have an iPhone 7--not an Android phone.

Do I have to purchase an Android phone, in order to view the apps that I'll be creating?  If so, then I'll go out and buy one, certainly.  

Or, is it possible to review on my iPhone the Android apps that I'll be creating?

Thank you!

John
0
Free Tool: Subnet Calculator
LVL 9
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Would like to know, are there any libraries available for this communication.

If yes ... please advise, might be needing some assistance to tweak too.

if no ... can we write/create something?

Please share with your expert advise/input/thoughts.

Best regards
MK
0
What are some good books that describe how to use a Samsung Galxy S8+ Android cell phone?
0
I have a navigation menu on a website that makes use of bootstrap 3.x.

As I shrink the Chrome browser window down to about 770 px width at first it seems to "stack" the menu items on top of each other (forming a second row) but then it seems to not know how to handle widths smaller than 770 px (as in tablet or smartphone sized screens).

I know about the Bootstrap grid and the sm md lg column designations, but I don't fully understand it and I am also very new to Bootstrap in general and I am not sure how to handle this.

site:  http://www.utahkidsfoundation.com

What modifications do I need so that bootstrap can handle the menu at smaller sizes?

Until I get a reply I will be investigating this as well and I will share my findings.

Thanks!

Tom




before:
before
after:after
0
Please provide me with a list of businesses within the San Francisco, CA Bay Area that can root a Samsung Galaxy S8 phone.

Several people at different clients I support have purchased the Samsung Galaxy S8 cell phone and would like to have it rooted.
0
Is it currently possible to root a Sprint PCS Samsung Galaxy S8 cell phone?

If so please provide me with the steps and information on how to do this.
0
Is it currently possible to jailbreak a Sprint PCS Samsung Galaxy S8 cell phone?

If so please provide me with the steps and information on how to do this.
0

Smartphone Programming

7K

Solutions

42

Articles & Videos

7K

Contributors

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.