Re: [android-developers] Creating a sphere build of shapes

2016-02-18 Thread TreKing
On Thu, Feb 18, 2016 at 10:20 AM, Dan Storm  wrote:

> So, I'm boldly trying to do something new.
>

HOW ELSE DOES SOMEONE TRY TO DO SOMETHING NEW, RIGHT!?


> My thoughts are the following; I'd like to create a sphere. The surface of
> the sphere is built by a shape (hexagons, for example). When the player
> presses this shape it should disappear. The purpose of the game is to
> destroy the sphere by destroying the shapes.
>
> How would I go around this?
>

Use an A* path finding algorithm.

Also try: http://lmgtfy.com/?q=how+to+make+an+android+game

-
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/CANCScggo3fw%2B%3DQYOzbVCx-c7ARL307y529CWoLq7ggGkcRapdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] error on lollipop, in kitkat works

2016-02-18 Thread TreKing
On Thu, Feb 18, 2016 at 6:10 AM, Christian Cortese <
christian.cortese...@gmail.com> wrote:

> but i have a problem...on kitkat it works well, in lollipop i can't see
> the menu toolbar and when i click on a contact the app crashes with a
> nullpointerexception


Sounds like the action bar is disabled on Lollipop. Check your app theme.
You might have something in values-21/styles.xml that disables the default
action bar in order to use a Toolbar instead.

-
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/CANCScggmTYVo0A7P-jRpJtCB%3Dd%3DLYr_iuQrP7o%2BT2Sq21HYTOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Another IN-APP purchase question

2016-02-18 Thread TreKing
On Thu, Feb 18, 2016 at 3:26 AM, Stefano Gattuso  wrote:

> Sorry i did try to search on web but my idea is a bit confused, my aap
> will permit to buy some item troghout paypal, but i read which google for
> in-app purchae keep 30$ , so now is my qeustion, if i connected my app to
> my paypal account how google can keep that 30%


They can't, and so they don't allow you to do that. Your app will be in
violation of the Google Play terms and your app will be pulled from the
store and your account suspended.


> and is really which keep 30% ??


What?


> because i dont think a real shop which make an app for sell maybe shoes or
> some other good troghout mobile app can affrod 30% commision, thanks


A shop that sells shoes or some other physical good is an exception from
this policy. The 30% cut is for apps or in-app purchases sold through
Google Play.

-
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/CANCScghxgkGGXqf3kOSp7SVGTrp2RJi8gBt8MTH4QNWstaqJRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Access internal elements included layout

2016-02-18 Thread TreKing
On Thu, Feb 18, 2016 at 2:05 AM, Javier Mediavilla Vegas <
javier.mediavilla.ve...@gmail.com> wrote:

> What is marked in red is what I want to get. I don't want to use it on
> Java code.


You can't do 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/CANCScghfKrBAj1yM-byStxUhTrATY7HTMcbjyRYpeXuE4z47Zw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android Studio for multiple users

2016-02-18 Thread TreKing
On Wed, Feb 17, 2016 at 10:44 PM,  wrote:

> I am trying to install android studio in a lab but I cant get it to run
> the first time with out the admin password.  I need a way to run the app no
> matter who logs in tot he machine.  I am running Mavericks
>

Sounds like a question for your lab's system administrator.

-
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/CANCScghOq4hZez6vgx4oxf6ZMZJv%3DbOCyhJm%3Dvtgq-4eEJxYGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Starting activity from spinner help

2016-02-18 Thread TreKing
On Wed, Feb 17, 2016 at 6:55 PM, Chase McPherson 
wrote:

> I created a spinner to act as a drop down menu, in my emulator, the menu
> drops as it should, but when i click on the desired activity nothing
> happens.


I don't see where you're actually setting the spinner's click listener,
which is quite important for getting notified of it being clicked :P

-
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/CANCScgjDvsdW_3OFYefY6T1k71-eFvVeGvhZqMaz_YH%2BUw5Nyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android Studio AVD Error

2016-02-18 Thread TreKing
On Sat, Feb 13, 2016 at 3:17 PM, Влад Шерышев  wrote:

> What am I doing wrong here?


You're posting bad screenshots that don't show up correctly.

-
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/CANCScgjAofrs6CNAFdo2XNxhYLZRHwHAQSVNFnmCExUQJTHOhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] About android mic phone stereo recording

2016-02-18 Thread Sheng tan
Recently I tried to utilize Samsung galaxy note 5's mic phones to record 
audio data. The os is Lollipop v5.1.1. 

