java,android,google-plus,illegalargumentexception,google-api-clientRelated issues-Collection of common programming errors


  • WATTO Studios
    java ssl
    I am trying to send push notification to iPhone using Java-pns but I am getting the following error…javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failureThis is my code…String token=”95076d2846e8979b46efd1884206a590d99d0f3f6139d947635ac4186cdc5942″;String host = “gateway.sandbox.push.apple.com”; int port = 2195; String payload = “{\”aps\”:{\”alert\”:\”Message from Java o_O\”}}”;NotificationTest.verifyKeystore(“res/myFile.p12”, “password”, false); KeyStore keyStore = Ke

  • Wendy
    java android onclick onclicklistener fatal-error
    I’m getting a force close error on the line:mReadAgainButton.setOnClickListener(this);and I’m unsure why. I’m simply trying to set an onclick listener for mReadAgainButton however the application is crashing with a fatal exception and very little information in my logcat to suggest what might be causing it. LOGCAT: 09-26 15:44:51.540: E/AndroidRuntime(7918): FATAL EXCEPTION: main 09-26 15:44:51.540: E/AndroidRuntime(7918): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pr

  • Jeggy
    64-bit java netbeans
    This is probably my own fault, I removed and reinstalled java on my computer, this is what happends:jeggy@jeggy-XPS:~$ netbeans # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fc3f78d5320, pid=2687, tid=140480869590784 # # JRE version: 6.0_27-b27 # Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops) # Derivative: IcedTea6 1.12.6 # Distribution: Ubuntu 13.10, package 6b27-1.12.6-1ubuntu2.1 # Problematic frame: #

  • t0mm13b
    java android
    I’ve had this really annoying problem for a couple of days, and I cannot quite seem to solve it. I am trying to open a .csv file, so I imported it into the res/raw/ folder of my project. Then I am trying to open and read it via the getResources() method, and that’s exactly where I get the NullPointerException. Here’s the method that reads the file and fills an array with the available lines.Here’s my Activity where I create an Object newwords from the class Words, and then I want to call the Pla

  • Sven
    java tomcat fonts debian
    I want to run Tomcat on Debian 5 Minimal. So I don’t need a gui for my OS, it’s just a pure Tomcat-Server.Which packages do I need for my JVM to use Fonts in my applications? Im drawing texts in Graphics2D and am creating PDF-Files in my Java-Project.

  • Josh Pinter
    java android bitmap
    in my code, i first do a call from native to create a bitmap in java (of size: 800 x 480). This call is made recursively by a callback function and the bitmap is created by created by this function:public void createBitmap(byte[] buffer, int width, int height) { bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); bitmap.copyPixelsFromBuffer(ByteBuffer.wrap(buffer)); }Another native function then calls a java function that is required to select an area of the original bitmap a

  • AmaniSwann
    java android animation android-animation animationdrawable
    I’m getting an error stating FATAL EXCEPTION: main java.lang.ArrayIndexOutOfBoundsException when attempting to animate a sequential set of loading icons and I’m not sure exactly why this is happening. …any suggestions?LOGCAT:07-24 16:08:38.944: E/AndroidRuntime(11979): FATAL EXCEPTION: main 07-24 16:08:38.944: E/AndroidRuntime(11979): java.lang.ArrayIndexOutOfBoundsException 07-24 16:08:38.944: E/AndroidRuntime(11979): at com.project.example.datasettings.ConfigFinalActivity$TableUpdateReque

  • jasonh
    java xml jaxp
    I’ve built a document using JAXP like this:DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.newDocument(); Element rootElement = document.createElement(“Root”);for (MyObject o : myCollection) {Element entry = document.createElement(“Entry”);Element entryItem = document.createElement(“EntryItem”);entryItem.appendChild(document.createTextNode(o.getProperty()));entry.appendChild(entryItem);root

  • Mike
    java
    I have a pretty good size project I’m working on here and I was adjusting one part and now I’m getting this errer box that pops up when I try and run the code. It was working before and the only are that I changed was “CREATE CONTRACTORS”. The error is either going to be in that section, or all the way at the bottom, I think. I am using Eclipse to run the code and after I run it I not only get that box to pop up, but a message at the bottom of the code that says: java.lang.NoSuchMethodError:

  • ultra_buckner
    java android onitemclicklistener
    The situation is when I select one of the list item. It will show the details of the item on the next activity.I trying to getting a values from selected ListItem by using onItemClick Listener. I got error [FATAL EXCEPTION] while click on the item.Please help me.This is part of ScheduleFragment.javapublic class ScheduleFragment extends Fragment {/* other activity */@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {View rootView = inflat

  • Wendy
    java android onclick onclicklistener fatal-error
    I’m getting a force close error on the line:mReadAgainButton.setOnClickListener(this);and I’m unsure why. I’m simply trying to set an onclick listener for mReadAgainButton however the application is crashing with a fatal exception and very little information in my logcat to suggest what might be causing it. LOGCAT: 09-26 15:44:51.540: E/AndroidRuntime(7918): FATAL EXCEPTION: main 09-26 15:44:51.540: E/AndroidRuntime(7918): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pr

  • marmor
    android apk
    In my apps it is showing me following error when i am deploying my apk file from eclipse to my tab.06-20 18:32:52.550: E/AndroidRuntime(2927): FATAL EXCEPTION: main06-20 18:32:52.550: E/AndroidRuntime(2927): java.lang.OutOfMemoryError: bitmap size exceeds VM budget06-20 18:32:52.550: E/AndroidRuntime(2927): at android.graphics.Bitmap.nativeCreate(Native Method)06-20 18:32:52.550: E/AndroidRuntime(2927): at android.graphics.Bitmap.createBitmap(Bitmap.java:477)06-20 18:32:52.550: E/Android

  • t0mm13b
    java android
    I’ve had this really annoying problem for a couple of days, and I cannot quite seem to solve it. I am trying to open a .csv file, so I imported it into the res/raw/ folder of my project. Then I am trying to open and read it via the getResources() method, and that’s exactly where I get the NullPointerException. Here’s the method that reads the file and fills an array with the available lines.Here’s my Activity where I create an Object newwords from the class Words, and then I want to call the Pla

  • Josh Pinter
    java android bitmap
    in my code, i first do a call from native to create a bitmap in java (of size: 800 x 480). This call is made recursively by a callback function and the bitmap is created by created by this function:public void createBitmap(byte[] buffer, int width, int height) { bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565); bitmap.copyPixelsFromBuffer(ByteBuffer.wrap(buffer)); }Another native function then calls a java function that is required to select an area of the original bitmap a

  • mirage
    xorg multiple-monitors android
    I run:$ Xdmx :1 -display 192.168.1.137:0 The output:(II) dmx: Generation: 1 (II) dmx: DMX version: 1.2.20070424 (DMX Project) (II) dmx: DMX Build OS: Linux 2.6.42-34-generic i686 (Ubuntu) (II) dmx: DMX Build Compiler: gcc 4.6.3 (II) dmx: DMX Execution OS: Linux 3.2.0-37-lowlatency #37-Ubuntu SMP PREEMPT Mon Jan 28 13:38:48 UTC 2013 (II) dmx: DMX Execution Host: alex-Inspiron (II) dmx: MAXSCREENS: 16 (II) dmx: Using configuration from command line (II) dmx: Added 19

  • Ahmad
    android google-maps-android-api-2
    I am following this tutorial , i used the original files provided in the tutorial but facing same problem.searched for many pre asked questions but could not find way to repair my error.I m having error of “Unfortunately app has stopped” I got errors in logcat as follow.Logcat of my project 11-30 17:35:36.852: E/Trace(836): error opening trace file: No such file or directory (2)11-30 17:35:37.432: D/AndroidRuntime(836): Shutting down VM11-30 17:35:37.432: W/dalvikvm(836): threadid=1: thread exit

  • Piterwilson
    android c++ eclipse ffmpeg jni
    The tooltip is over the line #include <libavcodec/avcodec.h>I’m new to JNI development. After managing to compile FFMPEG i fail to be able to use it on a project.On the screenshot you can see that the folder with the libs and includes is referenced under includes (via Project/properties/C/C++ general/paths and symbols)To me it looks like it should find it but i get the error.What extra place do i have to specify this folder for the build to work?Edit : contents of Android.mkLOCAL_PATH := $

  • cassie_vjc
    android xml logcat
    My Bluetooth application’s can already auto request to enable bluetooth but when I did some functionality on my option menu the application will crash right after the bluetooth was turned on.These were the messages found in the LogCat:12-21 15:20:08.531: D/BluetoothCommandService(1203): start 12-21 15:20:08.531: D/BluetoothCommandService(1203): setState() 0 -> 1 12-21 15:20:08.581: W/dalvikvm(1203): threadid=1: thread exiting with uncaught exception (group=0x40028870) 12-21 15:20:08.851: E/An

  • chintan khetiya
    android database http exception
    Help me please with error FATAL EXCEPTION mainI have this error when new activity starts.my code:package com.novator.inweld;import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader;import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client.DefaultHttpClient; import org.json.JSONArray; import org.json.JSONObject;import android

  • Charan
    android android-ndk openssl
    I successfully compiled openssl using android ndk build and .so files are built successfully.I am trying to ‘include’ built .so files in an android project.Getting an error in below line:#include “openssl/evp.h”fatal error: openssl/evp.h: No such file or directory compilation terminated. make: * [obj/local/armeabi/objs/iedemo/anotherdemo.o] Error 1However, I am include stdio.h and string.h files.I am explore /usr/include/openssl directory, I am able find all openssl related .h files here. And, s

  • Darko Petkovski
    android google-plus
    I’m trying to create an app where the user tries to Log in using Google plus i get this toast error: an internal error occurred and this from logCat:10-17 11:28:13.456: W/dalvikvm(18602): threadid=1: thread exiting with uncaught exception (group=0x2b542210) 10-17 11:28:13.486: E/AndroidRuntime(18602): FATAL EXCEPTION: main 10-17 11:28:13.486: E/AndroidRuntime(18602): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=9000, result=0, data=null} to activity {com.mya

  • Deep Rathod
    java android google-plus illegalargumentexception google-api-client
    I am trying to login via Google plus in my application, however i am getting very strange error and which i have searched almost everywhere and everything regarding the same, but no luck. Below is my Code where the implementation is been done. The logcat is showing the system error of java.lang.IllegalArgumentException: GoogleApiClient parameter is requiredMainActivity.javapublic class MainActivity extends Activity implements com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallb

  • Cropper
    android google-plus google-play-services
    My Application Want to share Image on Google Plus And I have read About Google Plus And API shows that we can post media File using PlusShare.Builder. And I have Also Searched In stackoverflow but ditn’t Get any Proper Answer. And I have Tried with These Code is :case R.id.Share:if (mPlusClient.isConnected()) {Intent shareIntent = new PlusShare.Builder(this,mPlusClient).setType(“image/*”).setText(“Risk Score”).addStream(Uri.fromFile(new File(Path))).getIntent();startActivityForResult(shareIntent

  • BrettJ
    ios google-plus ipod-touch
    In my application for iOS, I am having Google+ signin which works normally. But it is failing when the native Google+ app is installed in device. If the Google+ application is not installed in the device, the login takes place through web and works fine. If installed, the signin takes place through this installed native app.I am using the GPPSignIn APIs to authenticate. The Google document I referred for implementation is https://developers.google.com/+/mobile/ios/sign-inError I am getting is –

  • Tunarock
    android google-plus google-play-services
    I have a problem with eclipse. In my layout when I try to put a PlusOneButton eclipse says:The following classes could not be instantiated:com.google.android.gms.plus.PlusOneButton (Open Class, Show Error Log)See the Error Log (Window > Show View) for more details.java.lang.NullPointerException at com.google.android.gms.plus.PlusOneDummyView$b.isValid(Unknown Source) at com.google.android.gms.plus.PlusOneDummyView.eN(Unknown Source) at com.google.android.gms.plus.PlusOneDummyView.<init>(Un

  • John McCann
    android google-plus
    I’ve implemented G+ sign-in following the quick start guide (PlusClient). Everything works fine. I can authenticate, get account meta data, disconnect, etc. The problem occurs when I post using the share intent. When I do this, the native G+ UI pops up showing the G+ logged in user and not mine? Is there a way to sync the two apps user sessions?EDIT: Following are relevant snippets of code. In addition, I am using two Google accounts (A & B). My app is authenticating and connecting as accoun

  • bobygerm
    android google-plus
    In order to implement social features in an android app, I try to use the “writeMoment” method of the “PlusClient” class, but nothing happens. I am able to get a successful connection with “PlusClient” and to write deep link posts with my app.Here is my code when I open the Google+ connection :monPlusClient = new PlusClient.Builder(this,new GooglePlayServicesClient.ConnectionCallbacks() {@Overridepublic void onConnected() {plusencours = false;String accountName = monPlusClient.getAccountName();/

  • SeeNoWeevil
    android google-plus
    Has anyone worked out what the required values for posting a CheckInActivity to a user’s Google+ profile are? The documentation here is quite poor. I’m getting an error writing the following moment;ItemScope address = new ItemScope.Builder().setType(“http://schema.org/PostalAddress”).setPostalCode(“xxx xxx”).build();ItemScope target = new ItemScope.Builder().setType(“http://schema.org/Place”).setName(“Test”).setAddress(address).build();Moment moment = new Moment.Builder().setType(“http://schemas

  • adneal
    android google-plus
    Hi everyone I have a problem when I’m trying to post some info from my Android app to Google Plus, the code that I have to share is the following:public void shareOnGooglePlus(Activity activity, String caption) {PlusShare.Builder builder = new PlusShare.Builder(activity);// Set call-to-action metadata.builder.addCallToAction(“CREATE_ITEM”, /** call-to-action button label */Uri.parse(“http://plus.google.com/pages/create”), /** call-to-action url (for desktop use) */”/pages/create” /** call to act

  • AlanKley
    android google-plus
    Moments appear broken to me. Using the google/google_play_services/samples/plus app I can Sign in, and I can Send an interactive post, but none of the Write Moment examples work. From the sample app I can select “List & remove moments” and a list of moments that I assume were created by the sample app, are listed but I don’t know where they went. They weren’t posted on my Google+ site unless they go in a specific place I am not checking. Has anyone been able to use writeMoment() successfu

  • stubiklaus
    android opengl-es illegalargumentexception
    right now i’m trying to create the graphics for a little game. First I’m trying to create my obstacles. These are just rectangles. I try to make all data, which is the same for all rectangles, static. Color,Startposition,shader. I’m trying to to this, cause an earlier version which worked, had performance problems. I also want to switch to VBOs when i got this working. These Objects will be moved and scaled(not in code yet) individual.I want to try my Code but i face an error which i don’t under

  • Silver Quettier
    regex maven ant illegalargumentexception maven-antrun-plugin
    Problem:I am using Maven 2.2.1 to build a modular web app. Among other things, it calls the maven-antrun-plugin to perform several replacements in properties files.This fails when launching Maven with the goals clean,install. The build fails with an IllegalArgumentException: Illegal group reference.From what I understand, this exception can happen with either String.replace() and various methods of Matcher, and it points towards a parsing error for one of the arguments.Could someone point the f

  • dostiguy
    spring caching interface key illegalargumentexception
    While implementing, I came across a problem with Spring Cache Abstraction VS interfaces. Lets say I have the following interface:package com.example.cache;public interface IAddItMethod { Integer addIt(String key); }And the two following implementations:package com.example.cache;import org.springframework.cache.annotation.Cacheable; import org.springframework.stereotype.Component;@Component public class MethodImplOne implements IAddItMethod {@Override@Cacheable(value=”integersPlusOne”, key=”

  • Deep Rathod
    java android google-plus illegalargumentexception google-api-client
    I am trying to login via Google plus in my application, however i am getting very strange error and which i have searched almost everywhere and everything regarding the same, but no luck. Below is my Code where the implementation is been done. The logcat is showing the system error of java.lang.IllegalArgumentException: GoogleApiClient parameter is requiredMainActivity.javapublic class MainActivity extends Activity implements com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallb

  • Rick Boyd
    floating-point timestamp hive unix-timestamp illegalargumentexception
    I’m trying to use a FLOAT as a Timestamp for Hive but I’m getting an IllegalArgumentException. According to the documentation this should be read as seconds in Unix time with decimal precision: https://cwiki.apache.org/Hive/languagemanual-types.html#LanguageManualTypes-Timestamps I’m using Hive 0.10.Schema: `create external table BT_PP (> Name STRING,> Application STRING,> PathId STRING,> StartTime TIMESTAMP,> Dimensions MAP<STRING, STRING>,> Val

  • migmig
    java glassfish illegalstateexception illegalargumentexception glassfish-4
    I’m having problems with Glassfish 4.0 + Netbeans 7.4… whenever i try to run my project i get this erros:ant -f D:\\Projetos\\NetBeans\\Sullimar -Dbrowser.context=D:\\Projetos\\NetBeans\\Sullimar\\web\\index.html -DforceRedeploy=false -Dclient.urlPart=/index.html -Ddirectory.deployment.supported=true -Dnb.wait.for.caches=true -Dnb.internal.action.name=run.single run init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps

  • user3154827
    tomcat illegalargumentexception invocationtargetexception zipinputstream
    Tomcat fails to start when I add my webapp path to the server.xml file. The catalina logs shows that there is an exception in java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:302). I am guessing one of the java files/xml files has an invalid character but I have no idea where to start looking for it. Any suggestions? Please advise. Thank you in advance. Catalina.out logs:2-Jan-2014 11:13:13 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Nati

  • Recall
    android locking surface illegalargumentexception
    I have this strange bug, and found nothing about a possible solution to it. The problem always appears when I use gallery touch view,change orientation of the screen about 3 times.Here’s the log instead, hopefully someone already had the same problem and can help me out. Thanks.E/SurfaceTextureClient(31224): dequeueBuffer failed (Try again)E/ViewRootImpl(31224): IllegalArgumentException locking surfaceE/ViewRootImpl(31224): java.lang.IllegalArgumentExceptionE/ViewRootImpl(31224): at android.

  • kromenak
    android android-activity runtimeexception illegalargumentexception
    In the Google Play crash reporter, I’m getting a few unexpected crash reports, and was wondering if some light could be shed as to the cause.The crash report is this:Caused by: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hvs.tt/com.prime31.FacebookProxyActivity}: java.lang.IllegalArgumentException: activity cannot be null at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2205)In my manifest, I do have that activity declared inside my “applicatio

  • AKIWEB
    java illegalargumentexception resttemplate
    I am running a program that will generate some load against a url and further consume the same URL using RestTemplate. The url that I am hitting will return me a simple string Hello World as the response.Below is the program that will generate the load against the url.public class ShellbareboneLnP {public static void main(String[] args) {try {// create thread pool with given sizeExecutorService service = Executors.newFixedThreadPool(threads);// queue some taskslong startTime = System.currentTime

  • Deep Rathod
    java android google-plus illegalargumentexception google-api-client
    I am trying to login via Google plus in my application, however i am getting very strange error and which i have searched almost everywhere and everything regarding the same, but no luck. Below is my Code where the implementation is been done. The logcat is showing the system error of java.lang.IllegalArgumentException: GoogleApiClient parameter is requiredMainActivity.javapublic class MainActivity extends Activity implements com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallb

  • Pierre Tasci
    php ajax cross-domain same-origin-policy google-api-client
    I have this ajax web application I am developing that essentially calls the google moderator api using ajax and returns the result to do something with them. I know that AJAX cannot make cross domain requests itself so I have also put in a web server based php proxy using cURL to take in the URLs, make the request and send back the data. The problem I have is that no matter what I do, every request I make returns in a Http status code of 0. I am not entirely sure what a code of 0 really means, b

  • Gal Ben-Haim
    android google-app-engine google-api-java-client google-cloud-endpoints google-api-client
    I’m just starting with Google Cloud Endpoints, I built an API in Python and even got to use the generated sources in the Android Studio/Gradle environment.I’m facing a problem that whenever the response from Cloud Endpoints includes a DateTime object, a NumberFormatException is thrown.08-05 13:27:28.143 32116-32141/com.dgt.ds E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1java.lang.RuntimeException: An error occured while executing doInBackground()at android.os.AsyncTask$3.done(AsyncTask.java:

  • Stpn
    ruby gem memcached google-api-client google-api-ruby-client
    Trying to install Google-api-client for Ruby on Mountain Lion fails due to localmemcache gem (I think).. Here is what happens:Building native extensions. This could take a while… ERROR: Error installing localmemcache:ERROR: Failed to build gem native extension.sh ./configure –prefix=/Users/rental/.rvm/gems/ruby-1.9.3-p125/gems/localmemcache-0.4.4/src/ruby-binding checking for gcc… gcc checking for C compiler default output file name… a.out checking whether the C compiler works… yes ch

  • btilly
    google-api google-bigquery google-api-client
    I am trying to perform an upload to BigQuery from Perl with a sample schema and some sample data. I ran into dead ends following the documentation they provide, and so now I’m trying to mimic what the bq command line client successfully does.I am tracing what bq does by adding a debug print (method, uri, headers, body) to the request method in httplib2. I am tracing what my Perl library is doing by doing a Dumper on the response, which also includes the _request that I sent. The pattern in bq

  • Inder Kumar Rathore
    objective-c cocoa youtube-api google-api-client
    I’m using “Google APIs Client Library for Objective-C” for uploading videos to youtube and my app always crashes since yesterday at GTLService class.After video was uploaded (and appears at youtube), GTL call the – (void)parseObjectFromDataOfFetcher:(GTMHTTPFetcher *)fetcher method at GTLService.mAnd crashes at 1087 line of code: NSString *contentType = [responseHeaders objectForKey:@”Content-Type”]; coz responseHeaders have bad data or its already released.Anybody have same issue or ideas what

  • Fido
    android json google-api-client
    Possible Duplicate:android.os.NetworkOnMainThreadException I decide to use google api client . I get a class to parse JSON from this example and it work fine on android 2.2. however when i test on android 3.x or 4.x it crashed. how to fix it?public class GooglePlaces {/** Global instance of the HTTP transport. */private static final HttpTransport HTTP_TRANSPORT = new NetHttpTransport();// Google API Keyprivate static final String API_KEY = “AIzaSyCRLa4LQZWNQBcjCYcIVYA45i9i8zfClqc”; private stat

  • Bakaburg
    php google-api oauth-2.0 google-oauth google-api-client
    I know I’m not the only one having this problem, but untile now I wasn’t able to find a solution. Please help!I’m experimenting with the php google client api to use it in my site. But I cannot authorize my request using $client->authenticate(); my page gets stuck with this error:PHP Fatal error: Uncaught exception ‘Google_AuthException’ withmessage ‘Error fetching OAuth2 access token, message:’invalid_request” in/Users/****/Sites/googleApiClient/google-api-php-client/src/auth/Google_OAuth2.ph

  • Alexander Yancharuk
    php google-api-client
    I have the problem with Google Adsense API. I used Services Account to authen, and this is my code:require_once dirname(__FILE__) . ‘/google-api-php-client/Google_Client.php’; require_once dirname(__FILE__) . ‘/google-api-php-client/contrib/Google_AdSenseService.php’; require_once dirname(__FILE__) . ‘/google-api-php-client/contrib/Google_Oauth2Service.php’;$SERVICE_ACCOUNT_PKCS12_FILE_PATH = dirname(__FILE__) . ‘/keyfile.p12’;// create client object and set app name $client = new Google_Cli

  • Felipe Schenone
    google-api google-drive-sdk google-api-client google-api-php-client
    This is what I’ve got so far, by combining this and this:require_once “google-api-php-client/src/Google_Client.php”; require_once “google-api-php-client/src/contrib/Google_DriveService.php”; require_once “google-api-php-client/src/contrib/Google_Oauth2Service.php”;//First, build a Drive service object authorized with the service accounts $auth = new Google_AssertionCredentials(DRIVE_SERVICE_ACCOUNT_EMAIL,array( DRIVE_SCOPE ),file_get_contents( DRIVE_SERVICE_ACCOUNT_KEY ) ); $client = new Google_

Web site is in building