Re: [android-developers] Experienced Android developer needed

2014-09-30 Thread Rakesh Jha
I'm interested, please check my profile.

in.linkedin.com/in/rakeshkumarjha7/

Rakesh
+91 9886336619

On Wed, Oct 1, 2014 at 12:14 AM, Josphat Muchiri 
wrote:

> Hey,
> I am in need of several android developers to work on a project start-up,
> working from  anywhere you are. Contact me asap.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks & Regards

Rakesh Kumar Jha
Android Developer, Trainer and Mentor
Bangalore
Skype - rkjhaw
(O) +918050753516
(R) +919886336619

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: localStorage html5 feature not working in WebView on Android devices of some manufacturers

2014-09-30 Thread Mathias Lin


Update: Storing and loading the value from localStorage works fine on all 
devices while on the *same page*, however, not between different pages. In 
my example, I can store and retrieve the value on 01_home.html, but when I 
go to another page in the android_asset folder, I cannot retrieve it 
anymore (on LG and Samsung device). Works fine on Nexus 4 though.

What is the reason for the different behaviour? Different WebKit version, 
different Android version, vendor?

On Tuesday, 30 September 2014 11:56:11 UTC+2, Mathias Lin wrote:
>
> I have a html5 application that I wrap in a WebView. To store and retrieve 
> user input values between pages, I use the *localStorage* html5 feature.
>
> It works fine on my Nexus 4 (Android 4.4.4), but it does not work on 
> Samsung Galaxy Tab 2 (Android 4.3.x) (= nothing happens, but also no error 
> in logcat). Or, to be more clear: *on Samsung, it does not work if the 
> html pages are loaded from within the app's asset folder*. It does work 
> though if I put the pages on a web server, as below in the outcommented 
> line.
>
> However, on Nexus 4, loading from file:///android_asset/ and also if I 
> load the pages on a desktop browser (Chrome, Firefox) from file:// path, it 
> is also working.
>
> (I had another user reported the issue on a LG device, so it does not seem 
> to be Samsung specific).
>
> Below are the settings of the web view.
>
> webView = (WebView)this.findViewById(R.id.webView);
> webViewClient = new MyWebViewClient(this);
> webViewClient.setSm(sm);
> webView.setWebViewClient(webViewClient);
> WebSettings webSettings = webView.getSettings();
> webSettings.setJavaScriptEnabled(true);
> webSettings.setDomStorageEnabled(true);
> webView.getSettings().setJavaScriptEnabled(true);
> webView.getSettings().setDomStorageEnabled(true);
> webView.getSettings().setPluginState(WebSettings.PluginState.ON);
> webView.getSettings().setAppCacheEnabled(false);
> webView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
> webView.getSettings().setUseWideViewPort(true);
> webView.getSettings().setLoadWithOverviewMode(true);
> webView.getSettings().setBuiltInZoomControls(false);
> webView.getSettings().setSupportZoom(false);
> webView.getSettings().setDefaultZoom(WebSettings.ZoomDensity.FAR);
>
> webView.loadUrl("file:///android_asset/01_home.html"); // does NOT work!
> // webView.loadUrl("http://192.168.178.33/01_home.html";); // does work!
>
> Local storage code in the pages:
>
> // storingvar data = document.getElementById('data').value;
> window.localStorage.setItem((1), data);
> // reading
> document.getElementById('data').value = window.localStorage.getItem(1);
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Experienced Android developer needed

2014-09-30 Thread mike digioia
i am available for your work in one week

On Tue, Sep 30, 2014 at 12:18 PM, Mukesh Srivastav 
wrote:

> I am available. I am having 11 Years of mobile application and product
> development experience. I started with J2ME,Blackberry and since last 4+
> years into Android development.
>
>
>
> On Wed, Oct 1, 2014 at 12:14 AM, Josphat Muchiri 
> wrote:
>
>> Hey,
>> I am in need of several android developers to work on a project start-up,
>> working from  anywhere you are. Contact me asap.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>> ---
>> 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.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Warm Regards,
> *Mukesh Kumar*,
> Android Consultant/Freelancer,
> India,Hyderabad.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> 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.
> 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


Shorter1ResumeEmbeddedUpton45CA.doc
Description: MS-Word document


[android-developers] Re: How do you get a preference's View?

2014-09-30 Thread Qoheleth
On further testing, findViewById sometimes returns null on 
OnSharedPreferenceChangeListener.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: How do you get a preference's View?

