[android-developers] how to create custom sdk library with 3rd libraries in android?

2016-06-18 Thread lokesh g

up vote
down votefavorite 


I'm using android studio 1.5 and i'm creating general sdk library like 
paypal/facebook sdk, this plugin include 3rd party library like QRcode 
scanner,okhttp for networking. Once i include in these plugins inside 
custom library gradle file it's working fine in the same project structure, 
But when i try to include custom sdk library to other android application 
the above 3rd party plugins not included in the final custom library sdk so 
how can i build the custom android sdk library with 3rd party libraries.

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/936d4f74-c5ca-49f3-9333-6ac12f247d20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Zipalign does not work!

2016-06-18 Thread sim47
it's working just downgraded the gradle plugin phewww it just wasted my 2 
hours 

On Wednesday, June 15, 2016 at 2:03:37 PM UTC+5, MarKco wrote:
>
> I was able to build a correctly zipaligned APK by downgrading gradle 
> plugin from classpath com.android.tools.build:gradle:2.2.0-alpha3 
> to com.android.tools.build:gradle:2.1.2 as suggested here: 
> http://stackoverflow.com/questions/37783751/android-apk-not-zip-aligned-when-uploading-to-google-play/37786864#37786864
>
> Il giorno martedì 14 giugno 2016 12:22:30 UTC+2, MarKco ha scritto:
>>
>> Hello Fabs,
>> thank you for your suggestion. I zipaligned the zipaligned file and got a 
>> "Verification succesful" exit code. Then, when I loaded it on play store, I 
>> got the "not zipaligned" error again. I zipaligned again, still got failure 
>> :-/
>>
>> Il giorno lunedì 13 giugno 2016 15:48:36 UTC+2, Fabs ha scritto:
>>>
>>> Very interesting everyone! I just verified that if I take the output of 
>>> the first attempt to zipalign (which fails), the zipaligned zipaligned file 
>>> worked for me too! It looks like this is a pretty widespread issue that 
>>> thankfully has an easy workaround, and I guess that this will be eliminated 
>>> when the problem is identified and resolved.
>>>
>>> To clarify: zipalign your signed APK, and then take that aligned file 
>>> and zipalign it again.
>>>
>>> Cheers everyone!
>>>
>>> On Friday, 10 June 2016 02:15:15 UTC+10, Fabs wrote:

 Hello all.

 I have never encountered this issue before, despite developing several 
 apps. When I build a signed production APK using Android Studio, I get an 
 app-release.apk file but it is rejected by Google Play, saying it needs to 
 be zipaligned. When I verify the alignment using zipalign tool, I receive 
 output like this:

  1876394 res/layout/design_bottom_sheet_dialog.xml (OK - compressed)
  1876935 res/layout/design_layout_snackbar.xml (OK - compressed)
  1877313 res/layout/design_layout_snackbar_include.xml (OK - compressed)
  1877936 res/layout/design_layout_tab_icon.xml (OK - compressed)
  1878215 res/layout/design_layout_tab_text.xml (OK - compressed)
  1878540 res/layout/design_menu_item_action_area.xml (OK - compressed)
  1878804 res/layout/design_navigation_item.xml (OK - compressed)
  1879186 res/layout/design_navigation_item_header.xml (OK - compressed)
  1879517 res/layout/design_navigation_item_separator.xml (OK - 
 compressed)
  1879844 res/layout/design_navigation_item_subheader.xml (OK - 
 compressed)
  1880231 res/layout/design_navigation_menu.xml (OK - compressed)
  1880609 res/layout/design_navigation_menu_item.xml (OK - compressed)
  1881116 res/layout/notification_media_action.xml (OK - compressed)
  1881527 res/layout/notification_media_cancel_action.xml (OK - 
 compressed)
  1882005 res/layout/notification_template_big_media.xml (OK - 
 compressed)
  1882747 res/layout/notification_template_big_media_narrow.xml (OK - 
 compressed)
  1883472 res/layout/notification_template_lines.xml (OK - compressed)
  1884347 res/layout/notification_template_media.xml (OK - compressed)
  1884968 res/layout/notification_template_part_chronometer.xml (OK - 
 compressed)
  1885372 res/layout/notification_template_part_time.xml (OK - 
 compressed)
  1885772 res/layout/select_dialog_item_material.xml (OK - compressed)
  1886199 res/layout/select_dialog_multichoice_material.xml (OK - 
 compressed)
  1886700 res/layout/select_dialog_singlechoice_material.xml (OK - 
 compressed)
  1887202 res/layout/support_simple_spinner_dropdown_item.xml (OK - 
 compressed)
  1887559 res/menu/menu_login.xml (OK - compressed)
  1887906 res/mipmap-hdpi-v4/ic_launcher.png (BAD - 2)
  1891092 res/mipmap-mdpi-v4/ic_launcher.png (OK)
  1893113 res/mipmap-xhdpi-v4/ic_launcher.png (BAD - 1)
  1897545 res/mipmap-xxhdpi-v4/ic_launcher.png (BAD - 1)
  1904619 res/mipmap-xxxhdpi-v4/ic_launcher.png (BAD - 3)
  1914156 resources.arsc (OK)
 Verification FAILED

 Indeed it is not aligned. But when I try to re-align it, I get this:

  1881710 res/layout/notification_media_action.xml (OK - compressed)
  1882121 res/layout/notification_media_cancel_action.xml (OK - 
 compressed)
  1882599 res/layout/notification_template_big_media.xml (OK - 
 compressed)
  1883341 res/layout/notification_template_big_media_narrow.xml (OK - 
 compressed)
  1884066 res/layout/notification_template_lines.xml (OK - compressed)
  1884941 res/layout/notification_template_media.xml (OK - compressed)
  1885562 res/layout/notification_template_part_chronometer.xml (OK - 
 compressed)
  1885966 res/layout/notification_template_part_time.xml (OK - 
 compressed)
  1886366 res/layout/select_dialog_item_material.xml (OK - compressed)
  1886793 