When I use mono recording for both MIC and CAMRECORD, I can set the 
sampling rate up to 96KHz, but when I use stereo recording which using both 
mics for left and right channel, I can only record audio with sampling rate 
up to 48KHz. 

Since I read the android document the android 6.0 M can support up to 
192KHz sampling rate, I want to know if it is possible to record stereo to 
96KHz or there is other solution. Any help would be appreciated. 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/05902225-26f4-422b-b2a5-2e66c6a612b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Where to file dex bug or feature request

2016-02-18 Thread mmcclelland
I would like to request an enhancement to error reporting in the dex 
process.

I started off here: https://source.android.com/source/report-bugs.html

Which led me to 
here: 
https://code.google.com/p/android/issues/entry?template=Tools%20feature%20request,
 
but the instructions referenced from there 
(http://tools.android.com/filing-bugs) indicate that any issue that isn't 
specifically about Android Studio, the Android Gradle plugin, or Android 
emulators will be discarded.

Anyone know the right place to go?

-- 
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/7d93cad6-b8a8-4aae-9cad-0e4a59e17920%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Creating a sphere build of shapes

2016-02-18 Thread Dan Storm
Hi everyone.

So, I'm boldly trying to do something new.
I can make you average newbie app - I made some simple apps displaying some 
news from RSS sources, logging into third party services and similar.

Now, I'd like to create a game and I would suspect some OpenGL stuff would 
be needed, but I'm not quite sure where to start.

My thoughts are the following; I'd like to create a sphere. The surface of 
the sphere is built by a shape (hexagons, for example). When the player 
presses this shape it should disappear. The purpose of the game is to 
destroy the sphere by destroying the shapes. 

How would I go around this?

Any input is appreciated.

-- 
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/7a4b3cb4-e992-4a13-b7d2-e01f07196b80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can I use name..

2016-02-18 Thread Kristopher Micinski
I'm not a lawyer, but no, you can't. You'll be attempting to profit
off a trademark.

In fact, even making your game seem too similar to space invaders
might get you a takedown.

Kris


On Thu, Feb 18, 2016 at 6:47 AM, 'Michal K.' via Android Developers
 wrote:
> Hi,
> I'm working on a remake game Space Invaders.
> Can i publish game with name Space Invaders: Dark Times ?
>
> Thank you for answer
>
> --
> 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/8e40fab3-499a-4caf-bdfa-150993bac8bc%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/CAF1Sy-ERVNyoMzsYPdECtcvO8Mzjp1yG8o%2Btj0%2BrOi-SFVUTpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Sr Android Mobile Engineer / Seattle, WA

2016-02-18 Thread Richard Wilson
*Need Locals to Seattle, WA*



*We have a requirement for the below Position. If you are available and
interested. Please do send your updated Resume to
rich...@globalwebmaster.us *



*These candidates will have to go to the last interview and that will be
face to face with the client.*



*Sr Android Mobile Engineer*

*Seattle, WA  98104*

*6-12+ Months*

*Rate: Market Rate*



Sr Android Mobile Engineer

*About the Job*

Our client is looking for an experienced, creative *Android Developer*,
looking to work for an exciting company in the entertainment space
nased in *Seattle,
WA*. This is a *contract opportunity* with the possibility for extension.

As a Mobile Android Engineer you will be leading a team of developers,
designing, developing and maintaining code/modules for Mobile Applications
and Platforms. You will be working in an Agile environment, delivering
code, providing technical direction, and leading technical projects. In
this senior level capacity, the Lead Android Engineer is expected to be
able to act autonomously for day-to-day activities.

   - Understanding the architectural vision and how it helps meet business
   objectives
   - Analyzing user stories and participating in sprint planning, scrums,
   demos and retrospectives
   - Accountable for uptime and high-availability for all solutions
   - Accountable for performance and usability in all solutions
   - Coordinating with Architecture group on new designs and foundational /
   infrastructural application changes
   - Integrating mobile application code with back-end services
   - Understanding the need for optimized / customized mobile service
   responses / payloads
   - Developing back-end services, as needed
   - Negotiating and adjusting requirements by collaborating with internal
   business partners
   - Learning new technologies when required
   - Performing peer code reviews for immediate and related teams
   - Understanding of continuous integration / continuous delivery concepts
   and the ability to troubleshoot related issues
   - Providing architectural direction on behalf of the architecture team

*EXPERIENCE REQUIRED*

   - Bachelor's Degree in Computer Science or equivalent experience in the
   software development field
   - 5+ years of software development experience with a minimum of 4-5 +
   years of Android development experience
   - Experience reviewing and updating requirements and/or user stories
   - Experience writing technical documentation
   - Understanding of agile software development

*TECHNICAL SKILLS REQUIRED*

   - Strong Android mobile application development skills with a proven
   record of creating commercial quality software.
   - Disciplined approach to software development. Includes defining and
   enforcing engineering best practices.
   - Strong problem solving and analysis skills.


   - Expert level knowledge: Object Oriented Programming
   - Expert understanding of Computer Science Fundamentals.
   - Strong knowledge of unit testing, behavioral testing and continuous
   integration
   - Strong troubleshooting skills
   - Strong application performance / tuning skills
   - Understanding of importance of maintainable / sustainable product
   solutions
   - Experience with developing mobile applications that interface with
   RESTful services
   - Experience with developing applications that run on multiple mobile
   devices with different form factors
   - Strong understanding of caching as it relates to mobile devices and
   application performance
   - Understanding of PCI, PII and mobile application security
   - Understanding of mobile application accessibility
   - Experience with content management systems a plus
   - Experience with analytics tools a plus

*SOFT SKILLS REQUIRED*

   - Excellent written, verbal and interpersonal communication skills. The
   position requires frequent communication with colleagues and partners in
   several different geographic locations and time zones
   - Proven ability to work with all members of an extended and diverse
   project team
   - Must be detail-oriented, self-organized, be committed to quality and
   be capable of tracking multiple issues simultaneously
   - Excellent time management skills
   - Confidence and ability to perform effectively and make decisions with
   minimal management oversight.
   - Ability and desire to effectively mentor others and contribute to a
   collaborative team environment.





*Richard Wilson*
IT Recruiter, GLOBALWEBMASTER

(803) 883-9349| rich...@globalwebmaste.us |

http://www.globalwebmaster.us | Skype: richard.wilson725
 |

160 Beach, Rockaway Park, NY 11694

-- 
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] Re: Immediate Need Big Data (Hadoop) Architect - Raleigh, NC