2014-09-30 Thread Qoheleth
I found that if I implement onSharedPreferenceChangeListener, findViewById 
works inside the implemented method. Why is this?

public class SettingsActivity extends Activity implements SharedPreferences.
OnSharedPreferenceChangeListener{

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

// Display the fragment as the main content.
getFragmentManager().beginTransaction()
.replace(android.R.id.content, new SettingsFragment( this ))
.commit();

SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences
( this );
sp.registerOnSharedPreferenceChangeListener( this );

}

@Override
public void onSharedPreferenceChanged(SharedPreferences 
sharedPreferences, String key) {
if ( key.equals( "pref_catalogEdition" ) ) {
ProgressBar bar = ( ProgressBar ) findViewById( 
R.id.catalogLoadProgressBar 
);
bar.setVisibility(View.VISIBLE ); // WORKS!
}
}
}


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: How do you get a preference's View?

2014-09-30 Thread Qoheleth
I found that if I implement implements 
SharedPreferences.OnSharedPreferenceChangeListener, inside the implemented 
method, findViewById works. Why is this?

public class SettingsActivity extends Activity implements SharedPreferences.
OnSharedPreferenceChangeListener{

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

// Display the fragment as the main content.
getFragmentManager().beginTransaction()
.replace(android.R.id.content, new SettingsFragment( this ))
.commit();

SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences
( this );
sp.registerOnSharedPreferenceChangeListener( this );

}

@Override
public void onSharedPreferenceChanged(SharedPreferences 
sharedPreferences, String key) {
if ( key.equals( "pref_catalogEdition" ) ) {
ProgressBar bar = ( ProgressBar ) findViewById( 
R.id.catalogLoadProgressBar 
);
bar.setVisibility(View.VISIBLE ); // WORKS!
}
}
}



On Tuesday, September 30, 2014 3:23:05 PM UTC-7, Qoheleth wrote:
>
> As suggested by the docs if using Android 3.0+, I used a Preference 
> fragment which is used by an Activity that uses getFragmentManager to 
> implement Preferences. My question is, how do you get the (root?) View of a 
> Preference layout?
> In both SettingsActivity and SettingsFragment, findViewById and getView 
> both return null, which probably means that the preference layout view is 
> null, but somehow there is a layout.
>
> I also have a custom preference, CustomCatalogListPreference. What I'm 
> trying to do is gain access to a progress bar that is part of the custom 
> preference, but findViewById or getView both return null.
>
> public class SettingsActivity extends Activity {
>
> @Override
> protected void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
>
> // Display the fragment as the main content.
> getFragmentManager().beginTransaction()
> .replace(android.R.id.content, new SettingsFragment( this 
> ))
> .commit();
> }
> }
>
> public class SettingsFragment extends PreferenceFragment {
> public static final String ABILITY_SCORES_KEY = "pref_score";
> public static final String SAVING_THROW_KEY = "pref_saveThrow";
> Context mContext;
>
> public SettingsFragment( Context ctx ) {
> mContext = ctx;
> }
>
> @Override
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
>
> // Load the preferences from an XML resource
> addPreferencesFromResource( R.xml.preferences );
> }
> }
>
> public class CustomCatalogListPreference extends ListPreference {
>
> Context mContext;
>
> public CustomCatalogListPreference( Context context, AttributeSet 
> attrs ) {
> super( context, attrs );
> mContext = context;
> }
>
> public CustomCatalogListPreference( Context context ) {
> super(context);
> mContext = context;
> }
>
> @Override
> public View onCreateView( ViewGroup parent ) {
> super.onCreateView( parent );
> LayoutInflater inflater = ( LayoutInflater ) mContext.
> getSystemService( Context.LAYOUT_INFLATER_SERVICE );
> return inflater.inflate( R.layout.custpref_catalog_list, null );
> }
>
> @Override
> protected void onBindView( View view ) {
> super.onBindView( view );
> }
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How do you get a preference's View?

2014-09-30 Thread Qoheleth
As suggested by the docs if using Android 3.0+, I used a Preference 
fragment which is used by an Activity that uses getFragmentManager to 
implement Preferences. My question is, how do you get the (root?) View of a 
Preference layout?
In both SettingsActivity and SettingsFragment, findViewById and getView 
both return null, which probably means that the preference layout view is 
null, but somehow there is a layout.

I also have a custom preference, CustomCatalogListPreference. What I'm 
trying to do is gain access to a progress bar that is part of the custom 
preference, but findViewById or getView both return null.

public class SettingsActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

// Display the fragment as the main content.
getFragmentManager().beginTransaction()
.replace(android.R.id.content, new SettingsFragment( this ))
.commit();
}
}

