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
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?
1
vote
1answer
370 views

How to delete login accounts from Salesforce1 Android mobile app?

As a consultant/developer, I use the mobile app to log in to lots of different orgs. The list of login accounts grows and grows. How can I delete such a login account from that list?
1
vote
1answer
485 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 ...
0
votes
1answer
92 views

Why aren't the tags and attributes we send displayed in the ET dashboard despite being visible in our logs?

We are testing our integration of Exact Target on Android and are unable to see the data we are sending in the Exact Target dashboard. We have verified that the data is being sent by looking at the ...
2
votes
1answer
5k views

Finished with non-zero exit value 2

i followed the guidelines on how to setup using exactTarget Android Library following this http://code.exacttarget.com/apis-sdks/journey-builder-for-apps/sdk-implementation/register-your-devices.html#...
1
vote
0answers
25 views

Lightning tab not display on android salesforce1 app [duplicate]

Currently android salesforce1 app does not show lightning tabs, I see a response in late 2014 that this feature will be added to salesforce1. By when can we expect this feature?
7
votes
2answers
2k views

How can I access to the Android camera directly from Salesforce 1

I want to open the camera in an Android device from Saleforce1. I've seen many blogs that say that it is possible in android but always the screenshots are with an IOS device. Salesforce1 can open ...
1
vote
1answer
495 views

Lightning component not showing on Salesforce1 menu

I created a Lightning component and included it in mobile navigation, but still it's not showing up in salesforce1. Here is my component code: <aura:component controller="VKSoft_Light....
3
votes
2answers
688 views

Exact Target Android push not working for version 3.5.0 || Initialization did not complete in a timely fashion

We just downloaded the latest version of ET lib for android (3.5.0) and are trying to do a sample to make it work but facing some issue: The steps which we followed is: Step 1: Extended Application ...
0
votes
1answer
641 views

Mobile SDK - Android aapt error

I'm trying to package an android hybrid app using the steps here https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin. This all runs fine and the app seems to be good, but when I try to ...
1
vote
2answers
473 views

Instantiate Android push using an activity class instead of an Application class (Exact Target)

We are trying to instantiate the Exact Target push service on Android, with the call ETPush.readyAimFire, in an Activity class instead of the Application one. We want to use as an Activity class ...
1
vote
1answer
260 views

NoClassDefFoundError: com.exacttarget.etpushsdk.ETLocationManager$RegionMonitor

I'm receiving a weird problem and I don't know if is a Android related or SDK related. The thing is, I'm following the instructions to add ExactTarget Journey Builder SDK (https://github.com/...
0
votes
2answers
519 views

Username authentication oauth flow android

I am new salesforce and have good knowledge of java and android development.. Since the Default authection of salesforce template app uses web view I want to do it without using web view through some ...
1
vote
1answer
649 views

RestRequest Create Custom Object

I'm using the android salesforce SDK. I am connecting to a sandbox and am trying to create a custom object, however I keep getting a 404 error: ( 4097): [241] BasicNetwork.performRequest: Unexpected ...
1
vote
1answer
192 views

(MID: 7207702) - Journey Builder for Apps SDK Explorer not working

