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

Comments: (0)
app_developer <papamac38@googlemail.com>: Mar 27 04:30PM -0700

For in-app there is a purchase token which can be used for server side
validation of a purchased in-app
 
For a purchased app there is no token like that so one cannot do server
side validation against anything (AFAIK)
 
That's why I want to convert all users who purchased the app to users who
have an in-App which is functionally equivalent to the full purchased app
 
But this way (since it is an in-app it has a purchase token) I can use
server side validation
 
Is there a way to convert all the users that have paid an app to make them
automatically own an in-app element ?
 
Thanks
TreKing <trekingapp@gmail.com>: Mar 27 09:51PM +0900

On Mon, Mar 23, 2015 at 4:55 AM, BeEnder <philipp.bender.de@googlemail.com>
wrote:
 
> The registered connection callback is called successfully, but the given
> Bundle is always null.
 
 
What are you expecting? The documentation
<https://developer.android.com/reference/com/google/android/gms/common/api/GoogleApiClient.ConnectionCallbacks.html#onConnected%28android.os.Bundle%29>
says this can be null and the games setup docs
<https://developers.google.com/games/services/android/init> don't say you
need it, so it would seem like this is not a problem.
 
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices
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 - 3 updates in 2 topics

Comments: (0)
Daniel Chacon <cubangt2@gmail.com>: Mar 26 09:33AM -0500

So started working on the app again and before any new changes were made, i
ran the application and now the 1 record image that was loading is no
longer loading, can anyone see anything wrong with my implementation of the
Picasso?
 
ive already tested the link being used and all images are available via
browser, so images are there and available.
 
After my above post, i did add the following to the Picasso call and all
records always return the error image except the first record, but starting
today not even the first record shows the image.
So the placeholder image loads instantly, after a second or so, the error
image starts to load for all the records.
 
Picasso.with(context)
.load(item.Image)
.placeholder(R.drawable.waiting)
.error(R.drawable.errorradiationhazard)
.into(holder.imgItem);
 
Daniel Chacon <cubangt2@gmail.com>: Mar 26 05:10PM -0500

So i figured it out after doing a test of our insert portion, when we
inserted a new image and details, that one worked, and after some
investigation found that it was a space and Upper case issue..
 
It doesnt explain why it worked yesterday for 1 of the images and then no
longer worked today. But i changed the folder to NOT contain spaces in the
folder name and the biggest issue was that the image file names were all
Upper and lower case names.. So i changed all existing files to all lower
case and with the folder with no spaces, ran the app and they are now all
working as expected and pretty quickly.
 
Olivier Margarit <olivier.margarit@gmail.com>: Mar 26 07:36AM -0700

Hi,
 
I'm working on nice corporate library.
The distribution is, at this time, done by integration of an .aar file
added as a new module with android studio.
This was working until gradle 1.1.x
 
*What is working: *The project compile as the project has no error.
*What is broken:* Android Studio does not recognize all classes provided by
the librairie like these doesn't exist.
 
But I insist on the fact that the project is compiling and the library do
what it should do!
 
No configuration have change but the gradle version updgraded from 1.0.1 to
1.1.0.
 
I have noticed that the dependance reference in the iml file have change
from:
 
<orderEntry type="library" exported="" name="MyAwsomeLib-1.0.3-unspecified" level="project" />
 
to:
 
<orderEntry type="module" module-name="MyAwsomeLib-1.0.3" exported="" />
 
 
Is there a generic error that I am doing or is there a bug in gradle 1.1.x
 
Regards,
 
Olivier
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 - 9 updates in 4 topics

Comments: (0)
AJ <ajayld@gmail.com>: Mar 24 10:39PM -0700

Hi,
 
I have been exploring on developing an Android accessory, but I have a
basic doubt before I conclude it is feasible or not.
 
The UsbManager class has a openAccessory API, which returns a
ParcelFileDescriptor instance. The ParcelFileDescriptor instance is used to
create one instance each of FileInputStream and FileOutputStream. Does this
mean all the read and write operations have to be sequential? Is there a
way to do parallel read/write operations? In other words, how many
endpoints are available to communicate with Android accessory?
 