public class SettingsFragment extends PreferenceFragment {
public static final String ABILITY_SCORES_KEY = "pref_score";
public static final String SAVING_THROW_KEY = "pref_saveThrow";
Context mContext;

public SettingsFragment( Context ctx ) {
mContext = ctx;
}

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

// Load the preferences from an XML resource
addPreferencesFromResource( R.xml.preferences );
}
}

public class CustomCatalogListPreference extends ListPreference {

Context mContext;

public CustomCatalogListPreference( Context context, AttributeSet attrs 
) {
super( context, attrs );
mContext = context;
}

public CustomCatalogListPreference( Context context ) {
super(context);
mContext = context;
}

@Override
public View onCreateView( ViewGroup parent ) {
super.onCreateView( parent );
LayoutInflater inflater = ( LayoutInflater ) mContext.
getSystemService( Context.LAYOUT_INFLATER_SERVICE );
return inflater.inflate( R.layout.custpref_catalog_list, null );
}

@Override
protected void onBindView( View view ) {
super.onBindView( view );
}


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: finish() does not dismiss AlertDialogs

2014-09-30 Thread Jonathan S
http://stackoverflow.com/questions/14853325/how-to-dismiss-alertdialog-in-android

On Tuesday, September 30, 2014 6:21:46 AM UTC-4, pedr0 wrote:
>
> Hi all,
>
> I am developing an activity which generate an AlertDialog and attach to it 
> an onClickListener which calls the finish() method, I am experiencing a 
> strange issue which 
> result is a kind of  stalemate: pressing the *Ok* button finish() gets 
> called and I can see the onDestroy() being called by the system using 
> Log.cat().
>
> The activity is the only one in the stack therefore the system quits from 
> the app but when I start it again I can still see the AlertDialog (!) then 
> if I  click 
> in the *Ok* button again I will exit.
>
> Any ideas ?
>
>
>   AlertDialog.Builder builder = new AlertDialog.Builder(context); 
> 
>  
>   AlertDialog dialog = builder.create();  
>   DialogInterface.OnClickListener ok = new 
> DialogInterface.OnClickListener()
> {
> @Override
> public void onClick(DialogInterface dialog, int which)
> {
>finish();
> }
> };
>dialog.setButton(Dialog.BUTTON_POSITIVE, "Ok", positiveBtnListener); 
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Experienced Android developer needed

2014-09-30 Thread Mukesh Srivastav
I am available. I am having 11 Years of mobile application and product
development experience. I started with J2ME,Blackberry and since last 4+
years into Android development.



On Wed, Oct 1, 2014 at 12:14 AM, Josphat Muchiri 
wrote:

> Hey,
> I am in need of several android developers to work on a project start-up,
> working from  anywhere you are. Contact me asap.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Experienced Android developer needed

2014-09-30 Thread Josphat Muchiri
Hey,
I am in need of several android developers to work on a project start-up,
working from  anywhere you are. Contact me asap.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Crash while using GoogleAnalytics v2

2014-09-30 Thread Rahul Raja
I am using GoogleAnalytics v2 and sometimes the app crashes with the 
following log

java.lang.SecurityException: Unable to find app for caller 
android.app.ApplicationThreadProxy@42a424c8 (pid=2801) when registering 
receiver android.content.IIntentReceiver$Stub$Proxy@42a37d40
at android.os.Parcel.readException(Parcel.java:1465)
at android.os.Parcel.readException(Parcel.java:1419)
at 
android.app.ActivityManagerProxy.registerReceiver(ActivityManagerNative.java:2330)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1450)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1418)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1412)
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:467)
at 
com.google.analytics.tracking.android.GAServiceManager.b(GAServiceManager.java:168)
at 
com.google.analytics.tracking.android.GAServiceProxy.i(GAServiceProxy.java:264)
at 
com.google.analytics.tracking.android.GAServiceProxy.j(GAServiceProxy.java:282)
at 
com.google.analytics.tracking.android.GAServiceProxy.d(GAServiceProxy.java:27)
at 
com.google.analytics.tracking.android.GAServiceProxy$ReconnectTask.run(GAServiceProxy.java:357)
at java.util.Timer$TimerImpl.run(Timer.java:284)



