[android-developers] Digest for android-developers@googlegroups.com - 12 updates in 10 topics

Comments: (0)
gupei89@gmail.com: Jan 31 08:24PM -0800

Hi, all:
I am reviewing googlepay's in-app-billing, and find the desciption of
purchase return is not consistency with the reality. I create an sandbox
order, but actrually it return me an orderid. According to the offical
pay-document described like attachment, it will not return an orderid parms!
page url is
However, in a word: I want to distinguish our order is sandbox order or not?
Verify expecting yours help! thx!
sarmad mueen abd al mushyb <ece80490@myport.ac.uk>: Jan 31 05:02PM -0800

I'm trying to do an app for blink detection , I'm a beginner in android .
How this can de done in android ?
Jin Cheng <wangba55555@gmail.com>: Jan 31 08:38AM -0800

Hello, everybody.
I am making a android app with in-app billing function.
If you have some experience about it, please help me.
Thank you for your attention.
jtoolsdev <brianjtools@gmail.com>: Jan 31 02:50PM -0800

There are some good blog articles online with concise information. You can
fill in the rest by reading Google's documentation though I wouldn't say
that documentation is Google's strong point.
On Sunday, January 31, 2016 at 8:38:48 AM UTC-8, Jin Cheng wrote:
Joshua Parrish <jparrish88@gmail.com>: Jan 31 12:02PM -0800

Hello all,
I'm doing my best to develop an app for high-speed camera capture.
Unfortunately, it's difficult to work with
createConstrainedHighSpeedCaptureSession since there are no samples
available anywhere. Would it be possible for this community to come up with
a small set of sample code?
For instance, there is a
https://github.com/googlesamples/android-Camera2Video, but changing it to
contain a high speed request is a bit confusing. Where I'm having trouble
is specifically calling the camera requests. One must create a list,
instead of using the request builder due to the need to use
setRepeatingBurst. That said I run into several issues. One being that the
createConstrainedHighSpeedCapture is supposed to produce a CameraConstrainedHighSpeedCaptureSession
; but I don't see how to do that since createConstrainedHighSpeedCaptureSession
actually produces a CameraCaptureSession.
Basically, all I'm asking for is sample code for:
with an onConfigured callback
inside the onConfigured one needs to use createHighSpeedRequestList and setRepeatingBurst
If a sample for just that piece could be created I would be very
Julian Bunn <jjbunn@gmail.com>: Jan 31 11:39AM -0800

If you are only getting 8000 sps then even with interpolation to 44100 you
would never see any signal above 4000Hz in an FFT, right? Are you windowing
the FFT?
If there are truly problems like this with the audio firmware on the LG G3
and Nexus 7, I haven't heard any reports from my users about them. That's
not to say there can't be an issue, of course :-) If I were you, I would
obtain a cheap used G3 on Ebay to test with.
On Saturday, January 30, 2016 at 6:13:08 PM UTC-8, RLScott wrote:
Dushyant Bhatt <dushyant.k.bhatt@gmail.com>: Jan 31 08:22AM -0800

Hi Team,
I am working on my research project on android security.
where i need to revoke some permissions of installed application.
Thank You
Angel Todorov <attodorov@gmail.com>: Jan 31 03:14AM -0800

Thanks for the feedback. I'm setting the scroll flags and scroll behaviors,
here's my code (below). The issue with AppBarLayout as a first child is
that whenever I set it inside of a relative layout, which is a child of the
CoordinatorLayout, the scrolling behavior doesn't work. I guess I wasn't
clear enough - it should be somewhere in the direct children of the
CoordinatorLayout, if it's a child of a child, the coordinator layout
doesn't pick it up.
My issue is not with the scrolling behavior - that works perfectly fine. my
issue is that the content is overlapped by the app bar. The only way to fix
this is to use a relative layout and set layout_below, but then the
scrolling behavior stops working.
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:text="Toolbar Title"
android:id="@+id/toolbar_title" />
<include layout="@layout/content_matches"
android:src="@android:drawable/ic_dialog_email" />
Here is content_matches.xml:
<?xml version="1.0" encoding="utf-8"?>
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
I've also tried moving the list view outside of the SwipyRefreshLayout -
didn't change anything. Also want to clarify that i am setting the
following in code, so that I don't have to use a RecyclerView or another
view that supports nested scrolling - because the ListView on its own
doesn't support nested scrolling, and coordinator layout's scrolling
behavior expects a content view which supports nested scrolling:
ViewCompat.setNestedScrollingEnabled(listview, true);
Thanks again,
On Sunday, January 31, 2016 at 7:02:27 AM UTC+2, TreKing wrote:
Angel Todorov <attodorov@gmail.com>: Jan 31 03:02PM +0200

