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: SSL Checker
LVL 8
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

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
Please provide me with a URL address of the Sprint PCS add a phone program.

I know several users who all currently have a single Sprint PCS cell phone and are interested in finding the details of how they can add a second phone to their Spring PCS account using the current Sprint PCS promotion that we have heard is going on until the end of June of 2017.
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
* We have a product Ccure[/b][/b] Anti-Theft which is not working in oppo company phones background we are trying hooting on wrong attempt.
            we have perform certain process like:
    1. we exclude this app from battery optimization and power saving.
    2. We exclude  also from data saving.
    3. App process management and given all permissions .
    4. added to app auto startup (Startup Manager)
    5. Also prevented app to be killed while releasing background app memory

* we have also referred to certain links to resolve our problem but did not.
reference link.
     https://stackoverflow.com/questions/4797050/how-to-run-process-as-background-and-never-die
0
Looking for general direction. I'm researching how one would develop a phone app with following requirements. IOS and Android. Or only IOS if that would be easier as a minimum viable product.

I'm a programmer (VB, SQL, ADO, ASP) .... but, a phone app newbie.

My Vision
The app would playback music of approx 3 mins long, that has (say) 5 multi-tracks - up to 4 vocal tracks and 1 track of backing instruments.
A graphic of the vocal parts will scroll across the screen (in landscape). It will look something like this.
Screen will look like this
The horizontal bars represent the notes in a 3 part harmony. The screen will scroll as the music plays. (eg. as in the app Anytune Pro)

It will be possible for the user to Mute/Unmute each track by pressing a button, as the music in playing. (eg. as in the app Sing Harmonies see at 2:10 in this video https://www.youtube.com/watch?v=hr6Xw9JPQe8 - however, in that app there is no graphic of the notes)

The user will be able to sing along with phone mic and hearing through headphones. (eg. as in the app Acappella). He/she can learn from the playback, then mute the part, and sing along with the other parts to practice.

Question: where should I look for a basic entry into learning about developing this kind of app? It involves music playback, individually mutable mutitracks (streamihg or downloaded), scrolling visual, use of mic.

Thanks.
0
4
 
LVL 4

Expert Comment

by:Christ Harold
Thanks for Valuable Information Sir

Christ
1
 
LVL 46

Author Comment

by:Jackie Man
You are welcome.

Please feel free to post any question in Android topic,
4
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
On Demand Webinar - Networking for the Cloud Era
LVL 8
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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
I have been trying to follow a number of youtube videos instructing on the installation of cordova developmet environment on windows 10.

All time i get some sort of error, in trying to the the hello world example. So clear everything down.

Does anyone have a concise set of instructions in sequence to install this from scratch, im not interested in the android studio as will be using as text editor.

Many thanks
0
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
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
Free Tool: Subnet Calculator
LVL 8
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.

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
I have an analog door opener system in my building, this is the phone which opens the door: http://pasteboard.co/4JgctXi4x.jpg
I have a raspberri pi 3 model b, and a Pcf8591 ADC/DAC converter: http://articulo.mercadolibre.com.ar/MLA-641278286-modulo-pcf8591-conversor-4-ad-da-i2c-arduino-raspberry-_JM

What I want to do, is to connect the wires that goes to the analog door opener phone system into Raspberri PI, so I can hear/speak from a sip softphone installed in the raspberry pi.

Is this possible? I measured the voltage in the mic phone/speaker, it's shown in the picture. Not sure how to proceed with this.

Anyone? Thank you!!
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

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.