Link to local Google App Engine database - java

I have created google app engine application and I run it on: 10.0.2.2:8888/
but I forgot what is the full link to get to the full list of recrods uploaded to the app engine.
http://10.0.2.2:8888/WHAT_SUPPOSE_TO_BE_HERE
The App engine was generated automatically by ADT(Eclipse) for Android application.

This is the correct answer which has to be at least 30 characters long:
http://localhost:8888/_ah/admin/

Related

Error while installing two similar Unity apps on a device

I wrote an android app. It works correctly (install and run), but when I change the app bundle identifier, keystore, name of app and name of the company and after that and trying to install the "new app", my device says that the app can't be installed.
But if I delete the old app it's okay to install the new one. Why?
An android device can only have 1 installation of 1 package id.
Every Android app has a unique application ID that looks like a Java package name, such as com.example.myapp. This ID uniquely identifies your app on the device and in Google Play Store. If you want to upload a new version of your app, the application ID (and the certificate you sign it with) must be the same as the original APK—if you change the application ID, Google Play Store treats the APK as a completely different app. So once you publish your app, you should never change the application ID
So, the really problem was with Facebook SDK, which i used in my applications. If you will try to install new app with same Facebook SDK ID you will get error.

Access Not Configured Error when connecting to Google Play Serives

I am getting the following error when attempting to connect to Google Play Services:
-- E/Volley﹕ [131] BasicNetwork.performRequest: Unexpected response code 403 for https://www.googleapis.com/games/v1/players/me?language=en_US
-- E/SignInIntentService﹕ Access Not Configured. Google Play Game Services API has not been used in project 608941808256 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/games/overview?project=608941808256 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
com.google.android.gms.games.server.error.GamesException
I have configured my application on Google Play Developer Console and it's ready for testing. I have linked an app to it and enabled appropriate APIs in the Developer Console (Google+ Api, Google Play Services Api, Goole Play Android Developer Api ..).
I used the SHA1 keys that the apk uses, which I added to the OAuth 2.0 list in the Developer Console.
I am using sample code provided by Google, have added my app_id in the ids.xml file (1058015326796), which does not match the project ID in the error message.
How do I connect to Google Play Services properly? Have I forgot some step in setting up the access? Why is the project ID in the error message different from the ID I am using in the application?
608941808256 is a telling project ID - it means that for some reason Google Play services didn't map your app to your client ID. This look up is generally performed by SHA1 and package name.
You mention you added your SHA1 to the developer console, which is good - maybe then check that the package name is correct. For example, maybe you append ".dev" to the package name for development builds or similar, or the package name in your build.gradle is different than the one in the Developer Console.
Remember to look under OAuth 2.0 client IDs as well - that's the section that needs to have matching values.
I spend 4 days with the same problem.
I had created project in Google Play Developer Console with all needed API's
Like you I used the SHA1 keys that the apk uses, which I added to the OAuth 2.0 list in the Developer Console.
And the solution in my case was :
to generate signed APK.
I was sending GET request for Account Data with app that was just build and run.
After 4 days of trying i read
Before you can publish an app that retrieves an OAuth 2.0 token for Google REST APIs, you must register your Android app with the Google Cloud Console by providing your app's package name and the SHA1 fingerprint of the keystore with which you sign your release APK.
and thought I will generate signed APK, and it worked.
Ps. I doesn't use Volley so i don't know if this will help you.
I got the same error.
[Problem 1] Wrong app_id, achievement/leaderboard IDs in the ids.xml!
[Solution 1] Replace or set the ids from google play game console.
[Problem 2] Use debug key and release key by mistake
[Solution 2] Be careful using the key(SHA1), pay attention whether it is debug or release.

news part of android application

I need to add news part to my android application.
For example some application shows a notification that says the new version is available or our new product has been released. Some application shows this once and some of the shows each time the Internet is available.
Is there a class for server and client side of this parts?
thank you for your help
While working with Google Playstore, you can achieve this by updating your app version in the manifest file before publishing the updated apk build. Google Playstore will show timely alerts to the user saying "App needs to be updated", redirecting them to the Google Playstore link.
android:versionName="2.0"
Also you can call one of your webservice, within the application which checks the existing app version and latest app version. If the app needs to be updated it redirects to the same Google Playstore link.

Google App Engine Connected Android (Eclipse) device endpoint error

I am just started exploring app engine with android (Java) and I followed a link to teach me how to create an App Engine Connected Android Project. https://developers.google.com/eclipse/docs/endpoints-androidconnected-gae
I followed exactly what was written in the link ,
1) Created a new app engine connected android project
2) Get the project number and API Keys from https://code.google.com/apis/console/#project
3) enable Google Cloud Messaging in the Google APIs Console
4) set the LOCAL_ANDROID_RUN to true in CloudEndpoints class
5) used a emulator with google api(v17)
6) installed the android cloud messaging library from android sdk manager
7) I am using eclipse indigo
i got errors these lines in RegisterActivity.java
import messageEndpoint.MessageEndpoint;
import messageEndpoint.CollectionResponseMessageData;
import messageEndpoint.MessageData;
i got i got errors these lines in GCMIntentService.java
import com.tez.deviceinfoendpoint.Deviceinfoendpoint;
import com.tez.deviceinfoendpoint.Deviceinfoendpoint.Builder;
import com.tez.deviceinfoendpoint.model.DeviceInfo;
and errors like that:
Deviceinfoendpoint cannot be resolved to a type GCMIntentService.java
MessageEndpoint cannot be resolved to a type RegisterActivity.java
What should i do?
Right click on the app engine project and select Google-->Generate Cloud End Point Client Library. Clean the project and refresh. It should work.
Although I'm not quite sure about the cause of your error stack, it's encouraged to right-click on the app-engine project and select generate cloud end point as suggested above. However, if you badly need to create an endpoint on your own, you will have to make sure a similar entry as below is added into your web.xml inside your webapp directory.
<param-name>services</param-name>
<param-value>${package}.MyEndpoint</param-value>
And after you ensure the above entry,
you can make your module
Deploy it local server and run the app on emulator
Or else if you're working with your production server,
Make the module
Deploy to app-engine and test it on a device or an emulator of your choice.
Hope this might help you if the issue was with your new endpoint/services exposed through the new endpoint that you create. Thanks!

Android + Google App Engine connection

I'm working on connecting an android app in Java with google app engine. This is my first time doing it. I watched and did the same thing that it was done in this video:
http://www.youtube.com/watch?v=M7SxNNC429U
I have been working and I'm getting the same problem. When creating the project and running it, it runs but it shows me a message that I have to create/add an account, I already register it when creating the project. When I enter my gmail account info it shows me a message saying: "Can not connect with the server". I'm not sure what it is happening, please a ed help on it, thanks for you time and patience.
Careful C2DM is deprecated in favor of Google Cloud Messaging and the latest Google plugin doesn't have the wizard for creating a App engine connected android project
That video is awesome, but there's some useful documentation for AppEngine Connected Android apps too. Specifically in the Creating A New Project section, it explicitly states,
Important: You must sign up for a C2DM account using the same Google account that you use for the Android application you are developing and for the GPE plugin.
You can go back and edit things later so that the account you're logging into the app with is separate from the role account being used for C2DM. But for the code generated by the plugin, they have to be the same account. Also, don't forget you actually have to sign up for C2DM, as it isn't enabled in all accounts by default.

Categories

Resources