Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [android]

Android is an operating system based on the Linux kernel, and designed primarily for touchscreen mobile devices such as smartphones and tablet computers.

Filter by
Sorted by
Tagged with
1
vote
0answers
326 views

Pressing back button after navigating to an inner component closes Salesforce1 app in Android

I am facing an issue where the app gets closed when back button is pressed after navigating to an inner component in all Android devices. When back button is pressed after navigating to an inner ...
2
votes
0answers
282 views

Attribute Set did not contain a required Primary Key value

I am trying to hit the PATCH /contacts/v1/contacts endpoint and I keep getting the error below saying that I am missing the PrimaryKeyAttribute during validation but I'm not seeing that value being ...
0
votes
1answer
1k views

Marketing Cloud push notification not working - ID check

I'm using MobilePush in Marketing Cloud to send push notifications to my Android phone and it's not working! It seems like there are IDs everywhere along the road. Can someone please help me figure ...
1
vote
1answer
125 views

JourneyBuilder issues - beacon library excluded

I'm excluding the beacon library while declaring gradle dependency since I do not need it, for simple implementation of push notifications. Although I'm getting following error during compilation. ...
1
vote
0answers
321 views

Attributes not being added to Marketing Cloud

I am attempting to add attributes to Marketing Cloud in the onETPushConfigurationSuccess() method in the application class. etRequestStatus.etPushSdkStatusCode = 0 and the application is able to ...
0
votes
1answer
148 views

Marketing Cloud Android Permissions

I have integrated Salesforce Marketing Cloud SDK in an Android application. If I use: compile 'com.exacttarget.etpushsdk:etsdk:4.9.4' then Permissions that I do not need are added like Bluetooth ...
1
vote
1answer
280 views

JBASDK Android cannot resolve

I'm trying to integrate the JBASDK for android in android studio following this guide: http://salesforce-marketingcloud.github.io/JB4A-SDK-Android/sdk-implementation/implement-sdk-google.html but ...
1
vote
1answer
683 views

Android Deep linking from ET Push Notification

We currently have push notifications sent to both our Android and iOS apps via Exact Target. We are testing including links to products from our site in those notifications to allow users to deep link ...
1
vote
0answers
232 views

To use the smartsync to store the data in local soup android native SDK

Below is my code for creating the soup on locally and sync down and store the data in local soup. Below is my code calling onCreate method. Salesforce data is not syncdown. Can anyone help me for ...
4
votes
1answer
183 views

Create Pre Chat Records using Live Agent Mobile SDK

I'm trying to implement a native Android app using the Live Agent Android SDK, however I was unable to find how to create records using the API provided in the SDK. I want to implement something ...
0
votes
2answers
241 views

Compilation Error with Android Studio

Morning all, Overview: Bit of a noob in the whole Android app dev area, but had some free time and thought I would give it a shot myself. Facing issue with error "Error:(35, 54) error: incompatible ...
1
vote
1answer
597 views

Salesforce Mobile SKD Gradle Build Error, Android Native App Example forcedroid trailhead

Cannot get Android Native app to run, following Salesforce Trailhead Mobile module here: Salesforce Android Mobile Walkthrough. I have installed Java SDK 1.8, and Android Studio 2.3. Using NPM ...
0
votes
1answer
68 views

How to I load Salesforce1 onto an Android mobile device that does not have the Play Store?

We are testing an app on a barcode scanning Android-based device that doesn't have the Google Play Store. Any suggestions on how I can install Salesforce1?
1
vote
1answer
151 views

Receive Notifications in Android

I want to intercept notification events in Android, my application receive notifications, <service android:name="com.exacttarget.etpushsdk.ETPushService" android:exported="false"> &...
2
votes
2answers
412 views

JB4A-SDK-Android Device-Registration not working using FCM (Firebase Cloud Messaging)

I have implemented JB4A-SDK-Android following the links below: salesforce-marketingcloud.github.io/JB4A-SDK-Android/sdk-implementation/implement-sdk-google.html salesforce-marketingcloud.github.io/...
0
votes
1answer
76 views

ETPushReceiver definition not found in AndroidManifest

I see the following ExactTarget initialization error in our crashlytics from user-devices: com.exacttarget.etpushsdk.ETPushReceiver definition not found in AndroidManifest.xml ~!ETPush_ERROR: ET ...
1
vote
1answer
71 views

