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

Comments: (0)
jenniferdaycalendar@gmail.com: Jul 31 10:51PM -0700

<https://lh3.googleusercontent.com/-Cd7r2AI7E0g/V57i3ZezXbI/AAAAAAAAAAc/OODtjG7JUaITDd0Yc5vMCr3-53x7sJmUgCLcB/s1600/Untitled.png>
this error show google play developer console account ...than click API
access
 
how to slow this error ...
Nelson Matui <jlicsmod@gmail.com>: Aug 01 08:30AM +0300

actually i have the api but i dont know how to do it
 
thanks
 
 
*NELSON MATUI KISEVE *
 
*DEDAN KIMATHI UNIVERSITY OF TECHNOLOGY*
 
 
 
 
*B.SC.IT <http://B.SC.IT> (ongoing)*
 
On Sat, Jul 30, 2016 at 9:00 AM, Daiva Prema Ministries <
Souad Lafdili <souad.lafdili@gmail.com>: Aug 01 12:27AM +0100

I want to link my new account in my andoid app with paypal account without
using paypal android sdk, just using chrome, it's possible?
 
any propositions plz ^__^
 
--
 
Souad LAFDILI
Android developper
+212 633 756 913
Steven Olson <skolson5903@gmail.com>: Jul 31 11:42AM -0700

FYI I am also seeing this, in an app that is using SqlCipher only. The app
is trying to work, but logcat is crawling with a bunch of these exceptions.
According to the callstack below they are coming from Google GMS. My app
has no direct interaction with GMS, so I dunno why this is happening. Gonna
do some research to see if some GMS interaction is now default, and if it
is, how I can turn it off. If you find a resolution I'd sure like to hear
about it :-)
 
These are the exceptions I see, always in a pair like this. This pair gets
repeated a bunch of times.
 
07-31 11:33:07.468 26676-8715/? E/SQLiteLog: (5) database is locked
07-31 11:33:07.470 26676-8715/? E/SQLiteDatabase: Failed to open database
'/data/user/0/com.google.android.gms/databases/phenotype.db'.
android.database.sqlite.
SQLiteDatabaseLockedException: database is locked (code 5): , while
compiling: PRAGMA journal_mode
at android.database.
sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.
sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:887)
at android.database.
sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:632)
at android.database.
sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:318)
at android.database.
sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnection.java:
292)
at android.database.
sqlite.SQLiteConnection.open(SQLiteConnection.java:213)
at android.database.
sqlite.SQLiteConnection.open(SQLiteConnection.java:191)
at android.database.
sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:
463)
at android.database.
sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.
sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.
sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:806)
at android.database.
sqlite.SQLiteDatabase.open(SQLiteDatabase.java:791)
at android.database.
sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.
ContextImpl.openOrCreateDatabase(ContextImpl.java:571)
at android.app.
ContextImpl.openOrCreateDatabase(ContextImpl.java:560)
at android.content.
ContextWrapper.openOrCreateDatabase(ContextWrapper.java:263)
at android.content.
ContextWrapper.openOrCreateDatabase(ContextWrapper.java:263)
at ivm.g(:com.google.
android.gms:204)
at ivm.e(:com.google.
android.gms:176)
at ivh.a(:com.google.
android.gms:1519)
at ttb.a(:com.google.
android.gms:140)
at hix.a(:com.google.
android.gms:688)
at hix.a(:com.google.
android.gms:428)
at hix.run(:com.google
.android.gms:220)
at java.util.
concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at akab.a(:com.google.
android.gms:108)
at ajzg.run(:com.
google.android.gms:59)
at akaa.run(:com.
google.android.gms:74)
at ixu.run(:com.google
.android.gms:453)
at java.util.
concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.
concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at jch.run(:com.google
.android.gms:17)
at java.lang.Thread.
run(Thread.java:818)
07-31 11:33:07.471 26676-8715/? E/ClearcutService: Dropping log because
Clearcut could not write to store: %s.
android.database.sqlite.
SQLiteDatabaseLockedException: database is locked (code 5): , while
compiling: PRAGMA journal_mode
at android.database.
sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.
sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:887)
at android.database.
sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:632)
at android.database.
sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:318)
at android.database.
sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnection.java:
292)
at android.database.
sqlite.SQLiteConnection.open(SQLiteConnection.java:213)
at android.database.
sqlite.SQLiteConnection.open(SQLiteConnection.java:191)
at android.database.
sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:
463)
at android.database.
sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.
sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.
sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:806)
at android.database.
sqlite.SQLiteDatabase.open(SQLiteDatabase.java:791)
at android.database.
sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:694)
at android.app.
ContextImpl.openOrCreateDatabase(ContextImpl.java:571)
at android.app.
ContextImpl.openOrCreateDatabase(ContextImpl.java:560)
at android.content.
ContextWrapper.openOrCreateDatabase(ContextWrapper.java:263)
at android.content.
ContextWrapper.openOrCreateDatabase(ContextWrapper.java:263)
at ivm.g(:com.google.
android.gms:204)
at ivm.e(:com.google.
android.gms:176)
at ivh.a(:com.google.
android.gms:1519)
at ttb.a(:com.google.
android.gms:140)
at hix.a(:com.google.
android.gms:688)
at hix.a(:com.google.
android.gms:428)
at hix.run(:com.
google.android.gms:220)
at java.util.
concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at akab.a(:com.google
.android.gms:108)
at ajzg.run(:com.
google.android.gms:59)
at akaa.run(:com.
google.android.gms:74)
at ixu.run(:com.
google.android.gms:453)
at java.util.
concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.
concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at jch.run(:com.
google.android.gms:17)
at java.lang.Thread.
run(Thread.java:818)
Yaroslav Pronin <yaroslav.pronin1@gmail.com>: Jul 31 11:24AM -0700

