[android-developers] Digest for android-developers@googlegroups.com - 1 update in 1 topic

Comments: (0)
Jags <jagatm@gmail.com>: Jun 30 05:33AM -0700

activity start -------------------------------------------------------
 
package Android.Arduino.Bluetooth;import android.app.Activity;import android.bluetooth.BluetoothAdapter;import android.bluetooth.BluetoothDevice;import android.bluetooth.BluetoothSocket;import android.content.Intent;import android.os.Bundle;import android.os.Handler;import android.view.View;import android.widget.TextView;import android.widget.EditText; import android.widget.Button;import java.io.IOException;import java.io.InputStream;import java.io.OutputStream;import java.util.Set;import java.util.UUID;
public class MainActivity extends Activity{TextView myLabel;EditText myTextbox;BluetoothAdapter mBluetoothAdapter;BluetoothSocket mmSocket;BluetoothDevice mmDevice;OutputStream mmOutputStream;InputStream mmInputStream;Thread workerThread;byte[] readBuffer;int readBufferPosition;int counter;volatile boolean stopWorker;
@Overridepublic void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
 
Button openButton = (Button)findViewById(R.id.open);
Button sendButton = (Button)findViewById(R.id.send);
Button closeButton = (Button)findViewById(R.id.close);
myLabel = (TextView)findViewById(R.id.label);
myTextbox = (EditText)findViewById(R.id.entry);
 
//Open Button
openButton.setOnClickListener(new View.OnClickListener()
{
public void onClick(View v)
{
try
{
findBT();
openBT();
}
catch (IOException ex) { }
}
});
 
//Send Button
sendButton.setOnClickListener(new View.OnClickListener()
{
public void onClick(View v)
{
try
{
sendData();
}
catch (IOException ex) { }
}
});
 
//Close button
closeButton.setOnClickListener(new View.OnClickListener()
{
public void onClick(View v)
{
try
{
closeBT();
}
catch (IOException ex) { }
}
});}
void findBT(){
mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
if(mBluetoothAdapter == null)
{
myLabel.setText("No bluetooth adapter available");
}
 
if(!mBluetoothAdapter.isEnabled())
{
Intent enableBluetooth = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
startActivityForResult(enableBluetooth, 0);
}
 
Set<BluetoothDevice> pairedDevices = mBluetoothAdapter.getBondedDevices();
if(pairedDevices.size() > 0)
{
for(BluetoothDevice device : pairedDevices)
{
if(device.getName().equals("MattsBlueTooth"))
{
mmDevice = device;
break;
}
}
}
myLabel.setText("Bluetooth Device Found");}
void openBT() throws IOException{
UUID uuid = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB"); //Standard SerialPortService ID
mmSocket = mmDevice.createRfcommSocketToServiceRecord(uuid);
mmSocket.connect();
mmOutputStream = mmSocket.getOutputStream();
mmInputStream = mmSocket.getInputStream();
 
beginListenForData();
 
myLabel.setText("Bluetooth Opened");}
void beginListenForData(){
final Handler handler = new Handler();
final byte delimiter = 10; //This is the ASCII code for a newline character
 
stopWorker = false;
readBufferPosition = 0;
readBuffer = new byte[1024];
workerThread = new Thread(new Runnable()
{
public void run()
{
while(!Thread.currentThread().isInterrupted() && !stopWorker)
{
try
{
int bytesAvailable = mmInputStream.available();
if(bytesAvailable > 0)
{
byte[] packetBytes = new byte[bytesAvailable];
mmInputStream.read(packetBytes);
for(int i=0;i<bytesAvailable;i++)
{
byte b = packetBytes[i];
if(b == delimiter)
{
byte[] encodedBytes = new byte[readBufferPosition];
System.arraycopy(readBuffer, 0, encodedBytes, 0, encodedBytes.length);
final String data = new String(encodedBytes, "US-ASCII");
readBufferPosition = 0;
 
handler.post(new Runnable()
{
public void run()
{
myLabel.setText(data);
}
});
}
else
{
readBuffer[readBufferPosition++] = b;
}
}
}
}
catch (IOException ex)
{
stopWorker = true;
}
}
}
});
 
workerThread.start();}
void sendData() throws IOException{
String msg = myTextbox.getText().toString();
msg += "\n";
mmOutputStream.write(msg.getBytes());
myLabel.setText("Data Sent");}
void closeBT() throws IOException{
stopWorker = true;
mmOutputStream.close();
mmInputStream.close();
mmSocket.close();
myLabel.setText("Bluetooth Closed");}}
 
 
activity end ----------------------------------------------------
 