Not able to find the exact reason for this.? This doesnt occurs too often but 
sometimes

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


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

2014-09-30 Thread Kostya Vasilyev
It looks like the wording conflates two addresses into one --

-- The address that will be displayed to everyone, even on the Google Play
web site, even to users who've not installed your apps... just anyone, I
presume.

-- The address that Google will use for contact, and which won't be shown
to random strangers on the web

Also I am unable to find anything about addresses in the linked Developer
Terms either (checked the current US English version).

Fortunately, Google Wallet / Merchant settings are still separate.

Don't think there is anything to be done here -- Google is being forced by
the EU to comply with its laws.

The execution is pretty terrible, in my opinion, but I just don't see
Google or the EU backtracking on the requirement itself.

-- K


2014-09-30 16:58 GMT+04:00 Jose_GD :

> Ok, the day arrived. The "Physical address" field is live in the developer
> console.
>
> Below the field you'll find this:
>
> *Please provide a current, valid postal address where you may be
>> contacted. If you offer apps or in-app items for sale, you are required to
>> provide a postal address under our developer terms
>>  and
>> consumer protection laws; failure to do so may result in the suspension of
>> your account and/or sales of your apps. Please ensure that you keep these
>> details up to date if they change. By providing your email or postal
>> address information, you confirm that you consent to Google publicly
>> displaying or disclosing that information in connection with your apps. *
>
>
> "You are required to provide a postal address under our developer
> terms...". Alright, the terms DON'T mention this nonsense at all! At least
> in the Spanish version.
>
> I think I'll put something there, not sure what... Time to start a
> change.org petition or something like that?
>
>
> El lunes, 29 de septiembre de 2014 09:50:34 UTC-3, Jose_GD escribió:
>
>> Ha, I've seen those "awesome" news too. Answering what I guess:
>>
>> 1. Email, because Google encourages users to use comments in Play Store
>> alongside ratings and email to ask for support
>> 2. Google will examine support inquires after users complaining of an
>> unsatisfactory answer. If they think it was urgent, they will email the dev
>> with this: "Hey, this was an urgent matter, please answer now to not risk a
>> dev account cancellation"
>>
>>
>> El viernes, 26 de septiembre de 2014 10:14:36 UTC-3, Kostya Vasilyev
>> escribió:
>>>
>>> But wait, there is more.
>>>
>>> New developer policy -- from September 25 -- has this (new):
>>>
>>> For paid Products or in-app transactions, you must respond to customer
>>> support inquiries within three (3) business days, and within 24 hours to
>>> any support or Product concerns stated to be urgent by Google.
>>>
>>> Does anyone know if:
>>>
>>> 1 - They mean Google Play comments or email?
>>>
>>> 2 - How will the developer know that a particular support request was
>>> "stated to be urgent by Google"?
>>>
>>> -- K
>>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: finish() does not dismiss AlertDialogs

2014-09-30 Thread Pietro Paolini
Yes but no hope.

2014-09-30 13:29 GMT+01:00 MathieuB :

> Did you try to :
>
> dialog.dismiss();
>
> Before calling finish()
>
> Le mardi 30 septembre 2014 06:21:46 UTC-4, pedr0 a écrit :
>
>> Hi all,
>>
>> I am developing an activity which generate an AlertDialog and attach to
>> it an onClickListener which calls the finish() method, I am experiencing a
>> strange issue which
>> result is a kind of  stalemate: pressing the *Ok* button finish() gets
>> called and I can see the onDestroy() being called by the system using
>> Log.cat().
>>
>> The activity is the only one in the stack therefore the system quits from
>> the app but when I start it again I can still see the AlertDialog (!) then
>> if I  click
>> in the *Ok* button again I will exit.
>>
>> Any ideas ?
>>
>>
>>   AlertDialog.Builder builder = new AlertDialog.Builder(context);
>>
>>
>>   AlertDialog dialog = builder.create();
>>   DialogInterface.OnClickListener ok = new DialogInterface.
>> OnClickListener()
>> {
>> @Override
>> public void onClick(DialogInterface dialog, int which)
>> {
>>finish();
>> }
>> };
>>dialog.setButton(Dialog.BUTTON_POSITIVE, "Ok", positiveBtnListener);
>>
>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> 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/WZLZ-bxTR6w/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> android-developers+unsubscr...@googlegroups.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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


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

2014-09-30 Thread Jose_GD
Ok, the day arrived. The "Physical address" field is live in the developer 
console.

Below the field you'll find this:

