[android-developers] enabling portable hotspot using android app and configuring it
Hii everyone, I wanted to know that is it possible to enable/disable wifi hotspot in Android and to set the limits given by user like no. of users who can access hotspot, till how long they can access hotspot, how much data they can use, how to limit speed etc. Can we do these things, if yes, how? thank you in advance -- 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/05ee1ff0-732b-4d0c-a001-4b44d3826b79%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Sync Adapter not running onperform sync in Marrashmellow API level 23
I have developed a sync utility running properly upto sdk version 22 but in marrashmellow it is not working. kindly provide which runtime permission is required to run sync in api level 23 immediate help is appriciated. -- 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/4aa5435f-a19c-4aca-8276-251d069510ed%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Re: "android.speech.action.RECOGNIZE_SPEECH" activity not found
how the emulator get activity: "android.speech.action.RECOGNIZE_SPEECH" when we use code : Intent intent = new Intent("android.speech.action.RECOGNIZE_SPEECH"); startActivityForResult(intent, 0); it throw exception: Exception: android.content.ActivitNotFoundException:No Activity Found to handle Intent{action=android.speech.action.RECOGNIZE_SPEECH} AndroidMainfest.xml http://schemas.android.com/apk/res/android"; package="com.tutorial" android:versionCode="1" android:versionName="1.0"> -- 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
[android-developers] Re: "android.speech.action.RECOGNIZE_SPEECH" activity not found
Hi sandeep Problem: When we run this program. then after click the button(voice Recognition) Show message box with exception what we catch Exception: android.content.ActivitNotFoundException:No Activity Found to handle Intent{action=android.speech.action.RECOGNIZE_SPEECH} Please give me solution of it. why ActivityNotFoundException( android.speech.action.RECOGNIZE_SPEECH )throws in program SpeechActivity.java package com.tutorial; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class SpeechActivtiy extends Activity { Button Voice_Rec_BTN; EditText VoiceResults_Txt; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.speech); Voice_Rec_BTN = (Button) findViewById(R.id.startvoice); Voice_Rec_BTN.setOnClickListener(new OnClickListener() { public void onClick(View v) { startVoiceRecognitionActivity(); } }); } /** * Fire an intent to start the speech recognition activity. */ private void startVoiceRecognitionActivity() { Intent intent = new Intent("android.speech.action.RECOGNIZE_SPEECH"); //intent.setAction(ACTIVITY_SERVICE); try { startActivityForResult(intent, 0); } catch (Exception e) { // TODO Auto-generated catch block Log.e(":::ERROR::", e.toString()); Toast.makeText(SpeechActivtiy.this, e.toString(), 10).show(); } Log.v(":::","444"); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); } } speech.xml http://schemas.android.com/apk/res/android"; > AndroidMainfest.xml http://schemas.android.com/apk/res/android"; package="com.tutorial" android:versionCode="1" android:versionName="1.0"> string.xml Hello World, SpeechToText! SpeechTutorial voice recognition Demo Speak! -- 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
[android-developers] Re: "android.speech.action.RECOGNIZE_SPEECH" activity not found
Hi Bibek How emulator get the activity ="android.speech.action.RECOGNIZE_SPEECH" because we use this activity to "speech to text" conversion in program Please help me: how this activity find in Android throw emulator. Exception: android.content.ActivitNotFoundException:No Activity Found to handle Intent{action=android.speech.action.RECOGNIZE_SPEECH} Please give me solution of it. why ActivityNotFoundException throws in program SpeechActivity.java package com.tutorial; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class SpeechActivtiy extends Activity { Button Voice_Rec_BTN; EditText VoiceResults_Txt; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.speech); Voice_Rec_BTN = (Button) findViewById(R.id.startvoice); Voice_Rec_BTN.setOnClickListener(new OnClickListener() { public void onClick(View v) { startVoiceRecognitionActivity(); } }); } /** * Fire an intent to start the speech recognition activity. */ private void startVoiceRecognitionActivity() { Intent intent = new Intent("android.speech.action.RECOGNIZE_SPEECH"); //intent.setAction(ACTIVITY_SERVICE); try { startActivityForResult(intent, 0); } catch (Exception e) { // TODO Auto-generated catch block Log.e(":::ERROR::", e.toString()); Toast.makeText(SpeechActivtiy.this, e.toString(), 10).show(); } Log.v(":::","444"); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); } } speech.xml http://schemas.android.com/apk/res/android"; > AndroidMainfest.xml http://schemas.android.com/apk/res/android"; package="com.tutorial" android:versionCode="1" android:versionName="1.0"> string.xml Hello World, SpeechToText! SpeechTutorial voice recognition Demo Speak! -- 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
[android-developers] ActivitNotFoundException
Hi Everybody Problem: When we run this program. then after click the button(voice Recognition) Show message box with exception what we catch Exception: android.content.ActivitNotFoundException:No Activity Found to handle Intent{action=android.speech.action.RECOGNIZE_SPEECH} Please give me solution of it. why ActivityNotFoundException throws in program SpeechActivity.java package com.tutorial; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class SpeechActivtiy extends Activity { Button Voice_Rec_BTN; EditText VoiceResults_Txt; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.speech); Voice_Rec_BTN = (Button) findViewById(R.id.startvoice); Voice_Rec_BTN.setOnClickListener(new OnClickListener() { public void onClick(View v) { startVoiceRecognitionActivity(); } }); } /** * Fire an intent to start the speech recognition activity. */ private void startVoiceRecognitionActivity() { Intent intent = new Intent("android.speech.action.RECOGNIZE_SPEECH"); //intent.setAction(ACTIVITY_SERVICE); try { startActivityForResult(intent, 0); } catch (Exception e) { // TODO Auto-generated catch block Log.e(":::ERROR::", e.toString()); Toast.makeText(SpeechActivtiy.this, e.toString(), 10).show(); } Log.v(":::","444"); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); } } speech.xml http://schemas.android.com/apk/res/android"; > AndroidMainfest.xml http://schemas.android.com/apk/res/android"; package="com.tutorial" android:versionCode="1" android:versionName="1.0"> string.xml Hello World, SpeechToText! SpeechTutorial voice recognition Demo Speak! -- 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
[android-developers] "android.speech.action.RECOGNIZE_SPEECH" activity not found
when we call Intent intent = new Intent("android.speech.action.RECOGNIZE_SPEECH"); startActivityForResult(intent, 0); After that show Exception: Activity not foun exception Exception: android.content.ActivitNotFoundException:No Activity Found to handle Intent{action=android.speech.action.RECOGNIZE_SPEECH} -- 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