Questions tagged [sfdcmobilesdk-android]

Salesforce Mobile SDK - Android deals with development of native and hybrid Android Mobile applications.

Filter by
Sorted by
Tagged with
7
votes
1answer
2k views

Hybrid Remote App can never login again after a session timeout

I have a Hybrid Remote app built with Mobile SDK 3.1. I've created both an iOS and Android version of the app, and both exhibit the same behavior. To simplify the discussion below, I'll refer to the ...
2
votes
1answer
296 views

Unable to open Mobile SDK 2.3 project in Android Studio

My Android Studio does not recognize any of the sample apps with Force.com Android SDK as a valid project. What steps do I need to take to open and run it there?
2
votes
4answers
3k views

Unable to build Android Hybrid App from tutorial; missing steps?

I am trying to build an Android Hybrid Remote app using the Salesforce Mobile SDK. I have an iOS Hybrid Remote app working, so I expected create the app, set the config (consumer key, oauth redirect ...
2
votes
0answers
236 views

Unable to create Sqlite db on Samsung tablet on deviceready event

Using the salesforce mobile SDK's test app on a Samsung tablet, I get an error when I attempt to create a Sqlite db in the deviceready event. I tried moving the logic before and after the ...
1
vote
0answers
422 views

Android ionic hybrid app missing SalesforceOAuthPlugin

I'm trying to buid a simple android SFDC app using Ionic, I used this https://github.com/driftyco/ionic-starter-salesforce when I try it in the browser using ForceServer it works fine but when I try ...
3
votes
1answer
245 views

Salesforce Polymer Mobile UI on Android Chrome gives blank page

I saw this article Secure, Offline, Cross-Platform Apps with Salesforce Mobile SDK and Web Components and found it very interesting, when I try the sample application Heroku Hosted Version of the ...
3
votes
1answer
571 views

salesforce mobile sdk access to UserInfo class

I have created a mobile app in Android and iOS using the Salesforce SDK. I want to add functionality of multi currency by using isMultiCurrencyOrganization() method from the UserInfo class. Now I am ...
1
vote
0answers
873 views

fields required to create a task through Rest API in native android app

I am getting error 405 when trying to create a new task through the rest api in a native android app see 405 Error when Trying to Create Task through Rest API Now I am guessing it might depends on ...
1
vote
1answer
7k views

RequestForUpdate always returns 400

I am trying to update a Task through this code in a native android app Map<String,Object> fields = new HashMap<String,Object>(); String id = "00Tw000001wvUCVEA2"; ...
0
votes
1answer
51 views

Updating Task in Native Mobile Applications

I am using this code to update a task through a RequestForUpdate in an Android Native App The onSuccess method is executed but It seems the field is not updated. Why? Map<String,...
1
vote
2answers
627 views

404 error when making SOSL queries from native mobile applications

I am developing a native android app using the mobile sdk. I am trying to make a search query like this RestRequest req = RestRequest.getRequestForSearch("v20.0", "FIND {"+searchString+"*} IN ALL ...
0
votes
1answer
148 views

How to use getRequestForUpdate() in Mobile SDK

I can't find a detailed explanation in the Mobils SDK Development Guide about how to use the getRequestForUpdate() object. Is there any freely available tutorial about this?
0
votes
0answers
89 views

Updating Task with Mobile SDK (Native Application)

What is the easiest way to update entities like Tasks via the Mobile SDK? How about creating or deleting entities?
6
votes
2answers
435 views

Salesforce Mobile SDK - refresh token validity period

Is there any document or reference about the validity period of refreshtoken of Mobile SDK? I have a hybrid local app and if I let the app to be idle for a while and use back, it's failing with the ...
0
votes
1answer
299 views

Salesforce mobile sdk android error responses

I use the SFDC mobile sdk for android, and i can't get the server error response details (only 400 error) which is limited, public void sfInsert(final Context context, final RestClient client, ...
1
vote
2answers
84 views

Trouble with Android hybrid_local app Authentication

I'm developing Android hybrid_local app with the forcedroid sdk. I have two questions hope you can kindly help me out. It's always asking to send verification code in the auth process which I need to ...
1
vote
1answer
245 views

Creating project with forcedroid not runnable

I'm trying to get started with creating an android hybrid app so I followed all the steps an create my new project through the forcedroid utility, however, when I try to execute this default ...
1
vote
1answer
144 views

Debugging run time error while running Salesforce Android application

I am working on salesforce android sdk, I am new to this. I have created a simple hybrid app but while running that app in emulator it's giving error: unfortunately test has been stopped. "test" ...
5
votes
1answer
306 views

Mobile App for Portal Users

Has any one developed mobile app for Partners using Salesforce Mobile SDK? If yes, can you please share how you got them access? Thanks!
0
votes
0answers
89 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 ...

1 2
3