layout start -----------------------------------------------------
 
<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="fill_parent"android:layout_height="fill_parent"tools:ignore="TextFields,HardcodedText" >
<TextView
android:id="@+id/label"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Type here:" />
<EditText
android:id="@+id/entry"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/label"
android:background="@android:drawable/editbox_background" />
<Button
android:id="@+id/open"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_below="@id/entry"
android:layout_marginLeft="10dip"
android:text="Open" />
<Button
android:id="@+id/send"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/open"
android:layout_toLeftOf="@id/open"
android:text="Send" />
<Button
android:id="@+id/close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@id/send"
android:layout_toLeftOf="@id/send"
android:text="Close" />
 
 
layout end ------------------------------------------------------
 
manifest start -------------------------------------------------
 
</application><uses-permission android:name="android.permission.BLUETOOTH" />
 
 
manifest end --------------------------------------------------
 
On Friday, June 26, 2015 at 7:23:15 PM UTC+5:30, mike digioia 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.

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

Comments: (0)
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 - 4 updates in 4 topics

Comments: (0)
"kkrish121@gmail.com" <jitendravaishtha@gmail.com>: Jun 25 10:44PM -0700

Hi All,
 
 
*I was able to **record** the incoming call on Kitkat with the help of following code but the same code is not working for Lollipop version.*
 
 
recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_COMMUNICATION);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
 
 
Can you please help me to find out the reason?
 
 
Thanks
 
 
Jitendra
Saurav <to.saurav.mukherjee@gmail.com>: Jun 25 04:22PM -0700

Anyone?
 
 
 
Regards,
Saurav Mukherjee
 
Twitter <https://twitter.com/fasuke>
Facebook <https://www.facebook.com/fuusuke>
LinkedIn <http://www.linkedin.com/in/sauravmukherjeelinkedin>
 
On Tue, Jun 23, 2015 at 12:36 AM, Saurav <to.saurav.mukherjee@gmail.com>
wrote:
 
NewToAndroid <rahulrasal@gmail.com>: Jun 25 03:03PM -0700

Thanks Guys. Changing gradle build file worked
 
On Saturday, June 20, 2015 at 4:16:14 PM UTC+1, richarth wrote:
vipendra katre <vipin.katre123@gmail.com>: Jun 25 02:06AM -0700

Hello Mark,
 
I am facing problem for Uri scheme to launch application from browser.
 
I have created a html page with the below link:
<a
href="intent:#Intent;action=com.test.myapp.AUTO_ENROLL_ACTION;package=com.test.myapp;end">click
to load</a>
 
and in the application Menifest file I have added Intent-filter for an
Activity like:
<intent-filter>
<action android:name="com.test.myapp.AUTO_ENROLL_ACTION" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
 
My application package name is: com.test.myapp
 
But My Application is not launching when I am clicking the above link
mentioned in Html page.
 
 
Please suggest what is wrong I am doing or required more steps to perform
the app launch.
 
 
Thanks !!
 
 
 
 
On Wednesday, 17 August 2011 15:57:11 UTC+5:30, Mark Murphy 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.

[android-developers] Digest for android-developers@googlegroups.com - 1 update in 1 topic

Comments: (0)
Jags <jagatm@gmail.com>: Jun 24 06:14AM -0700

Thanks a lot treking,
 
I am using the code as is in the link below
 
http://stackoverflow.com/questions/13450406/how-to-receive-serial-data-using-android-bluetooth
 
now, data is getting transferred properly. But i need a entrypoint in my
application when bluetooth is paired or sends some data, my application
needs to wake up from closing state, so that i can do other transfers
according to session.
 
hope i am clear now
 