Re: [android-developers] Android ANR/Crash

2016-06-18 Thread TreKing
On Fri, Jun 10, 2016 at 1:38 AM, Amit Srivastava <
amit.srivast...@coupondunia.in> wrote:

> I only got above report through crashlytics. Still I can not able to
> generate other logs. Please help me.


Again, no one can help you with the zero amount of information you have
provide.

One crashlytics report for this issue is probably not reason enough for you
to devote excessive amount of time to a difficult to reproduce issue like
this.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScghaAupmPKdqi_AKAqpThgqNwOS9MhPBPwHTY4vsSxMVJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Using Google and Youtube icon inside an android application.

2016-06-18 Thread TreKing
On Mon, Jun 13, 2016 at 10:26 PM, Malith Lakshan 
wrote:

> My question is would this be considered a copyright infringement?


if you're using the standard Share intent, then this is highly unlikely to
be considered infringement, otherwise any app that ever shared anything
would be under lawsuit.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScgi3w1TuEsRcBNYJx0MF4H6x4t65P_0zk-VkyYfB_yfNfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Cannot download pdf file from my app via mobile data

2016-06-18 Thread TreKing
On Tue, Jun 14, 2016 at 12:00 AM, Aparna K  wrote:

> Now currently the pdf files gets downloaded if my mobile has wifi on but
> if it is on mobile data then the pdf files do not get downloaded. please
> help me with why this could be happening


Check your log for errors.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScghxVjzPc%3D875oX%2BP4DfoYZ9SRLnx6GvarmXB91v93uomA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] In-app promo

2016-06-18 Thread TreKing
On Wed, Jun 15, 2016 at 5:49 PM, user  wrote:

> 1. What is the limit on number of users ? who sets it (google?)?
>

https://support.google.com/googleplay/android-developer/answer/6321495?hl=en


> 2. What are these "terms of service" and where to find it ?
>

Presumably the Google Play Terms of Service, which you find with the
Googles:
https://play.google.com/about/play-terms.html

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScghig3in_pD0abfAOSCDToOeDKzfHBPweW5gYrkxEJcdVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Support with altering the map from a different activity

2016-06-18 Thread TreKing
On Wed, Jun 15, 2016 at 8:12 PM, A.J.  wrote:

>
> I am developing an app and I am having a lot of issues with one idea. Say
> I have a main activity with two buttons. One goes to a ViewMap and the
> other goes into a details section. How can I make changes to the ViewMap
> from the Details? For example, if the user clicks on a button in Details, I
> want their location to be put onto the ViewMap with a marker.
>

