[android-developers] Re: call an activity of another package

2016-05-22 Thread Arun Kumar
friends please kindly help me.. i have a package name as well as class name 
but i cant open that package with particular activity...
How do i done ?

-- 
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/5da8fd51-6e2d-4dcd-98b0-b53b2ab9907e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Unable to access Google Cloud SQL from Android Studio

2016-05-22 Thread effingjonsnow
I'm new to the cloud environment. I want to access my cloud SQL database 
from the android app. I'd be happy if someone could briefly explain how to 
connect.

-- 
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/574e130e-aca7-40d2-b678-52dd3be6c1cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: HTTPS access to PlayStore is very very very bad idea!

2016-05-22 Thread bjv
When Google  (if they haven't yet) starts pinning those server certs in the 
Play Store app (surprised that they don't already), your CA trick won't work. 
You'll have to steal their private keys. That won't end well. 

-- 
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/c23bc025-6f7e-44b2-811a-05eda77912fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Where did the google-play-services.jar go ?

2016-05-22 Thread Vinion
Hello,

I just upgraded the google play services to version 30 using the Android 
SDK manager.

Before the upgrade I used to find the* google-play-services.jar* in the 
*"**SDK_PATH/extras/google/google_play_services/libproject/google-play-services_lib/libs"
 
*folder but now this folder does not exist.

There is a new folder in 
"*SDK_PATH\extras\google\m2repository\com\google\android\gms\play-services" 
*which has a lot of folders and .aar files that I cannot use because I 
develop using Netbeans.

Is there a way to build the google-play-services.jar from these files?

Thank you

-- 
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/da52dae9-55ce-4ac3-ab12-2dacf93dcb14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Android mobile usage history NetworkStatsManager

2016-05-22 Thread Mauro Esposito
can help me?

Il giorno giovedì 19 maggio 2016 12:50:52 UTC+2, Mauro Esposito ha scritto:
>
> I'm making an App for Android 6.0 and I want to use the new class 
> NetworkStatsManager for getting mobile data usage.
>
> I added all permission I need in manifest and require the permission 
> runtime.
>
> When I call the method:
>
> bucket = 
> networkStatsManager.querySummaryForDevice(ConnectivityManager.TYPE_WIFI, "", 
> fromDate.getTime(), toDate.getTime());
>
> return the right value for WIFI usage.
>
> But if i replace TYPE_WIFI with TYPE_MOBILE the result is always 0.
>
> NetworkStats.Bucket bucket = null;
> try {
> bucket = 
> networkStatsManager.querySummaryForDevice(ConnectivityManager.TYPE_MOBILE, 
> "", fromDate.getTime(), toDate.getTime());
>
> if(bucket == null){
> Log.i("Info", "Error");
> }else{
> Log.i("Info", "Total: " + (bucket.getRxBytes() + 
> bucket.getTxBytes()));
> }
>
> } catch (RemoteException e) {
> e.printStackTrace();
> }
>
>

-- 
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/838ea9db-0dd6-4211-8c80-d46d6d4c8b4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: SIPDemo is not working...

2016-05-22 Thread Sahaba Sahaba R.A.
Hello:

I am using SIPDemo in AndroidSudio and facing same problem as some of the 
classes names are indicating "unable to resolve"...for example, following 
in SippManager.JAVA.

import android.os.ServiceManager;
import android.telephony.Rlog;


Is your sipdemo working correctly?.




On Thursday, January 20, 2011 at 11:34:39 AM UTC+3, Scott wrote:
>
> I tried to use SIPDemo application on Android 2.3 - revision 9 
> emulator 
>
> But it returns null for the SIPManager.newInstance(this). 
>
> if 
>
> (manager == null) { 
>  manager = SipManager.newInstance(this); 
> } 
>
> On checking SIPManager.isAPISupported. It retruns false. Has any body 
> run SIPDemo application, any help is appreciated. I have already 
> specifed follwoing feature permissions in 
>
> the Manifest file: 
>
> < 
>
> uses-permission android:name="android.permission.INTERNET" /> 
>  
>  
>  
>
>
> Kindly please guide me how to fix this problem and run the SipDemo 
> application successfully.

-- 
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/95a312bf-993a-4a37-abb0-0c1b5f27f4a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] unable to resolve symbol ServiceManager

2016-05-22 Thread Sahaba Sahaba R.A.
Hello:

I am using SIPDemo SDK from android studio. in SipManager.Java 
(C:\Users\<>\AppData\Local\Android\sdk\sources\android-23\android\net\sip),
 
I am getting error "unable to resolve ServiceManager"...also unable to 
resolve Rlog". any ideo / help , please?.


import android.os.ServiceManager;
import android.telephony.Rlog;

-- 
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/d6a04b08-8ef0-4ce5-93e4-09578b442fb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.