JB4A Android initialization fails because of “bad base-64”

I see the following non-fatal error quite often in our Crashlytics: [~!ud ] bad base-64 ~!ETPush_ERROR: ET PUSH SDK VERSION: 4.7.1 build 160600004 ~!ETPush_ERROR: APP VERSION: 7....
3
votes
0answers
298 views

Work around for window.open in Salesforce1 Android

I created a visualforce page that can be opened in SF1 via a tab in the navigation menu. This VF page has links to reports and dashboards that need to be displayed in standard layouts (not the SF1 ...
1
vote
2answers
312 views

“Trailhead Native Android” “forcedroid create failed Too many arguments.”

I'm trying to go through "Trailhead Native Android" and I'm getting stuck in the first chapter on "forcedroid create". the error I'm getting from the command line is "forcedroid create failed Command ...
0
votes
1answer
343 views

Android ETPush SDK Initialization: What's the purpose of initializing in onCreate()

When integrating the ETPush SDK in our Android APP, we first ignored the advised approach to put the call to ETPush.configureSdk() into the application's onCreate() method, but rather attaching things ...
1
vote
1answer
96 views

GcmTaskService may be blocking Exact Target push service

We have a service which extends GcmTaskService and declared that as a service in an AndroidManifest as <service android:exported="true" android:name=".MyService" android:...
0
votes
1answer
1k views

Salesforce Hybrid app crashing in Android studio with error: Session 'android': Error Launching activity

I am building a hybrid android app using Salesforce mobile sdk and Cordova. I am following the tutorial given in this PDF of https://bitly.com/1vwq1rL at link https://developer.salesforce.com/...
0
votes
1answer
299 views

Geo Location, Location based push messages not working

I have recently upgraded my Android and iOS Apps with new ET journey builder versions.Totally followed the Learning App, but location based push messages not functioning as previous. I can see ...
1
vote
0answers
443 views

Mobile push for Android using exacttarget's SDK doesn't work

I'm trying to send push notifications from exacttarget's portal mc.s7.exacttarget.com/cloud/#app/MobilePush/MobilePush/ and it doesn't seem to work at all. The device is not registered in the ...
1
vote
0answers
133 views

Crash in Exact Target Push Android SDK 4.5.0

When including the Instabug SDK and: compile ('com.exacttarget.etpushsdk:etsdk:4.5.0@aar'){ transitive = true } We are consistently seeing the following error E/AndroidRuntime:FATAL ...
0
votes
0answers
795 views

Salesforce1 opening browser instead of App for Visualforce page

I have an Android specific issue where if I have the user open up a VisualForce page in Salesforce1 it opens to the Browser. This does not happen in iOS. I went into the application settings and ...
2
votes
1answer
2k views

Integrate the Marketing Cloud Mobile Push Android SDK with FCM

Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the reliable and scalable GCM infrastructure, and today if you are integrating messaging in a new app, you are forced to go with ...
1
vote
0answers
76 views

Can not receive push notifications from other servers since upgrade to 4.4.0

Apart from using SalesForce for our marketing notifications, we have internal service related notifications which is sent by our own AWS based push notification servers. With version "compile 'com....
1
vote
1answer
91 views

How to Override Notification Intents in Exact Target, Android SDK version 4.2.0

This example is taken from Journey Builder for Apps SDK Explorer for Android shows a few ways to override notification intents. How to Override Notification Intents? The SDK provides three ways to ...
1
vote
2answers
598 views

MobilePush fails to send push notification

I wanted to send a first test message through MobilePush to my registered device (Android), but the contact's activity dashboard just says "Status: Error" without any further explanation. Is there a ...
1
vote
1answer
138 views

JB4A-SDK-Android Device-Registration not working

I included the JB4A-SDK-Android SDK 4.4.1 like described in the documentation, but my device wont show up in the mobilepush marketing cloud. It seems that there is a problem with the device ...
1
vote
1answer
166 views

Exacttarget JB4A-SDK-Android Gradle Errors

i'm using this SDK in my app: http://salesforce-marketingcloud.github.io/JB4A-SDK-Android/ (Version: 4.4.1) After I included the SDK in my project I got alot of errors in the gradle console: AGPBI: {...
0
votes
1answer
388 views

Journey Builder and custom push handler

I'd like to implement Journey Builder next to custom implementation for other push handler (we would like to have Journey Builder, Mixpanel and our own implementation in one app). The issue which we ...
3
votes
2answers
2k views

Fixed div in Salesforce1 using lightning components

Although this may not be salesforce specific issue but its remotely related to Salesforce and occurring only in Salesforce1 mobile app. I am trying to fix a div at the bottom of my screen using the ...
1
vote
1answer
1k views

How to login on saleforce using webview

I am android developer.i make a app using webview to load url salefore login page in webpage i want on webpage click on login button go to activity and get token and url.plz help me.. My activity is ...
1
vote
1answer
204 views

Salesforce1 click-to-dial can not return back to Salesforce1 until restarting the Salesforce1 app

Follow the instruction from the official article (http://help.salesforce.com/HTViewSolution?id=000221658) to create a visualforce page as below: <apex:page standardController="Contact" docType="...
1
vote
1answer
637 views

Mobile Push + Open Direct not loading landing page correctly

I've integrated the JB SDK v4.3.1 in my android app, and followed the integration tutorial from here, and to use the Open Direct feature from here. My custom application code is as follows: package ...
0
votes
1answer
75 views

Mobile app installed or not using ampscript

Our systems sending promotional email to customers. In the email there are links about promotion. We are also maintaining mobile app (ios and android) for promotions. We are writing an ampscript to ...
0
votes
1answer
54 views

ReadyAimFire and the application class

I am currently experimenting with salesforce mobile push and being no Android developer I am encountering some trouble by simply following the guide. When I create my Application class the ...
0
votes
1answer
110 views

Android SDK - Remote start page without requiring shouldAuthenticate?

I'm running into an issue with configuring the Salesforce SDK for Android. We have a Force.com site that does not require logging in to access (Guest User can open the Visualforce page). I'm trying ...
1
vote
1answer
133 views

ETPush IllegalFormatConversionException when location not available

I am using the Android ExactTarget push SDK version 4.1.0 pulled through my gradle file. Whenever I try running the app when the user is only using GPS for location (not mobile networks), the app ...
1
vote
0answers
133 views

Canvas App: Picklist values are not showing in Android

I am trying to show master org webpage in to Child Org using Canvas App. There is a picklist field on my webpage bound with apex:inputField. Now, the picklist field options are showing in desktop ...
1
vote
0answers
331 views

Scrolling broken on SF1 for ios/android?

I have a component which will perform an initial render, then will grow larger once some new information is fetched. Even though the size of the elements on the screen has gotten bigger, I'm unable to ...
1
vote
1answer
363 views

error=invalid_client_id in Android native app

i get the following error when logging out of my native android app that i built with Salesforce Mobile SDK: error=invalid_client_id&error_description=client%20identifier%20invalid This results ...
1
vote
0answers
28 views

Salesforce Android home screen widget

I would like to create an Android home screen widget that displays a report chart coming from Salesforce. I've been looking at the widgets a bit and it seems there are only a limited number of layouts ...
1
vote
0answers
69 views

hardcoded security token to login in salesforcesdk android

I am using Salesforce Android SDK. I want to authenticate in the application with my own salesforce email and security token. Is there any way that I can hard code my email and security token in the ...
2
votes
0answers
234 views

The log out issue in Salesforce mobile SDK android - Hybrid

When we log out, redirected to login page, in that login page if we login again redirected to login page again. If we close and open the app again, logins with out asking for password { "...
1
vote
1answer
140 views

Accessing stored attributes in ExactTarget SDK

I'm using the JB4A Android SDK. It seems that the ETPush class exposes a method called getAttributes() which returns an ArrayList of the key-value pair attributes that are sent to the server. I want ...
0
votes
1answer
382 views

How to access mobile camera from android phone vf page

I am trying to access camera from a android phone by vf page.. But is not working. It is asking me to select pic from gallery. It is working fine in iphone. Is there any work around.. <apex:page ...
4
votes
0answers
102 views

Bluetooth Permission removal on JB4A on Android < 5.0

In version 3 of the ExactTarget JB4A library that we use for push notifications, there was a dependency on the IBeacon library which imposed a requirement on the Bluetooth permission for the app. In ...