regards
jags
 
On Monday, June 22, 2015 at 7:57:30 AM UTC+5:30, TreKing 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.

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

Comments: (0)
Doug <beafdefx@gmail.com>: Jun 23 09:54PM -0700

There's a difference between "promoting" and "showing a simple, terse
example". This I think is the latter. I'm pretty sure if you ask any of
the on-staff developer advocates if you should be writing
production-quality code like this, they will probably say no, using a
better mechanism. But this is short and to the point. The best
production-worthy example would, unfortunately, take at least twice as many
lines of code.
 
Also, this particular BT API is deprecated.
 
Doug
 
On Sunday, June 21, 2015 at 7:40:10 AM UTC-7, RLScott wrote:
Saurav <to.saurav.mukherjee@gmail.com>: Jun 23 12:36AM -0700

Hey All,
 
It has been wrong and I have made a point to work everyday for a small
amount of time on something I love, Android.
 
Could someone please point me to APIs or materials that would help me
CONTROL the vibration on my Android Wear.
 
Thanks in advance!
 
Regards,
Saurav Mukherjee
 
Twitter <https://twitter.com/fasuke>
Facebook <https://www.facebook.com/fuusuke>
LinkedIn <http://www.linkedin.com/in/sauravmukherjeelinkedin>
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 - 1 update in 1 topic

Comments: (0)
jb <conanjb@gmail.com>: Jun 22 03:29PM -0700

Hi,
 
I recently moved my android project from IntelliJ to Android Studio.
When I build my project I get the following:
 
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
 
I tried to set *-Xlint:deprecation* in Preferences->Compiler->VM Options. I
get a Gradle failed to complete error message
I tried to set *-Xlint:deprecation* in Preferences->Gradle->Gradle VM
Options. I get a Gradle failed to complete error message
 
How can I set *-Xlint:deprecation* and *-Xlint:unchecked* in Android Studio?
 
I'm running Android Studio 1.2.2 on OSX 10.10.3
 
TIA
 
jb
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 - 4 updates in 4 topics

Comments: (0)
TreKing <trekingapp@gmail.com>: Jun 21 09:18PM -0500

You should explain how you're going about to getting bluetooth data now
(like with code snippets). You minimal description is too vague for anyone
to really address.
 
 
--
 
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
TreKing <trekingapp@gmail.com>: Jun 21 09:16PM -0500


> I just want to know,does the payment be pushed to my Credit Card as soon
> as the transaction happens or at a regular time of a month/day?
 
 
You need a bank account and you're paid monthly.
https://support.google.com/googleplay/android-developer/answer/173779?hl=en
 
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
TreKing <trekingapp@gmail.com>: Jun 21 09:22PM -0500

Lo que muestras no indica si estas añadiendo el LinearLayout "B" al
Activity correctamente. Porque no lo haces en XML?
 
On Thu, Jun 18, 2015 at 5:49 AM, Jefferson Delgado P. <jjdelper@gmail.com>
wrote:
 
 
--
 
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
RLScott <fixthatpiano@yahoo.com>: Jun 21 07:40AM -0700

Google is still promoting runOnUiThread in their sample Bluetooth Low
Energy device scan callback code:
 
private BluetoothAdapter.LeScanCallback mLeScanCallback =
new BluetoothAdapter.LeScanCallback() {
@Override
public void onLeScan(final BluetoothDevice device, int rssi,
byte[] scanRecord) {
runOnUiThread(new Runnable() {
@Override
public void run() {
mLeDeviceListAdapter.addDevice(device);
mLeDeviceListAdapter.notifyDataSetChanged();
}
});
}
};
 
-Robert Scott
Hopkins, MN
 
 
 
On Tuesday, June 9, 2015 at 12:39:13 PM UTC-6, Sam Duke 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.

[android-developers] Digest for android-developers@googlegroups.com - 2 updates in 1 topic

Comments: (0)
NewToAndroid <rahulrasal@gmail.com>: Jun 20 05:00AM -0700

Hi All,
 
I have a small app already live on Play Store. As I was new to Android, I
totally forgot to mention any version on the manifest file. There was no
versionCode or versionName in the first version of apk, which is live now.
However, it is shown as version 1 in the developer console.
 