*Please provide a current, valid postal address where you may be contacted. 
> If you offer apps or in-app items for sale, you are required to provide a 
> postal address under our developer terms 
>  and 
> consumer protection laws; failure to do so may result in the suspension of 
> your account and/or sales of your apps. Please ensure that you keep these 
> details up to date if they change. By providing your email or postal 
> address information, you confirm that you consent to Google publicly 
> displaying or disclosing that information in connection with your apps. *


"You are required to provide a postal address under our developer 
terms...". Alright, the terms DON'T mention this nonsense at all! At least 
in the Spanish version.

I think I'll put something there, not sure what... Time to start a 
change.org petition or something like that?


El lunes, 29 de septiembre de 2014 09:50:34 UTC-3, Jose_GD escribió:
>
> Ha, I've seen those "awesome" news too. Answering what I guess:
>
> 1. Email, because Google encourages users to use comments in Play Store 
> alongside ratings and email to ask for support
> 2. Google will examine support inquires after users complaining of an 
> unsatisfactory answer. If they think it was urgent, they will email the dev 
> with this: "Hey, this was an urgent matter, please answer now to not risk a 
> dev account cancellation"
>
>
> El viernes, 26 de septiembre de 2014 10:14:36 UTC-3, Kostya Vasilyev 
> escribió:
>>
>> But wait, there is more.
>>
>> New developer policy -- from September 25 -- has this (new):
>>
>> For paid Products or in-app transactions, you must respond to customer 
>> support inquiries within three (3) business days, and within 24 hours to 
>> any support or Product concerns stated to be urgent by Google. 
>>
>> Does anyone know if:
>>
>> 1 - They mean Google Play comments or email?
>>
>> 2 - How will the developer know that a particular support request was 
>> "stated to be urgent by Google"?
>>
>> -- K
>>
>>
>> 2014-09-26 15:26 GMT+04:00 Jose_GD :
>>
>>> If this were Facebook Kostya, I would liked your post LOL
>>>
>>> I can't imagine people knocking on my door neither, this is ludicrous...
>>>
>>> El jueves, 25 de septiembre de 2014 16:42:47 UTC-3, Kostya Vasilyev 
>>> escribió:

 Yes, Google's communication could be better here. I guess they just 
 don't really care about explaining.

 The reason still looks ridiculous to me -- but "dura lex, sed lex", and 
 Google has to comply, and then so do we.

 But it makes me curious -- should I now expect users from Denmark or 
 Greece to show on my doorstep, with their phones in hand, "see, this 
 button 
 doesn't work"? It's a long trip from there to Russia, and there are bears 
 in the streets, dangerous :)

 It's not clear if Google will accept PO boxes here -- they don't for 
 merchant account addresses -- so we'll see when there actually is a way to 
 enter the address. Right now, it seems like there isn't, and my request 
 for 
 a clarification has not been answered (so far).

 -- K


 2014-09-25 22:55 GMT+04:00 jtoolsdev :

> So if it has to do with European customer protection laws why don't 
> they just say so in the notification AND put a link the law?  Or is that 
> too much work for them?  There seems to be an attitude against people 
> being 
> able to make money on their own and that you MUST work with a big company 
> in the 21st century.  If you have to rent a mailbox then raise your 
> prices 
> to pay for it and let the users know why.  Everyone else is raising their 
> prices including your local sandwich shop.  Yesterday's 99 cent app 
> should 
> be $1.25 by now.
>
> On Wednesday, September 24, 2014 1:29:33 PM UTC-7, Kostya Vasilyev 
> wrote:
>>
>> @Jose - I contacted Play support about it and they explained that it 
>> has to do with European customer protection laws, and there is no way 
>> they 
>> will make any exceptions. So I think you can forget about "reverted" too.
>>
>> @Noby - do you know if it should be under Business Information -> 
>> Public Profile -> Address, or under Legal profile -> Payee profile -> 
>> Address? I'll need to use different addresses there, for personal safety.
>>
>> -- K
>>
>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this

[android-developers] how to make video from frames data (byte array) received from onPreviewFrame() on Android 4.0+ (API 14+)

2014-09-30 Thread Abhishek Kumar Gupta
Actually I want to implement pause/resume functionality while recording 
video but MediaRecorder does not support it. Because of that, I want to 
make a video file from frames data (byte array) received from 
onPreviewFrame(). Is it possible to achieve on Android 4.0+ (API 14+) 
versions?