Found the issue,
should be set on the SwipyRefreshLayout, not on the ListView.
Chuck Crisler <ccrislerathome@gmail.com>: Jan 31 07:42AM -0500

The error says it all and is clear. The class ProcessRegister *MUST*
contain a method doinBackground. This is simple Java. Read about abstract
classes/interfaces and you will understand.
Haianhnc Haianhnc <haianhnc@gmail.com>: Jan 31 01:44AM -0800

up vote0down votefavorite
I've refer
and Getting MAC address in Android 6.0
It's seem unable to get MAC address in android 6. Without
WifiInfo.getMacAddress() and the BluetoothAdapter.getAddress() can we have
an other way to get MAC address programmatically of local device.
Don Yohel <donyohel@gmail.com>: Jan 30 11:24PM -0800

Hello everyone,
I am working on a project and i wanted to reorganize the items in a grid
view ranging from the most clicked item to the least clicked item.
Please any help on how i can do that?
Thank you
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 12 updates in 11 topics

Comments: (0)
TreKing <trekingapp@gmail.com>: Jan 30 10:59PM -0600

> The problem is that the coordinator layout always expects an AppBarLayout
> as its first child
That's not true ...
> , therefore i cannot put a relative layout in order to adjust the
> positions of my content view relative to the toolbar.
You shouldn't have to use a RelativeLayout. Putting a views in a
coordinator with the right scroll flags and scrolling behaviors set should
lay them out correctly.
> What happens is that the content view starts from the beginning of the
> screen, and the toolbar overlaps it.
Without more to go on, I'm guessing you're missing scroll flags or a scroll
You should post your layout and screenshot of what it looks like.
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
Neo Will <neowill2013@gmail.com>: Jan 30 07:31PM -0800

How can I publish app without developer name, just name of the website as
in following case freelancer.com has done.
TreKing <trekingapp@gmail.com>: Jan 30 10:51PM -0600

> How can I publish app without developer name, just name of the website as
> in following case freelancer.com has done.
Use the website as the developer name in the Google Play console. Settings
/ Account Details / Developer Profile / Developer Name.
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
RLScott <fixthatpiano@yahoo.com>: Jan 30 06:13PM -0800

But are you sure you are getting the sample rate you asked for? How would
you know? As you can see from my very first posting, all the checks you
are doing here work fine for me too, and I actually do get the number of
samples per second I ask for. But they are not true samples. They have
been faked by up-sampling. The system takes 8000 samples per second and
then duplicates each sample enough times to make up 44100 or 22050 or
whatever. But I know those samples are not true samples because I see
aliasing around 4000 Hz in the frequency spectrum. Unless you specifically
look for this problem by testing with a pure tone above 4000 Hz and analyze
with an FFT and look for aliasing below 4000 Hz, everything will appear
fine. Again this only happens on a very few models - specifically the LG
G3 and the Asus Nexus 7.
On Wednesday, January 27, 2016 at 10:57:45 AM UTC-6, Julian Bunn wrote:
Dragomirescu Mihail <dragomirescuu200@gmail.com>: Jan 30 05:53PM -0800

Hi. I have created an paid app, but Google is forcing me to put my real
address. Is that so ? I don't want to put my adress, but also I don't want
my account to be suspended.
Jetlabb Service <jetlabb@gmail.com>: Jan 30 01:11PM -0800