Now I want to submit the upgrade i.e. next version.
 
I have added following lines to the manifest file
 
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mobile.mypackagename"
android:versionCode="2"
android:versionName="2.0"
 
Generated the release apk. Then I tried to upload the new apk file by
clicking on "Upload new apk to Production".
But, I am getting error,* "Upload failed. You need to use a different
version code for your APK because you already have one with version code
1."*
 
What is the problem here ?
 
Thanks in advance
Richard Thompson <richarth@gmail.com>: Jun 20 04:03PM +0100

Are you using Gradle for your build? If you are using Gradle for your
build then the version settings in your Gradle file will take precedence
over the value in your manifest file.
 
If you open up the build.gradle file for your module in the defaultConfig
block there will be two lines:
 
versionCode 1
versionName "1.0"
 
Change these to:
 
versionCode 2
versionName "2.0"
 
and that should do the trick.
 
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 - 2 updates in 2 topics

Comments: (0)
Bunty syed <itsmeatforum@gmail.com>: Jun 19 10:51PM +0530

Hi,
 
I am looking for a way to generate the certificate signing request for
android using jscep.
Can anybody help me with the some documentation or link to start with.
 
IOS provide the native capability to generate CSR.
Is similar thing available for android
Bunty syed <itsmeatforum@gmail.com>: Jun 19 10:40PM +0530

Hi Piyush,
 
Even I am looking for similar kind of implementaion.
Can u tell how did u generate the csr for android ??
Using Jscep or something else..
 
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 - 2 updates in 2 topics

Comments: (0)
"Jefferson Delgado P." <jjdelper@gmail.com>: Jun 18 03:49AM -0700

Buenos días,
 
Llevo ya un par de días peleándome e intentando mostrar un mapa de google
al vuelo, es decir, en base a lo que me venga del servidor, tengo que
pintar un mapa, un select o lo que toque, y con el mapa no lo he
conseguido. He estado mirando varias opciones y la que he visto más
factible, ha sido la siguiente:
 
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(
LayoutParams.MATCH_PARENT,
LayoutParams.WRAP_CONTENT);
LinearLayout B = new LinearLayout(mContext);
B.setOrientation(LinearLayout.VERTICAL);
 
 
GoogleMapOptions options = new GoogleMapOptions();
options.camera(new CameraPosition(new LatLng(0, 0), 1, 0, 0));
MapView mMapFragment = new MapView(mContext, options);
params = new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, 200);
mMapFragment.setLayoutParams(params);

B.addView(mMapFragment);
 
 
He probado con distintas variantes y no consigo que el mapa se vea, ni en
gris, ni amago ni nada de nada, aunque eso si, el espacio de 200px me lo
respeta y se ve un gran cuadro en blanco.
 
Lo intenté con un SupportMapFragment en lugar de MapView pero nunca llegué
a poder siquiera ejecutarlo.
 
Si alguno me puede arrojar algo de luz, se lo agradecería.
 
Muchas gracias.
 
 
Un saludo
Jags <jagatm@gmail.com>: Jun 18 02:19AM -0700

my current application is about reading data from a bluetooth device. when
my application is in background, my application wakes up and receives data
properly. But when the application is stopped by me from list of background
apps, or the app has not run at all, the application does not wake up.
 
Request experts to guide me to a solution approach. I want my application
to wake up from stopped state when bluetooth pair happens or data is pushed
from bluetooth.
 
thanks and regards
jags
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 - 2 updates in 2 topics

Comments: (0)
Farproc <farproc@gmail.com>: Jun 17 04:37PM -0700

Hi,
 
I've got a lot of error reports from Sony devices with Android 5.0.2 in the
past few weeks. It seems that a ArrayIndexOutOfBoundsException occurs when
inflating ActionBarContainer. ActionBarContainer is an internal class,
never used directly in my code. The only line of my code in the stack
trace is a call to Activity.setContentView(). Any ideas? Thanks.
 
----------------------------------------------------------------------------------------------------
 
The list of Build.FINGERPRINT of these devices includes:
 