2016-02-18 Thread Vikram Murari
Hello Henry,

Hope you are doing great,



I have below urgent requirement with my Global consulting partner. Please
have a look at the below mentioned detailed Job description and let me know
your interest at your earliest.



*Big Data (Hadoop) Architect*

*Raleigh, NC*

*6+ Months*



Objective - Certification of Data

This person will be working with Big Data to organize and analyze incoming
data under the Data Management group. Utilizing Hadoop, hosted by Amazon
Web Services.

• Build analytics engine using Hadoop for generating Data
Quality reports.

• Pre-process files using Python scripts, Scala-Spark, Pig

• Load relation data on to HDFS using Sqoop

• Build automation/orchestration layer using Oozie workflows

• Integrate with reporting tools such as OBIEE

• Responsible for Hadoop design/architecture



Thanks & Regards

*Vikram Murari*

Office: (925) 973- x 207 | Fax: (408) 273-6002

Email: vik...@allianceit.com |URL: www.allianceit.com

-- 
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/CAK3-99eFrpNwyg%2B%2BD2ruWiGYVbKurfSv8tGitodYz%2BLQ5%2BPRvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: error on lollipop, in kitkat works

2016-02-18 Thread Christian Cortese


Il giorno giovedì 18 febbraio 2016 13:10:38 UTC+1, Christian Cortese ha 
scritto:
>
> Hello
>
> i'm doing an app and i have included this code 
> http://developer.android.com/training/contacts-provider/retrieve-names.html
>
> but i have a problem...on kitkat it works well, in lollipop i can't see 
> the menu toolbar and when i click on a contact the app crashes with a 
> nullpointerexception
> *void.android.app.actionbar.setdisplayhomeasupenabled(boolean) etc*
> in this portion of code:
>
> if (Utils.hasHoneycomb()) {
> // Enables action bar "up" navigation
> getActionBar().setDisplayHomeAsUpEnabled(true);
> 
>
> }
>
>
> how can i resolve this?? 
>
> thanks for all
>
>

this is the exception on Lollipop
02-18 13:41:15.304 31435-31435/todonotes.com.todonotes_buildfinale 
E/AndroidRuntime: FATAL EXCEPTION: main

 Process: todonotes.com.todonotes_buildfinale, PID: 31435

 java.lang.RuntimeException: Unable to start activity 
ComponentInfo{todonotes.com.todonotes_buildfinale/todonotes.com.todonotes_buildfinale.ContactDetailActivity}:
 
java.lang.NullPointerException: Attempt to invoke virtual method 'void 
android.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object 
reference

 at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2378)

 at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2440)

 at 