https://developer.android.com/training/basics/fragments/communicating.html
https://developer.android.com/training/basics/intents/result.html

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScgh2DmfhXjwfoziy6N9mO4M5y2Jmyn9EG_YMODs1D0OJMw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Opening another app Using url and query string in it (deep linking)

2016-06-18 Thread TreKing
On Wed, Jun 15, 2016 at 11:53 PM, Smit Mehta  wrote:

> I want to launch another app from my current app
> and i don't have any idea about doing it
>

https://developer.android.com/training/app-indexing/deep-linking.html

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScgg7g_%2BHz%3Dpxz0y%3DFWYW0kPyUXaE9%2BTp9rL3Pwc%2BiHoWJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Error with app:layout_behavior

2016-06-18 Thread TreKing
On Thu, Jun 16, 2016 at 12:31 AM, Kevin Chen 
wrote:

>
> The error appears to be associated with the "app:layout_behavior"
> attribute in the following section of code:
>

This attribute and the scrolling view behavior string is defined in the
design support library, so make sure you have the latest version of that.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScgi7cLuCtotzpOdjbhPBCYNd1gRZnGRFhQYQ3wxvEn0Qvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] weird java.lang.StringIndexOutOfBoundsException error

2016-06-18 Thread TreKing
On Thu, Jun 16, 2016 at 4:33 PM, Aaron Shavolian 
wrote:

> The error only occurs when you press the button. Making the Program crash.


You're going outside the bounds of one of your strings. For example, trying
to access item at position 10 of the word "dog" is invalid.
Use your debugger and / or logging to determine which string is going out
of bounds then fix your logic.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScghh0a_rXxUP_Z9NR%3DbY-LGKBZGDbZDAhkyGXYnAuuftHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Keep getting this error when signing in with GoogleSignInOptions: {statusCode=DEVELOPER_ERROR, resolution=null}

2016-06-18 Thread Jacob Platin
Hello,

I am trying to use the following code to sign my users in, but when I do so 
with the requestToken command attached, I get this error in the handeSignIn 
method.  I have tried re-adding my google-services.json and I know my SHA1 
is correct; any thoughts?


GoogleSignInOptions gso = new 
GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
.requestProfile()
.requestIdToken("my id is here")
.requestEmail()
.build();

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/136f7761-1717-4cd3-9f52-6945bbafce55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] package name

2016-06-18 Thread Jaime Romero

hello

if I have a package name and public
and then change the name of the package
google accept me?

thanks

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/a38eae22-811a-4f2c-9412-510267941c24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Developping android apps on Android device

2016-06-18 Thread Mark Phillips
AIDE in google play.

Mark

On Fri, Jun 17, 2016 at 9:29 PM, Tor Rent  wrote:

> Hi guys,
> one question:
> is it possible to code/compile/link android apps on Android device ?
> and how ? what gui/apps do I need ?
>
> ... actually it's 6 question :P
>
> thanks
>
> --
> 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 https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/40bb42c3-4f21-4d19-9bce-62f52c9acb99%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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAEqej2OBZSZ04iyFHnsx2rGzCDpJ%3DFSt7Z%3DrRn_3qU4mEC_NYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Big Data interview questions

2016-06-18 Thread Info Cim
Big Data refers to data that is too large or complex for analysis in 
traditional (computer files full of information) because of factors such as 
the (total space occupied by something), variety and speed of the data to 
be carefully studied. Big Data interview questions 
 are designed for the 
students to understand their goals before separating and labeling the data. 
Topics covered are HDFS, MapReduce, Apache Hive, YARN, Sqoop, Flume, HBase, 
Oozie, ZooKeeper and Spark. Since the technologies are constantly changed, 
BigData Interview questions provides which are necessary, needed and 
demanded by the people to quickly upgrade their skills, to fit the needed 
things for BigData related jobs. If you are applying for BigData job role, 
it is best to answer any BigData interview questions that might come on 
your way. All the questions in the list were asked in real time 
(surrounding conditions) atleast once. We will keep on updating the list of 
BigData Interview questions, to suit the current industry standards.

-- 
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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3a1f1b6e-15c3-4118-946d-46faf27d8984%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.