I use adapter in RecyclerView. Each item contains a ProgressBar. Since
progress speed is sometimes very high, a fragment permanently call
notifyDataSetChanged(), which initiates update adapter. But there is one
unpleasant feature: at this time ViewHolder doesn't respond to a click and
user can't open the item, while progress speed will not decrease. Is it
possible to solve this problem?
Safwan Ahmad <safwan.pico@gmail.com>: Jul 31 10:38AM -0700

I am having trouble replacing a fragment from the onLoadFinished() method of my loader. I have posted the problem to StackOverflow here <http://stackoverflow.com/questions/38685437/listviews-performitemclick-causes-illegalstateexception-when-called-inside-on>.
 
When I checked the source code for LoaderManager, I found that the following code sets the variable mNoTransactionsBecause to "onLoadFinished".
 
 
I know it's related to Android framework's internal design but can anyone shed some light on the rationale behind blocking fragment transactions
 
in this way?
 
 
 
void callOnLoadFinished(Loader<Object> loader, Object data) {
if (mCallbacks != null) {
String lastBecause = null;
if (mActivity != null) {
lastBecause = mActivity.mFragments.mNoTransactionsBecause;
mActivity.mFragments.mNoTransactionsBecause = "onLoadFinished";
}
try {
if (DEBUG) Log.v(TAG, " onLoadFinished in " + loader + ": "
+ loader.dataToString(data));
mCallbacks.onLoadFinished(loader, data);
} finally {
if (mActivity != null) {
mActivity.mFragments.mNoTransactionsBecause = lastBecause;
}
}
mDeliveredData = true;
}
}
mob.cr4ft@gmail.com: Jul 31 07:12AM -0700

Hi all,
Is there any tts library supporting English, Turkish and Arabic?
Amira El Sayed <amira.elsayed@technivance.com>: Jul 31 05:39AM -0700

I have follow the tutorial in this link to be able to allow request
permission in runtime
: https://developer.android.com/training/permissions/requesting.html
 
and it is not working, I copy the same code but with different permission "
ACCESS_FINE_LOCATION"
 
my code as following
 
in onCreate method of activity
 
int permissionCheck = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION);
if (permissionCheck != PackageManager.PERMISSION_GRANTED) {
 
 
if (ActivityCompat.shouldShowRequestPermissionRationale(this,
Manifest.permission.ACCESS_FINE_LOCATION)) {
 
DialogUtils.showDialogMessage(this, getString(R.string.error),
getString(R.string.error_location_permission_not_granted), getString(R.string.ok), getString(R.string.cancel), new OnClickListener() {
@Override
public void onClick(View view) {
 
/*ContextCompat.requestPermissions(ItemDetailsActivity2.this,
new String[]{Manifest.permission.ACCESS_FINE_LOCATION},
MAP_PERMISSION_REQUEST_CODE);*/
}
}, null);
 
} else {
 
ActivityCompat.requestPermissions(this,
new String[]{Manifest.permission.ACCESS_FINE_LOCATION},
MAP_PERMISSION_REQUEST_CODE);
}
}
 
 
and this is the call back method
 
 
@Override
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
 
switch (requestCode) {
case MAP_PERMISSION_REQUEST_CODE: {
 
if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
 
initalizeMap();
} else {
 
DialogUtils.showDialogMessage(this, getString(R.string.error), getString(R.string.error_location_permission_not_granted), getString(R.string.ok), null);
}
return;
}
}
}
 
 
 
and this is my build configuration
 
 
compileSdkVersion 23
buildToolsVersion '23.0.3'
 
minSdkVersion 15
targetSdkVersion 15
 
 
 
can anyone please tell me what is going wrong with me ?
Robotox Games <robotoxgames@gmail.com>: Jul 31 04:42AM -0700

Is if my application has powers , but I do not provide information this I
must to write a privacy policy ?
Robotox Games <robotoxgames@gmail.com>: Jul 31 04:37AM -0700

Is if my application has powers , but I do not provide information this I
have to write a privacy policy ?
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.

Post Unavailable

In response to a legal request submitted to Google, we have removed this post. If you wish, you may read more about the request at LumenDatabase.org.