android.app.ActivityThread.access$800(ActivityThread.java:162)

 at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1348)

 at android.os.Handler.dispatchMessage(Handler.java:102)

 at android.os.Looper.loop(Looper.java:135)

 at android.app.ActivityThread.main(ActivityThread.java:5422)

 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:914)

 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:707)

  Caused by: java.lang.NullPointerException: Attempt to invoke 
virtual method 'void 
android.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object 
reference

 at 
todonotes.com.todonotes_buildfinale.ContactDetailActivity.onCreate(ContactDetailActivity.java:59)

 at android.app.Activity.performCreate(Activity.java:6057)

 at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)

 at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2331)

 at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2440) 

 at 
android.app.ActivityThread.access$800(ActivityThread.java:162) 

 at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1348) 

 at android.os.Handler.dispatchMessage(Handler.java:102) 

 at android.os.Looper.loop(Looper.java:135) 

 at android.app.ActivityThread.main(ActivityThread.java:5422) 
  

[android-developers] Gmail OAUTH Flow Issue

2016-02-18 Thread Shivaprasad B S




I am trying to implement OAUTH flow for gmail account in my Email Client 
program on a mobile device.

one of my main requirement is for the client program to Run successfully in 
south Korea.

1. During OAuth configuration, in the below shown screen, I get the link 
(below) where hl=ko and the entire content is shown in Korean language. The 
image shown is in English language though (only for reference purpose).
https://accounts.google.com/o/oauth2/auth?login_hint=f...@gmail.com=https://mail.google.com+https://www.googleapis.com/auth/userinfo.email_type=code_uri=https://localhost/=state_id=630429409669-sqf58h8hoo7juk9p9t7du571uhge1kf9.apps.googleusercontent.com;
*hl=ko*_login=1=20b8c24f6834da25 

 

the same problem does not happen in India because I get below link where 
hl=ko is not present. 

*https://accounts.google.com/o/oauth2/auth?response_type=code_id=630429409669-sqf58h8hoo7juk9p9t7du571uhge1kf9.apps.googleusercontent.com_uri=https%3A%2F%2Flocalhost%2F=https%3A%2F%2Fmail.google.com%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email=state_hint=f%40gmail.com*
 

 





I want to know if there is anyway to avoid get this link with HL=KO in 
Korean server and get the English version??


2. During Oauth configuration flow, if the Device Language is set to 
Korean, It still displays the page content in English. is there a way to 
get the Korean language content??



Thanks a lot in advance.

Regards,
Shiva

-- 
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/66a0e0e0-1bf5-4c1e-aed8-c10f452ffb2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] error on lollipop, in kitkat works

2016-02-18 Thread Christian Cortese
Hello

i'm doing an app and i have included this code 
http://developer.android.com/training/contacts-provider/retrieve-names.html

but i have a problem...on kitkat it works well, in lollipop i can't see the 
menu toolbar and when i click on a contact the app crashes with a 
nullpointerexception
*void.android.app.actionbar.setdisplayhomeasupenabled(boolean) etc*
in this portion of code:

if (Utils.hasHoneycomb()) {
// Enables action bar "up" navigation
getActionBar().setDisplayHomeAsUpEnabled(true);


}


how can i resolve this?? 

thanks for all



-- 
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/dcf71b59-db4e-4519-8723-70239c1de64e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Can I use name..

2016-02-18 Thread 'Michal K.' via Android Developers
Hi,
I'm working on a remake game Space Invaders.
Can i publish game with name *Space Invaders: Dark Times ?*

*Thank you for answer*

-- 
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/8e40fab3-499a-4caf-bdfa-150993bac8bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How to disable power-off menu when screen is locked. -- Help a newbie :) --