I am still new to android development, as well as Java. I was following a
tutorial on how to make a login, and I am using some of their code right
now, but I can't get this to work at all. I am getting a lot of errors.
The errors I am getting are:
Method does not override method from its superclass
Class "ProcessRegister" must either be declared abstract or implement
abstract method 'doInBackground(params) in AsycTask
Hopefully someone can help me, because I have no clue what I am doing wrong
import android.app.Activity;
import android.app.PendingIntent;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.drm.ProcessedData;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import wishlist.com.gimme.library.UserFunctions;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
public class PasswordReset extends Activity {
private static String KEY_SUCCESS = "success";
private static String KEY_ERROR = "error";
EditText email;
TextView alert;
Button resetpass;
* Called when the activity is first created.
public void onCreate(Bundle savedInstanceState) {
Button login = (Button) findViewById(R.id.bktolog);
login.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
Intent myIntent = new Intent(view.getContext(), Login.class);
startActivityForResult(myIntent, 0);
email = (EditText) findViewById(R.id.forpas);
alert = (TextView) findViewById(R.id.alert);
resetpass = (Button) findViewById(R.id.respass);
resetpass.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
private class NetCheck extends AsyncTask
private ProgressDialog nDialog;
protected void onPreExecute(){
nDialog = new ProgressDialog(PasswordReset.this);
nDialog.setTitle("Checking Network");
protected Boolean doInBackground(String... args){
ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo netInfo = cm.getActiveNetworkInfo();
if (netInfo != null && netInfo.isConnected()) {
try {
URL url = new URL("http://www.google.com");
HttpURLConnection urlc = (HttpURLConnection) url.openConnection();
if (urlc.getResponseCode() == 200) {
return true;
} catch (MalformedURLException e1) {
// TODO Auto-generated catch block
} catch (IOException e) {
// TODO Auto-generated catch block
return false;
protected void onPostExecute(Boolean th){
if(th == true){
new ProcessRegister().execute();
alert.setText("Error in Network Connection");
private class ProcessRegister extends AsyncTask {
private ProgressDialog pDialog;
String forgotpassword;
protected void onPreExecute() {
forgotpassword = email.getText().toString();
pDialog = new ProgressDialog(PasswordReset.this);
pDialog.setTitle("Contacting Servers");
pDialog.setMessage("Getting Data ...");
protected JSONObject doInBackground(String... args) {
UserFunctions userFunction = new UserFunctions();
JSONObject json = userFunction.forPass(forgotpassword);
return json;
protected void onPostExecute(JSONObject json) {
* Checks if the Password Change Process is sucesss
try {
if (json.getString(KEY_SUCCESS) != null) {
String res = json.getString(KEY_SUCCESS);
String red = json.getString(KEY_ERROR);
if(Integer.parseInt(res) == 1){
alert.setText("A recovery email is sent to you, see it for more details.");
else if (Integer.parseInt(red) == 2)
{ pDialog.dismiss();
alert.setText("Your email does not exist in our database.");
else {
alert.setText("Error occured in changing Password");
catch (JSONException e) {
public void NetAsync(View view){
new NetCheck().execute();
Edsel Malasig <edsel.malasig@gmail.com>: Jan 30 11:58AM -0800

I would like to get permission on making a tutorial and an app that uses
the project file WatchFace.zip posted on your website?
Shooting World Cup -SWC <shootingwc@gmail.com>: Jan 30 10:48AM -0800

One question, currently we are testing app, beta and on phones and tablets
we can see featured graphics and promo video with play button as it should
be but on the PC browser in Google Play we can see only screenshots, no
featured graphics, no promo video, no play button...?? anyone has the same
problem? what can be problem here? we are in closed beta testing faze..
pushpa latha <pushpalatha.gadiraju@gmail.com>: Jan 30 08:40AM -0800

Kindly go through this blog and provide me feedback.
Achin Sharma <achshar2@gmail.com>: Jan 30 06:18AM -0800

The checkbox in the android studio's SDK component installation window
isn't working. Not sure if this is a bug report or not. I have tried
running the 64 bit setup both with and without admin privileges. I am on
windows 10 x64. The following is the window I am talking about.
martin haesler <martin.haesler@gmail.com>: Jan 30 01:56AM -0800

I've copied a color theme I've made to ~/.AndroidStudio1.5/config/colors/.
On Android Studio startup I get this error message:
Cannot read scheme reykjavik.icls from '$ROOT_CONFIG$/colors':
> com.intellij.openapi.util.InvalidDataException: Wrong color value: #a3d4e8
The corresponding log entry looks like this:

at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: com.intellij.openapi.util.InvalidDataException: Wrong color
> value: #a3d4e8
> com.intellij.openapi.util.DefaultJDOMExternalizer.toColor(DefaultJDOMExternalizer.java:321)
> com.intellij.openapi.editor.markup.AttributesFlyweight.create(AttributesFlyweight.java:138)
> com.intellij.openapi.editor.markup.TextAttributes.readExternal(TextAttributes.java:194)
... 108 more
Caused by: java.lang.NumberFormatException: For input string: "#a3d4e8"
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:569)
> com.intellij.openapi.util.DefaultJDOMExternalizer.toColor(DefaultJDOMExternalizer.java:316)
... 110 more
2016-01-30 09:50:48,363 [ 266056] INFO - TestNG
The color theme reykjavik.icls
<https://gist.github.com/mswift42/5ec3e948c88dfd425ccf> works flawlessly
with Webstorm and Intellij community and ultimate, Screenshots can be found
here <https://github.com/mswift42/themecreator/wiki>.
What am I doing wrong?
William Chan <will@websitepeople.com.au>: Jan 29 10:14PM -0800

Hi there! I just built an app with a webview to display my responsive
website, but some of the Google maps in the webview are not showing up. Is
there something I should be importing or including? Thank
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 15 updates in 9 topics

Comments: (0)
Michael Maus <mouse51180@gmail.com>: Jan 29 11:07AM -0800

I am just starting to learn Android Studio and am in now way a programmer.
I have been following this tutorial to create a button to go to a new
activity, but get an error when the button is pressed and the app crashed.
*Tutorial I followed:*
*Error I see in Android Monitor log:*
01-29 14:05:23.867 2225-2225/com.xplore_scuba.xplorescuba I/art: Not late-enabling
-Xcheck:jni (already on)
01-29 14:05:23.950 2225-2225/com.xplore_scuba.xplorescuba W/System:
ClassLoader referenced unknown path:
01-29 14:05:24.124 2225-2243/com.xplore_scuba.xplorescuba D/OpenGLRenderer:
01-29 14:05:24.174 2225-2243/com.xplore_scuba.xplorescuba I/OpenGLRenderer:
Initialized EGL, version 1.4
01-29 14:05:24.264 2225-2243/com.xplore_scuba.xplorescuba W/EGL_emulation:
eglSurfaceAttrib not implemented
01-29 14:05:24.264 2225-2243/com.xplore_scuba.xplorescuba W/OpenGLRenderer:
Failed to set EGL_SWAP_BEHAVIOR on surface 0xad7dfd60, error=EGL_SUCCESS
01-29 14:05:30.529 2225-2225/com.xplore_scuba.xplorescuba D/AndroidRuntime:
Shutting down VM
01-29 14:05:30.530 2225-2225/com.xplore_scuba.xplorescuba E/AndroidRuntime:

Process: com.xplore_scuba.xplorescuba, PID: 2225

java.lang.IllegalStateException: Could not find method ButtonClick(View) in
a parent or ancestor Context for android:onClick attribute defined on view
class android.support.v7.widget.AppCompatImageButton with id 'btn_calendar'



at android.view.View.performClick(View.java:5198)

at android.view.View$PerformClick.run(View.java:21147)

at android.os.Handler.handleCallback(Handler.java:739)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:5417)

at java.lang.reflect.Method.invoke(Native Method)


at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
01-29 14:05:33.364 2225-2228/com.xplore_scuba.xplorescuba W/art: Suspending
all threads took: 21.239ms
01-29 14:05:33.665 2225-2225/com.xplore_scuba.xplorescuba I/Process:
Sending signal. PID: 2225 SIG: 9
I have my files on GitHub if anyone would like to dig into it. Its a small
project right now with a single button and two activities.
I dont know why the OnClick is having an issue and dont know what or where
to look to correct this. My suspicions are that something needs to be
changed or added to the MainActivity.java file.
The button itself has the "onClick" parameter set to "onButtonClick". Im
not sure is this might be were part of the problem is as well.
*MainActivity.java file:*
package com.xplore_scuba.xplorescuba;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Display;
import android.view.View;
public class MainActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
public void onButtonClick(View v)
if(v.getId() == R.id.btn_calendar)
Intent i = new Intent(MainActivity.this, Display.class);
Thanks in advance for any guidance you can provide.
TreKing <trekingapp@gmail.com>: Jan 29 05:07PM -0600

> changed or added to the MainActivity.java file.
> The button itself has the "onClick" parameter set to "onButtonClick". Im
> not sure is this might be were part of the problem is as well.
What you posted should work. This could easily be an Android bug.
An easy workaround would be to set the click handler yourself - which is
more obvious and explicit anyway. In onCreate:
findViewByID(R.id.btn_calendar).setOnClickListener(new OnClickListener()) {
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
niks <niksap1@gmail.com>: Jan 29 06:18PM -0800

Hi, I don't know what you did nor did I see the video, but try to do the
following things:
first, give an id to your button, let us call it *calender_button*.
The in the below example do it like this:
public class MainActivity extends AppCompatActivity {
Button calender; *(<--- this is step 1)*
protected void onCreate(Bundle savedInstanceState) {
//set the button, like *(<--- this is step 2)*
calender*= ** (Button) findViewById(R.id.**calender_button**);*
calender*.setOnClickListener(this); **(<--- this is step 3)*

public void onClick(View v) *(<--- step 4; I am using the case/scenario here so as to allow you to add more buttons later on; it will also work with just one button)*
case R.id.*calender_button*:
startActivity(new Intent(MainActivity.this, *yourNextActivity*.class));
Try this and let me know how it went
Τη Παρασκευή, 29 Ιανουαρίου 2016 - 9:07:38 μ.μ. UTC+2, ο χρήστης Michael
Maus έγραψε:
niks <niksap1@gmail.com>: Jan 29 06:51PM -0800

Hi Michael,
look at my first answer I corrected your MainActivity ;-)
niks <niksap1@gmail.com>: Jan 29 07:01PM -0800

I also forgot to mention:
I ASSUME that you have added both activities to your manifest!!!
Otherwise, when clicking your button and the next activity is about to be
lunched your app will crash!
Τη Σάββατο, 30 Ιανουαρίου 2016 - 4:51:13 π.μ. UTC+2, ο χρήστης niks έγραψε:
rishabjain160378@gmail.com: Jan 29 10:53AM -0800

https://github.com/googlesamples/google-servicesI don't know what is the
exact problem. Can you please test your app using sample given at github. I
have tested the sample given and it seems to be working fine for your
problem statement.
On Wednesday, 27 January 2016 05:18:58 UTC-6, Florian Bock wrote:
Angel Todorov <attodorov@gmail.com>: Jan 29 08:53AM -0800

I would like to use a CoordinatorLayout so that my toolbar can hide
automatically when my content view (which supports nested scrolling) is
The problem is that the coordinator layout always expects an AppBarLayout
as its first child, therefore i cannot put a relative layout in order to
adjust the positions of my content view relative to the toolbar. What
happens is that the content view starts from the beginning of the screen,
and the toolbar overlaps it. If i use a relative layout instead of the
coordinator layout, then everything is fine, because i can set layout_below
on the content view, but then the toolbar is not automatically "shrinked"
when i am scrolling the content view.
Can you think of a solution to this problem? I've got all my layout_height
settings adjusted correctly.
Thank you
Bost <ostermann.bernd@googlemail.com>: Jan 29 08:19AM -0800

I moved from Eclipse to AndroidStudio some months ago. I use the same
keystore for Eclipse and AndroidStudio. It works.
Am Donnerstag, 28. Januar 2016 18:27:14 UTC+1 schrieb Joan Segú:
Miguel Delgado <mike.adc@gmail.com>: Jan 29 08:10AM -0800

Hello everyone,
I wonder if there's some way to overlay a View over the Navigation Bar.
I have an app which handles a color filter ovlaying the whole screen, but
starting from KitKat it's not covering the Navigation Bar anymore. I've
read it's a system restriction and I suppose it's mean to prevent abuse
from malicious apps, but I'm having many complains from my users asking to
cover the Navigation Bar, and it really is annoying when the filter doesn't
cover that area.
I'm able to lay the view behind the navigation bar, so the filter is
applied almost correctly when the navigation bar is translicent, but the
navitation buttons remain too bright over the filter.
Here's some code, I'm adding this view from a Service throught the
WindowManager#addView method:
This is the code I'm using to create and add the view:
final int overlayFlags =
WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN |
WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE |
WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS |
WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS |
this.dimmerLayoutParams = new WindowManager.LayoutParams(overlayType, overlayFlags, overlayPixelFormat);
this.dimmerLayoutParams.gravity = Gravity.TOP | Gravity.LEFT;
this.dimmerLayoutParams.x = 0;
this.dimmerLayoutParams.y = 0;
this.dimmerLayoutParams.width = screenWidth;
this.dimmerLayoutParams.height = screenHeight;
this.windowManager.addView(dimmerView, dimmerLayoutParams);
Some notes:
- The *WindowManager* is obtained previously and referenced in an instance
- *screenWidth* and *screenHeight* are obtained also previously by various
system-dependant methods which are out of scope, also setting the size to
10000x10000 works but consumes more memory.
- *dimmerView* is also created previously, and it just a new View() with
the service itself as context.
Ok now these are the results that I've got changing *overlayType*:
- SYSTEM_TYPE_OVERLAY: Lays over thw whole screen but behind the navigation
bar, so the navigation buttons and ofter the navigation bar itself "glow
furiously" as a user described, specially during Lollipop's battery saving
- SYSTEM_TYPE_ALERT: Behaves just like the SYSTEM_TYPE_OVERLAY, though I've
found this one supports touch events
- SYSTEM_TYPE_ERROR: In ICS and JB devices it lays efectively over the
navigation bar, but starting from KitKat it doesn't even lay behind it, it
just avoid the Navigation Bar area.
Has anyone faced this problem? Is there any solutions to this? I'm open to
hearing (in this case, reading) any suggestions.
Thanks everybody!
calldrop2016@gmail.com: Jan 29 02:08AM -0800

Mobile subscribers are growing exponentially, but the telecommunication
infrastructure is poor. This has lead to a situation called as Call Drop.
Call drop is one of the major concerns among the mobile subscribers. I am
here to discuss the issue and provide a solution.
Know Your Android <http://calldropmeter.com/> an Android application is one
step toward solving the problem.
tbsind2016@gmail.com: Jan 29 02:15AM -0800

Great App I tried and currently using it. If you count the number of call
drops then this app is the best solution.
On Friday, January 29, 2016 at 3:38:06 PM UTC+5:30, calldr...@gmail.com
tbsind2016@gmail.com: Jan 29 02:25AM -0800

Best app to count call drop counts, I am using it currently you should also
give a try!!
On Friday, January 29, 2016 at 3:38:06 PM UTC+5:30, calldr...@gmail.com
"Дмитрий Ваулин" <dimsarostov@gmail.com>: Jan 29 02:16AM -0800

_nmeaListener = new GpsStatus.NmeaListener() {
public void onNmeaReceived(long timestamp, String nmea) {
String time = _elapsedTimer.convertMillisToMDYHMSS(timestamp);
_gpsNMEAText = "<b><font color='yellow'>GPS NMEA</b></font>" +
"<br><b>Timestamp:</b> " + time +
"<br><b>NMEA code:</b> " + nmea;
понедельник, 25 января 2016 г., 13:44:17 UTC+3 пользователь Дмитрий Ваулин
vauteck <vauteck@gmail.com>: Jan 29 01:05AM -0800

Hello everyone,
We have a problem on our product. We need to rotate the LCD screen to 180
degrees, but not the HDMI.
We are using a riotboard based on imx6Solo SOC.
To do that, we put "ro.sf.hw_rotation=180" in our init.rc, and make
following changes to
frameworks/native/services/surfaceflinger/DisplayDevice.cpp file :
// In DisplayDevice::setProjection(...) {
if (mType == DISPLAY_PRIMARY) {
if (property_get("ro.sf.hwrotation", property, NULL) > 0) {
switch (atoi(property)) {
// ...
case 180:
displayOrientation = DisplayState::eOrientation180;
With android 4.4.2 (kernel 3.0.35), it rotates the LCD screen but keeps the
default 0 rotation for external displays (eg HDMI), which is good.
The problem is, we need to switch to 4.4.3, and in this version it rotates
the HDMI screen too (with kernel 3.10.53)
We have looked at differences in android code source, but so far no luck.
we suspect it might be a difference in the kernel code ?
Thanks guys for your help
Playmac <hansawww@gmail.com>: Jan 28 11:01PM -0800

I'm new on Google Play and want to launch my first app but I have trying to
find the right week day when it would be best to publish it regarding of
the potential featuring. For example, for iOS you need to publish the app
on Thursday (Wednesday night 00:00 when the Thursday starts).
So is there a same story in Google Play (when the featured list updates on
Play) and when I should be publish the app?
Is there something else I should know about getting featured on Play (of
course there are many things you you need to know :) ) but I mean more
like: on iOS you will not get the featuring (I mean very likely) if you
have published your app already etc (you need to launch it on a same day
when the featuring list start changing). Is it same way on Play, or on
google you can have the opportunity to be featured any time, even if you
have published you app long time ago?
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

[android-developers] Digest for android-developers@googlegroups.com - 10 updates in 10 topics

Comments: (0)
Nara <vnara.g@gmail.com>: Jan 28 09:25PM -0800

How to import hdmi classes
Not able to import hdmi classes into project it is showing as symbol not
Is it possible to add android.hardware.hdmi ?
Megha Agarwal <megharecruiter910@gmail.com>: Jan 28 03:25PM -0800

*Hello,Please let me know if you have any consultant available for the
below role,Job Tittle: Biztalk Admin Location: Hilliard, OH Duration: 1+
month Contract Role Description: 5+ Years of Production Biztalk
Administration ExperienceWorked on the Biztalk Version Upgrade Projects.
(Worked on 2008->2010 upgrade, or 2010->2013 upgrades2-3 Years PowerShell
Scripting experience.5+ Years Infrastructure supporting enterprise
applications (20+ server environment)Strong understanding of BizTalk
message processing and databasesAbility to use the BizTalk Administration
toolsDeploy BizTalk Applications via MSIConfigure hosts and host
instancesDeploy and manage business rulesConfigure and administer a
clustered BizTalk environment with multiple message boxesBackup and restore
BizTalk DatabasesKnowledge on the SQL server.Work with BAM and failed
message routing both inside the BAM PortalEvaluate BizTalk performance
using BizTalk specific Performance Monitor Snap-insMOM\SCOM experience is a
plus.Workflow Tools, SharePoint and SSRS development (Creating workflow,
routing, rules, alerts, reports, etc.) is a plusStrong Working
Knowledge:Service Oriented ArchitectureLoad Balancing / High
AvailabilitySystem Scaling / Windows and Application Performance
TuningLogfile Reader Technology (regular expressions / RegEx strongly
preferred)Enterprise Service busSSO*
*Please send your resumes to Megha.agarwal@panzersolutions.com
<Steven.smith@panzersolutions.com> for immediate consideration*
*Megha Agrawal*
Troy Chuinard <tccpg288@gmail.com>: Jan 28 01:50PM -0800

I am trying to replicate the Google App Engine Servlets module [here][1]
using Retrofit instead of AsyncTask.
I find it odd, but apparently Retrofit 2.0 does not support connections to
Google App Engine, as stated [here][2] in the issues of the GitHub
As a result, I am using Retrofit 1.9 and OkHttp 2.3 dependencies.
I have created a project called "Retrofit Test" in the Google Developer
Console, and Google has supplied me with a URL for the project:
"http://retrofit-test-1203.appspot.com" with the subdomain as
"http://retrofit-test-1203.appspot.com/hello. These will be my respective
URL's for Retrofit. Below is my code:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.troychuinard.retrofittest"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName "1.0"
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.okhttp:okhttp:2.3.0'
public class MainActivity extends AppCompatActivity {
//set the URL of the server, as defined in the Google Servlets Module
private static String PROJECT_URL =
private Button mTestButton;
protected void onCreate(Bundle savedInstanceState) {
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
mTestButton = (Button) findViewById(R.id.test_button);
//Instantiate a new UserService object, and call the "testRequst"
method, created in the interface
//to interact with the server
mTestButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
//Instantiate a new RestAdapter Object, setting the
endpoint as the URL of the server
RestAdapter restAdapter = new RestAdapter.Builder()
.setClient(new OkClient(new OkHttpClient()))
UserService userService =
userService.testRequest("Test_Name", new Callback<String>()
public void success(String s, Response response) {
Toast.makeText(getApplicationContext(), s,
public void failure(RetrofitError error) {
error.getMessage(), Toast.LENGTH_LONG).show();
UserService (Retrofit)
public interface UserService {
void testRequest(@Query("name") String name, Callback<String> cb);
My Servlet:
public class MyServlet extends HttpServlet {
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
resp.getWriter().println("Please use the form to POST to this url");
public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws IOException {
String name = req.getParameter("name");
if(name == null) {
resp.getWriter().println("Please enter a name");
resp.getWriter().println("Hello " + name);
As you can see, I have set the project up so that I make a server request
on a button click. Similar to the Google App Engine Servlets module, I am
expecting to receive a response from the Server, which I then display as a
Toast that says "Hello + (whatever parameter entered into the
.testRequest() method, which is "Test_Name" in this case. I am receiving
the error below, any help/advice on my methodology is appreciated:
[![enter image description here][3]][3]
[2]: https://github.com/square/retrofit/issues/1149
[3]: http://i.stack.imgur.com/Y0ZTL.png
Jeff <gamezps@gmail.com>: Jan 28 04:22PM -0500

How do I do the redirect ?
rishabjain160378@gmail.com: Jan 28 10:24AM -0800

I am beginner to maven and finding it difficult to migrate my project from
gradle to Maven. For Push notification code, that I have using from below
link in gradle environment is working fine:
But when I am trying to use it in my Maven and adding the following
dependency to my pom.xml file. As suggested by following GITHUB link:
Dependency :
And when I am trying to define receiver in my manifest file, I am getting
the error.Not able to import any of the Cloud Messaging API in my code.
<receiver android:name="com.google.android.gms.gcm.GcmReceiver"
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name=
"gcm.play.android.samples.com.gcmquickstart" />
Able to run in Gradle environment successfully but now due to some client
requirement I need to migrate my project to Maven. And using the below
version for GCM in my Gradle:
compile 'com.google.android.gms:play-services-gcm:8.3.0'
compile 'com.android.support:support-v4:19.1.0'
Please help me to resolve the error.If you need any more clarification,
please do let me know. Thanks in Advance. Thanks for the help.
"Joan Segú" <joansele@gmail.com>: Jan 28 09:27AM -0800

I've recently moved from Eclipse to Android Studio (on the same pc) and
need to sign my app. Can I use the same keystore on both IDEs ?
neobie <kaiyanglim@gmail.com>: Jan 28 05:19AM -0800

My Android Studio keep stuck on startup recently (more then 10 minutes).
Some people suggested to add in a line at idea.properties
but it is not working for me. Someone please help?
Using Mac EL Capitan
Dimitris Poulopoulos <jim.a.ver@gmail.com>: Jan 28 05:04AM -0800

Hello! I have a strange problem. The GUI of the Android Studio is broken
and I don't know what's wrong.
camilla bonanni <cbonanni@gmail.com>: Jan 28 03:48AM -0800

Do you know if Google ToS allows to have 3rd party data of places ( example
Foursquare) showing on a Google Map, in coexistence with other places from
Google Places Api?
I was not able to find in ToS something that would give indications if
forbidden or allowed.
adit microsys <aditmicrosys1@gmail.com>: Jan 27 11:05PM -0800

Hello Sam Halliday,
Can you give me the idea about jsr-179 use in android .
Thank you
On Tuesday, November 13, 2007 at 6:13:22 PM UTC+5:30, Sam Halliday wrote:
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.