[android-developers] Help about the query which i encountered while coding.

2015-12-05 Thread Gaurav Rane
how to add images from camera as well as from gallery in a listview and the 
limit of images in list must be 10 and also image can be deleted from the 
particular list,how i can achieve it in android? pls help me iam new to 
android development.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/bf53e500-7574-496d-a1f1-04e1eccdee02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] ARE GOOGLE AND ANDROID HAVE THE PLAY STORE??

2015-12-05 Thread Jordan Paradize
Ok, thanks...

Sent from my iPhone

> On Dec 5, 2015, at 8:05 PM, Aprido Sandyasa  wrote:
> 
> Play Store from Google so yeah, they are the same thing. If you want to 
> upload your apps into Play Store, you must have a Google ID (Gmail username) 
> and sign in and registered on google play developer console.
> 
> Here is the link of google play developer console 
> https://play.google.com/apps/publish/
> 
> 
>> On Sunday, 6 December 2015, TRU ASPECT  wrote:
>> I'm a beginning app developer and I wanted to know if I would have to put my 
>> app on google play store and android App Store. Are they the same thing?
>> 
>> I'm thinking of uploading my app to apple,google,windows ...is google and 
>> android store the same?
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-developers+unsubscr...@googlegroups.com.
>> To post to this group, send email to android-developers@googlegroups.com.
>> Visit this group at http://groups.google.com/group/android-developers.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-developers/188c6ff6-e6a7-4063-92cf-f065032c756d%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Android Developers" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/android-developers/iRETNCJhWHA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at http://groups.google.com/group/android-developers.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/android-developers/CAFDnsgR9sRWFvyp2M0JS7dVxH1kGafdHtw8b09SYE%2Bf7z6WJsA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/F85BAEC4-41D5-43DE-81DA-1CDE0EE6E621%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] ZipInputStream getNextEntry does not return file header info

2015-12-05 Thread Simon Giddings
This would appear to be a bug.

I create a zip file using ZipOutputStream with success.
I can then transfer it from the tablet to my PC and look at it with WinZip.
All files have the corresponding size, compressed size, and CRC values.

Now, if I open the zip with ZipInputStream and call getNextEntry, these 
values are not set.
Here is how I am reading the file :

try
{
// open the archive
FileInputStream fis = new FileInputStream(fArchive);
ZipInputStream zis = new ZipInputStream(new BufferedInputStream(fis));
bBuffer = new byte[2048];

// iterate through all files, putting them back into the same place
ze = zis.getNextEntry();
while(ze != null)
{
strFileName = ze.getName();
strFileName = FILE_PATH + "/" + strFileName;
fCheck = new File(strFileName);
lZipFileSize = ze.getSize(); // <--- returns -1 systematically
lTargetFileSize = fCheck.length();
fCheck = null;
FileOutputStream fos = new FileOutputStream(strFileName);

// read the data
while((iCount = zis.read(bBuffer)) != -1)
{
fos.write(bBuffer, 0, iCount);
}
fos.close();

ze = zis.getNextEntry();
}
zis.close();
fis.close();
bOk = true;
}
catch(Exception e)
{
e.printStackTrace();
}


When I look into the source for ZipInputStream, I see the following code :
if (!hasDD) {
ceCrc = ((long) Memory.peekInt(hdrBuf, LOCCRC - LOCVER, ByteOrder.
LITTLE_ENDIAN)) & 0xL;
ceCompressedSize = ((long) Memory.peekInt(hdrBuf, LOCSIZ - LOCVER, 
ByteOrder.LITTLE_ENDIAN)) & 0xL;
ceSize = ((long) Memory.peekInt(hdrBuf, LOCLEN - LOCVER, ByteOrder.
LITTLE_ENDIAN)) & 0xL;
}

This is the only position that I can see where the values are retrieved, 
yet it is ignored because of the !hasDD condition.

Have I misunderstood something here ?
Is this a real bug or is there an extra step to be taken ?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/e76679a5-d150-4657-85fd-85db8fdad45f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Google declined app update because of ad content

2015-12-05 Thread Харитонов Сергей
Hi! Previously one of my app was removed from "designed for family" program 
coz of ad content. I am using admob and in new update I use code that sets 
"is_designed_for_families" to true and calls the 
tagForChildDirectedTreatment() method.
The update was accepted and I came back to Fimily section, everything was 
fine. But today, when i wish to publish new update google declines it coz 
of ad content, though i did not change code that reflects ads. 
What should I do in this way? How to set up ads correctly?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/4cbc9d88-a0a3-44e5-a16f-b1d4ecfd4947%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] What versions of Android can an app developed with Android Studio be used on?

2015-12-05 Thread doni49
I was getting ready to download and install Android Studio.  But as best I 
could tell, it Android Studio will create an app for use on Andriod 6 
(Marshmallow).  What about previous versions of android?