2016-02-18 Thread bustorunlimited7
Hello, I`m a college student developing an app, and I need to implement the 
following features:

- Needed: If the screen is locked, the Power menu must be unable (or 
blocked).

- Optional: If the screen is locked, and the power button keep pressed, the 
phone will not turn off.  

Could someone give me a hand on how it can be done?. I know that Cerberus 
contains at least the first feature. 

Thank you, any help will be highly appreciated.

-- 
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/d141f555-b5d2-49f8-a405-ef03bdf4eea4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Is call to MultiDex.install(Context context) really necessary ?

2016-02-18 Thread Luka Babic

Hi everyone, this might sound foolish, but I was exploring Dalvik source 
code last couple of days to get to know what MultiDex support library is 
actually doing.
Okay, after app build has completed we get one main .dex file and one or 
more secondary .dex files. Those are then patched in 
Application.attachBaseContext().
However, I found out that DexPathList 

 (owned 
by Dalvik's classloader PathClassLoader) method called splitAndAdd iterates 
through all files in current directory and populates a list of elements 
that's passed to 'makeDexElements' method.
So, wouldn't secondary dexes be added by default even without 
MultiDex.install(...)?

Point me if I'm wrong with something.


Best regards 

-- 
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/492add14-3a7c-4137-8002-1a75a5d9087c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Another IN-APP purchase question

2016-02-18 Thread Stefano Gattuso
Sorry i did try to search on web but my idea is a bit confused, my aap will 
permit to buy some item troghout paypal, but i read which google for in-app 
purchae keep 30$ , so now is my qeustion, if i connected my app to my 
paypal account how google can keep that 30% and is really which keep 30% ?? 
because i dont think a real shop which make an app for sell maybe shoes or 
some other good troghout mobile app can affrod 30% commision, 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/dba35b0a-a1d1-4b58-8095-c8dcfd3721c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Kotlin and Android databinding (BuildTools 2.0.0)

2016-02-18 Thread Hendrik
In my Android project I am using Kotlin and Android Databinding. It works 
very well but now I wanted to update my build tools to version 2.0.0-beta5. 
When building the project I get the following error:

java.lang.RuntimeException: failure, see logs for details.
  cannot generate view binders java.lang.NoSuchMethodError: 
kotlin.text.StringsKt.split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZII)Ljava/util/List;
  at android.databinding.tool.ext.ExtKt.androidId(ext.kt:76)
  at 
android.databinding.tool.writer.LayoutBinderWriterKt$readableName$2.invoke(LayoutBinderWriter.kt:99)
  at 
android.databinding.tool.writer.LayoutBinderWriterKt$readableName$2.invoke(LayoutBinderWriter.kt)
  at android.databinding.tool.ext.LazyExt.getValue(ext.kt:27)
  at 
android.databinding.tool.writer.LayoutBinderWriterKt.getReadableName(LayoutBinderWriter.kt)
  at android.databinding.tool.LayoutBinder.(LayoutBinder.java:202)
  at android.databinding.tool.DataBinder.(DataBinder.java:49)
  at 
android.databinding.tool.CompilerChef.ensureDataBinder(CompilerChef.java:81)
  at android.databinding.tool.CompilerChef.sealModels(CompilerChef.java:130)
  at 
android.databinding.annotationprocessor.ProcessExpressions.writeResourceBundle(ProcessExpressions.java:149)
  at 
android.databinding.annotationprocessor.ProcessExpressions.onHandleStep(ProcessExpressions.java:82)
  at 
android.databinding.annotationprocessor.ProcessDataBinding$ProcessingStep.runStep(ProcessDataBinding.java:154)
  at 
android.databinding.annotationprocessor.ProcessDataBinding$ProcessingStep.access$000(ProcessDataBinding.java:139)
  at 
android.databinding.annotationprocessor.ProcessDataBinding.process(ProcessDataBinding.java:66)
  at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
  at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)
  at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)
  at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)
  at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)
  at 
com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1108)
  at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
  at com.sun.tools.javac.main.Main.compile(Main.java:439)
  at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132)
  at 
org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:45)
  at 
org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
  at 
org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:101)
  at 
org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50)
  at 
org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36)
  at 
org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)
  at 
org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
  at 
org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:157)
  at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:139)
  at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:93)
  at 
com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:39)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
  at 
org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:244)
  at 
org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
  at 
org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:231)
  at 
org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
  at 
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
  at 
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
  at 

[android-developers] How to build a VPN server on android

2016-02-18 Thread aquariuskon
Hello,
There are many post about how to set up VPN client to connect to a  server.
However, I have a question about that how to build a VPN server on android.
Is there a sample code of VPN server on android or does anyone have a good 
idea about how to accomplish it?
thanks a lot!



-- 
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/bcb84a2e-5877-4ce6-8019-85cea0af6df4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Access internal elements included layout

2016-02-18 Thread Javier Mediavilla Vegas
Hi all,

What I want to do is to create reusable layout elements through xml only. I 
want to be able to access the internal elements of an imported  layout (for 
example a TextView) and change its contents.

This is an example of what I want. I will only put the meaningfull 
attributes, ignoring others (like the width of the layout).

layout name item.xml





layout name several_items.xml







What is marked in red is what I want to get. I don't want to use it on Java 
code.

Thanks in advance.

Best regards,

Javier

-- 
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/7e771cc5-db07-4ab7-86f1-aa82db17d280%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.