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.

3
votes
1answer
314 views

Android Push Notification set up questions

We have guys on our end trying to configure Push Notifications & they’ve asked me to reach out for an answer on the below: https://rink.hockeyapp.net/apps/01af36d7ba765d5231019c56880bbb9d/...
2
votes
1answer
145 views

Can't download Salesforce Snap-Ins SDK for Android from Maven

I am trying to follow this documentation I tried to install several features: 'com.salesforce. service:servicesdk:208.4.0' 'com.salesforce.service:chat-ui:1.1.1' 'com.salesforce.service:chat-core:1....
1
vote
1answer
391 views

Duplicated notifications in Android

when I send a push in firebase console theres a problem of duplicated notifications, because etpushsdk uses gcm and my application fcm. I'm using etpushsdk 4.8.4, is there any previsition when ...
1
vote
1answer
529 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 ...
1
vote
1answer
70 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....
1
vote
1answer
89 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
1answer
194 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
475 views

Getting Push Notification multiple time

I have created Apex Trigger for inserting and updating Opportunity for android app. After login I am registering device for push notification and adding registration Id to MobilePushServiceDevice ...
1
vote
1answer
472 views

Lightning component not showing on Salesforce1 menu

I make a component of Lightning and add also in mobile navigation, but still its not showing in salesforce1. My component code is here: <aura:component controller="VKSoft_Light.ContactController" ...
0
votes
1answer
34 views

How to stop contact registration from Android App to Salesforce marketing cloud?

How do I stop auto contact registration from Android app into marketing cloud. I've already integrated android app with sales cloud and also storing device id etc. in sales cloud. Same is subsequently ...
0
votes
1answer
114 views

Android push notification opening is not counting

I have an app set up for iOS and Android, and both are working well except for 1 thing, the android app is not counting when the user opens the notification, then MarketingCloud does not take that ...
0
votes
1answer
316 views

Cannot receive push notification in iOS device

I am using this plugin : https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin and I want to send push notification to both iOS and Android devices. The scenario is this : I open the app ...
7
votes
0answers
97 views

Salesforce Hybrid Android App

I have created hybrid android app with salesforce mobile sdk. However the lookup functionality of salesforce is not working. In the app if i click the Accounts lookup a new page is opened where i can ...
4
votes
0answers
101 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 ...
3
votes
0answers
276 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 ...
2
votes
0answers
61 views

NPE causing crash using Android marketingcloudsdk 5.3.+

Facing this kind of crash while using MC 5.3.+ Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.salesforce.marketingcloud.MCReceiver: java.lang.NullPointerException: Attempt ...
2
votes
0answers
131 views

Illegal State Exception in Android Startup sometimes

I am receiving a difficult to debug error upon application start up. I have recently updated the sales force sdk from 'com.exacttarget.etpushsdk:etsdk:4.9.4@aar' to 'com.salesforce.marketingcloud:...
2
votes
0answers
283 views

Can't use Marketing Cloud SDK for Android with Google Play Services 11.8.0

I'm getting this error when running our app with Marketing Cloud SDK 5.3.+ with Google Play Services 11.8.0: java.lang.NoSuchMethodError: No static method getNoBackupFilesDir Full stack trace: ...
2
votes
0answers
124 views

Android Marketing Cloud SDK crashes randomly: MAC stored in civ does not match computed MAC

I'm using the Marketing Cloud SDK v5.4 for Android Push Notifications. My implementation is modeled completely after the sample code. On App start, the sdk initializes and I'm able to receive push ...
2
votes
0answers
312 views

Marketing cloud push notification not visible on Android

I've implemented Marketing Cloud Mobile Push, we have multiple SDKs however I'm letting Marketing cloud handle tokens, all I'm doing is using a custom GCMListenerService to process my push if its from ...
2
votes
0answers
414 views

Problems with multiple notifications on Android