Sony/C6802/C6802:5.0.2/14.5.A.0.270/3305956307:user/release-keys
Sony/C6833/C6833:5.0.2/14.5.A.0.270/3305956307:user/release-keys
Sony/C6902/C6902:5.0.2/14.5.A.0.270/3750474323:user/release-keys
Sony/C6903/C6903:5.0.2/14.5.A.0.270/3750474323:user/release-keys
Sony/C6943/C6943:5.0.2/14.5.A.0.270/3750474323:user/release-keys
Sony/D5503/D5503:5.0.2/14.5.A.0.270/3750474323:user/release-keys
Sony/D5803/D5803:5.0.2/23.1.A.1.28/151083418:user/release-keys
Sony/D6503/D6503:5.0.2/23.1.A.1.28/151083418:user/release-keys
Sony/D6603/D6603:5.0.2/23.1.A.1.28/151083418:user/release-keys
Sony/D6616/D6616:5.0.2/23.1.C.0.385/498118161:user/release-keys
Sony/D6633/D6633:5.0.2/23.1.1.E.0.1/937646546:user/release-keys
Sony/D6653/D6653:5.0.2/23.1.A.1.28/151083418:user/release-keys
 
----------------------------------------------------------------------------------------------------
 
The stack trace:
 
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.my.app/com.my.app.MainActivity}:
android.view.InflateException: Binary XML file line #31: Error inflating
class com.android.internal.widget.ActionBarContainer
at android.app.ActivityThread.performLaunchActivity(
ActivityThread.java:2345)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2405)
at android.app.ActivityThread.access$800(ActivityThread.java:149)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:211)
at android.app.ActivityThread.main(ActivityThread.java:5317)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(
ZygoteInit.java:1016)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
Caused by: android.view.InflateException: Binary XML file line #31: Error
inflating class com.android.internal.widget.ActionBarContainer
at android.view.LayoutInflater.createView(LayoutInflater.java:633)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.
java:3500)
at com.android.internal.policy.impl.PhoneWindow.installDecor(
PhoneWindow.java:3572)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.
java:371)
at android.app.Activity.setContentView(Activity.java:2144)
at com.my.app.MainActivity.onCreate(Unknown Source)
at android.app.Activity.performCreate(Activity.java:5933)
at android.app.Instrumentation.callActivityOnCreate(
Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity(
ActivityThread.java:2298)
... 10 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
at android.view.LayoutInflater.createView(LayoutInflater.java:607)
... 23 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=7; index=7
at android.content.res.Resources.toPreloadCookie(Resources.java:2447)
at android.content.res.Resources.loadDrawable(Resources.java:2475)
at android.content.res.TypedArray.getDrawable(TypedArray.java:749)
at android.view.View.<init>(View.java:3806)
at android.view.ViewGroup.<init>(ViewGroup.java:492)
at android.widget.FrameLayout.<init>(FrameLayout.java:115)
at android.widget.FrameLayout.<init>(FrameLayout.java:111)
at android.widget.FrameLayout.<init>(FrameLayout.java:107)
at com.android.internal.widget.ActionBarContainer.<init>(
ActionBarContainer.java:57)
... 26 more
Jose_GD <jose.gonzalez.d@gmail.com>: Jun 17 04:06PM -0700

I'm straight, but I can respond anyway - sorry, couldn't resist :), the
abridged summary listed your first attemp ("Hey ...")
 
Payments are sent via your Google Wallet account to the bank account you
set in your Wallet configuration, once a month more or less on the 16th of
each month. The balance closes at month's end, so you have half a month of
wait at a minimum (it will depend on how fast your bank can process the
money transfer):
 
Regarding your location, I suggest to research about what you can do from
your country, and in case you have doubts to contact Google Play Support.
 
Cheers
 
José
 
El miércoles, 17 de junio de 2015, 1:21:20 (UTC-3), 张张斌 escribió:
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 - 7 updates in 5 topics

Comments: (0)
张张斌 <kimichangsign@gmail.com>: Jun 16 09:21PM -0700