Thank you,
Ajay
"Psy Khé" <psykhe6@gmail.com>: Mar 24 09:45PM -0300

Senhores,
 
Venho apresentar meu Recente Site – Protótipo (CT 6 – We Will See – Take
Notice),
 
Acesse: http://bit.ly/ct6-istgroup
 
O qual tem por Finalidade Agregar – Mostrar - Charges e Tirinhas de vários
sites de terceiros.
 
Para quem curte esse tipo de conteúdo é interessante passar por lá, e
conferir todo os dias as novas Charges e Tirinhas disponíveis.
 
Qualquer dúvida, sugestão, ou forma de contribuir com o projeto, pode ser
enviado e-mail para:
 
admin@istgroup.com.br
 
Confere lá!
 
Agradecido!
 
Abraços,
 
Psy Khé aka Saulo – By IST Group.
George Baker <spaceastronomer@gmail.com>: Mar 24 03:53AM -0700

I believe your problem is that you aren't returning the list from the background thread (doInBackground()). I can't tell from your changes where you are assigning a value to the items variable in you adapter constructor but it really should be from the result returned from your doInBacground() method. Also remember all ui access in an AsyncTask should be in either the on onPreExecute() or onPostExecute() methods.
 
Hope this helps,
George
Steve Gabrilowitz <steveg1701@gmail.com>: Mar 24 12:43PM -0400

Does your app have internet permission?
Daniel Chacon <cubangt2@gmail.com>: Mar 24 11:38AM -0500

yea after posting and reading over my code and other found, i had already
moved the listview binding code to the postexecute portion and works..
But today im trying to get the imageview to show the picture per record,
but again getting the error and cant seem to find in the logcat file why
its failing.
 
I changed things around to make the image bitmap part of items.
 
SoapObject suvas = (SoapObject)
dar.getProperty(i); if (suvas != null) { String c; String d; String o;
String img; String q; String serv = "http://www.site.com"; Bitmap ival;
c = suvas.getPropertySafelyAsString("Category").toString(); d =
suvas.getPropertySafelyAsString("Description").toString(); o =
suvas.getPropertySafelyAsString("Owned_x0020_By").toString(); img =
serv.concat(suvas.getPropertySafelyAsString("Picture").toString()); q =
suvas.getPropertySafelyAsString("Qty","null").toString(); try { ival =
BitmapFactory.decodeStream((InputStream) new
java.net.URL(img).getContent());
items[i] = new InventoryItem(c, o, d, ival, q); } catch (Exception e) {
e.printStackTrace(); } }
 
It ends up in the catch and returns a
java.io.FileNotFoundException: http://www.site.com/imgs/inventory/Video
Game/3_1_Vanellope.jpg
 
But if i copy the URL and paste into my browser, it opens the images fine..
all images are available, so im sure im doing something wrong.
 
Can anyone pin point any possible issues?
 
This is all within the original posted code, all ive done is change the few
lines above to try and get the image set to the imageview.
 
thank you
 
 
On Tue, Mar 24, 2015 at 5:53 AM, George Baker <spaceastronomer@gmail.com>
wrote:
 
Daniel Chacon <cubangt2@gmail.com>: Mar 24 11:50AM -0500

yes, it has had since i started..
 
this is what i have in the manifest
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 
On Tue, Mar 24, 2015 at 11:43 AM, Steve Gabrilowitz <steveg1701@gmail.com>
wrote:
 
Daniel Chacon <cubangt2@gmail.com>: Mar 24 03:19PM -0500

Can anyone see why the image wouldnt show up, if it is getting a valid path?
 
 
 
Daniel Chacon <cubangt2@gmail.com>: Mar 24 05:22PM -0500

So i tried this right on the main page of the app and works using the path
that the other one is using.
 
ImageView imageView = (ImageView) findViewById(R.id.imageView);
 
Picasso.with(this)
.load("http://www.site.com/imgs/inventory/Video
Game/3_1_Vanellope.jpg")
.into(imageView);
 
So since this works with the path, how can i embed the above line into my
code to display each image path that is returned and added to my listview?
 
 
Rushyang Darji <rushyangdarji@gmail.com>: Mar 24 01:37PM

Hi, have you tried LensKart? I just did!
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.