So my problem is I am unsure how to start programming a google calendar into my app after 2 weeks of research, reading numerous websites and following google steps. I believe this is due to bad and partially outdated google calendar api documentation.
what i have done:
installed google plugin for android
registered project with google in google account
went to google console and created client id
added my projectname and SHA1 fingerprint number
So now I should be able to use google calendar services?
I cant get my physical android device to be recognised by eclipse 4.2 which is a separate problem. When it is connected what should I see? How do I manipulate the google calendar? Should I be adding in a 'calendar view' object or should the actual calendar come up? I am really confused and have not found anything up to date on the web that is a good example of this. No one has described exactly how useful this api is and whether the calendar shows up or the sort of code that you should use. I really want someone with past experience and up-to-date knowledge of this api.
Just thought I would answer this for those who are really stuck and dont know where to start like I was as there are very poor instructions out there.
Firstly go to this link -> http://developers.google.com/google-apps/calendar/ and follow all the instructions to set up your project with google.
Once you get to "Configure your app" you are likely to be stuck as the code does not work
Download mercurical so that you can download example google projects, e.g. the calendar.
Open your command window by typing 'cmd' into your start menu and pressing enter (for windows)
Navigate to this link -> http://code.google.com/p/google-api-java-client/source/checkout?repo=samples
Then copy and paste hg clone //code.google.com/p/google-api-java-client.samples/ into the terminal window. Wait for it to finish downloading (will take a few minutes)
Look at the path you downloaded the file to: eg, c:\Users\>
Go to that directory in your folders and you will have the example apps.
You will have to import it into Eclipse or your prefered environment. And now at least you can see code and figure out how to use it from there! Just wish someone somewhere could of been kind enough to start a buddy off with these simple steps.
Related
I used Eclipse to install Metaio SDK on google glass. In the beginning, the console area show like this
http://ppt.cc/HVfq
I think this means that I successfully complete the installation part, then I try to add voice trigger in order to let the Glass run this app. This is how it looks in my Google Glass.
http://ppt.cc/Szys
But every time I tried to launch it, it had no response. I have no idea what's going on. Did I make some mistakes? Or should I upload my xml file to see if there is anything wrong?
I saw that some people had already launch their app successfully on Google Glass. I was wondering if someone can show me how to do this step by step. Because I'm new to these things. Thank you very much.
If you are new to Glass and/or Android in general, I strongly advise that you start by building and running the GDK samples that we provided:
https://developers.google.com/glass/develop/gdk/quick-start
While the quick start guide uses the API Demos sample, feel free to use a more real-life example such as the Compass, Stopwatch or Timer samples that are available on our GitHub repository:
https://github.com/googleglass
I spent a while building an app for Android using Android Studio, and now I want to be able to pick up the the apk and send it to my client. My app does not need to get on the google appstore (PlayStore) because it is not a public app. It is designed only for my customer.
Is there no way of doing the deployment (getting the apk) simply by clicking on some (Build) buttons?
I searched the web and found a link from Google that gives me instructions as long as 4-6 pages of things to do. This is insane. I just want to compile my app and use it. I do not want to sign up to be a senator, I do not want to do tricks or do compilations by hand and stuff like that. Is it that hard to make a wizard inside the IDE that asks you and runs the necessary tasks for me?
I used Eclipse previously and I remember I was able to do that from inside the Eclipse IDE
Do you understand my problem?
Is there a SIMPLE way of obtaining the apk of my app so I can send it to my customer?
Thank you
I'm not sure what your definition of "simple" is, but going to Build in the menubar and using "Generate Signed APK..." will do just that. You might have to set up your keys and whatnot, but nothing terribly complicated on the command line or anything, if that's what you're looking to avoid.
The easier way to get an apk, is going to
...\AndroidStudio\[YOUR_PROYECT]\app\build\apk
and there you will find the apk that Android Studio generate and send to the mobile when you debug the app
I have used HTML files to build an application for Android on PhoneGap's website. I want to release it as a free App and signed up with the Play Store and all that. However when I upload it, it says I need to sign my application and such because it is in Debug Mode. I have searched on here and the web for help but I cannot figure out how to sign the App or add Keystore files and such in the PhoneGap Build website.
I checked the documentation for it on there website. I would post the link but I can only post 2 for my reputation. It is quite vague and it says there is more information on the Google Play documentation:
While there was more information it directed me to use something called "Keytool utility" and that seems to be my disconnect. Where would I find this utility so I may use it?
I also checked this question and its answers but it again left me in the dark:
Error signing android app on phonegap build
Here are other questions I have searched in for clues or anything I could use --
I tried this one but I do not know where they are finding this command line. I do not see it on the phonegap build website and they said I didn't have to install anything.
How to generate a signing keystore file for PhoneGap Build within Mac OSX?
Someone suggested to another user on here to follow a tutorial on mobiletutsplus and i am familiar with Eclipse for HTML/CSS but I do not understand their signing section. Am I missing a program here or something?
Download and install the Android SDK, be sure to update it, open a dos command line, and launch the script/exe called keytool which will be located in your Android SDK inside the tools/ folder or the platform-tools/ folder.
When asked how long the certificate should last, select something long like 99 years or 120 years. Be sure to note down all the identifiers you use to generate your key, and be sure to back up your key in a secure location after signing your apk.
If you ever lose that key, there is no way to replace it and you won't be able to update your existing app without losing its current users, its current reviews, its current ratings, and its current ranking it may have garnered over time.
When signing your app, you will be able to do it from the dos command line as well, however, you may prefer to install Eclise and use the IDE itself to help you to import your application, to do the packaging and the signing. Eclipse just uses the same command line tools in the background to package the app and sign it, but it gives you a visual interface to do with, so you may prefer to do it that way. And basically, the way you'd package and sign an Android Cordova/Phone Gap app is exactly the same way you would package and sign a standard Java Android app.
Whoever gave you the idea of viewing a video tutorial, that's probably a good idea. That video is only 3 minutes and 43 seconds long, so it's a good investment of your time. It's not complicated, but there are a bunch of little steps to follow and it's easy to miss one if you're just following what's written on the documentation.
I'm having trouble with a recent Gingerbread AOSP build as I cannot add a google account in the settings -> accounts & sync menu. It seems like the option isn't there: I can add an exchange account, but not a google account. When I click on Add account, it goes to the Add an Exchange account screen, instead of letting me choose which kind of account I want to add (google or exchange).
My build is on Ubuntu 10.10 32-bit with Sun Java 1.6.0_24, so it is a 32-bit build, which is non standard for gingerbread, but I managed to get it to work using the instructions on the google site, as well as the instructions in this thread (http://groups.google.com/group/android-platform/browse_thread/thread/b0bb991131589363?pli=1). Other than that it is the stock emulator (lunch 1). I haven't tried the other configurations so I don't know if the problem repeats across them all.
Any ideas?
Cheers,
IG808
Google's proprietary applications are not included in AOSP. You'll have to find them elsewhere and install them to your device.
Could someone explain how to start Appinventor after installing?
I downloaded the file and placed in folder as indicated in the provided instructions but am unable to find the launching icon for the Appinventor editor.
http://appinventor.googlelabs.com/about/
You need to sign up for an invitation. That is just the extras folder. Go to the main page, submit your email, and wait.
go to beta.appinventor.mit.edu and sign up if you haven't already. Download the setup provided in the 'support'. This download just supports functioning of the blocks editor and emulator (virtual device).
there isn't any icon on your PC, you need to go to the earlier mentioned link and that is your workspace - all on the cloud.
earlier answer from Blaze:
of course they can be placed on the Play Store. Why not?
There isn't an icon like say MS Word or Excel. It's based on the web. So you go to http://www.appinventorbeta.com/about/ and log in to your Google Account and start creating an app from there. All your projects are stored on the web, so you can work on them where ever you are.
This questions refers to Appinventor version 1 which had to be installed on the client. This version 1 is not available any longer, Version 2 is a web service and requires no installation at all.
The Appinventor main page is here: http://appinventor.mit.edu
and the Application for creating Apps here: http://ai2.appinventor.mit.edu
You only need to register with a Google Account in order to start.
Maybe the whole question should be removed as it is some kind of misleading?
Just sign up for a google ID (if you don't already have one) and google it (or go to the more selection under the "More>>" menu)
I believe that the apps made by the AppInventor cannot be places on the Android Market, I know this from personal experience