On the features list at the Android Studio page, it says "Android 6.0 
Marshmallow".  I'm hoping that just means that it INCLUDES support for 
Marshmallow but I wasn't sure.

TIA.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/cc3b75f4-807e-484d-b32d-a78acf772b8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] What is the location of icons displayed in the palette?

2015-12-05 Thread 'Mireille' via Android Developers
Hi,
For a tutorial I'm writing, I would like to retrieve the icons displayed in 
the palette from the Android studio repository rather than getting them by 
screen-shots. I've searched this repository, I've found plenty of icons 
(the ones for the debugger, the little yellow or red light bulbs...) but 
not the "WebView", "RadioGroup", "RelativeLayout" and all the other items 
from the palette. Does anyone know the path to those icons?
Thanks!
Mireille

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/ae1a6d8b-2c52-4b5c-9b79-2335f1ea36b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] ARE GOOGLE AND ANDROID HAVE THE PLAY STORE??

2015-12-05 Thread TRU ASPECT
I'm a beginning app developer and I wanted to know if I would have to put my 
app on google play store and android App Store. Are they the same thing? 

I'm thinking of uploading my app to apple,google,windows ...is google and 
android store the same?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/188c6ff6-e6a7-4063-92cf-f065032c756d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] What versions of Android can an app developed with Android Studio be used on?

2015-12-05 Thread Aprido Sandyasa
You have the latest update version of Android Studio, so the Android SDK
that already installed is the newest (Android SDK 23 or Marshmallow). If
you want have the previous version, you can install it fromSDK Manager
of Android Studio.

If you create a new project or open an existing project in Android Studio,
you can access the SDK Manager by select Tools -> Android -> Open the SDK
Manager



On Sunday, 6 December 2015, doni49  wrote:

> I was getting ready to download and install Android Studio.  But as best I
> could tell, it Android Studio will create an app for use on Andriod 6
> (Marshmallow).  What about previous versions of android?
>
> On the features list at the Android Studio page, it says "Android 6.0
> Marshmallow".  I'm hoping that just means that it INCLUDES support for
> Marshmallow but I wasn't sure.
>
> TIA.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com
> 
> .
> To post to this group, send email to android-developers@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/cc3b75f4-807e-484d-b32d-a78acf772b8e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAFDnsgRFSNvg1Cik93QNtBTh2DSijjZGE%3DT3W2NBt1_WJvBx8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Physical address is required for paid apps or in-app purchases

2015-12-05 Thread Gino
Isn't displaying developers' addresses so blatantly a violation of 
developer privacy ? 

This may be legal but it seems pretty intrusive, like a rectal probe feels 
pretty intrusive. 

I thought Google's motto was: "don't be evil". I'm not sure this policy of 
blatantly displaying developer addresses, with no regard for their personal 
privacy, complies with Google's motto.


On Thursday, September 18, 2014 at 2:13:56 AM UTC-4, nagamatu wrote:
>
> Dear Android Developers,
>
> I got the following notification at Google play Developer Console.
>
> | Add a physical contact address Beginning September 30, 2014, you need to 
> add a physical address
> | to your Settings page. After you've added an address, it will be 
> available on your app's detail page to
> | all users on Google Play. If your physical address changes, make sure to 
> update your information on
> | your Settings page. 
>
> | If you have paid apps or apps with in-app purchases, it's mandatory to 
> provide a physical address 
> | where you can be contacted. If you don't provide a physical address on 
> your account, it may result in
> | your apps being removed from the Play Store.
>
> I do not want to disclose my home address in public, because I am an 
> individual developer.
> This is privacy issue. I don't understand why Google requires my physical 
> address.
>
> I disclose my e-mail address and users can contact me. Also I can reply to 
> messages that is written
> in review at Google Play.
>
> If I am working for a company and office address is disclosed in public, I 
> do not care for it.
> But do you want to know your home address in public?
>
> # I sent a feedback about objection for this requirement. 
>
> --
> nagamatu
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/df729753-c4a7-4d22-9039-5d6018f5ed43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] ARE GOOGLE AND ANDROID HAVE THE PLAY STORE??

2015-12-05 Thread Aprido Sandyasa
Play Store from Google so yeah, they are the same thing. If you want to
upload your apps into Play Store, you must have a Google ID (Gmail
username) and sign in and registered on google play developer console.

Here is the link of google play developer console
https://play.google.com/apps/publish/


On Sunday, 6 December 2015, TRU ASPECT  wrote:

> I'm a beginning app developer and I wanted to know if I would have to put
> my app on google play store and android App Store. Are they the same thing?
>
> I'm thinking of uploading my app to apple,google,windows ...is google and
> android store the same?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com .
> To post to this group, send email to android-developers@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/188c6ff6-e6a7-4063-92cf-f065032c756d%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAFDnsgR9sRWFvyp2M0JS7dVxH1kGafdHtw8b09SYE%2Bf7z6WJsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.