I am trying to create my own field app using Journey Builder for Apps SDK Explorer (https://github.com/ExactTarget/JB4A-SDK-Android/tree/master/JB4A-SDK-Explorer). My intention is to use the Apps SDK ...
1
vote
2answers
573 views

Retrieving all phones from contacts and tasks

I need to retrieve, through two disctinct SOQL queries, the home, mobile and default phones from contacts and tasks but while MobilePhone and Phone fields work for Contacts HomePhone does not For ...
1
vote
2answers
619 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
138 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
309 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" ...
5
votes
4answers
2k views

HTML5 Date pickers today stopped working in Salesforce1 on Android

I have a Salesforce1 app that uses native HTML5 date(time) pickers. This wonderfully worked on all supported mobile platforms, on the desktop and in the one/one.app test page. This morning (August ...
1
vote
2answers
3k views

android hybrid app access-control-allow-origin error

I'm getting the following error when running my hyrbrid-remote app in the Android Emulator. Everything works fine in iOS. All of my resources are static resources in SF. 07-24 09:53:51.017: I/...
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/...
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
1answer
282 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, ...
3
votes
1answer
150 views

Android REST Create Event

I am trying to create an Event on my salesforce Calendar. All I am receiving is a 400 error. Can anyone help me with what I am doing wrong or missing? Any help would be greatly appreciated. ...
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 ...
3
votes
1answer
218 views

Salesforce One: can I call another Android App by startActivityForResult from HTML5 (JS)?

I want my Salesforce1 App uses another Android App seamlessly. It is easy if we have access to App code, but with Salesforce1 we have not. So, can I call another Android App by startActivityForResult ...
1
vote
1answer
213 views

Mobile Hybrid App - deploy error

I am trying to build a test app with Mobile SDK in eclipse (the ones that is created with the command "forcedroid create"), I've managed all the steps and I don't see errors in the project. But when I ...
1
vote
1answer
1k views

In my ExactTarget MobilePush Android app, why doesn't my device register?

I'm developing an Android app using the MobilePush SDK. I believe I'm configuring the SDK ok in the code, but I don't see any Contacts records show up on the server. Here is my onCreate() method of ...
-2
votes
1answer
96 views

How can i retrive data from salesforce database?

I have used zkSforce library for IOS apps for retrieve data from sales-force database but now i want to retrieve data for android apps but i did not found any library similar to zkSforce and any ...
1
vote
1answer
1k views

java.lang.RuntimeException Unable to start receiver ET_GenericReceiver [closed]

In using the ExactTarget MobilePush Android SDK, you may get this exception showing up in LogCat: java.lang.RuntimeException: Unable to start receiver com.exacttarget.etpushsdk.ET_GenericReceiver: ...
0
votes
0answers
77 views

Problem building SalesForce mobile app : Android [duplicate]

I created SalesForce Native/Hybrid app as in this link. Everything is fine but when I try to run the app by importing it into eclipse, it keeps on popping main activity with following error in logcat....
7
votes
0answers
98 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 ...
0
votes
2answers
183 views

Login credentials doubt

Recently I shifted my Android code (using this as base) to support app dynamics sandbox account. I am able to login, fetch data from that account through https://test.salesforce.com. There is a ...
2
votes
1answer
604 views

Client Id blank in “API Calls Made Within Last 7 Days” Report - when testing from an Android app

We have created an Android app which communicates with the Salesforce via Salesforce Mobile SDK and its APIs. As part of the settings we created a connected app in salesforce, obtained a clientId(...
1
vote
1answer
1k views

Java equivalent for Apex classes [closed]

I am looking for Java equivalent classes for some of the Apex classes like Blob, EncodingUtil, Crypto. I need these to connect and authenticate with salesforce making an API call. I am creatingn a ...
0
votes
1answer
2k views

RestRequest.getRequestForUpsert fails with BasicNetwork.performRequest: Unexpected response code 400

I am trying to create and android app with salesforce connectivity, while creating a new record i tried the following functions out of which getRequestForCreate works but getRequestforupsert fails ...
2
votes
1answer
208 views

Fetch License from sandbox

I was able to fetch Opportunities, Contacts, Accounts from sandbox through SOAP api's but I did not get how to fetch License. Could anybody please help me out? Thanks.
3
votes
1answer
207 views

Chatter feeds of logged in user using mobile sdk

I am playing around with the mobile sdk and in the mobile sdk sample contactExplorer, i am adding a functionality of getting the chatter feeds of the logged in user. In my index.html i added a href ...
6
votes
2answers
415 views

Insufficient privileges on Android Hybrid App with Custom Host

New Edit: I've narrowed down the issue. It only happens with a particular Visualforce page. /apex/SuccessFrame does NOT work for some reason. It works fine on iOS, I changed the Visualforce page and I ...
6
votes
3answers
5k views

Why can't I log in to the Salesforce1 Android app with a dev account?

I just downloaded the Salesforce1 Android app. I signed in just fine to my dev account but about 20 seconds after signing in I got a message saying my admin had revoked my access token and was kicked ...
0
votes
1answer
259 views

Forcedroid Native Sample App Not working

I am trying to run an app in ADT Emulator - Windows ( salesforce provided forcedroid native app FileExplorer). When i run an app against version 4.0.3 or 4.4 i am able to install the app to the device ...
9
votes
5answers
2k views

No account of type com.salesforce.androidsdk found

I'm trying to build an Android test application integrated to the SalesForce platform. I have downloaded the SDK from here, and imported it to my workspace. Everything works fine except my test app, ...
2
votes
2answers
423 views

Salesforce as a Data Source

I'm completely new to salesforce platform. I'm yet to explore most of the features salesforce does have. Here, I'm trying to develop a mobile application which can display articles created over the ...
2
votes
1answer
253 views

Salesforce SmartStore app becoming offline to online

I am developing a SmartStore android app. What I need to do is when my device goes from offline (not connected to internet) to online (connected to internet) then the data which I stored offline ...
5
votes
1answer
332 views

Getting More Than 2000 Records in Salesforce Native Android App Using RestRequest.getRequestForQuery()

I'm in a tricky situation where my org has more than 2,000 records for objects which I'm trying to fetch in my Android native app RestRequest restRequest = RestRequest.getRequestForQuery( getString(R....
2
votes
2answers
2k views

“Hello World” guide/application for native Android application fetching Salesforce data?

I am well versed with both Android and Salesforce development separately, but this is my first time working on both platforms simultaneously. Is there any Hello World guide/application for creating a ...