I want to launch apps to PLAY,of course not free.I just want to know,does
the payments be pushed to my Credit Card as soon as the transaction happens
or at a regular time of a month/day?
Or pushed into my Google Wallet I can handle it all by myself?
It is important to me, because of the awkward country I am living in.
 
 
Thank you!
 
Best Regards
 
kimichang
张张斌 <kimichangsign@gmail.com>: Jun 16 09:04PM -0700

I want to launch apps to PLAY,of course not free.I just want to know,does
the payment be pushed to my Credit Card as soon as the transaction happens
or at a regular time of a month/day?
It is important to me, because of the awkward country I am living in.
 
 
Thank you!
 
Best Regards
 
kimichang
MB <manoj.bist1@gmail.com>: Jun 16 10:19AM -0700

Hi,
 
I would really if someone could tell me where one can find official
documentation for using NDK with Android studio. All the samples and
documentation I've found on the website is for using NDK with eclipse.
 
http://tools.android.com/recent/usingthendkplugin
 
Any pointers regarding this would be extremely useful.
 
Thanks,
 
--MB
Streets Of Boston <flyingdutchie@gmail.com>: Jun 16 12:54PM -0700

It is not (yet!) properly supported. But building your sources works well.
Start here to figure out how. It helped me.
http://ph0b.com/android-studio-gradle-and-ndk-integration/
 
 
On Tuesday, June 16, 2015 at 1:19:20 PM UTC-4, MB wrote:
RLScott <fixthatpiano@yahoo.com>: Jun 16 07:56AM -0700

I tried using a clearly incorrect icon size for a launcher icon (386 x
386), and the icon was automatically down-sized on my Galaxy Tab 4 to look
the same as all the other app icons. So I wonder why we need to provide 5
different launch icon sizes? Is this resizing behavior one that I can
count on? (By the way, I am only making side-loaded apps, so Google Play
Store requirements are not an issue for me.)
 
Robert Scott
Hopkins, MN
Nobu Games <dev.nobu.games@gmail.com>: Jun 16 09:02AM -0700

Yes, this is how the system works for drawables. Here a quote from the
Android documentation:
 
The system handles most of the work to render your application properly on
> each screen configuration by scaling layouts to fit the screen size/density
> and *scaling bitmap drawables for the screen density, as appropriate*.
 
(Source:
http://developer.android.com/guide/practices/screens_support.html#support)
 
The only real problems arise when:
 
1. Your only drawable available has a too low resolution. Upscaling on a
high density screen will make it look slightly blurry. That is especially
noticeable when your app icon is right next to a hi-res icon.
2. The Android system's scaling introduces unwanted artifacts. By
providing your own set of icons you have full control over the appearance.
This is especially an issue with 9-patch drawables, since the slice markers
may bleed into the image area due to interpolation and the markers
themselves may not be "readable" anymore for slicing up the image. So
especially in case of 9-patch drawables you probably want to provide
different versions for each supported screen density.
 
 
On Tuesday, June 16, 2015 at 7:56:14 AM UTC-7, RLScott wrote:
gaurav jain <gauravjain.dtu@gmail.com>: Jun 16 02:47AM -0700

Hello, I'm using the newly introduced UsageStatsManager (Android L) to get
usage statistics for all applications for a certain time period. All works
well if a predefined interval is selected, but I'm not able to get usage
statistics for a few hours (e.g statistics for last 2 hours). I've tried
using Calendars while passing start and end duration, and also tried my
luck with System.currentTimeMillis() but I always get today's data in
return (i.e the whole day).
 
This is how I used calendars:
 
Calendar startCalendar = Calendar.getInstance();
startCalendar.add(Calendar.HOUR_OF_DAY, -2);

 
Calendar endCalendar = Calendar.getInstance();
 
usageList = usm.queryUsageStats(interval, startCalendar.getTimeInMillis(),
endCalendar.getTimeInMillis());
 
And for System.currentTimeMillis() :
 
long startTime = System.currentTimeMillis() - 7200*1000 // 7200 seconds i.e. 2 hrs
long endTime = System.currentTimeMillis();
 
usageList = usm.queryUsageStats(interval, startTime, endTime);
 
Any help regarding this?
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.