Please help me, it's urgent. Any help or guidance will be well appreciated.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: finish() does not dismiss AlertDialogs

2014-09-30 Thread MathieuB
Did you try to :

dialog.dismiss();

Before calling finish()

Le mardi 30 septembre 2014 06:21:46 UTC-4, pedr0 a écrit :
>
> Hi all,
>
> I am developing an activity which generate an AlertDialog and attach to it 
> an onClickListener which calls the finish() method, I am experiencing a 
> strange issue which 
> result is a kind of  stalemate: pressing the *Ok* button finish() gets 
> called and I can see the onDestroy() being called by the system using 
> Log.cat().
>
> The activity is the only one in the stack therefore the system quits from 
> the app but when I start it again I can still see the AlertDialog (!) then 
> if I  click 
> in the *Ok* button again I will exit.
>
> Any ideas ?
>
>
>   AlertDialog.Builder builder = new AlertDialog.Builder(context); 
> 
>  
>   AlertDialog dialog = builder.create();  
>   DialogInterface.OnClickListener ok = new 
> DialogInterface.OnClickListener()
> {
> @Override
> public void onClick(DialogInterface dialog, int which)
> {
>finish();
> }
> };
>dialog.setButton(Dialog.BUTTON_POSITIVE, "Ok", positiveBtnListener); 
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-developers] finish() does not dismiss AlertDialogs

2014-09-30 Thread pedr0
Hi all,

I am developing an activity which generate an AlertDialog and attach to it 
an onClickListener which calls the finish() method, I am experiencing a 
strange issue which 
result is a kind of  stalemate: pressing the *Ok* button finish() gets 
called and I can see the onDestroy() being called by the system using 
Log.cat().

The activity is the only one in the stack therefore the system quits from 
the app but when I start it again I can still see the AlertDialog (!) then 
if I  click 
in the *Ok* button again I will exit.

Any ideas ?


  AlertDialog.Builder builder = new AlertDialog.Builder(context);   

   
  AlertDialog dialog = builder.create();  
  DialogInterface.OnClickListener ok = new DialogInterface.OnClickListener()
{
@Override
public void onClick(DialogInterface dialog, int which)
{
   finish();
}
};
   dialog.setButton(Dialog.BUTTON_POSITIVE, "Ok", positiveBtnListener); 


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-developers] localStorage html5 feature not working in WebView on Android devices of some manufacturers

2014-09-30 Thread Mathias Lin


I have a html5 application that I wrap in a WebView. To store and retrieve 
user input values between pages, I use the *localStorage* html5 feature.

It works fine on my Nexus 4 (Android 4.4.4), but it does not work on 
Samsung Galaxy Tab 2 (Android 4.3.x) (= nothing happens, but also no error 
in logcat). Or, to be more clear: *on Samsung, it does not work if the html 
pages are loaded from within the app's asset folder*. It does work though 
if I put the pages on a web server, as below in the outcommented line.

However, on Nexus 4, loading from file:///android_asset/ and also if I load 
the pages on a desktop browser (Chrome, Firefox) from file:// path, it is 
also working.

(I had another user reported the issue on a LG device, so it does not seem 
to be Samsung specific).

Below are the settings of the web view.

webView = (WebView)this.findViewById(R.id.webView);
webViewClient = new MyWebViewClient(this);
webViewClient.setSm(sm);
webView.setWebViewClient(webViewClient);
WebSettings webSettings = webView.getSettings();
webSettings.setJavaScriptEnabled(true);
webSettings.setDomStorageEnabled(true);
webView.getSettings().setJavaScriptEnabled(true);
webView.getSettings().setDomStorageEnabled(true);
webView.getSettings().setPluginState(WebSettings.PluginState.ON);
webView.getSettings().setAppCacheEnabled(false);
webView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
webView.getSettings().setUseWideViewPort(true);
webView.getSettings().setLoadWithOverviewMode(true);
webView.getSettings().setBuiltInZoomControls(false);
webView.getSettings().setSupportZoom(false);
webView.getSettings().setDefaultZoom(WebSettings.ZoomDensity.FAR);

webView.loadUrl("file:///android_asset/01_home.html"); // does NOT work!
// webView.loadUrl("http://192.168.178.33/01_home.html";); // does work!

Local storage code in the pages:

// storingvar data = document.getElementById('data').value;
window.localStorage.setItem((1), data);
// reading
document.getElementById('data').value = window.localStorage.getItem(1);

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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.
For more options, visit https://groups.google.com/d/optout.