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
1answer
620 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
214 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
173 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
220 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
542 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
62 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
143 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
397 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
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....
3
votes
0answers
283 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
292 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
334 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
95 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
286 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
431 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
130 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
762 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
1k 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
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
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
2answers
515 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
131 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
165 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
384 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
195 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
598 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
73 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
108 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
129 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
117 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
315 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
335 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
27 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 ...
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 { "...
1
vote
1answer
135 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
348 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
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 ...
0
votes
1answer
47 views

Mandatory permissions from apps with the last version of JB4A versions. (salesforce marketing Cloud)

Using JB4A SDKs (provided by Salesforce marketing cloud) What permissions are mandatory and for which versions of iOS and Android.
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
82 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 ...
2
votes
1answer
1k views

Salesforce1 mobile app not opening external web page

On my VisualForce page, I have a link that opens an external page(HTTPS) in a new window. When clicking the link Salesforce1 mobile app on Android, I'm getting the following error: You can't view ...
1
vote
1answer
337 views

Does the android salesforce 1 app support any android intents?

Does the android salesforce 1 app support any android intents? For accessing or manipulating data from other apps.
3
votes
1answer
196 views

Multiple Crash Reports in Android SDK 3.5.0

We have multiple crashes on Exact Target SDK 3.5.0, Our users are reporting multiple crashes with the following stack trace: java.lang.RuntimeException: An error occured while executing ...
2
votes
2answers
294 views

Get list of custom object in RemedyForce

I have custom object in my RemedyForce abc__c and would like to get list of it. Tried this code: SearchResult sr = con.search( "FIND {00008137} IN abc__c FIELDS RETURNING abc__c(...