I'm having trouble getting a second notification to show up after the first one was successful. In my code, I set the OpenDirect Activity: .setOpenDirectRecipient(OpenDirectActivity.class).build(),...
2
votes
0answers
230 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 ...
2
votes
0answers
231 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 { "...
2
votes
0answers
27 views

Not sure if my code is working in Android 4.4?

I think my code is not working in Android 4.4 either using browser or apps. Initially I use <apex:inputFile value="{!att.body}" filename="{!att.name}"/> But I could not click to choose file....
1
vote
0answers
12 views

Android SDK app should ask login only for first time

I am Android developer, I am using Salesforce SDK for android to connect with Salesforce data. I need to develop time punches app, In this user can punch in and punch out. In this case Android App ...
1
vote
0answers
55 views

Setting value in componet is slow in android s1 APP

var start = new Date(); component.set("v.isLoading", false); window.alert(new Date() - start); The execution time of above line(excluding the timer) is 180 ms on the desktop while it is taking ...
1
vote
0answers
269 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 ...
1
vote
0answers
300 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 ...
1
vote
0answers
205 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 ...
1
vote
0answers
428 views

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

Please Help!! :-) 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 ...
1
vote
0answers
128 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 crash E/AndroidRuntime:FATAL ...
1
vote
0answers
75 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
0answers
113 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
314 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
0answers
26 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
64 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 ...
1
vote
0answers
80 views

Run SalesforceSDKManager on button click

I’ve managed to make the whole integration working, but I wanna modify it according to our business process. I have been working on this for days now but I’m still nowhere near completion. Here’s the ...
1
vote
0answers
59 views

No account of type android forcedroid shell project error

I used forcedroid create to create a shell android hybrid-local with smartstore app. After a few errors I had to add additional permissions to the android manifest. Now I'm getting an error no ...
0
votes
0answers
17 views

Restrict the input type = file to capture images through camera only in lightning components/sf1 app

I have requirement where I have to restrict the image upload from SF1 App to camera only.I have tried using below: <input id = "image" type="file" accept="image/* capture=camera" capture="camera" ...
0
votes
0answers
27 views

Android SDK FileRequests appends incorrect base to path for “connect/files”

Salesforce SDK version: 7.0.0 API version: v42.0 Devices: only on all Androids I have some photo document IDs that I can verify exist. They are downloadable on iOS using the exact same strategy, ...
0
votes
0answers
14 views

Salesforce pdf not rendering in google doc view and downloaded file is corrupted

I want to download/View a pdf uploaded in Salesforce cloud. I have a download url for the PDF with me, when I try to render the same using google doc url in android application, its not displaying ...
0
votes
0answers
19 views

Checkbox field is not working in SF1 for ios and Android

I have open loged in in SF1 ios device. I am able to see the checkbox custom field lable, but not able to see the box icox next to the lable. Does anyone know what is the issue?
0
votes
0answers
24 views

SalesforceSDK - How do I upload a file with FileRequests class

I am having trouble uploading a file from my custom android app. I am using the Salesforce SDK for android, and as I understand it, I need to use FileRequests.uploadFile to do that. So I am trying to ...
0
votes
0answers
32 views

Salesforce1 Android App does not preview Excel file while iOS App does

We have these excel files as attachments and when people view them on an iOS device they are properly displayed but when people view them on an Android device, the app says 'No Preview available for ...
0
votes
0answers
151 views

Multiselect picklist type of flow is not supported in Field service lightning mobile application (Android)

Here I have created one visual flow and in that flow i have used 'Multi-Select Picklist' for choose multi record and it's working fine in my desktop & iOS application but not in "Android" ...
0
votes
0answers
42 views

How to change the widgets from Salesforce mobile home page?

Right now when users opens the mobile app, they see My Recent Records,News and My Territory. I would like to change the order and add an additional section 'Agenda' to the home screen. What is the ...
0
votes
0answers
754 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 ...
0
votes
0answers
19 views

How to upload a picture from android client to a custom object salesforce

I need to insert a picture taken by the phone camera, into a custom object in force.com. Does anyone know how to do it?
0
votes
0answers
308 views

Anyone seen a native Android push notification example

now that push notification is on general release, is there a sample native android app that demonstrates it? I thought I had the code right when an entry appeared i the "Mobile Push Registrations" ...
0
votes
0answers
88 views

Android hybrid_local App - Windows

I am trying to use the Salesforce MobileSDK to build the hybrid_local test app for Android. I am following the guides step by step but the app always fails at building. Has anyone ever succeeded in ...