[android-developers] Re: Accelerometer not working when screen turns off

2018-03-28 Thread sardar khan
How Google Fit app works when phone is locked and how he get sensor values. 
And Our apps don't get sensor values when phone is locked.

-- 
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/f1525ee1-0bd6-42b5-a432-916c770fd98b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] The emulator doesn't start

2017-03-01 Thread sardar khan
You can download ..3rd party emulator like blueStack and genemotion..or you
can test it on real device..

On Tue, Feb 28, 2017 at 12:00 AM, Nermin Ahmed  wrote:

> I'm beginner in using Android Studio and the emulator was working fine.
> Suddenly it doesn't start. I uninstalled Android Studio then re-install it
> but it still doesn't work. I cant create a new avd . I have error message:
> mksdcard.exe is missing in the sdk folder although i have installed SDK
> manager and downloaded the latest tools. How to solve this problem?
>
> --
> 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/46767d7b-c19f-4c61-9d92-
> 48b9f211f3a2%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/CABHzXATjFgAr1WOQtyT1jY1ZouacXnH4zNAqVfB67OYPNZ_qUA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Using "findViewbyId' in Broadcast Receiver

2017-01-24 Thread sardar khan
You can launch an Activity through broadcast receiver. that can change the
textview colour..

On Sun, Jan 15, 2017 at 4:02 AM, abdullah zaman <
engr.abdullahza...@gmail.com> wrote:

> How can I use findViewById() in a Broadcast Receiver class. Below is my
> code snippet. I get the error message: "can't resolve method findViewById"
> if used directly without class constructor (because find View by Id is
> Activity method and cant be used in Broadcast Receiver i suppose) . And if
> i try to use the class constructor (Where the imageView is available in my
> main activity) my app crashes saying " Unfortunately app has stopped" .
>
>  I just want to change the color of ImageView e.g "from black to blue" in
> the below if statement if it is possible by any other means pleas let me
> know.
>
> This is my Broadcast Receiver class
>
> public class MyBroadcastReceiver extends FirstBroadcastReceiver {
> Context context;Activity activity;public MyBroadcastReceiver(Context context, 
> Activity activity){
> this.context=context;
> this.activity=activity;}
>
> @Override
> protected void (Context context) {
> // content
> }
>
> @Override
> public void onButton(Context context, boolean isClick) {
>
> if(isClick) {
>
> ImageView blueImage = (ImageView) activity.findViewById(R.id.imageView);
> blueImage.setColorFilter(0xff00);
>  }
> }...
> // and so on
>
> And this is my Main Activity
>
> public class MainActivity extends AppCompatActivity {
> @Overrideprotected void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.activity_main);
>  // and so on
> }}
>
> MyBroadcastReceiver myBroadcastReceiver = new 
> MyBroadcastReceiver(MainActivity.this,this);
>
>  @Override
>  public void onActivityResult() {
>   // some code
>   }
> @Override
>  public void onInitialized(MyManager manager){
>  // some code
>  }
>
>
> --
> 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/31c0874e-3c84-4f1a-b17d-
> 85cde28741ec%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/CABHzXAS_bVowxdvomLrnL3aJTyYutyFHGRVXnL_RCbh0bBvcVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Face recognition using Android Mobile Vision

2016-11-30 Thread sardar khan
opencv is best for you and you can reduce the size of the apk as well.

On Wed, Nov 30, 2016 at 1:07 PM, Anmol Gupta <gupta.anmol...@gmail.com>
wrote:

> The open CV library increase the size of the apk. Is there any other way
> of face recognition
> Actually i just want the app to check that a face in an image matches to
> faces in another set of images, its not like that i want it to search on
> the internet or osmething of that sorts.
> Waiting for your response
>
> On Wednesday, 30 November 2016 12:28:00 UTC+5:30, sardar khan wrote:
>>
>> Mobile vision provide only the solution for face detection not for face
>> recognition.Your problem is related to face recognition,which is provided
>> by the openCV.
>>
>> On Tue, Nov 29, 2016 at 12:29 AM, Anmol Gupta <gupta.a...@gmail.com>
>> wrote:
>>
>>> I am trying to make an app which takes in 2 or more images and detects
>>> whether if there is same person in all those images or not.
>>> I don't want to use open CV for this as that increases the size of the
>>> apk.
>>> Also I am unable to get support from elsewhere. If you know how should i
>>> proceed, kindly reply on this thread.
>>> 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-d...@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/ms
>>> gid/android-developers/5484b94b-2ee0-4487-87c0-b0c2b2daec79%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/android-developers/5484b94b-2ee0-4487-87c0-b0c2b2daec79%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> 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/76f4e175-3125-4a3c-a1c5-
> b23be56dac4a%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/76f4e175-3125-4a3c-a1c5-b23be56dac4a%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CABHzXAT5Wk_YoM%3Db1y-qe24oc3uGAeq-2ZnjWZyQ6pr8NGdRTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Face recognition using Android Mobile Vision

2016-11-29 Thread sardar khan
Mobile vision provide only the solution for face detection not for face
recognition.Your problem is related to face recognition,which is provided
by the openCV.

On Tue, Nov 29, 2016 at 12:29 AM, Anmol Gupta 
wrote:

> I am trying to make an app which takes in 2 or more images and detects
> whether if there is same person in all those images or not.
> I don't want to use open CV for this as that increases the size of the
> apk.
> Also I am unable to get support from elsewhere. If you know how should i
> proceed, kindly reply on this thread.
> 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/5484b94b-2ee0-4487-87c0-
> b0c2b2daec79%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/CABHzXASJEgQrEABg4gxEyYqpNevnazt_Hfhjhw9k7nDAaW-2OA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Can not upload Pictures for Achievements

2016-11-25 Thread sardar khan
ok.be happy..

On Fri, Nov 25, 2016 at 8:49 PM, KICKinYaFACE  wrote:

> It's somewhat working now.
> I still get the "invalid file" messages, sometimes i get "try again"
> messages but on the thrid or fourth try its accepted now.
>
> --
> 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/80ef6458-f6ff-43ee-a7a2-
> 10259c02de6d%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/CABHzXAQa8%3DjQ9EM7fNtFJwCi-iiJP2JOMv1fwxpxBWv%2BsjmgOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can not upload Pictures for Achievements

2016-11-25 Thread sardar khan
it should be a bug from google developer console.

On Fri, Nov 25, 2016 at 6:43 PM, AffNaff  wrote:

> I have this same problem today. Earlier everything was working fine. I'll
> send e-mail to Google Technical Support for Developers, if they answer my
> question about this I will share with you this knowledge.
>
> I hope that somebody here tell more faster than Google.
>
> --
> 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/391f3c8f-a008-482d-ada6-
> cf654ff456c6%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/CABHzXASHfBpyD2b9QePaCdPc0LXTnn5sadTG9eR_djWkRqP-Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can not upload Pictures for Achievements

2016-11-25 Thread sardar khan
http://www.picresize.com/
use this to make images..to png and jpg

On Fri, Nov 25, 2016 at 6:13 PM, sardar khan <sardar.khan...@gmail.com>
wrote:

> try jpg
>
> On Fri, Nov 25, 2016 at 6:06 PM, KICKinYaFACE <kickinyaf...@web.de> wrote:
>
>> PNGs do not work for me as well.
>>
>> Am Freitag, 25. November 2016 14:01:56 UTC+1 schrieb sardar khan:
>>>
>>> use png images
>>>
>>> On Fri, Nov 25, 2016 at 5:30 PM, KICKinYaFACE <kickin...@web.de> wrote:
>>>
>>>> Hey there,
>>>>
>>>> I'm developing a Game for Android and I'm currently setting up the
>>>> Achievements for it. Everything is working so far, except the pictures i
>>>> need for the Achievements.
>>>>
>>>> The Developer Console says, that i need to upload a JPG or 24Bit PNG
>>>> File with the size of 512x512. My files do fulfil these requirements but
>>>> the developer-console-page tells me my files are invalid and i need to
>>>> upload a JPG or 24Bit PNG ...
>>>>
>>>> What can i do? I actually wanted to release my game in the next few
>>>> hours ...
>>>>
>>>
>>> --
>> 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/ms
>> gid/android-developers/aa21ad93-e5ce-44ce-8173-20eb71a71f59%
>> 40googlegroups.com
>> <https://groups.google.com/d/msgid/android-developers/aa21ad93-e5ce-44ce-8173-20eb71a71f59%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> 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/CABHzXAR7ZiW-%3Daux%2BVEZpdXejnZyFqO3z%3DrNsjLDUc2C9%3Df39w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can not upload Pictures for Achievements

2016-11-25 Thread sardar khan
try jpg

On Fri, Nov 25, 2016 at 6:06 PM, KICKinYaFACE <kickinyaf...@web.de> wrote:

> PNGs do not work for me as well.
>
> Am Freitag, 25. November 2016 14:01:56 UTC+1 schrieb sardar khan:
>>
>> use png images
>>
>> On Fri, Nov 25, 2016 at 5:30 PM, KICKinYaFACE <kickin...@web.de> wrote:
>>
>>> Hey there,
>>>
>>> I'm developing a Game for Android and I'm currently setting up the
>>> Achievements for it. Everything is working so far, except the pictures i
>>> need for the Achievements.
>>>
>>> The Developer Console says, that i need to upload a JPG or 24Bit PNG
>>> File with the size of 512x512. My files do fulfil these requirements but
>>> the developer-console-page tells me my files are invalid and i need to
>>> upload a JPG or 24Bit PNG ...
>>>
>>> What can i do? I actually wanted to release my game in the next few
>>> hours ...
>>>
>>
>> --
> 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/aa21ad93-e5ce-44ce-8173-
> 20eb71a71f59%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/aa21ad93-e5ce-44ce-8173-20eb71a71f59%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CABHzXAR2eG50EYMAM0K8kby_XZ87dALNRMNrXPOjoqT%3DMSkiJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can not upload Pictures for Achievements

2016-11-25 Thread sardar khan
use png images

On Fri, Nov 25, 2016 at 5:30 PM, KICKinYaFACE  wrote:

> Hey there,
>
> I'm developing a Game for Android and I'm currently setting up the
> Achievements for it. Everything is working so far, except the pictures i
> need for the Achievements.
>
> The Developer Console says, that i need to upload a JPG or 24Bit PNG File
> with the size of 512x512. My files do fulfil these requirements but the
> developer-console-page tells me my files are invalid and i need to upload a
> JPG or 24Bit PNG ...
>
> What can i do? I actually wanted to release my game in the next few hours
> ...
>
> --
> 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/70ed8709-8e09-4a12-8b67-
> 335fa995dab8%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/CABHzXASE3dsGLday2gi5M3Btt1Y%3DxpHuFmnBsoV4xFckw_P0Cw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Do i need Gcm( google cloud messaging ) for generating notification periodically?

2016-11-20 Thread sardar khan
You can Use FCM(Firebase Cloud Messaging).

On Mon, Nov 21, 2016 at 11:49 AM, oiyio  wrote:

> Hello,
>
> i want to generate notification periodically, for example i want to
> generate notification A for every day in 12.00 and notification B for every
> day every hour between 12.00 - 18.00. How can i do it what do i need to use
> for implementing this? Do i need Gcm( google cloud messaging ) for doing
> this ?
>
> --
> 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/0304bf95-5288-43ae-b0f9-
> 171a365b92cc%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/CABHzXAR03-fvnrJ64LDatwqAvC8jHkkg-5aH1PP2jvK6p%3D9G0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] App works fine on Kitkat, but does not work on Lollypop

2016-11-17 Thread sardar khan
kindly post the logcat error here.

On Thu, Nov 17, 2016 at 9:51 PM, Timothy Hopfer 
wrote:

> I made an app that tests the speakers in an HTC phone.  it tests both the
> bottom speaker, the top speaker, and the headphones, all while the
> headphones are plugged in.  It works perfectly in the HTC Desire Eye that
> is running KitKat 4.4.4, but it does not work correctly on the HTC Desire
> that is running Lollypop 5.1.  In the lollypop phone, it only plays from
> the bottom speaker, and if the headphones are plugged in, it goes through
> the headphones instead.  I have been looking everywhere but cant find the
> answer.  Does anyone know what I should do to make my app work in
> Lollypop?  I have included the code in case you see some deprecated code
> that I should update.  Also, the app does not crash on Lollypop, just does
> the audiomanager or mediaplayer doesn't work the correctly.  Thanks so much.
>
> public class LeftSpeakerActivity extends Activity {
> int default_mode; //Saves the default mode of the device
> int music_volume; //Saves the default volume of the music stream
> int call_volume; //Saves the default volume of the in call stream
> String device_type = null;//Stores the device type
> AudioManager audioManager; //Object to provide access to system
> volume controls and settings
> String model = android.os.Build.MODEL;
> String Manufacturer = android.os.Build.MANUFACTURER;
> boolean isNexus = false;
> TextView title_text;
> MediaPlayer mp;
> //preset volume
> int volume = 10;
> public final static String log_tag = "LeftSpeaker";
>
> Handler mHandler = new Handler();
> /*
> * (non-Javadoc)
> * @see android.app.Activity#onCreate(android.os.Bundle).
> * First function entered when the application is created
> * This function is used to initialize the layout and the device
> type
> * based on the model and device Manufacturer.This function also
> stores
> * the default audio stream value and modes to reset it back to
> these
> * values once we exit the application
> */
> @Override
> protected void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
>
> /*
>  * API's to launch the application when the tablet is locked or
>  * display is turned off
>  */
> getWindow().addFlags(WindowManager.LayoutParams.
> FLAG_TURN_SCREEN_ON);
> getWindow().addFlags(WindowManager.LayoutParams.
> FLAG_DISMISS_KEYGUARD);
> getWindow().addFlags(WindowManager.LayoutParams.
> FLAG_SHOW_WHEN_LOCKED);
> //setRequestedOrientation(ActivityInfo.SCREEN_
> ORIENTATION_LANDSCAPE);
> setRequestedOrientation(ActivityInfo.SCREEN_
> ORIENTATION_LOCKED);
> setContentView(R.layout.activity_left_speaker);
>
>
> title_text = ((TextView) findViewById(R.id.textView3));
> title_text.setTextColor(Color.RED);
> title_text.setText("LEFT SPEAKER TEST IN PROGRESS" + "\n" +
> "VOLUME IS SET AT" + volume);
> Context mContext = getApplicationContext();
> createTempFile("Status_LeftSpeaker.txt", "INPROGRESS");
>
> audioManager = (AudioManager) getSystemService(Context.
> AUDIO_SERVICE);
> default_mode = audioManager.getMode();
> music_volume = audioManager.getStreamVolume(
> AudioManager.STREAM_MUSIC);
> call_volume = audioManager.getStreamVolume(
> AudioManager.STREAM_VOICE_CALL);
>
> //Setting the volume level
> audioManager.setStreamVolume(AudioManager.STREAM_MUSIC,volume,
> AudioManager.FLAG_SHOW_UI);
> audioManager.setStreamVolume(AudioManager.STREAM_VOICE_CALL,
> volume, AudioManager.FLAG_SHOW_UI);
> audioManager.setSpeakerphoneOn(true);
>
> //start_playing();
> playSound(true);
>
> }
> //TRUE PLAYS OVER SPEAKERS
> private void playSound(boolean speakers){
>
> mp = MediaPlayer.create(getApplicationContext(),
> R.raw.tone_right);
> if (speakers){
> mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
>
> }else {
> mp.setAudioStreamType(AudioManager.STREAM_VOICE_CALL);
>
> }
> mp.start();
> mp.setOnCompletionListener(new MediaPlayer.OnCompletionListener()
> {
> @Override
> public void onCompletion(MediaPlayer mp) {
> createTempFile("Status_LeftSpeaker.txt", "COMPLETED");
> exit_function();
> }
> });
> }
>
>
> private void exit_function() {
> onDestroy();
> }
>
> @Override
> /*
>  * (non-Javadoc)
>  

Re: [android-developers] Re: ImageLoader error and crashes the application

2016-11-17 Thread sardar khan
http://tekeye.biz/2014/android-bitmap-loading
kindly check this example..
http://blog.wittchen.biz.pl/avoiding-outofmemory-error-while-loading-large-bitmaps-in-android-ui/

On Thu, Nov 17, 2016 at 8:21 PM, Chairi Kiourt  wrote:

> Dear Sardar, first of thank you for your answer.
> Is it easy for you explain me what I have to do or give me a code example
> based on my code, because I am not so familiar with java android code.
>
> Thank you again
>
> --
> 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/a5733075-0d56-40fd-aec0-
> 50a922a2ca35%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/CABHzXATT3VegK83ZDfbvo1eMbnt%2BCE_1CyKEJaNfe8CpiV6SVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: ImageLoader error and crashes the application

2016-11-16 Thread sardar khan
1.you have to scale down your bitmaps by seeing best practices by android
developers
https://developer.android.com/training/displaying-bitmaps/load-bitmap.html#read-bitmap

2. you have to process bitmap off the UI thread. check this..
https://developer.android.com/training/displaying-bitmaps/process-bitmap.html

3. If you load any images from resource also scale down its size.
Thanks hope this helps you out..
Couple off days ago i also solve the problem by using these links..


On Thu, Nov 17, 2016 at 1:27 AM, Chairi Kiourt  wrote:

> Any help please???
>
>
>
>
> On Tuesday, November 15, 2016 at 7:04:11 PM UTC+2, Chairi Kiourt wrote:
>>
>> Hi everyone i am new to android
>>
>> I have an app which gets data from a mysql by using php. The problem is
>> that the application crashes some times unexpectivly, i put the firebase
>> crash report and i get the following errors:
>>
>> Exception java.lang.IllegalStateException: ImageLoader must be init with
>> configuration before using
>> com.nostra13.universalimageloader.core.ImageLoader.checkConfiguration (
>> ImageLoader.java:568)
>> com.nostra13.universalimageloader.core.ImageLoader.displayImage (
>> ImageLoader.java:208)
>> com.nostra13.universalimageloader.core.ImageLoader.displayImage (
>> ImageLoader.java:365)
>> com.nostra13.universalimageloader.core.ImageLoader.displayImage (
>> ImageLoader.java:340)
>> forme.restaurant.digital.menu.view.ImageUtil.displayRoundImage (ImageUtil
>> .java:29)
>> forme.restaurant.digital.menu.activities.RecycleViewAdapterNew.onBindViewHolder
>> (RecycleViewAdapterNew.java:108)
>> forme.restaurant.digital.menu.activities.RecycleViewAdapterNew.onBindViewHolder
>> (RecycleViewAdapterNew.java:36)
>> android.support.v7.widget.RecyclerView$Adapter.bindViewHolder (
>> RecyclerView.java:5138)
>> android.support.v7.widget.RecyclerView$Recycler.getViewForPosition (
>> RecyclerView.java:4433)
>> android.support.v7.widget.RecyclerView$Recycler.getViewForPosition (
>> RecyclerView.java:4326)
>> android.support.v7.widget.LinearLayoutManager$LayoutState.next (
>> LinearLayoutManager.java:1955)
>> android.support.v7.widget.LinearLayoutManager.layoutChunk (
>> LinearLayoutManager.java:1364)
>> android.support.v7.widget.LinearLayoutManager.fill (LinearLayoutManager.
>> java:1327)
>> android.support.v7.widget.LinearLayoutManager.onLayoutChildren (
>> LinearLayoutManager.java:556)
>> android.support.v7.widget.RecyclerView.dispatchLayout (RecyclerView.java:
>> 2713)
>> android.support.v7.widget.RecyclerView.onLayout (RecyclerView.java:3011)
>> android.view.View.layout (View.java:15905)
>> android.view.ViewGroup.layout (ViewGroup.java:5108)
>> android.widget.LinearLayout.setChildFrame (LinearLayout.java:1959)
>> android.widget.LinearLayout.layoutVertical (LinearLayout.java:1813)
>> android.widget.LinearLayout.onLayout (LinearLayout.java:1722)
>> android.view.View.layout (View.java:15905)
>> android.view.ViewGroup.layout (ViewGroup.java:5108)
>> android.widget.FrameLayout.layoutChildren (FrameLayout.java:633)
>> android.widget.FrameLayout.onLayout (FrameLayout.java:568)
>> android.view.View.layout (View.java:15905)
>> android.view.ViewGroup.layout (ViewGroup.java:5108)
>> android.support.v7.internal.widget.ActionBarOverlayLayout.onLayout (
>> ActionBarOverlayLayout.java:493)
>> android.view.View.layout (View.java:15905)
>> android.view.ViewGroup.layout (ViewGroup.java:5108)
>> android.widget.FrameLayout.layoutChildren (FrameLayout.java:633)
>> android.widget.FrameLayout.onLayout (FrameLayout.java:568)
>> android.view.View.layout (View.java:15905)
>> android.view.ViewGroup.layout (ViewGroup.java:5108)
>> android.widget.LinearLayout.setChildFrame (LinearLayout.java:1959)
>> android.widget.LinearLayout.layoutVertical (LinearLayout.java:1813)
>> android.widget.LinearLayout.onLayout (LinearLayout.java:1722)
>> android.view.View.layout (View.java:15905)
>> android.view.ViewGroup.layout (ViewGroup.java:5108)
>> android.widget.FrameLayout.layoutChildren (FrameLayout.java:633)
>> android.widget.FrameLayout.onLayout (FrameLayout.java:568)
>> android.view.View.layout (View.java:15905)
>> android.view.ViewGroup.layout (ViewGroup.java:5108)
>> android.view.ViewRootImpl.performLayout (ViewRootImpl.java:2425)
>> android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:2131)
>> android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1256)
>> android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:6443)
>> android.view.Choreographer$CallbackRecord.run (Choreographer.java:800)
>> android.view.Choreographer.doCallbacks (Choreographer.java:603)
>> android.view.Choreographer.doFrame (Choreographer.java:572)
>> android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.
>> java:786)
>> android.os.Handler.handleCallback (Handler.java:815)
>> android.os.Handler.dispatchMessage (Handler.java:104)
>> android.os.Looper.loop (Looper.java:194)
>> android.app.ActivityThread.main (ActivityThread.java:5576)
>> 

Re: [android-developers] Android studio Canvas problem

2016-11-15 Thread sardar khan
you can save bitmap from canvas and make it a image..
http://stackoverflow.com/questions/8179064/how-to-save-the-drawing-canvas-in-android

On Wed, Nov 16, 2016 at 11:42 AM, Zonaira Batool 
wrote:

> Is it possible to create a folder in android app which stores and contain
> images,which are drawable by user on canvas.
>
> --
> 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/c5397d58-a79f-4222-b90b-
> 4a9cfdce9430%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/CABHzXASPLxjf5GddTfps%3DCw9DVH_Vrbz-O-M_oN2ApS4xfcFhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] How to keep crash report of android app

2016-11-08 Thread sardar khan
https://firebase.google.com/docs/crash/android
you can use this,,

On Tue, Nov 8, 2016 at 11:32 PM, Chairi Kiourt  wrote:

> Thank you for your answer Steve Gabrilowitz, like i notice this code
> creates a string with the error, but i didnt understand if stores the
> string into a file, if it stores the error into a file, where i can find
> the file ??? and does any error is stored into a new file ??? which means
> that i will have several error files for several crashes ???
>
>
> Thank you again
>
>
>
> On Tuesday, November 8, 2016 at 7:53:04 PM UTC+2, Steve Gabrilowitz wrote:
>>
>> Try something like this:
>>
>> package com.gabriloware.teslalib;
>>
>> import java.io.PrintWriter;
>> import java.io.StringWriter;
>>
>> import android.content.Context;
>> import android.content.Intent;
>> import android.os.Build;
>>
>> public class ExceptionHandler implements
>>   Thread.UncaughtExceptionHandler {
>>private final Context myContext;
>>private final String LINE_SEPARATOR = "\n";
>>
>> private Tesla MyTesla=null;
>>
>>public ExceptionHandler(Context context) {
>>   myContext = context;
>>}
>>
>>public void uncaughtException(Thread thread, Throwable exception) {
>>   StringWriter stackTrace = new StringWriter();
>>   exception.printStackTrace(new PrintWriter(stackTrace));
>>   StringBuilder errorReport = new StringBuilder();
>>   errorReport.append(" CAUSE OF ERROR \n\n");
>>   errorReport.append(stackTrace.toString());
>>
>> /*
>>   errorReport.append("\n DEVICE INFORMATION ***\n");
>>   errorReport.append("Brand: ");
>>   errorReport.append(Build.BRAND);
>>   errorReport.append(LINE_SEPARATOR);
>>   errorReport.append("Device: ");
>>   errorReport.append(Build.DEVICE);
>>   errorReport.append(LINE_SEPARATOR);
>>   errorReport.append("Model: ");
>>   errorReport.append(Build.MODEL);
>>   errorReport.append(LINE_SEPARATOR);
>>   errorReport.append("Id: ");
>>   errorReport.append(Build.ID);
>>   errorReport.append(LINE_SEPARATOR);
>>   errorReport.append("Product: ");
>>   errorReport.append(Build.PRODUCT);
>>   errorReport.append(LINE_SEPARATOR);
>>   errorReport.append("\n FIRMWARE \n");
>>   errorReport.append("SDK: ");
>>   errorReport.append(Build.VERSION.SDK);
>>   errorReport.append(LINE_SEPARATOR);
>>   errorReport.append("Release: ");
>>   errorReport.append(Build.VERSION.RELEASE);
>>   errorReport.append(LINE_SEPARATOR);
>>   errorReport.append("Incremental: ");
>>   errorReport.append(Build.VERSION.INCREMENTAL);
>>   errorReport.append(LINE_SEPARATOR);
>>
>> */
>> if (MyTesla==null)
>> MyTesla = new Tesla(myContext);
>> MyTesla.LogEvent("EXCEPTION",errorReport.toString());
>>
>> Intent intent = new Intent(myContext, CrashActivity.class);
>> intent.putExtra("error", errorReport.toString());
>> myContext.startActivity(intent);
>>
>>
>> android.os.Process.killProcess(android.os.Process.myPid());
>> System.exit(10);
>>
>>}
>>
>> }
>>
>>
>>
>> public class TeslaApplication extends Application {
>>
>> public  LogFragment Logger=null;
>>
>> @Override
>> public void onCreate() {
>> super.onCreate();
>> Thread.setDefaultUncaughtExceptionHandler(new 
>> ExceptionHandler(this));
>> new Tesla(this).Init2();
>>
>>
>> }
>>
>> ...
>>
>>
>> On Tue, Nov 8, 2016 at 12:01 PM, Chairi Kiourt  wrote:
>>
>>> Hi everyone,
>>>
>>> I am new on developing android app and i have a problem.
>>>
>>> I have developed and app for restaurant order in android studio, which
>>> communicates wit an Apache server to get the dishes, dish categories,
>>> available tables, receipts and etc.
>>> I use php to get the data from the mysql and to store data from the
>>> tablet (Android 5, Lenovo TAB 3 710F 7" ESSENTIAL).
>>> For me everything worked ok, in the emulator as well as in the tabet.
>>>
>>> I gave this app to an restaurant and they tell me that the app crashes
>>> some time, without giving any error notification, it say just that the app
>>> crashed and will restart.
>>> All the system works offline, without internet, just a local network.
>>>
>>> Now he question is, is there any way to keep somehow crash report in the
>>> tablet and in the end after some day to get them ?
>>> I find out that in logcat i can get the crash report if i get it
>>> exactly after the crash, the problem is that i cannot be there to get the
>>> logcat file in that moment.
>>>
>>> Please any help
>>>
>>>
>>> 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.
>>> 

Re: [android-developers] How to keep crash report of android app

2016-11-08 Thread sardar khan
See FireBase Integration in android.

On Tue, Nov 8, 2016 at 10:01 PM, Chairi Kiourt  wrote:

> Hi everyone,
>
> I am new on developing android app and i have a problem.
>
> I have developed and app for restaurant order in android studio, which
> communicates wit an Apache server to get the dishes, dish categories,
> available tables, receipts and etc.
> I use php to get the data from the mysql and to store data from the tablet
> (Android 5, Lenovo TAB 3 710F 7" ESSENTIAL).
> For me everything worked ok, in the emulator as well as in the tabet.
>
> I gave this app to an restaurant and they tell me that the app crashes
> some time, without giving any error notification, it say just that the app
> crashed and will restart.
> All the system works offline, without internet, just a local network.
>
> Now he question is, is there any way to keep somehow crash report in the
> tablet and in the end after some day to get them ?
> I find out that in logcat i can get the crash report if i get it exactly
> after the crash, the problem is that i cannot be there to get the logcat
> file in that moment.
>
> Please any help
>
>
> 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/1764d4ab-7c54-48d8-95a3-
> 40faab692b12%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/CABHzXAQAy8xA%2BNyesvVf1SJ0bSm3Q-3fBOYqboHmsfds%2B3R-Tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] unwanted posts

2016-11-04 Thread sardar khan
Yes i am also frustrated by these spam jobs..kindly remove it..

On Fri, Nov 4, 2016 at 12:01 PM, Soham Choudhury  wrote:

> A lot of unwanted job offers are being posted in the group. Please stop
> them.
>
> --
> 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/CAHtycyGq9zKdF03bUCVZc68thP3VY
> ydrwDprn%2BCY8f4kt220mQ%40mail.gmail.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/CABHzXASFAMuXTau7ZaH1EvjPMzYvrrg-HKOwh4vMnuFTZ1t%2BwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Change webpage in app without opening chrome?

2016-10-29 Thread sardar khan
You can use WebView in android.

On Sat, Oct 29, 2016 at 7:10 AM, DatOneLefty  wrote:

> My app runs a webpage, whenever I click on a link, it opens up the page in
> chrome and not the app. How can I fix this?
>
> --
> 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/3d396130-de27-44ce-84c7-
> dfec64fcbc99%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/CABHzXAT0Qa4EsBDLGuvLhyH%2BMP868xT%3DUg_ZtH69aeat45Mhpw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] A/libc: Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1), thread 25881 (WebViewCoreThre)

2016-10-26 Thread sardar khan
Clear cache every time when you done loading one webview and about to start
load another webview.

On Wed, Oct 26, 2016 at 2:20 PM, <a2networks.t...@gmail.com> wrote:

> Unfortunatly i started the party to early...
>
> the same error is occuring again...
>
> Op woensdag 26 oktober 2016 11:07:41 UTC+2 schreef sardar khan:
>>
>> Ok.np.
>>
>> On Wed, Oct 26, 2016 at 1:59 PM, <a2netwo...@gmail.com> wrote:
>>
>>> Thank you very much...
>>>
>>> This problem has been resolved with clearing the cache
>>>
>>> webview.clearCache(true);
>>> webview.destroyDrawingCache();
>>>
>>> However a Fatal signal 7 (SIGBUS) at 0x (code=128), thread 13497 
>>> (WebViewCoreThre) occurs so let's get to that one ...
>>>
>>>
>>>
>>> Op woensdag 26 oktober 2016 09:18:27 UTC+2 schreef sardar khan:
>>>>
>>>> You can see these links
>>>> http://stackoverflow.com/questions/4973310/signal-11-sigsegv
>>>> -crash-android
>>>> http://stackoverflow.com/questions/18755318/webview-destroy-
>>>> causing-fatal-signal-11-crash
>>>> http://stackoverflow.com/questions/22566215/fatal-signal-11-
>>>> sigsevg-in-my-webview
>>>> hope this will help .Thanks
>>>>
>>>> On Wed, Oct 26, 2016 at 11:58 AM, <a2netwo...@gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I wrote an (really basic) application to control access for a
>>>>> building. This application exists of multiple buttons (10 in total).
>>>>> Per door there are 2 buttons. One button acts as an pulse buton. When
>>>>> clicking the pulse button a timer function will be enabled and after 5
>>>>> seconds the function will be disabled.
>>>>> The other button enables or disables the function manualy (without a
>>>>> timer).
>>>>>
>>>>> When the function is enabled a URL request is send out to load within
>>>>> a WebView. The URL that is requested is an URL trigger for a webrelay 
>>>>> which
>>>>> will trgger the door to unlock.
>>>>> When the function is disabled a URL request is send out to load within
>>>>> a WebView. The URL that is requested is an URL trigger for a webrelay 
>>>>> which
>>>>> will trgger the door to lock.
>>>>> For testing the URL request i used URL's like:
>>>>> http://www.cisco.com
>>>>> http://www, nu.nl
>>>>>
>>>>> The URL's requested will appear in a Webview (which will be invisible
>>>>> in the final version).
>>>>> Each door has it's own door WebView.
>>>>>
>>>>> So for short:
>>>>> One door has:
>>>>> 2 buttons;
>>>>> 1 timer function;
>>>>> 1 WebView.
>>>>>
>>>>> There are 5 doors in total.
>>>>>
>>>>> Now the problem coms that after running this error will occure:
>>>>> A/libc: Fatal signal 11 (SIGSEGV) at 0x001c (code=1), thread 25881
>>>>> (WebViewCoreThre)
>>>>>
>>>>> After searching on the internet, i learned this could be a memory
>>>>> issue.
>>>>> But i don't have a clue to how address this, or what the problem could
>>>>> be. I tried to eleminate the images that i used, but that didn't work.
>>>>>
>>>>> The application is develloped for Android 4.1 (Jellybean).
>>>>>
>>>>> How can i resolve this problem ??
>>>>>
>>>>> Regards.
>>>>>
>>>>> Dennie
>>>>>
>>>>> --
>>>>> 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-d...@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/c9b1e7b
>>>>> 5-f16f-470a-a524-766993d9a777%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/android-

Re: [android-developers] A/libc: Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1), thread 25881 (WebViewCoreThre)

2016-10-26 Thread sardar khan
Ok.np.

On Wed, Oct 26, 2016 at 1:59 PM, <a2networks.t...@gmail.com> wrote:

> Thank you very much...
>
> This problem has been resolved with clearing the cache
>
> webview.clearCache(true);
> webview.destroyDrawingCache();
>
> However a Fatal signal 7 (SIGBUS) at 0x (code=128), thread 13497 
> (WebViewCoreThre) occurs so let's get to that one ...
>
>
>
> Op woensdag 26 oktober 2016 09:18:27 UTC+2 schreef sardar khan:
>>
>> You can see these links
>> http://stackoverflow.com/questions/4973310/signal-11-sigsegv
>> -crash-android
>> http://stackoverflow.com/questions/18755318/webview-destroy-
>> causing-fatal-signal-11-crash
>> http://stackoverflow.com/questions/22566215/fatal-signal-11-
>> sigsevg-in-my-webview
>> hope this will help .Thanks
>>
>> On Wed, Oct 26, 2016 at 11:58 AM, <a2netwo...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I wrote an (really basic) application to control access for a building.
>>> This application exists of multiple buttons (10 in total).
>>> Per door there are 2 buttons. One button acts as an pulse buton. When
>>> clicking the pulse button a timer function will be enabled and after 5
>>> seconds the function will be disabled.
>>> The other button enables or disables the function manualy (without a
>>> timer).
>>>
>>> When the function is enabled a URL request is send out to load within a
>>> WebView. The URL that is requested is an URL trigger for a webrelay which
>>> will trgger the door to unlock.
>>> When the function is disabled a URL request is send out to load within a
>>> WebView. The URL that is requested is an URL trigger for a webrelay which
>>> will trgger the door to lock.
>>> For testing the URL request i used URL's like:
>>> http://www.cisco.com
>>> http://www, nu.nl
>>>
>>> The URL's requested will appear in a Webview (which will be invisible in
>>> the final version).
>>> Each door has it's own door WebView.
>>>
>>> So for short:
>>> One door has:
>>> 2 buttons;
>>> 1 timer function;
>>> 1 WebView.
>>>
>>> There are 5 doors in total.
>>>
>>> Now the problem coms that after running this error will occure:
>>> A/libc: Fatal signal 11 (SIGSEGV) at 0x001c (code=1), thread 25881
>>> (WebViewCoreThre)
>>>
>>> After searching on the internet, i learned this could be a memory issue.
>>> But i don't have a clue to how address this, or what the problem could
>>> be. I tried to eleminate the images that i used, but that didn't work.
>>>
>>> The application is develloped for Android 4.1 (Jellybean).
>>>
>>> How can i resolve this problem ??
>>>
>>> Regards.
>>>
>>> Dennie
>>>
>>> --
>>> 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-d...@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/ms
>>> gid/android-developers/c9b1e7b5-f16f-470a-a524-766993d9a777%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/android-developers/c9b1e7b5-f16f-470a-a524-766993d9a777%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> 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/378dc448-d46a-4a6d-87d4-
> b28ff9863632%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/378dc448-d46a-4a6d-87d4-b28ff9863632%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CABHzXATOKF-GoX2_xeWz2%2B6P3LV8oe8ogNeutZtcZweGRUL8GA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] I am having some issues with my manifest.xml file .

2016-10-26 Thread sardar khan
Can you post the logcat error message here so that we can see what error is
occuring ..

On Wed, Oct 26, 2016 at 12:09 PM, Rudra Upadhyay 
wrote:

> My app is crashing when I access another activity in app. Please help me
> find the error.
> Here is the code.
>
> 
> http://schemas.android.com/apk/res/android;
> package="prjct.gramya">
>
> 
> 
> 
> 
>
>  android:allowBackup="true"
> android:icon="@mipmap/ic_launcher"
> android:label="@string/app_name"
> android:supportsRtl="true"
> android:theme="@style/AppTheme">
>  android:name=".LoginActivity"
> android:label="@string/title_activity_login">
> 
> 
>
> 
> 
> 
>  android:name=".MainActivity"
> android:label="@string/app_name"
> android:theme="@style/AppTheme.NoActionBar">
>  android:label=" Electrician"/>
>
>  android:label=" Select Your City"/>
>  android:label="Enter Your Address"/>
>
> 
> 
>  android:name="com.google.android.gms.version"
> android:value="@integer/google_play_services_version" />
>
>
> 
>
> 
>
> --
> 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/99557aff-c84c-42bb-808f-
> 2fff54fe1c89%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/CABHzXAT%3DLhDF4_E1%3DHv9u9qoP%3DokDdmwV9r9tFVaHapDrwe-pA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] A/libc: Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1), thread 25881 (WebViewCoreThre)

2016-10-26 Thread sardar khan
You can see these links
http://stackoverflow.com/questions/4973310/signal-11-sigsegv-crash-android
http://stackoverflow.com/questions/18755318/webview-destroy-causing-fatal-signal-11-crash
http://stackoverflow.com/questions/22566215/fatal-signal-11-sigsevg-in-my-webview
hope this will help .Thanks

On Wed, Oct 26, 2016 at 11:58 AM,  wrote:

> Hello,
>
> I wrote an (really basic) application to control access for a building.
> This application exists of multiple buttons (10 in total).
> Per door there are 2 buttons. One button acts as an pulse buton. When
> clicking the pulse button a timer function will be enabled and after 5
> seconds the function will be disabled.
> The other button enables or disables the function manualy (without a
> timer).
>
> When the function is enabled a URL request is send out to load within a
> WebView. The URL that is requested is an URL trigger for a webrelay which
> will trgger the door to unlock.
> When the function is disabled a URL request is send out to load within a
> WebView. The URL that is requested is an URL trigger for a webrelay which
> will trgger the door to lock.
> For testing the URL request i used URL's like:
> http://www.cisco.com
> http://www, nu.nl
>
> The URL's requested will appear in a Webview (which will be invisible in
> the final version).
> Each door has it's own door WebView.
>
> So for short:
> One door has:
> 2 buttons;
> 1 timer function;
> 1 WebView.
>
> There are 5 doors in total.
>
> Now the problem coms that after running this error will occure:
> A/libc: Fatal signal 11 (SIGSEGV) at 0x001c (code=1), thread 25881
> (WebViewCoreThre)
>
> After searching on the internet, i learned this could be a memory issue.
> But i don't have a clue to how address this, or what the problem could be.
> I tried to eleminate the images that i used, but that didn't work.
>
> The application is develloped for Android 4.1 (Jellybean).
>
> How can i resolve this problem ??
>
> Regards.
>
> Dennie
>
> --
> 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/c9b1e7b5-f16f-470a-a524-
> 766993d9a777%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/CABHzXAQpHc8H7XToFj822HVGiCNyBjXpPPtNXTuiYdUsNgMx9w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Facebook api with android development

2016-10-25 Thread sardar khan
You can use your private acount to make app on facebook . And you can only
make an app on facebook developer console that donot harm your privacy and
there is no security issue about this.If you are more curious about it you
can make another account and use this for making app in facebook.Yes you
can use some other facebook accounts app to use login and share
functionality of facebook in your app.You just need the app credential from
facebook developer console. Sure it will help .. Sorry for bad
english.Thanks

On Tue, Oct 25, 2016 at 2:02 PM, Fil  wrote:

> Hi,
> I want to use facebook login inside my application that I plan to put on
> google play.
> I read that I need to obtain facebook api in order to user the facebook
> functionalities (share and so on...), but where do I obtain this?
>
> Questions:
> 1) I found that i need to regiter in facebook developers using "my?"
> facebook account?
>
> 2) is it possible to use some "application" facebook account? is there
> something like this? because I don't want to user my private facebook to
> tied with my application api
>
> 3) is there some security danger if I use private facebook to obtain the
> facebook api?
>
> 4) how do the other companies? Do their bosses use their private facebook
> to obtain facebook api?
>
> 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/88598a7a-87c2-4d58-92fa-
> e9419b8ea439%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/CABHzXASf_X-iSae8hGjv16pRqaV_f5B_xMqs9SC5TtHBb0P9wA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] About granding permission above Marshmallow.

2016-10-24 Thread sardar khan
Why you need camera permission to turn on the flash light.If any app is
build for turning the flash light on so why is the permission for camera..??

On Tue, Oct 25, 2016 at 9:31 AM, YoYo Hai  wrote:

> I have read something about permission in "https://developer.android.
> com/training/permissions/declaring.html".
> In there i have seen "Depending on how sensitive the permission is, the
> system might grant the permission automatically, or the device user might
> have to grant the request. For example, if your app requests permission
> to turn on the device's flashlight, the system grants that permission
> automatically."
> My question is that for accessing the flashlight we have request the
> camera permission first. so why did it written that for flashlight app
> the permission will be grand automatically.
>
> --
> 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/5788cde8-a258-4854-a5f1-
> d25b5b221fac%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/CABHzXAS_4LGfjxaZZJcicXis0RM%3DqTyPLORrd3i9Wqv6VxSWDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Change Keyboard Key label at runtime

2016-10-24 Thread sardar khan
Check you system log message for error.

On Mon, Oct 24, 2016 at 3:26 PM, Simao Ngole 
wrote:

> SORRY I KNOW THAT YOU ARE NOT TALKING ABOUT THIS, BUT I NEED HELP WITH THIS
>> guys please help.  i am having some little problem on my android studio,
>> when i try to create new project, there's some error saying: 
>> Error:CreateProcess
>> error=216, This version of %1 is not compatible with the version of Windows
>> you're running. Check your computer's system information to see whether you
>> need a x86 (32-bit) or x64 (64-bit) version of the program, and then
>> contact the software publisher.  my windows is 32bits then i dont
>> understand why its happen. i am biginer. please don't write any shortcut
>> word becouse i dont't speak English corretly.
>>
> --
> 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/50a82a3e-d1c9-45ec-862a-
> 80a85c78f32d%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/CABHzXARxv6Kizm3xhns_F5dr%3Dk7QesJhYHZsyZLS-h37%2BKaU_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] New comer

2016-10-24 Thread sardar khan
This might be the issue that you have 32 bit computer and you install 64
bit version of android studio.or viceversa.

On Mon, Oct 24, 2016 at 3:21 PM, Simao Ngole 
wrote:

> guys please help.  i am having some little problem on my android studio,
> when i try to create new project, there's some error saying: 
> Error:CreateProcess
> error=216, This version of %1 is not compatible with the version of Windows
> you're running. Check your computer's system information to see whether you
> need a x86 (32-bit) or x64 (64-bit) version of the program, and then
> contact the software publisher.  my windows is 32bits then i dont
> understand why its happen. i am biginer. please don't write any shortcut
> word becouse i dont't speak English corretly.
>
>
>  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/708cbd9b-e178-4e15-82db-
> 4974b06bb0c3%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/CABHzXATEdXvojm8Q1ifMUTtjtfNwv3TQcNuEYENeHHeJ0NVcBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Who can help me ?

2016-10-07 Thread sardar khan
yes you can change apk when you want and now its ok to upload directly as
Production APK..Thanks

On Fri, Oct 7, 2016 at 9:26 PM,  wrote:

> Hello guys ,
>
> i've got a problem, i published my app directly with the production
> version and  when i download it . it WONT open ! ?
>
> i have 2 question :
>
> 1. do i need to publish my app first in Alpha/Beta Version ?
> 2. if i have already published my app with the production version APK
> can't i delete it to change it in the beta/alpha version ?
>
> i don't understand the steps ... why my app wont open ! ;/
>
> PLEASE HELP.
>
> 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/4b9fb318-6e85-40b9-af4f-
> 36d676facac4%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/CABHzXAQuPcAkDkOPvqep3PjLP00JZAj1kTgJj3fnrP8qDAUuAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Foreground service getting killed in background by the OS on android 4.4.4

2016-10-04 Thread sardar khan
You can use this
http://stackoverflow.com/questions/20636330/start-sticky-does-not-work-on-android-kitkat
or have a look at this
https://code.google.com/p/android/issues/detail?id=63793


On Tue, Oct 4, 2016 at 3:44 PM, Sumit Sharma  wrote:

> Foreground service with START_STICKY works perfectly on all the android
> versions except android OS 4.4.4.
> Its getting killed by the OS when its in background.
> I am ok if its killed but it has to restart again on its own like a normal
> START_STICKY service.
> Need a solution ASAP as our app is already live.
>
> --
> 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/04ed2ad7-7aef-478f-9e7b-
> d409f7cee736%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/CABHzXARxTd1L9PAi967%2BL%3DKG9UsHdALN9y%3D1WV%3DCdJwSJ_E5ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Where to put code to test if activity has online access?

2016-10-03 Thread sardar khan
check isOnline before getting data from internet if its true get the data
from internet if not redirect back to user.

On Tue, Oct 4, 2016 at 1:24 AM, Aaron D  wrote:

> Hi, I want to test if my activity has online access.
> I click a button to execute an activity (downloads a list of people from a 
> database and populates it within the app) but I don't know where to put it?
>
> When online activity is not detected I want the user to get a popup dialog 
> box which says "No internet connectivity" and press OK.
>
> The app would return/stay at the same screen where the user pressed the 
> button to execute the activity.
>
> Where should I execute the isOnline code and how do I get the behavior I 
> want?  In the background task?
>
> Thanks!
>
> #code from google search stack overflow
> private boolean isOnline()
> {
> try
> {
> ConnectivityManager cm = 
> (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
> return cm.getActiveNetworkInfo().isConnectedOrConnecting();
> }
> catch (Exception e)
> {
> return false;
> }
> }
>
> --
> 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/461d44a1-937b-4e93-8d2f-
> a699e5d8fc1c%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/CABHzXARDmcqH--R9K1DQVeg6aKHhUcOCm6_k8B1pOuXTBSeaLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Android Virtual Device

2016-10-02 Thread sardar khan
You can use third party emulator like bluestack and genymotion.

On Mon, Oct 3, 2016 at 8:31 AM, warren nazareno 
wrote:

> Or is it okay to start coding without configuring first the AVD?
> or AVD is necessary to test?
> Thanks in advance.
>
> On Monday, October 3, 2016 at 11:24:40 AM UTC+8, warren nazareno wrote:
>>
>> Hi guys.
>>
>> I'm new to android.
>>
>> I'm trying to configure the AVD.
>> But it says my CPU don't support.
>> So what are ways to fix this?
>>
>> Thanks 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/6c769d9d-8860-4ed8-a7b8-
> f24687976df3%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/CABHzXAQP1OMUd0uH6xECH3BkgxF11-PST2CAtqGhSWG_RAqE8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Could not find a method saveData(View)

2016-09-29 Thread sardar khan
You should add the method in the activity file. That method is declared as
onclick atrribute of the button with the name SaveData.You should implement
this method in your activity file.
For example look at this document.
https://developer.android.com/reference/android/widget/Button.html

On Thu, Sep 29, 2016 at 11:16 AM, Giuseppe Guarino <
giuseppe.gu1...@gmail.com> wrote:

> Hi, I'm developing an App that should receive data and save them in the
> SQLdatabase, but I have a problem.
> When I press the Save Button, the App stops the process with this error:
> E/AndroidRuntime: FATAL EXCEPTION: main Process:
> com.example.giuse.secondly, PID: 2615 java.lang.IllegalStateException:
> Could not find a method saveData(View) in the activity class
> com.example.giuse.secondly.NewSheet for onClick handler on view class
> android.widget.Button with id 'button_save' at 
> android.view.View$1.onClick(View.java:4007)
> at android.view.View.performClick(View.java:4780) at android.view.View$
> PerformClick.run(View.java:19866) at android.os.Handler.
> handleCallback(Handler.java:739) at android.os.Handler.
> dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135)
> at android.app.ActivityThread.main(ActivityThread.java:5254) 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:903)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused
> by: java.lang.NoSuchMethodException: saveData [class android.view.View]
> at java.lang.Class.getMethod(Class.java:664) at 
> java.lang.Class.getMethod(Class.java:643)
> at android.view.View$1.onClick(View.java:4000) at 
> android.view.View.performClick(View.java:4780)
> at android.view.View$PerformClick.run(View.java:19866)  at
> android.os.Handler.handleCallback(Handler.java:739)  at
> android.os.Handler.dispatchMessage(Handler.java:95)  at
> android.os.Looper.loop(Looper.java:135)  at android.app.ActivityThread.
> main(ActivityThread.java:5254)  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:903)
> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
> Application terminated.
>
> When I press the button Save, in the xml file, called add_new_sheet xml,
> should save the data that I inserted.
>
> --
> 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/c315a942-8ffd-42c3-a146-
> 1ddc4a6d29af%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/CABHzXAQGCbRPVGfQjai-7L5ZTgity1AMNmi%2Bm-CNPHq1L7VzDg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] cleaning service contact addresses in bangalore

2016-09-27 Thread sardar khan
url is not working

On Tue, Sep 27, 2016 at 11:11 AM, bisy biz  wrote:

>
>
>
>
>
> Cleaning Services in Bangalore
>  - List of
> expert cleaners in Bangalore and cleansing businesses, businesses, price,
> contact *addresses*, smartphone numbers, person ratings and opinions
> immediately on busybizz.com
>
>
>
> http://www.busybizz.com/Cleaning-Services-Bangalore.php
>
> --
> 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/c110be4e-95a1-4646-98ef-
> f7a4bf8bee07%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/CABHzXATd6qewQV9unf_9HgtRc7R0p42kpazARb7pOfdPvZ4BuQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] “The item that you requested is not available for purchase” android In-App purchase error

2016-08-25 Thread sardar khan
you are receiving message purchase cancelled and you are complaining about
item is not available now the message is changed

On Thu, Aug 25, 2016 at 11:28 AM, hunain aftab 
wrote:

> I had already set another gmail account to the tester and even the package
> name is same . It gives this in response
>
>
> 
>
> --
> 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/f6d9e55f-4560-4f4d-adab-
> 13d716eec79f%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/CABHzXATtgY61Em2s%2B5MUan1yt5iOrMyG_1%2BCDc_ggQfhn3A85w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] “The item that you requested is not available for purchase” android In-App purchase error

2016-08-24 Thread sardar khan
Some time you have to wait for the activation of the item that you want to
purchase .Secondly check that you add the email to tester and you become a
tester for testing In-app Purchase
Package name must be same 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/CABHzXASr_-E3-0TMnCS3qhGHzoZ9DpgKLhdPca%2B44Lfwy%3DCvdA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] generating pdf files in android

2016-08-21 Thread sardar khan
You can use itext to generate pdf files because it is easy to use and you
should check for pdf reader app in your mobile to run your generated pdf
files.

On Mon, Aug 22, 2016 at 12:45 AM, Syeda Farheen 
wrote:

> Hi
>
> I am new to android development. I am working on a project in which I have
> to generate pdf file using data from database dynamically.User will be
> given choice either to save it on mobile or save it on google drive.I have
> checked lots of tutorials on generating pdf file using iText but none is
> working for me.I cannot see the pdf file in my mobile after I run the app,
> also I get plenty for errors while following few tutorials.Can some one
> kindly guide me to some useful toturials or project code on github which
> can help me learn how to add required functionality to my project.
>
> 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/2125f147-a90e-49b0-ad57-
> deb7d8a04273%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/CABHzXATUq4yMYnnnRe0nabssHCsKci319hazxeeTz-1qC4TVTw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Views vs Graphics

2016-08-18 Thread sardar khan
If you create too many views at runtime it could be a performance issue for
it.

On Thu, Aug 18, 2016 at 8:19 AM, Aleksey Shurtygin <
aleksey.shurty...@gmail.com> wrote:

> Hi,
>
> I am long-time C# developer. I recently decided to play around with
> Android and Java. My first project I am trying to do is to create Crossword
> game. I have general idea on how to proceed but there is one thing that
> still is not very clear. If anyone can provide any input I would appreciate
> it.
>
> What would be the best way to build crossword board? I am considering
> couple of ways:
>
> 1. Create a view/fragment for a single cell and dynamically build whole
> board. With this approach I am concerned about performance. Considering I
> will have a 12x12 board, that will create 124 view objects. Is that
> considered to be heavy or it should be no big deal?
> 2. Draw the whole thing manually and catch user's clicks/touch to add
> interactivity. This probably can avoid performance issues but feels like
> too much manual work.
>
> Do you think it makes sense to invest time into learning graphics or
> creating basic GridLayout/GridView/TableLayout with 120 TextViews should
> do it nicely? Or if there are any other suggestions feel free to jump in.
>
> 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/a7e3ab71-e284-4564-91e9-
> 2244946bcd76%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/CABHzXAR2p0SuMxPCkYFDRLkimCqC-0OKG6u49K_50vmbKeP86A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] app crashes after adding toolbar

2016-08-12 Thread sardar khan
i think toolbar is not supported in samsung tablets i encounter this
problem but my  tabs android version is 4.0 thanks

On Fri, Aug 12, 2016 at 6:57 PM, Roman Turzyny  wrote:

> I have a really basic app, only one Activity with toolbar. Eveything works
> fine on my LG G2  (API  19) but when try to run it on tablet  Samsung
> GT-N5100( also API 19) the app crashes with an error message: Error
> inflating class android.support.v7.widget.Toolbar
> I have tried cleaning my project, rebuilding it again but nothing helps.
> When i try to implent other widgets from the package ( AppCompatButton
> )
> it works.  I am starting to assume that device might be problem here.
> Anyway,here is my code:
>
> activity_main.xml
> Sem zadať kód...
>
>
> 
> http://schemas.android.com/apk/res/android;
> android:layout_width="match_parent"
> android:layout_height="match_parent">
>
> android:id="@+id/my_toolbar"
> android:layout_width="match_parent"
> android:layout_height="58dp"
> android:background="?attr/colorPrimary"
> android:minHeight="?attr/actionBarSize"
> android:titleTextColor="#ff">
> 
>
> 
>
>
> MainActivity.java
>
> package com.example.tomas.toolbar;
>
> import android.os.Bundle;
> import android.os.PersistableBundle;
> import android.support.v7.app.AppCompatActivity;
>
> /**
>  * Created by tomas on 12.8.2016.
>  */
> public class MainActivity extends AppCompatActivity{
>
> @Override
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.activity_main);
>
> }
> }
>
>build.gradle
>
> apply plugin: 'com.android.application'
>
> android {
> compileSdkVersion 23
> buildToolsVersion "19.1.0"
>
> defaultConfig {
> applicationId "com.example.tomas.toolbar"
> minSdkVersion 14
> targetSdkVersion 23
> versionCode 1
> versionName "1.0"
> }
> buildTypes {
> release {
> minifyEnabled false
> proguardFiles getDefaultProguardFile('proguard-android.txt'), 
> 'proguard-rules.pro'
> }
> }
> }
>
> dependencies {
> compile fileTree(dir: 'libs', include: ['*.jar'])
> testCompile 'junit:junit:4.12'
> compile 'com.android.support:appcompat-v7:23.4.0'
> }
>
>
>
> AndroidManifest.xml
>
> http://schemas.android.com/apk/res/android;
> package="com.example.tomas.toolbar">
>
>  android:allowBackup="true"
> android:icon="@mipmap/ic_launcher"
> android:label="@string/app_name"
> android:supportsRtl="true"
> android:theme="@style/Theme.AppCompat.Light.NoActionBar">
>  android:label="@string/app_name">
> 
> 
> 
>
> 
> 
> 
>
> 
>
>
> Thanks 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/f33271fc-ad01-4b0a-8a48-
> 838ecb6b1ced%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/CABHzXAQYMvoztL5MWJQwWsboaSS8U6a4%3DQwiYho42hCBcaF3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android studio

2016-08-10 Thread sardar khan
Kindly have a look at this tutorial
http://www.androidhive.info/2011/11/android-sqlite-database-tutorial/

On Wed, Aug 10, 2016 at 8:24 AM, Dewi Setiana 
wrote:

> Hello, i want to ask. I have aplication mobile but there is no database. i
> want to build database but i don't the first step i to do. So please give
> me solution
>
> --
> 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/059c00ec-6649-471f-b8bd-
> a2d47a5db10c%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/CABHzXASJR9QUyT4UyKvbvRkmqQxOedC7J%2B_tncg1YTQis0o5qQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Quran Applications Font issues

2016-08-05 Thread sardar khan
Salam , please contact some authenticate Ulama's before making this
application because it is very sensitive matter.So my advice is to do it
carefully.

On Fri, Aug 5, 2016 at 11:55 AM,  wrote:

> Hey guys,
>
> I am making a quran application in which i am using fonts from Tanzil.net and
> noor-e-hidaya't font. i am using madni and arabic mushaf. But i just ran in
> to a problem of zer, zabar, pesh and tashdeed in fonts of quranic text. In
> both of the fonts i am using , they have problems of some particular
> symbols either of zer, zabar, pesh and tashdeed.
> Can anyone please suggest me some of the fonts lists that can work great
> and efficiently without any issue because everybody knows that these
> punctuations are so delicate that missing anyone of them can change the
> meaning of aya'h dramatically. I would appreciate if anybody could help me
> out in this. Thanks 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/e9a67b43-0f1d-4b3b-ba81-
> 6a5fb20bc9ce%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/CABHzXATud2swSrptz%3Dx0%2Bm_-VSU%3Da%2BqqwP7w4nnBZU-Yn5-bjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Scrolling Issue

2016-07-29 Thread sardar khan
my layout has one listview i want to scroll the listview in y-axis

On Fri, Jul 29, 2016 at 2:47 PM, Daiva Prema Ministries <
daivapr...@gmail.com> wrote:

> how is your layout file?
>
> On Fri, Jul 29, 2016 at 4:24 PM, Bhavin vasundhara <
> bhavin.vasundh...@gmail.com> wrote:
>
>> I use drag and drop in a list. When the list is too long, I want that
>> when I drag an item into the 10% of the top screen area, it will scroll up
>> and same way when I drag an item into the 10% of the bottom screen area, it
>> will scroll down.
>> How do I define those 10% top and bottom of the screen to intriger the
>> scrolling of the screen?
>>
>> --
>> 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/8cacadc5-1089-494e-8aba-302c6785ef3b%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/CANkydDjZGNc6c3OONUovZoSqMC8Qy42KoubMoG_93DFESXW%3DFA%40mail.gmail.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/CABHzXATR%3DbZQnc5%3DVA223nuytT%3Dy3AYu-GsoV5LPTZ3T%2B1ODnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Scrolling Issue

2016-07-29 Thread sardar khan
hy, kindly use this link
http://stackoverflow.com/questions/26648991/listviewdragginganimation-broken-on-android-5-lollipop


On Fri, Jul 29, 2016 at 1:24 PM, Bhavin vasundhara <
bhavin.vasundh...@gmail.com> wrote:

> I use drag and drop in a list. When the list is too long, I want that when
> I drag an item into the 10% of the top screen area, it will scroll up and
> same way when I drag an item into the 10% of the bottom screen area, it
> will scroll down.
> How do I define those 10% top and bottom of the screen to intriger the
> scrolling of the screen?
>
> --
> 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/8cacadc5-1089-494e-8aba-302c6785ef3b%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/CABHzXATMSLLY_ggQHqBUogSfG11DjjmyN_vei_19R0ru8EtzZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Please ban those job postings!

2016-07-28 Thread sardar khan
Yes i am agree with you

On Thu, Jul 28, 2016 at 12:41 AM, TreKing  wrote:

> On Wednesday, July 27, 2016 at 8:59:30 AM UTC-5, RLScott wrote:
>>
>> The group rules say that job postings are considered spam and posters can
>> be banned without warning.  Moderators, please *do your job*.  This
>> group is being ruined by being flooded with job postings.  It makes it very
>> hard to even find the technical postings amidst all the spam, even if I
>> never open them.
>>
>
> This group is no longer moderated. It really should just be shut down at
> this point. The spam has rendered what little of it was left useless.
>
> --
> 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/043d92d1-42a9-43ee-9d81-1e641e1f682f%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/CABHzXAR0sRbT2BA4TjEytwcK1EU8jJveFOErH6FW6rzvo8cFLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android Google Maps

2016-07-24 Thread sardar khan
Kindly check this link

http://www.androidtrainee.com/driving-distance-and-travel-time-duration-between-two-locations-in-google-map-android-api-v2/

On Sat, Jul 23, 2016 at 8:33 AM, Ruchit Kadakia 
wrote:

> Draw Map route between source and destination ?
>
> --
> 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/2d8aad85-a0c0-4419-8c4d-35b1d40e5f70%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/CABHzXATV20TPJBRSWzSuZ4JRD7JEBNJk6iKXjpO-JptZ1N5wqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] help with android developer

2016-07-18 Thread sardar khan
kindly install geny motion and test

On Mon, Jul 18, 2016 at 12:24 PM, Ahmed Elgammal 
wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *hi alli have a big problem with android studio when i am trying to play
> emulatorfirstly my computer specificationMotherboard : Gigabyte GA-MA
> 790FXT UD5PProcessor : Amd Phenom II X 4 955Vga  : Ati Radeon 5770 1GBRam :
> 4 * 4 FuryX Kingstone = 16 GB With pass 1333i made windows 7 on vm ware
> workstation with these specificationsProcessor  : 1 coreRam  : 8 Gband i
> installed the last version of android studio 2.1.2when i am trying to play
> emulator it shows a message  (your cpu does not support (VT-x  or SVM))i
> enables virtualization technology from my computer bios and i checked in
> (virtualize Intel VT-X/EXP or AMD-V/RVI) and made  preferred mode
> Automaticstill does not work and when i am trying to run emulator keep
> showing the same message  (your cpu does not support (VT-x  or SVM))also i
> tried to run  the emulator on my live computer not the virtualbut the same
> message appeared (your cpu does not support (VT-x  or SVM))plz help i need
> to run the emulator quickly because because i have to test my master degree
> application help plz*
>
> --
> 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/1a6b2306-1ba5-4296-b981-79d151b34726%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/CABHzXARfb%3DOv28NfEDt7Osdxpa29%2BNWiHdHYpxMRDyETUbqEKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] android intent getIntExtra returns default value

2016-07-14 Thread sardar khan
can you paste here the full code

On Fri, Jul 15, 2016 at 3:14 AM, essien david 
wrote:

> Please i am building an app and i keep having an error in the app
> getIntExtra keeps returning the default value.
> here is the code:
>
> Intent i = new Intent(MonthGridActivity.this,
> DevotionListActivity.class);
> int newPosition = position+1;
> i.putExtra("monthId", newPosition);
> startActivity(i);
>
> public int getMonthId(){
> int monthId;
> Intent i = getIntent();
> monthId = i.getIntExtra("monthId", 0);
> return monthId;
> }
>
> I keep getting 0 as the return value. please help
>
> --
> 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/03637173-a76f-40d1-b25b-62b5e8352cd3%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/CABHzXATrUSvhZ4c2pqcJKCGUV%2BZfQPu4%2BWb8wDk5n8_wpF5Tfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] App Problem how can i fix it ?

2016-06-29 Thread sardar khan
paste the log here to see the error

On Wed, Jun 29, 2016 at 3:01 PM, Fatime Akçaylıer  wrote:

> Hi
> my android studio is new version. i want to my aplication generate signed
> APK.
> i dont know how can i fix this problem?
>
> Error:Execution failed for task ':app:processDebugManifest'.
> > Manifest merger failed with multiple errors, see logs
>
> --
> 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/0c40bc52-ac8b-4e16-a47f-cbb63f62945a%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/CABHzXAQqhUuA5TTNFmZCVcnH0S7qQ%3Dh_pPm1qoshHSmP7irOFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Google Player Development Account

2016-06-22 Thread sardar khan
its a one time fees

On Wed, Jun 22, 2016 at 1:19 PM, azhar bhatti 
wrote:

> Dear Friends,
>
> The $25 for registration , is a one time fees for any number of apps i
> make and post or is it for one app?
>
> Any reply given can be high appreciated.
>
>
> Regards
>
> Azhar
>
> --
> 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/830e59ea-6e14-42fa-af7f-8b4ecd36a1fb%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/CABHzXAScTXhHGYvaXiPyRjhpNa7yTp6k5RokRa8_NSqJ3qg4uw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Unexpected Cast To Button

2016-06-16 Thread sardar khan
Rebuild the Project

On Thu, Jun 16, 2016 at 4:15 PM, Rajdeep Roy <rajdeep.we...@gmail.com>
wrote:

> Hi,
> I put off the code with Imageview and the Button code is intact and it
> does not error now BUT the R file is missing now from the java folder
> What to do with that?
>
> On Thursday, June 16, 2016 at 4:31:34 PM UTC+5:30, Rajdeep Roy wrote:
>>
>> @Sardar - Do u mean check out the "MainActivity.xml" ??
>>
>> On Thursday, June 16, 2016 at 4:28:58 PM UTC+5:30, sardar khan wrote:
>>>
>>> it shows that the in xml layout the id refer to ImageView kindly check
>>> the layout
>>>
>>> On Thu, Jun 16, 2016 at 3:45 PM, Rajdeep Roy <rajdee...@gmail.com>
>>> wrote:
>>>
>>>> Hello Everyone,
>>>> I am new to Android Programming and I am stuck at a point where it
>>>> shows up "Unexpected Cast to the Button"
>>>> I am attaching screenshot of my existing codes, kindly have a look at
>>>> it.
>>>> If required I can provide the sample codes as well.
>>>> I look forward with some positive responses.
>>>> Thanks & 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/0470d742-f7e3-478b-8c2b-194de325bab2%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/0470d742-f7e3-478b-8c2b-194de325bab2%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CABHzXARjw1fX2gvco4ANsXX%2BQOXLnMrHsCPaFfmeTopZ7e0pjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Unexpected Cast To Button

2016-06-16 Thread sardar khan
yes check it contain the id that refer to the imageview

On Thu, Jun 16, 2016 at 4:01 PM, Rajdeep Roy <rajdeep.we...@gmail.com>
wrote:

> @Sardar - Do u mean check out the "MainActivity.xml" ??
>
> On Thursday, June 16, 2016 at 4:28:58 PM UTC+5:30, sardar khan wrote:
>>
>> it shows that the in xml layout the id refer to ImageView kindly check
>> the layout
>>
>> On Thu, Jun 16, 2016 at 3:45 PM, Rajdeep Roy <rajdee...@gmail.com> wrote:
>>
>>> Hello Everyone,
>>> I am new to Android Programming and I am stuck at a point where it shows
>>> up "Unexpected Cast to the Button"
>>> I am attaching screenshot of my existing codes, kindly have a look at
>>> it.
>>> If required I can provide the sample codes as well.
>>> I look forward with some positive responses.
>>> Thanks & 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/7ea3bfa0-e66a-4a3b-a7cb-3095943ee219%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/7ea3bfa0-e66a-4a3b-a7cb-3095943ee219%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CABHzXATr%3Dk4ipzxU85Gf8U%3DYp8PatvhdFFFKfARp%2B7PZSvde8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Unexpected Cast To Button

2016-06-16 Thread sardar khan
it shows that the in xml layout the id refer to ImageView kindly check the
layout

On Thu, Jun 16, 2016 at 3:45 PM, Rajdeep Roy 
wrote:

> Hello Everyone,
> I am new to Android Programming and I am stuck at a point where it shows
> up "Unexpected Cast to the Button"
> I am attaching screenshot of my existing codes, kindly have a look at it.
> If required I can provide the sample codes as well.
> I look forward with some positive responses.
> Thanks & 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/4e76ce16-6ea3-4041-b34c-e368896b83cd%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/CABHzXASUwLv4WGd0Skx8aZObyncORWQb%2BOT0saWkyWaqEHahsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-06-15 Thread sardar khan
you should add a string resource in the res/values/string folder . check
below in the tutorial to show how to add string resource
https://developer.android.com/training/basics/firstapp/building-ui.html

On Thu, Jun 16, 2016 at 10:31 AM, Kevin Chen 
wrote:

> Hello,
>
> I am a new android programmer trying to complete this tutorial:
> https://developer.android.com/training/basics/firstapp/building-ui.html
> After following all the instructions on the above page and running the
> code, I get the following error:
>
> Error:(2) No resource identifier found for attribute 'layout_behavior' in
> package 'com.example.kevin.myfirstapp'
>
> The error appears to be associated with the "app:layout_behavior"
> attribute in the following section of code:
>
> http://schemas.android.com/apk/res/android;
> xmlns:app="http://schemas.android.com/apk/res-auto;
> xmlns:tools="http://schemas.android.com/tools;
> android:orientation="horizontal"
> android:layout_width="match_parent"
> android:layout_height="match_parent"
> app:layout_behavior="@string/appbar_scrolling_view_behavior"
> tools:showIn="@layout/content_my">
>
>
> Could you please help me fix this error?
>
>
> Thanks,
>
> Kevin Chen
>
> --
> 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/d2bcd31f-2211-4482-a774-310885a01258%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/CABHzXAR0T4FCpDQenLReHmT%3DNJqCMbEZ8eWyB6TXCda9yEHJtQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Camera Error 2

2016-06-15 Thread sardar khan
Hey,
have you check the runtime permission for camera..?? have a look at this
article
https://developer.android.com/training/permissions/requesting.html

On Wed, Jun 15, 2016 at 4:23 PM, Алексей Жадов  wrote:

> Good day, please help to understand what means: E/Camera: Error 2
>
> My Camera-code does not work on android 6.0 only and the other works.
>
> SimpleCameraView.java:
> import android.content.Context;
> import android.content.res.Configuration;
> import android.graphics.ImageFormat;
> import android.graphics.Point;
> import android.hardware.Camera;
> import android.os.Build;
> import android.util.Log;
> import android.view.Display;
> import android.view.SurfaceHolder;
> import android.view.SurfaceView;
> import android.view.ViewGroup;
> import android.view.WindowManager;
> import android.widget.RelativeLayout;
>
> import java.util.List;
>
> public class SimpleCameraView extends SurfaceView implements SurfaceHolder
> .Callback {
>  private SurfaceHolder surfaceHolder;
>  private Camera camera;
>  private Camera.PreviewCallback previewCallback;
>  private Display display;
>
>  public SimpleCameraView(Context context, Camera.PreviewCallback
> previewCallback) {
>  super(context);
>  this.previewCallback = previewCallback;
>  this.display = ((WindowManager) context.getSystemService(Context.
> WINDOW_SERVICE)).getDefaultDisplay();
>  this.surfaceHolder = this.getHolder();
>  this.surfaceHolder.addCallback(this);
>  this.surfaceHolder.setType(3);
>  this.setKeepScreenOn(true);
>  this.configureCamera(this.getResources().getConfiguration());
>  }
>
>  public Camera getCamera() {
>  try {
>  this.camera = Camera.open();
>  //this.camera.lock();
>  Log.e("111","getCamera");
>  } catch (Exception var2) {
>  var2.printStackTrace();
>  }
>
>  return this.camera;
>  }
>
>  public void surfaceCreated(SurfaceHolder holder) {
>  try {
>  this.camera.setPreviewDisplay(holder);
>  Log.e("111","surfaceCreated");
>  } catch (Exception var3) {
>  var3.printStackTrace();
>  }
>
>  }
>
>  public void surfaceDestroyed(SurfaceHolder holder) {
>
>  this.stopCamera();
>  Log.e("111","surfaceDestroy");
>  }
>
>  public void surfaceChanged(SurfaceHolder holder, int format, int width,
> int height) {
>  startCamera();
>  Log.e("111","surfaceChanged");
>  }
>
>  public boolean configureCamera(Configuration configuration) {
>  try {
>  this.getCamera();
>  if (this.camera != null) {
>  int e = this.getScreenWidth();
>  int height = this.getScreenHeight();
>  int displayOrientationDegrees = this.getDisplayOrientationDegrees(this.
> display);
>  this.camera.setDisplayOrientation(displayOrientationDegrees);
>  Camera.Size previewSize = this.camera.getParameters().getPreviewSize();
>  float aspect = (float) previewSize.width / (float) previewSize.height;
>  ViewGroup.LayoutParams cameraHolderParams = new RelativeLayout.
> LayoutParams(480,640);
>  if (configuration.orientation == 1) {
>  cameraHolderParams.height = height;
>  cameraHolderParams.width = (int) ((float) height / aspect);
>  } else {
>  cameraHolderParams.width = e;
>  cameraHolderParams.height = (int) ((float) e / aspect);
>  }
>
>  this.setLayoutParams(cameraHolderParams);
>  Log.e("111","configureCamera");
>  return true;
>  }
>  } catch (Exception var8) {
>  var8.printStackTrace();
>  }
>
>  return false;
>  }
>
>  private int getScreenWidth() {
>  if (Build.VERSION.SDK_INT < 13) {
>  return this.display.getWidth();
>  } else {
>  Point size = new Point();
>  this.display.getSize(size);
>  return size.x;
>  }
>  }
>
>  private int getScreenHeight() {
>  if (Build.VERSION.SDK_INT < 13) {
>  return this.display.getHeight();
>  } else {
>  Point size = new Point();
>  this.display.getSize(size);
>  return size.y;
>  }
>  }
>
>  private int getDisplayOrientationDegrees(Display display) {
>  int orientation = this.getResources().getConfiguration().orientation;
>  short displayOrientationDegrees;
>  switch (display.getRotation()) {
>  case 0:
>  if (orientation == 1) {
>  displayOrientationDegrees = 90;
>  } else {
>  displayOrientationDegrees = 0;
>  }
>  break;
>  case 1:
>  if (orientation == 2) {
>  displayOrientationDegrees = 0;
>  } else {
>  displayOrientationDegrees = 270;
>  }
>  break;
>  case 2:
>  if (orientation == 1) {
>  displayOrientationDegrees = 270;
>  } else {
>  displayOrientationDegrees = 180;
>  }
>  break;
>  case 3:
>  if (orientation == 2) {
>  displayOrientationDegrees = 180;
>  } else {
>  displayOrientationDegrees = 90;
>  }
>  break;
>  default:
>  displayOrientationDegrees = 0;
>  }
>
>  return displayOrientationDegrees;
>  }
>
>  public void stopCamera() {
>  try {
>  this.camera.stopPreview();
>  this.camera.setPreviewCallback((Camera.PreviewCallback) null);
>  this.camera.release();
>  this.camera = null;
>  Log.e("111","stopCamera");
>  } catch (Exception var2) {
>  var2.printStackTrace();
>  }
>
>  }
>
>  public void startCamera() {
>  try {
>  if (this.surfaceHolder.getSurface() == null) {
>  

Re: [android-developers] where am I wrong?

2016-06-12 Thread sardar khan
what error you are getting the code seems to be fine but call the invia
method from oncreate and why you pass view as method argument.

On Sun, Jun 12, 2016 at 8:14 PM, Simon Usardi  wrote:

> package com.example.non.inizializzareunaltraactivity;
>
> import android.content.Intent;
>
> import android.support.v7.app.AppCompatActivity;
> import android.os.Bundle;
> import android.view.View;
> import android.widget.EditText;
>
> public class MainActivity extends AppCompatActivity {
> public  final static String messaggioExtra = 
> "com.example.non.inizializzareunaltraactivity.MESSAGE";
>
> @Override
> protected void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.activity_main);
>
> }
> public void invia(View view){
>
> Intent Portale = new Intent(this, PaginaMessaggio.class);
>
> EditText nascoasto = (EditText)findViewById(R.id.Hint);
> String y = nascoasto.getText().toString();
>
> Portale.putExtra(messaggioExtra, y);
> startActivity(Portale);
> }
> }
>
> --
> 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/baf053d4-dd01-4ef0-86c5-c001c35323ac%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/CABHzXAS4-A72r8xGpmrkxAJ%3DAi4-rw%2BH9p_h_BYZYyX6mL3DWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Problem in Development in Android Studio

2016-06-09 Thread sardar khan
http://stackoverflow.com/questions/18459122/play-sound-on-button-click-android

On Fri, Jun 10, 2016 at 10:01 AM, sardar khan <sardar.khan...@gmail.com>
wrote:

> what error are you getting..??
>
>
> On Fri, Jun 10, 2016 at 9:56 AM, Asif Iqbal <asif...@gmail.com> wrote:
>
>> Hello Dear Friends Help me Please I am Developing an Android App for
>> kids(Maths). And I don't Have any idea to play sound "zero.mp3" when the
>> zero image appeared. And then play next Button and play sound "one.mp3" for
>> digit 1, "Two.mp3" for 2, "Three.mp" for 3 and so on. And I want The
>> Same For Previous Button also... I tried some code but there some errors in
>> that code :'( Send me The code Dear Friends Plzz. I will be
>> very Thank ful to All of 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/ed8f92a3-6d80-43e6-a772-f6c2c815e6f0%40googlegroups.com
>> <https://groups.google.com/d/msgid/android-developers/ed8f92a3-6d80-43e6-a772-f6c2c815e6f0%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>> 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/CABHzXATpbiDoLUvfF7aWPravHst6bOWW%2BTfzraHWpmH8pkbj8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Problem in Development in Android Studio

2016-06-09 Thread sardar khan
what error are you getting..??


On Fri, Jun 10, 2016 at 9:56 AM, Asif Iqbal  wrote:

> Hello Dear Friends Help me Please I am Developing an Android App for
> kids(Maths). And I don't Have any idea to play sound "zero.mp3" when the
> zero image appeared. And then play next Button and play sound "one.mp3" for
> digit 1, "Two.mp3" for 2, "Three.mp" for 3 and so on. And I want The
> Same For Previous Button also... I tried some code but there some errors in
> that code :'( Send me The code Dear Friends Plzz. I will be
> very Thank ful to All of 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/ed8f92a3-6d80-43e6-a772-f6c2c815e6f0%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/CABHzXASoEAp%3DcxtAOjwaa7wY9iVuL6xeo3KFVWX79k4QCOTzJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] How to tag post on facebook business page.

2016-06-08 Thread sardar khan
Ok.np
On Jun 8, 2016 4:35 PM, "Sushil Dhamal"  wrote:

> OK I will check
>>
> 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/5568b0fb-92b2-412c-a08f-790519e34bb0%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/CABHzXAR_ywDcH%3DJHpQE_7cLb-T1AToDLge%3DopmwLqVWvpS3Z%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] How to tag post on facebook business page.

2016-06-08 Thread sardar khan
sorry for bad english

On Wed, Jun 8, 2016 at 4:25 PM, sardar khan <sardar.khan...@gmail.com>
wrote:

> i donot know i just see the taging of people you can have a lokk at graph
> api to do this if they allow you sholud definitly do it.
>
> On Wed, Jun 8, 2016 at 4:20 PM, Sushil Dhamal <dhamalsus...@gmail.com>
> wrote:
>
>> Hey,
>>> sardar khan
>>
>>
>>It is possible to add post as well as tag on business page at the same
>> time.Because I don't get method as such.
>>
>> Thanks,
>> I will try as your say.
>>
>> --
>> 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/1ece27ae-c604-43da-95ed-e55e2c76b498%40googlegroups.com
>> <https://groups.google.com/d/msgid/android-developers/1ece27ae-c604-43da-95ed-e55e2c76b498%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> 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/CABHzXAQoY1vx_8t8mtz7mV9EbuKzr2OrrPjiuP_e8Xz%2BHmYnZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] How to tag post on facebook business page.

2016-06-08 Thread sardar khan
i donot know i just see the taging of people you can have a lokk at graph
api to do this if they allow you sholud definitly do it.

On Wed, Jun 8, 2016 at 4:20 PM, Sushil Dhamal <dhamalsus...@gmail.com>
wrote:

> Hey,
>> sardar khan
>
>
>It is possible to add post as well as tag on business page at the same
> time.Because I don't get method as such.
>
> Thanks,
> I will try as your say.
>
> --
> 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/1ece27ae-c604-43da-95ed-e55e2c76b498%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/1ece27ae-c604-43da-95ed-e55e2c76b498%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CABHzXARMgmW%2B_vQuEdEBsTbA6hLY6m%3D7VU7%2B-FKZOKbS6Xhkog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] How to tag post on facebook business page.

2016-06-08 Thread sardar khan
you can use graph Api of the facebook by suing this you can tag

On Wed, Jun 8, 2016 at 4:07 PM, Sushil Dhamal 
wrote:

> Hi,
>
>I developed an android app to post the content on facebook. I am able
> to do it.
>Now i want to tag the same content on facebook business page. How can i
> do?
>
> This is my code to share post :
>
>  ShareLinkContent linkContent = new ShareLinkContent.Builder()
>
>
> .setContentDescription(textToShare.toString())
> .setContentUrl(Uri.parse(url))
>
> .build();
>
>
> Now I wants to tag it on facebook buisness page, Is it possible?and 
> How?
>
>
> 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/49a1addd-da8c-4a64-8062-2e585770ed34%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/CABHzXATRZN_wxm3nXBtygJtAK9wiZVHsbi8%2BUG1b1uyFH1t1PA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Facebook android sdk

2016-06-01 Thread sardar khan
Yes you can integrate facebook using facebook adk check thr developer
console of the facebook and get started with android
On Jun 2, 2016 1:40 AM, "SenyaApps Official" 
wrote:

> Hi google
> I want to know if i integrated Facebook android sdk properly in my game.
>
> --
> 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/6c32bec4-b9e2-48f5-a841-98ecd71e8c7d%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/CABHzXATpNPt7yQ78OkqWjaWqaXqNifwdWaa5-d7Y2ZaQ4ERnTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Beginner questions

2016-05-23 Thread sardar khan
In the activity create a method name with trialmodule and do what you want
to do.

http://stackoverflow.com/questions/4153517/how-exactly-does-the-androidonclick-xml-attribute-differ-from-setonclicklistene

On Mon, May 23, 2016 at 2:25 PM, Roy Bettesworth 
wrote:

> I want to use onclick
>
> I am using XML  as my language.
>
> "
>   http://schemas.android.com/apk/res/android;
>
> xmlns:tools="http://schemas.android.com/tools;
> android:layout_width="match_parent"
> android:layout_height="match_parent"
> android:paddingBottom="@dimen/activity_vertical_margin"
> android:paddingLeft="@dimen/activity_horizontal_margin"
> android:paddingRight="@dimen/activity_horizontal_margin"
> android:paddingTop="@dimen/activity_vertical_margin"
> tools:context="com.example.roy.buttontest.MainActivity">
>
>  android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:text="Hello World!"
> android:id="@+id/textView" />
>
>  android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:text="Test Button"
> android:id="@+id/button"
> android:layout_below="@+id/textView"
> android:layout_centerHorizontal="true"
> android:layout_marginTop="230dp"
> android:onClick="trialmodule"
> android:textColor="#bd3030" />
>
> 
>
>
> "
>
>
> Where and what do I write for the procedure that will be executed for onclick 
> .
>
>
> It can do anything such as just displaying some text.
>
>
> 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/4fbca365-17d5-47eb-ac64-06f80680bc3e%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/CABHzXAQN3oSDpNQ3LHmKvqvKLZqhO7tjgtQ4KrT%3Dp92Y-WxW0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Keyboard

2016-05-17 Thread sardar khan
did you find any resourse ..?? i want to build the same app thanks

On Tue, May 17, 2016 at 7:50 PM, 'Carina Huellen' via Android Developers <
android-developers@googlegroups.com> wrote:

> hey,
>
> I'm trying to build an App with Android Studio and I need some help
> because I don't know how to access to the google keyboard.
> I want to change the keyboard by myself.
>
> I am very great full for your help
>
> --
> 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/c86ee276-631d-4a34-ae0d-87f7ccbc1ff6%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/CABHzXAT6SccYu13fUQdoTqEwi%3Do85f6AQNex1AqzGcT_V137Yg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] settext in edittext and edit that string

2016-05-17 Thread sardar khan
hy, you can set the cursor position by using this
http://stackoverflow.com/questions/8035107/how-to-set-cursor-position-in-edittext

On Tue, May 17, 2016 at 11:17 PM, Nomana Malik 
wrote:

> i have a edittext in which i am setting a string
> edittext.settext(result).i want to edit result string but after settext
> there is no cursor no keyboard..
>
> --
> 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/a1258f20-ddb7-4719-b6d3-3b03a3abd795%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/CABHzXAQ3wEEpjd5Kqrk0025o0zxRaBVeeBK0zobPB4BTjFh1WQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Reading and displaying long formatted text documents in Android

2016-05-17 Thread sardar khan
Hy you can create pdf using IText Library and you can show pdf to user .
Sorry for bad english.
here is the link to create pdf using itext .

http://tutorials.jenkov.com/java-itext/table.html

On Tue, May 17, 2016 at 4:29 PM, Amitai Rosenberg 
wrote:

> Hi all.
>
> I'm developing an Android app which is supposed to present large text
> files (books for example), for the user to browse, read, and search.
>
> My question is as follows: How should I read and present the text file,
> which is currently in either a PDF or Word format, and is formatted?
>
> What file should the text be in (.doc, .txt, .xml, .html)?
>
> What controls/elements and code should I use to read it on the app so that
> it should be presented efficiently and formatted correctly (TextView,
> WebView, PDF reader, or some other way)?
> Should I convert it to some type of markup and then parse it?
>
> I'm quite at loss as to what to do...
> How is this usually done in Android?
>
> Hope someone can help me.
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/d6af3012-70aa-4a52-a42f-f30790df9577%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/CABHzXAQya33znkQFJmUOCZMoytr%3DKntcSYHwdhPMbLAHp2Y-aA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Link a database to an application through a website

2016-05-09 Thread sardar khan
You should use webservices to take data from your website in Json format
and send it to android and you can receive json from webservice and display
in App.

On Mon, May 9, 2016 at 11:58 AM, toi749  wrote:

> Hello. I'm a student in france. For the end of the year i need to do a
> project. I chose to do an android application but right now i'm a little
> bit lost. I must make an application wich take data from our website and
> show them on my phone screen. For that i searched a lot but i couldn't find
> anything about how could i do it. So i'm asking you today. How could i do
> that ? I'm using android studio for making my application but i'm lost in
> how could i show the data scavenged from the website on my screen ?
>
> Thank you in advance for your answers.
>
> --
> 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/e49e9063-95ad-4f58-948c-fe653105c857%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/CABHzXAQJwWMYpRNJx57dy7TmhD5de4L31dda58NLycMbD6K3fA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] can't create emulator with android studio on windovs 7(32bit)

2016-05-02 Thread sardar khan
No problem you can install the genymotion free
https://www.genymotion.com/plugins/
first sign in and then download the genymotion with virtual box its about
140-150 mb exe file.


On Mon, May 2, 2016 at 4:31 PM, kudkoji67 <tutifruti...@gmail.com> wrote:

> thank you sardar,is genimotion free?or its possible tu have cracked?i have
> blluestacks,but i like to create my emulator,i try to find cracked
> genymotion,thank you
>
> Il giorno lunedì 2 maggio 2016 13:12:14 UTC+2, sardar khan ha scritto:
>>
>> other solution is to install genyMotion it is very power full and android
>> studio has a plugin to integrate genyMotion iam using it .Easy and very
>> efficient and light weight then emulator
>>
>> On Mon, May 2, 2016 at 3:51 PM, kudkoji67 <tutifr...@gmail.com> wrote:
>>
>>> is any solution to create emulator with eclipse luna or is not
>>> suported?in bios i have not the option " Hardware Accelerated
>>> Virtualization "
>>>
>>> Il giorno lunedì 2 maggio 2016 12:44:56 UTC+2, sardar khan ha scritto:
>>>>
>>>> couple of weeks ago i experienced a same problem the solution is to
>>>> install the Intel HAXM .
>>>> if you cannot install the Intel HAXM you should go into system bios and
>>>> enable Hardware Accelerated Virtualization
>>>>
>>>> On Mon, May 2, 2016 at 3:33 PM, kudkoji67 <tutifr...@gmail.com> wrote:
>>>>
>>>>> hello,i have trayed to create my first emulator with android studio on
>>>>> windows 7(32 bit),but every time same problem:Unable to install Intel HAXM
>>>>> Your CPU does not support VT-x.
>>>>> Unfortunately, your computer does not support hardware accelerated
>>>>> virtualization.
>>>>> Here are some of your options:
>>>>>  1) Use a physical device for testing
>>>>>  2) Develop on a Windows/OSX computer with an Intel processor that
>>>>> supports VT-x and NX
>>>>>  3) Develop on a Linux computer that supports VT-x or SVM
>>>>>  4) Use an Android Virtual Device based on an ARM system image
>>>>>(This is 10x slower than hardware accelerated virtualization)
>>>>>
>>>>> Creating Android virtual device
>>>>> Unable to create a virtual device: Unable to create Android virtual
>>>>> device,every time error,and your device not support vst,also i have try
>>>>> diferent arm eabi v7a,varius nexus,kitkat,lollipop,but nothing,i can see
>>>>> the emulator start,how to resolve this problem and start finaly a android
>>>>> emulator?
>>>>>
>>>>>
>>>>> --
>>>>> 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-d...@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/61b92c98-c78f-4bdb-a807-e9f18deb68f3%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/android-developers/61b92c98-c78f-4bdb-a807-e9f18deb68f3%40googlegroups.com?utm_medium=email_source=footer>
>>>>> .
>>>>> 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-d...@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/5953c644-fd7a-4b30-bfb1-68868da34f21%40googlegroups.com
>>> <https://groups.google.com/d/msgid/android-developers/5953c644-fd7a-4b30-bfb1-68868da34f21%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are sub

Re: [android-developers] can't create emulator with android studio on windovs 7(32bit)

2016-05-02 Thread sardar khan
other solution is to install genyMotion it is very power full and android
studio has a plugin to integrate genyMotion iam using it .Easy and very
efficient and light weight then emulator

On Mon, May 2, 2016 at 3:51 PM, kudkoji67 <tutifruti...@gmail.com> wrote:

> is any solution to create emulator with eclipse luna or is not suported?in
> bios i have not the option " Hardware Accelerated Virtualization "
>
> Il giorno lunedì 2 maggio 2016 12:44:56 UTC+2, sardar khan ha scritto:
>>
>> couple of weeks ago i experienced a same problem the solution is to
>> install the Intel HAXM .
>> if you cannot install the Intel HAXM you should go into system bios and
>> enable Hardware Accelerated Virtualization
>>
>> On Mon, May 2, 2016 at 3:33 PM, kudkoji67 <tutifr...@gmail.com> wrote:
>>
>>> hello,i have trayed to create my first emulator with android studio on
>>> windows 7(32 bit),but every time same problem:Unable to install Intel HAXM
>>> Your CPU does not support VT-x.
>>> Unfortunately, your computer does not support hardware accelerated
>>> virtualization.
>>> Here are some of your options:
>>>  1) Use a physical device for testing
>>>  2) Develop on a Windows/OSX computer with an Intel processor that
>>> supports VT-x and NX
>>>  3) Develop on a Linux computer that supports VT-x or SVM
>>>  4) Use an Android Virtual Device based on an ARM system image
>>>(This is 10x slower than hardware accelerated virtualization)
>>>
>>> Creating Android virtual device
>>> Unable to create a virtual device: Unable to create Android virtual
>>> device,every time error,and your device not support vst,also i have try
>>> diferent arm eabi v7a,varius nexus,kitkat,lollipop,but nothing,i can see
>>> the emulator start,how to resolve this problem and start finaly a android
>>> emulator?
>>>
>>>
>>> --
>>> 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-d...@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/61b92c98-c78f-4bdb-a807-e9f18deb68f3%40googlegroups.com
>>> <https://groups.google.com/d/msgid/android-developers/61b92c98-c78f-4bdb-a807-e9f18deb68f3%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> 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/5953c644-fd7a-4b30-bfb1-68868da34f21%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/5953c644-fd7a-4b30-bfb1-68868da34f21%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CABHzXAS_-L095zO2d4FxJn6ddD45zadfeSse0BnxTa860gNHtg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] can't create emulator with android studio on windovs 7(32bit)

2016-05-02 Thread sardar khan
couple of weeks ago i experienced a same problem the solution is to install
the Intel HAXM .
if you cannot install the Intel HAXM you should go into system bios and
enable Hardware Accelerated Virtualization

On Mon, May 2, 2016 at 3:33 PM, kudkoji67  wrote:

> hello,i have trayed to create my first emulator with android studio on
> windows 7(32 bit),but every time same problem:Unable to install Intel HAXM
> Your CPU does not support VT-x.
> Unfortunately, your computer does not support hardware accelerated
> virtualization.
> Here are some of your options:
>  1) Use a physical device for testing
>  2) Develop on a Windows/OSX computer with an Intel processor that
> supports VT-x and NX
>  3) Develop on a Linux computer that supports VT-x or SVM
>  4) Use an Android Virtual Device based on an ARM system image
>(This is 10x slower than hardware accelerated virtualization)
>
> Creating Android virtual device
> Unable to create a virtual device: Unable to create Android virtual
> device,every time error,and your device not support vst,also i have try
> diferent arm eabi v7a,varius nexus,kitkat,lollipop,but nothing,i can see
> the emulator start,how to resolve this problem and start finaly a android
> emulator?
>
>
> --
> 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/61b92c98-c78f-4bdb-a807-e9f18deb68f3%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/CABHzXATtceH2wUo0Rik4ow%3DMYVyKTzp_pWFBzucbWPx2PoAc_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Saving state of custom adapter

2016-04-28 Thread sardar khan
http://stackoverflow.com/questions/19087096/android-radio-buttons-keep-changing-their-state-when-list-view-scrolled

kindly have look at this to solve the problem
Thanks regards
Sardar Khan

On Thu, Apr 28, 2016 at 6:20 PM, shikhar jain <shikhar...@gmail.com> wrote:

> Hey,
>
> I am developing an app that include a CustomAdapter which contains a
> listview with checkboxes in it. I am having trouble with storing the state
> of the listview .
> i.e After restarting the app the checked items do not stay checked.
>
> --
> 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/fa9af90c-e523-4479-a684-d7ba1a52d62b%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/fa9af90c-e523-4479-a684-d7ba1a52d62b%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CABHzXATtt6fZze8J8ereVWJNm%2ByHU8PTvbcWwVsof5N_Xxns2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android Studio listView Add and Search

2016-04-28 Thread sardar khan
you have to make a custom filter for searching in the listView.Kindly watch
this vedio to implement custom filter for searching
https://www.youtube.com/watch?v=cC5vz9vIGy8

On Wed, Apr 27, 2016 at 9:07 PM, Deividas Brazenas <
deividas.braze...@gmail.com> wrote:

> I have a task to make an Android application with a `ListView`, which must
> have an add button and search system. I have watched a few tutorials (
> https://www.youtube.com/watch?v=c9yC8XGaSv4 and
> https://www.youtube.com/watch?v=7LgEk3Cg9Yk) and using both tutorials I
> have developed a program. The program can do both things, but there is a
> bug. When I first run the app, I add a few items and then I use the search
> functionality. The search works just fine, but after the search has been
> used once, it is no longer working.
>
> Below is my code:
>
>
> private ArrayList arrayList;
> private ArrayAdapter adapter;
> private EditText txtInput;
> SearchView searchView;
>
> protected void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.activity_main);
>
> ListView listView = (ListView)findViewById(R.id.listv);
>
> String Items[]={};
>
> arrayList = new ArrayList<>(Arrays.asList(Items));
>
> adapter = new
> ArrayAdapter(this,android.R.layout.simple_list_item_1,arrayList);
> listView.setAdapter(adapter);
>
> txtInput = (EditText)findViewById(R.id.txtinput);
>
> Button btAdd = (Button)findViewById(R.id.btadd);
>
> searchView = (SearchView)findViewById(R.id.searchView1);
>
> searchView.setOnQueryTextListener(new
> SearchView.OnQueryTextListener() {
> @Override
> public boolean onQueryTextSubmit(String text) {
> return false;
> }
>
> @Override
> public boolean onQueryTextChange(String text) {
> adapter.getFilter().filter(text);
> return false;
> }
> });
>
> btAdd.setOnClickListener(new View.OnClickListener() {
> @Override
> public void onClick(View v) {
> String newItem = txtInput.getText().toString();
> arrayList.add(newItem);
> adapter.notifyDataSetChanged();
> }
> });
> }
> }
>
> --
> 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/febb9b5f-a2ff-4876-9479-0fe74b0bd1b4%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/CABHzXASDAnbsTtWjOUKK-X7E81xV1GmTe%3DjO1zpb5sZkwprckg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] i can't publish my App into Google play store

2016-04-27 Thread sardar khan
have you uploaded the apk of the app and also provide all resources for app
top published.

On Wed, Apr 27, 2016 at 3:48 PM,  wrote:

> hello dear please check why i can't publish my app to google play thank
> you and give me the solution
>
> --
> 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/57d50c01-4e41-4eb0-ad7e-a1de2af12ff9%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/CABHzXAR_KyEVkz7T8kmmKS-6xr9JtY-8V73vZH7O5twXD8kUdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android App crash in Marshmallow

2016-04-22 Thread sardar khan
kindly paste the logcat details here so we can check what the problem is

On Fri, Apr 22, 2016 at 12:21 PM, Mayuri Bhamare  wrote:

> My android app works in KitKat, Lollipop, but as soon as you try to
> install it on Marshmallow, It gives error
>
>
> Unfortunately App is stopped.
>
>
> Unable to understand the problem
>
>
> App is compiled in Eclipse
>
>
> --
> 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/a962011c-b4df-496a-a667-56c986617311%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/CABHzXAR2t4SV2zjx0FH%2B06NL5FvzdfE6ins5-YJD-T0MkTbKRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Need Eclipse Support for development

2016-04-21 Thread sardar khan
you can update your support library through sdk and then import the support
library to eclipse and run the app.If your computer has 64-bit OS then u
can run 64 or 32 bit version of eclipse adt if your computer has 32 bit OS
you should use 32-bit eclipse adt bundle .thanks

On Fri, Apr 22, 2016 at 7:35 AM, Jonathan S  wrote:

> Eclipse support is obsolete.
>
> On Thursday, April 21, 2016 at 9:02:53 AM UTC-4, TCY Team wrote:
>>
>> Hi Team
>>
>> I have an old project which was made in eclipse. Now I want to execute it
>> on Eclipse but it is not showing me support due to support libraries.
>> Kindly help me out with the same what should I do make it runnable on
>> eclipse. It was ready on 32 bit eclipse mars but now it is not able to run
>> on 64 bit eclipse.
>>
> --
> 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/d69867f8-8253-4174-b585-cc928667ed4d%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/CABHzXAQGPFM37DspWBaLJAVgqL3Rs4Ukaca487jqhyrOhysyGg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Listing on date does not have the correct order on older Android version

2016-04-08 Thread sardar khan
have you apply coustom filter on listview to filter the events based on
location..??
i think this issue might be the getview is recyclying its views position
randomly

On Fri, Apr 8, 2016 at 12:07 PM, Rutger Rozendal 
wrote:

> Dear college's,
>
> Last year we develop and Android App showing events on Rose Festival in
> Bulgaria.
> Everything worked quite smooth but there was one issue we really did not
> understand and extensive debugging did not help.
> The link to the App is below
>
> https://play.google.com/store/apps/details?id=com.ata48.roseapp
>
> So inside the app the are several lists that show events of the total
> program, but you can also sort by location.
> On the newer Android version this is working fine, but somehow on the
> older version, 4.3 and below the order is not correct.
>
> *So what we build?*
>
> We are building custom list view with using array adapters (which is okay
> in all phones) and for the information we are getting it from php services.
> And on android side we are using Volley
>  (to make the
> HTTP requests)
>
> *What is the problem?*
>
> The problem is that in some versions of Android we get the list in wrong
> order. For instance on Android 5.0 it works fine but on Android 4.3 it does
> not. See also attached pictures.
>
> *What do we know about the problem?*
>
> We debug it and we can see that the php services are working correct it
> means we are getting the information. So we believe that the phone with the
> older Android version are getting the events with the correct order from
> the server, but they are somehow changing it. To be very precise we are
> grouping the events into a group of one day. Inside this grouping the
> ordering is fine (from morning till evening), but the order or the groups,
> so the collection of events on certain days is wrong
>
> Furthermore we see that there is some sort of logic in this wrong order
> because it is always putting the events on the 4th of June on top, it is
> not something randomly. But what is now the logic we don't know. Can this
> have something to do with the date format, that these phone with the wrong
> day order do not interpretate the used date format in the correct way, we
> us Year-Month-Day
>
> *Help*
>
> Any help, maybe just a shared experience or a hint on the way to debug
> this would really be 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/0634a22c-8472-4817-96d8-00914c0ecc87%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/CABHzXARf%3DxjRV3mYc%3DLqBTYNh%3DTvBV0ho7zLmKX%3DAf9n-K44bQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Create pdf in android programmtically

2016-04-08 Thread sardar khan
Thanks.

On Fri, Apr 8, 2016 at 11:31 AM, gjs <garyjamessi...@gmail.com> wrote:

> Hi,
>
> See
> http://developer.android.com/reference/android/graphics/pdf/PdfDocument.html
>
> Regards
>
> On Friday, April 8, 2016 at 4:03:25 PM UTC+10, sardar khan wrote:
>>
>> Hy every one can any one guide me how to create pdf in android
>> programmatically. i want to write some text and some images to pdf
>> programmatically can any one guide me thanks
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/998d39ad-024c-4162-814c-56b9329b0721%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/998d39ad-024c-4162-814c-56b9329b0721%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CABHzXARy_HvdY1%2Bn3VFR0jMKVmhtHv9sQYKU6F%2B5V60-r51yag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Create pdf in android programmtically

2016-04-07 Thread sardar khan
Hy every one can any one guide me how to create pdf in android
programmatically. i want to write some text and some images to pdf
programmatically can any one guide me thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CABHzXASK4FAzPULOQzh4kZqj9mROcLtrH4YzZ2PHmGsdn-nhQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] bluetooth api

2016-04-02 Thread sardar khan
can you please send me the logcat details about the errors..so i can figure
out what the problem is

On Sat, Apr 2, 2016 at 8:57 PM, fbm fatma 
wrote:

> hi all, i want to display the list of bounded devices with the android
> bluetooth api , but i don't know why in this code when i run it in my
> device no toast is displayed by the way toast will conatain name of each
> device  .who  can help me ? and thx in advance :)
> this is the code
>
> package com.example.fatma.cst;
> import android.bluetooth.BluetoothAdapter;import 
> android.bluetooth.BluetoothDevice;import android.content.Intent;import 
> android.os.Bundle;import android.support.v7.app.AppCompatActivity;import 
> android.widget.TextView;import android.widget.Toast;
> import java.util.Set;import java.util.Vector;
> public class MainActivity extends AppCompatActivity {
> TextView txt = null;
> private static final int REQUEST_ENABLE_BT = 1;
>
> @Override
> protected void onCreate(Bundle savedInstanceState) {
>
> final Vector mArrayAdapter = null;
> super.onCreate(savedInstanceState);
> setContentView(R.layout.activity_main);
>
> BluetoothAdapter 
> bluetoothAdapter=BluetoothAdapter.getDefaultAdapter();
>
> if(bluetoothAdapter==null){
> Toast t=new Toast(this);
> t.setText("Sorry your phone do not support Bluetooth");
> t.show();
> }
> else
> {
> if (!bluetoothAdapter.isEnabled()) {
> Intent enableBtIntent = new 
> Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);
> startActivityForResult(enableBtIntent, REQUEST_ENABLE_BT);
> }
>
> if(REQUEST_ENABLE_BT!=0) {
>
>
>
> /* bluetoothAdapter.startDiscovery();
> BroadcastReceiver mReceiver = new BroadcastReceiver() {
> public void onReceive(Context context, Intent intent) {
> String action = intent.getAction();
>
> //Finding devices
> if (BluetoothDevice.ACTION_FOUND.equals(action)) {
> // Get the BluetoothDevice object from the Intent
> BluetoothDevice device = 
> intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
> // Add the name and address to an array adapter 
> to show in a ListView
> mArrayAdapter.add(device.getName() + "\n" + 
> device.getAddress());
>
>
>
> }
> }
>
> };*/
>
> //IntentFilter filter = new 
> IntentFilter(BluetoothDevice.ACTION_FOUND);
>// registerReceiver(mReceiver, filter);
>Set devices;
>
> devices = bluetoothAdapter.getBondedDevices();
> for (BluetoothDevice blueDevice : devices) {
> Toast.makeText(this, "Device = " + blueDevice.getName(), 
> Toast.LENGTH_SHORT).show();
> }
> }
> }
>
>
> }
> }
>
> --
> 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/323e3772-1a94-49f4-9357-a4e3afbde332%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/CABHzXARRDR%2Bo-mH0cEbkAeJzDfL7B8Cc%3DfEHQtXv3D%3DtToQGzw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] SQL statement error

2016-03-28 Thread sardar khan
you can use delete query to delete data from table . where you provide null
to delete evey things from it .


On Mon, Mar 28, 2016 at 11:20 PM, Elijah Smith <
elijah.matthew.sm...@gmail.com> wrote:

> I have this SQL statement that I want to execute:
>
> db.execSQL("DELETE * FROM " + TABLE_NAME + " WHERE " + DATE_TO_REMIND + "='" 
> + date + "'");
>
>
> Which, if I were running it today, translates to:
>
>
> "DELETE * FROM Vocabulary WHERE dateToReming ='2016/03/28'"
>
>
> This is throwing errors in the logcat though that point to the *, but I
> can't understand what it is saying is faulty about this statement. Here is
> the error:
>
> java.lang.RuntimeException: Unable to start activity
>>> ComponentInfo{nuffsaidm8.me.activeenglish/nuffsaidm8.me.activeenglish.CheckVocabActivity}:
>>> android.database.sqlite.SQLiteException: near "*": syntax error (code 1): ,
>>> while compiling: DELETE * FROM Vocabulary WHERE Date_To_Remind='2016/03/28'
>>
>>
>>>at
>>> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
>>
>>
>>>at
>>> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
>>
>>
>>>at android.app.ActivityThread.-wrap11(ActivityThread.java)
>>
>>
>>>at
>>> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
>>
>>
>>>at android.os.Handler.dispatchMessage(Handler.java:102)
>>
>>
>>>at android.os.Looper.loop(Looper.java:148)
>>
>>
>>>at android.app.ActivityThread.main(ActivityThread.java:5417)
>>
>>
>>>at java.lang.reflect.Method.invoke(Native Method)
>>
>>
>>>at
>>> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
>>
>>
>>>at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
>>
>>
>>> Caused by: android.database.sqlite.SQLiteException: near "*": syntax
>>> error (code 1): , while compiling: DELETE * FROM Vocabulary WHERE
>>> Date_To_Remind='2016/03/28'
>>
>>
>>>at
>>> android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native
>>> Method)
>>
>>
>>>at
>>> android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:887)
>>
>>
>>>at
>>> android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:498)
>>
>>
>>>at
>>> android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
>>
>>
>>>at
>>> android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:58)
>>
>>
>>>at
>>> android.database.sqlite.SQLiteStatement.(SQLiteStatement.java:31)
>>
>>
>>>at
>>> android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1674)
>>
>>
>>>at
>>> android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1605)
>>
>>
>>>at
>>> nuffsaidm8.me.activeenglish.DBHelper.getWordsToReview(DBHelper.java:77)
>>
>>
>>>at
>>> nuffsaidm8.me.activeenglish.CheckVocabActivity.onCreate(CheckVocabActivity.java:55)
>>
>>
>>>at android.app.Activity.performCreate(Activity.java:6251)
>>
>>
>>>at
>>> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
>>
>>
>>>at
>>> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
>>
>>
>>>at
>>> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
>>
>>
>>>at android.app.ActivityThread.-wrap11(ActivityThread.java)
>>
>>
>>>at
>>> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
>>
>>
>>>at android.os.Handler.dispatchMessage(Handler.java:102)
>>
>>
>>>at android.os.Looper.loop(Looper.java:148)
>>
>>
>>>at android.app.ActivityThread.main(ActivityThread.java:5417)
>>
>>
>>>at java.lang.reflect.Method.invoke(Native Method)
>>
>>
>>>at
>>> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
>>
>>
>>>at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
>>
>> --
> 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/acbf2bb0-076c-4957-a69f-0b9510e45b10%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, 

Re: [android-developers] Android Studio Code Problems

2016-03-24 Thread sardar khan
You should get the index of position of the item and then pass it to
arrayList to remove the item use position as index to ArrayList to remove
the item from arrayList.

On Thu, Mar 24, 2016 at 10:47 PM, Mike  wrote:

>
>
> public class Notes extends AppCompatActivity {
>
> Button save;
> ArrayList addArray = new ArrayList();
> EditText txt;
> ListView show;
>
>
> @Override
> protected void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.activity_notes);
>
> txt = (EditText) findViewById(R.id.textInput);
> show = (ListView) findViewById(R.id.listView);
> save = (Button) findViewById(R.id.saveButton);
>
> final ArrayAdapter adapter = new 
> ArrayAdapter(Notes.this, android.R.layout.simple_list_item_1, 
> addArray);
>
> save.setOnClickListener(new View.OnClickListener() {
> @Override
> public void onClick(View v) {
>
> String getInput = txt.getText().toString();
>
> if (addArray.contains(getInput)) {
> Toast.makeText(getBaseContext(), "Note already added!", 
> Toast.LENGTH_LONG).show();
> } else if (getInput == null || getInput.trim().equals("")) {
> Toast.makeText(getBaseContext(), "Input required!", 
> Toast.LENGTH_LONG).show();
> } else {
> addArray.add(getInput);
>
> show.setAdapter(adapter);
> ((EditText) findViewById(R.id.textInput)).setText(" ");
> }
> }
> });
>
>
> show.setOnItemLongClickListener(new 
> AdapterView.OnItemLongClickListener() {
> @Override
> public boolean onItemLongClick(AdapterView av, View v, int 
> pos, long id) {
>
>
>
>
>
>
> return true;
> }
> });
>
> }
>
>
> }
>
>
>
>
> What would  I need to add to get the OnItemLongClickListener to delete
> specific items on the list view?
> 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/838730d0-9d4f-4e80-a5a8-e7bbf729aeb3%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/CABHzXATe34F_NrC2Z7tfFQYG%2B%3DCwEbBVqNhuSucHg2SYqLVzAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] AppBar title as page filter

2016-03-24 Thread sardar khan
Yes you can use toolbar as action bar then in menu item you can use Search
view to search or filter the Page.Then you can apply filter on textchanged
of the editttext in searchView.
http://developer.android.com/intl/ru/training/search/index.html
http://codetheory.in/adding-search-to-android/
you can use these tutorails to implement this.


On Thu, Mar 24, 2016 at 12:43 PM, Andrey  wrote:

> Hello!
>
> In material design specs
>  
> written
> that AppBar title can be a page filter.
> Can anyone tell me is there a quick way to implement it?
> Something similar to deprecated NAVIGATION_MODE_LIST feature, or I should
> implement it manually by providing custom AppBar layout?
>
> 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/d279c5f6-7690-41c2-94c2-2a21e64c24fc%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/CABHzXAT5dv9LPRePmx0Fo4goPDJfw5CBdk%3DYZKNHFWYGDAOJ0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android app cloesd direclty without showing error message?

2016-03-21 Thread sardar khan
use library for loading image Use Picasso Image Library to load Image
Perfectly.Thanks

On Mon, Mar 21, 2016 at 6:21 PM, Shrawan Shinde 
wrote:

> working on e-commerce app, i need to load 100 image (Using Glide) at time
> , so it consume up to 32 MB memory and app suddenly stopped without showing
> error. plz help me
>
> --
> 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/636946ee-88b7-4c71-8f59-7e8d3904e187%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/CABHzXAScW8H2OO-T10bT7DBqXNB47i8Lo5jPUft7xdoGqniDcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] How to copy in internal storage?

2016-03-21 Thread sardar khan
have a look at this
http://developer.android.com/training/basics/data-storage/files.html

On Mon, Mar 21, 2016 at 5:36 PM, Cristian Dominguez 
wrote:

> Hey,
>
> I have a problem copying an file to internal storage:
>
> I have done an app that extracts the .apk file of an installed app. Well,
> the problem comes when i try to copy it in a location... the copy doesn't
> produce...
>
> How can i solve this?
>
> Thanks,
> Cristian
>
> --
> 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/4d362381-59e7-40f9-9720-ef6d0ec28acd%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/CABHzXAREmLJ52-Leb0ehWaSWTUS5np9q%3DCU0x%3DYj5QYh-MBs3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] New project with online database

2016-03-19 Thread sardar khan
AsyncTask

On Sun, Mar 20, 2016 at 1:08 AM, Anwar Saiah  wrote:

> I'm working on an app that should retreive some data from a web stored
> database. Then this data will be maintained manipulated and such..
> I thought that it would best if I built a java class in my android project
> to hold an object(Student) that will hold the data.
> Then another class Students that will have a linked list of students and a
> http post request object that will retreive the data. Now before I get into
> anymore detail, is this a good practice? You see inside this Students class
> I have to create a new thread that will do the networking and store data
> into the list before displaying it on the UI.
> What is best if so to use for retreiving the info to the list from the
> thread? ThreadHandler, Thread, AsyncTask ?
>
> --
> 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/77de91f1-8078-47f1-9fad-4864b3c1d8a8%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/CABHzXARY_Sih%3DoSKdAhEf15CsdRp-Hshe1d86Yp3_rGNEpp32Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Regarding push notification....

2016-03-07 Thread sardar khan
sorry i haven't implemented it yet.if you send me the code .i can develope
it for you.

On Mon, Mar 7, 2016 at 9:31 PM, DoN KaRThi 
wrote:

> send me the code frd..
>
> Best Regards,
>
>  Karthikeyan (IT dept)
> +91 7708284542
>
> On 7 March 2016 at 00:30, deepank dwivedi 
> wrote:
>
>> Use GCM to notify the android client when there is any updation in table
>> , use broadcast there to generate any notification or operation .
>>
>> On Sunday, 6 March 2016 15:28:14 UTC+5:30, DoN KaRThi wrote:
>>>
>>>  Dear friends,
>>>   i want to send a push notification only where there is
>>> updation on my table,...my table is located on server using mysql..if there
>>> is any update means i should send notification to all users of app...pls
>>> help me to send this friendsif you found means send me the code to
>>> karthikeyandon...@gmail.com..ph no:7708284542
>>>
>> --
>> 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/s-Z5je36FI4/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, 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/4b748326-5b48-4da7-962b-eb6e1ac481a2%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/CAMfaJV2fb3MkD9c%3DrxQAp4HzY7yyGmtV4T3PcaMYWsoKy8EZ3Q%40mail.gmail.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/CABHzXAQmHCaNo0jwE0Ez-Z7a%2BJoKxQpRtxzXom4pKHi9c0wxwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Regarding push notification....

2016-03-06 Thread sardar khan
when you update the table means when you run the update query simply call
the webservice that send json data and on the android side parse the json
and then generate the PushNotification.

On Sun, Mar 6, 2016 at 2:58 PM, DoN KaRThi 
wrote:

>  Dear friends,
>   i want to send a push notification only where there is updation
> on my table,...my table is located on server using mysql..if there is any
> update means i should send notification to all users of app...pls help me
> to send this friendsif you found means send me the code to
> karthikeyandon...@gmail.com..ph no:7708284542
>
> --
> 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/bc62feff-a943-4e07-a422-a9f12186db1b%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/CABHzXASX%2B86VTd-3HNmJh782Rt%2BoW3zxSC-Fp2H0b8Bf3sGx1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Syntax error: Unterminated quoted string

2016-03-03 Thread sardar khan
kindly upload the picture

On Thu, Mar 3, 2016 at 6:28 PM, pankaj sharma  wrote:

> I am getting ghis error ... */tools/emulator: Syntax error: Unterminated
> quoted string* in android studio and eclipse as well.. please suggest
> some solution.
>
> --
> 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/3bfa64c2-ec73-47d1-b875-e1eddac905f3%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/CABHzXAQkts4kgkmH110Ma6yGzf9e%2BucB6aStAFXEA2LJHU0f5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] One big json call or multiple per activity calls for json?

2016-03-01 Thread sardar khan
i think good practice is to load all data first time and save it.

On Tue, Mar 1, 2016 at 8:34 PM, Marcel Molenaar  wrote:

> Hello,
>
> What is good practice?
>
> I consider to do one call to my serverside json file at the first activity
> of my app and get all my data at once.
>
> My college prefers to split it up into separate json calls in each
> activity so only data for that specific activity will be requested.
>
> Which approach is the best?
>
> Regards,
>
> Marcel Molenaar
>
> --
> 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/c384f425-f8d3-485a-9b6a-03cac353cf7b%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/CABHzXAR4ryw_8toBdNUOLVJ4nXmi1VZFdNMu%3DNweyrNQk7ZJ7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] ImageView not showing

2016-02-29 Thread sardar khan
so you add this imageview to the parent view.Like if you have linear
layout.So linearLayout.addview(d1);

On Tue, Mar 1, 2016 at 6:19 AM, Elijah Smith  wrote:

> I'm trying to set an imageview totally programatically. This is all I am
> doing:
>
> ImageView d1 = new ImageView(getApplicationContext());
> d1.setImageResource(R.drawable.diamond);
> d1.setPadding(50, 50, 0, 0);
> d1.setPadding(100, 50, 0, 0);
> d1.setVisibility(View.VISIBLE);
>
>
> But the image doesn't seem to be appearing on the activity. Also note that
> it is not defined in the xml file. I believe that to be the problem, but I
> wanted to ask if that was actually neccessary. If not, then what IS my
> problem?
>
> --
> 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/a2e98ea1-9454-41fb-a747-d35df14e4a8f%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/CABHzXATMSi9EtijS5g1SECEG5V3pbOB0C9w-15kHuCZqt8Z9PQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] REST Service phpp android Studio not work.

2016-02-16 Thread sardar khan
First check on your php side if the response is in json then proceed to
android side

On Wed, Feb 17, 2016 at 3:58 AM, TreKing  wrote:

>
> On Tue, Feb 16, 2016 at 9:20 AM, oscar cuenca 
> wrote:
>
>> The app is builded with no errors. But when I try to test in my device it
>> doesn't work.
>> I can't find any error.
>>
>
> Did you try looking at the callstack you posted with this very question?
>
> 02-16 13:01:56.708 27336-27336/com.amg_eservices.mywisen W/System.err: 
> org.json.JSONException: Value  of type java.lang.String cannot be 
> converted to JSONObject
>
> You are apparently trying to parse an html response as JSON. Don'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/CANCScggrRjF85to8fzUEhQmLdDeNra3QvndidV4GCUSiR7N48g%40mail.gmail.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/CABHzXARYv8f37jdZrhX0_EgThzmAo4W1ASNxf%2BxkO1YTWCOTpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] IAP Error

2016-02-16 Thread sardar khan
Hy i have implemented the IAP in android.I create the application on 
playstore , i add publickey to my project, i add the testacount and test 
the app from my test acount and i also click the link and become a tested 
to test application and i have uploaded the apk on Open Alpha testing, and 
i alos try for open beta testing on playstore the error is same.
"The item you requested is not available for purchase".
can any one plese help me to solve this issue i have google it but cannot 
find the solution on Stack Over flow no solution work for me 
Thanks for help 


-- 
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/737a4c17-e265-4fb5-9d65-4e2be96059b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Installing Android Studio without hurting Eclipse

2016-02-11 Thread sardar khan
Yes you can use both eclipse and android studio at the same time place
eclipse in another directory and install android studio in other directory
like C and place Android Sdk any where .

On Fri, Feb 12, 2016 at 3:57 AM, 'RLScott' via Android Developers <
android-developers@googlegroups.com> wrote:

> I have Eclipse on my Windows 7 system and it is working fine (well, as
> fine as Eclipse is capable of running..)  I want to try changing over to
> Android Studio, but I don't want to burn my bridges behind me.  Can the
> Android Studio installation be done in such as way that there is no
> possible danger to my existing Eclipse installation and projects so I could
> return to Eclipse at any time? (And don't say "re-install Eclipse").  I am
> worried about things like a common Java or Android SDK component.  If there
> is any chance of messing up my Eclipse installation, I might consider
> buying a new computer and begin a changeover to Windows 10.
>
> -Robert Scott
>  Hopkins, MN
>
> --
> 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/832f93b6-99af-4a1f-b7ba-1475636b05a6%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/CABHzXASj2gn1fXbbdHT8oVwW3xK%3D9BKNRJPkn4sWXvYr%2BveVdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Building APK issues

2016-02-10 Thread sardar khan
you should have a string in the res/values/strings folder name app_name it
indicating that it is missing declare it.

On Thu, Feb 11, 2016 at 12:15 AM, Kevin Technologx 
wrote:

> Alright I used this same AndroidManifest.xml code several times to create
> my app and it worked just fine now I'm getting 5 different errors and I
> can't figure out why.
>
> Here's the xml code:
>
> 
> http://schemas.android.com/apk/res/android;
>  package="technologx.technologx"
>  android:installLocation="preferExternal"
>  android:versionCode="1"
>  android:versionName="1.0" >
>
>android:minSdkVersion="16"
>  android:targetSdkVersion="23" />
>
>  
>  
>  
>  
>  
>  
>  
>
>android:name="com.google.android.backup.api_key"
>  android:value="AEdPqrEILe2cCZXNBhacXv2fkMpNM5F7FWTdWRUw-r1dFg" />
>
>android:allowBackup="true"
>  android:icon="@mipmap/ic_launcher"
>  android:label="@string/app_name"
>  android:theme="@style/AppTheme" >
>android:name="technologx.technologx.SplashScreen"
>  android:label="@string/app_name" >
>  
>  
>
>  
>  
>  
>android:name="technologx.technologx.MainActivity"
>  android:label="@string/app_name" >
>  
>  
>
>  
>  
>  
>  
>
> 
>
>
> Here's the errors I"m getting every time I try to create the apk:
>
>
> Error:(27, 24) No resource found that matches the given name (at 'label'
> with value '@string/app_name').
> Error:(28, 24) No resource found that matches the given name (at 'theme'
> with value '@style/AppTheme').
>
> Error:(31, 28) No resource found that matches the given name (at 'label'
> with value '@string/app_name').
>
> Error:(40, 28) No resource found that matches the given name (at 'label'
> with value '@string/app_name').
>
> Error:Execution failed for task ':app:processReleaseResources'.
> > com.android.ide.common.process.ProcessException: org.gradle.process.
> internal.ExecException: Process 'command '/Users/knye1991/Library/Android/
> sdk/build-tools/23.0.2/aapt'' finished with non-zero exit value 1
>
>
> Could someone possibly help me fix my issue please?
>
> --
> 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/c3c5012e-e7a8-4c5d-b178-102f006d5301%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/CABHzXAQXcdcU8-3JiSY7H0796_nR4iBw6rbZ%2ByWh5KqAZfZGLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Help wanted for Android app development

2016-02-10 Thread sardar khan
http://stackoverflow.com/questions/14357566/activity-has-leaked-intentreceiver-that-was-originally-registered-here-are-you
look at this

On Wed, Feb 10, 2016 at 1:30 PM, MediaQuest | N.M. Molenaar <
i...@mediaquest.nl> wrote:

> Hi Sardar,
>
>
>
> I have this in my manifest.xml file:
>
>
>
> <*receiver **android**:name=**".MyReceiver"*>
> <*intent-filter*>
> <*action **android**:name=**"android.net.conn.CONNECTIVITY_CHANGE"
> */>
> 
> 
>
>
>
> Where to unregister it and how?
>
>
>
> Marcel
>
>
>
>
>
> *From:* android-developers@googlegroups.com [mailto:
> android-developers@googlegroups.com] *On Behalf Of *sardar khan
> *Sent:* woensdag 10 februari 2016 06:19
> *To:* android-developers@googlegroups.com
> *Subject:* Re: [android-developers] Help wanted for Android app
> development
>
>
>
> yes the first issue is due to the broadcast receiver to check the
> internet.you can use connectivityManager to check the internet state.or you
> can unregister the broadcast properly see the offical documentation about
> the broadcast receiver.
>
>
>
> On Wed, Feb 10, 2016 at 2:11 AM, MediaQuest | N.M. Molenaar <
> i...@mediaquest.nl> wrote:
>
> Damien,
>
>
>
> Thanks for your reply. I am in contact with 2 other men offering help so I
> do not know what to do now.
>
>
>
> Marcel
>
>
>
> *From:* android-developers@googlegroups.com [mailto:
> android-developers@googlegroups.com] *On Behalf Of *Damien Cooke
> *Sent:* dinsdag 9 februari 2016 21:59
> *To:* android-developers@googlegroups.com
> *Subject:* Re: [android-developers] Help wanted for Android app
> development
>
>
>
> I can help you,
>
> Send me the code and a description of what it is doing and what you need
> it to do and lets see if I can fix it for you.
>
>
>
> Damien
>
> On Wed, 10 Feb 2016 00:05 Marcel Molenaar <i...@mediaquest.nl> wrote:
>
> Hi,
>
>
>
> I am working on the development of an Android-app. I ran into some strange
> errors. I really need an expert to help me to solve this.
>
>
>
> Does anyone know someone who can assist me. i would like to send the whole
> project and an experienced developer to solve my issues.
>
>
>
> Regards,
>
>
>
> Marcel
>
> --
> 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/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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/t2ubR8P_ZS4/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/CAFE05BYW4ZMEtUWMA-5uDws05hm1qTWvCx4g-sxqM1Hsx%2BbQcA%40mail.gmail.com
> <https://groups.google.com/d/msgid/android-developers/CAFE05BYW4ZMEtUWMA-5uDws05hm1qTWvCx4g-sxqM1Hsx%2BbQcA%40mail.gmail.com?utm_medium=email_source=footer>
> .
> 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/000901d1637e%24691c0c50%243b5424f0%24%40mediaquest.nl
> <https://groups.google.com/d/msgid/android-developers/000901d1637e%24691c0c50%243b5424f0%24%40me

Re: [android-developers] Help wanted for Android app development

2016-02-10 Thread sardar khan
this will tell you how to unregister Recevier Android

On Wed, Feb 10, 2016 at 2:48 PM, sardar khan <sardar.khan...@gmail.com>
wrote:

>
> http://stackoverflow.com/questions/14357566/activity-has-leaked-intentreceiver-that-was-originally-registered-here-are-you
> look at this
>
> On Wed, Feb 10, 2016 at 1:30 PM, MediaQuest | N.M. Molenaar <
> i...@mediaquest.nl> wrote:
>
>> Hi Sardar,
>>
>>
>>
>> I have this in my manifest.xml file:
>>
>>
>>
>> <*receiver **android**:name=**".MyReceiver"*>
>> <*intent-filter*>
>> <*action **android**:name=**"android.net.conn.CONNECTIVITY_CHANGE"
>> */>
>> 
>> 
>>
>>
>>
>> Where to unregister it and how?
>>
>>
>>
>> Marcel
>>
>>
>>
>>
>>
>> *From:* android-developers@googlegroups.com [mailto:
>> android-developers@googlegroups.com] *On Behalf Of *sardar khan
>> *Sent:* woensdag 10 februari 2016 06:19
>> *To:* android-developers@googlegroups.com
>> *Subject:* Re: [android-developers] Help wanted for Android app
>> development
>>
>>
>>
>> yes the first issue is due to the broadcast receiver to check the
>> internet.you can use connectivityManager to check the internet state.or you
>> can unregister the broadcast properly see the offical documentation about
>> the broadcast receiver.
>>
>>
>>
>> On Wed, Feb 10, 2016 at 2:11 AM, MediaQuest | N.M. Molenaar <
>> i...@mediaquest.nl> wrote:
>>
>> Damien,
>>
>>
>>
>> Thanks for your reply. I am in contact with 2 other men offering help so
>> I do not know what to do now.
>>
>>
>>
>> Marcel
>>
>>
>>
>> *From:* android-developers@googlegroups.com [mailto:
>> android-developers@googlegroups.com] *On Behalf Of *Damien Cooke
>> *Sent:* dinsdag 9 februari 2016 21:59
>> *To:* android-developers@googlegroups.com
>> *Subject:* Re: [android-developers] Help wanted for Android app
>> development
>>
>>
>>
>> I can help you,
>>
>> Send me the code and a description of what it is doing and what you need
>> it to do and lets see if I can fix it for you.
>>
>>
>>
>> Damien
>>
>> On Wed, 10 Feb 2016 00:05 Marcel Molenaar <i...@mediaquest.nl> wrote:
>>
>> Hi,
>>
>>
>>
>> I am working on the development of an Android-app. I ran into some
>> strange errors. I really need an expert to help me to solve this.
>>
>>
>>
>> Does anyone know someone who can assist me. i would like to send the
>> whole project and an experienced developer to solve my issues.
>>
>>
>>
>> Regards,
>>
>>
>>
>> Marcel
>>
>> --
>> 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/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%40googlegroups.com
>> <https://groups.google.com/d/msgid/android-developers/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> 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/t2ubR8P_ZS4/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, 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/CAFE05BYW4ZMEtUWMA-5uDws05hm1qTWvCx4g-sxqM1Hsx%2BbQcA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/android-developers/CAFE05BYW4ZMEtUWMA-5uDws05hm1qTWvCx4g-sxqM1Hsx%2BbQcA%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>&g

Re: [android-developers] Help wanted for Android app development

2016-02-10 Thread sardar khan
yes its due to the images i will be solved if you reduce your image size

On Wed, Feb 10, 2016 at 4:00 PM, MediaQuest | N.M. Molenaar <
i...@mediaquest.nl> wrote:

> Hi Sardar,
>
>
>
> The problem is solved now, thanks for your help!
>
>
>
> I do not unregister it by the way because it should stay active through
> all livecycles of my app.
>
>
>
> I still have problems with outOfMemory errors on an old Android phone but
> I think it is due to my images
>
>
>
> Marcel
>
>
>
> *From:* android-developers@googlegroups.com [mailto:
> android-developers@googlegroups.com] *On Behalf Of *sardar khan
> *Sent:* woensdag 10 februari 2016 11:42
>
> *To:* android-developers@googlegroups.com
> *Subject:* Re: [android-developers] Help wanted for Android app
> development
>
>
>
> you should unregister the receiver in on stop or in on destroy method
>
>
>
> On Wed, Feb 10, 2016 at 2:49 PM, sardar khan <sardar.khan...@gmail.com>
> wrote:
>
> this will tell you how to unregister Recevier Android
>
>
>
> On Wed, Feb 10, 2016 at 2:48 PM, sardar khan <sardar.khan...@gmail.com>
> wrote:
>
>
> http://stackoverflow.com/questions/14357566/activity-has-leaked-intentreceiver-that-was-originally-registered-here-are-you
>
> look at this
>
>
>
> On Wed, Feb 10, 2016 at 1:30 PM, MediaQuest | N.M. Molenaar <
> i...@mediaquest.nl> wrote:
>
> Hi Sardar,
>
>
>
> I have this in my manifest.xml file:
>
>
>
> <*receiver **android**:name=**".MyReceiver"*>
> <*intent-filter*>
> <*action **android**:name=**"android.net.conn.CONNECTIVITY_CHANGE"
> */>
> 
> 
>
>
>
> Where to unregister it and how?
>
>
>
> Marcel
>
>
>
>
>
> *From:* android-developers@googlegroups.com [mailto:
> android-developers@googlegroups.com] *On Behalf Of *sardar khan
> *Sent:* woensdag 10 februari 2016 06:19
> *To:* android-developers@googlegroups.com
> *Subject:* Re: [android-developers] Help wanted for Android app
> development
>
>
>
> yes the first issue is due to the broadcast receiver to check the
> internet.you can use connectivityManager to check the internet state.or you
> can unregister the broadcast properly see the offical documentation about
> the broadcast receiver.
>
>
>
> On Wed, Feb 10, 2016 at 2:11 AM, MediaQuest | N.M. Molenaar <
> i...@mediaquest.nl> wrote:
>
> Damien,
>
>
>
> Thanks for your reply. I am in contact with 2 other men offering help so I
> do not know what to do now.
>
>
>
> Marcel
>
>
>
> *From:* android-developers@googlegroups.com [mailto:
> android-developers@googlegroups.com] *On Behalf Of *Damien Cooke
> *Sent:* dinsdag 9 februari 2016 21:59
> *To:* android-developers@googlegroups.com
> *Subject:* Re: [android-developers] Help wanted for Android app
> development
>
>
>
> I can help you,
>
> Send me the code and a description of what it is doing and what you need
> it to do and lets see if I can fix it for you.
>
>
>
> Damien
>
> On Wed, 10 Feb 2016 00:05 Marcel Molenaar <i...@mediaquest.nl> wrote:
>
> Hi,
>
>
>
> I am working on the development of an Android-app. I ran into some strange
> errors. I really need an expert to help me to solve this.
>
>
>
> Does anyone know someone who can assist me. i would like to send the whole
> project and an experienced developer to solve my issues.
>
>
>
> Regards,
>
>
>
> Marcel
>
> --
> 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/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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/t2ubR8P_ZS4/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> android-developers+unsubsc

Re: [android-developers] Help wanted for Android app development

2016-02-10 Thread sardar khan
Ok.no problem i love to help you in future as well thanks

On Wed, Feb 10, 2016 at 4:18 PM, MediaQuest | N.M. Molenaar <
i...@mediaquest.nl> wrote:

> Thanks for your help Sardar.
>
>
>
> The problem with the intent leak of my broadcastreceiver has gone. I have
> an Activity that holds a logout button in my app which makes intent to
> StartActivity (which is the launcher Activity as well):
>
>
>
> Intent i = *new *Intent(parent.getContext(), StartActivity.*class*);
> i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
> i.putExtra(*"EXIT"*, *true*);
> *//i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);*
>
>
>
> I think I has something to do with the flags I have put because now I
> played a bit with it (commented out  *FLAG_ACTIVITY_NEW_TASK *and now it
> seems to be ok
>
>
>
> Marcel
>
>
>
> *From:* android-developers@googlegroups.com [mailto:
> android-developers@googlegroups.com] *On Behalf Of *sardar khan
> *Sent:* woensdag 10 februari 2016 12:05
>
> *To:* android-developers@googlegroups.com
> *Subject:* Re: [android-developers] Help wanted for Android app
> development
>
>
>
> yes its due to the images i will be solved if you reduce your image size
>
>
>
> On Wed, Feb 10, 2016 at 4:00 PM, MediaQuest | N.M. Molenaar <
> i...@mediaquest.nl> wrote:
>
> Hi Sardar,
>
>
>
> The problem is solved now, thanks for your help!
>
>
>
> I do not unregister it by the way because it should stay active through
> all livecycles of my app.
>
>
>
> I still have problems with outOfMemory errors on an old Android phone but
> I think it is due to my images
>
>
>
> Marcel
>
>
>
> *From:* android-developers@googlegroups.com [mailto:
> android-developers@googlegroups.com] *On Behalf Of *sardar khan
> *Sent:* woensdag 10 februari 2016 11:42
>
>
> *To:* android-developers@googlegroups.com
> *Subject:* Re: [android-developers] Help wanted for Android app
> development
>
>
>
> you should unregister the receiver in on stop or in on destroy method
>
>
>
> On Wed, Feb 10, 2016 at 2:49 PM, sardar khan <sardar.khan...@gmail.com>
> wrote:
>
> this will tell you how to unregister Recevier Android
>
>
>
> On Wed, Feb 10, 2016 at 2:48 PM, sardar khan <sardar.khan...@gmail.com>
> wrote:
>
>
> http://stackoverflow.com/questions/14357566/activity-has-leaked-intentreceiver-that-was-originally-registered-here-are-you
>
> look at this
>
>
>
> On Wed, Feb 10, 2016 at 1:30 PM, MediaQuest | N.M. Molenaar <
> i...@mediaquest.nl> wrote:
>
> Hi Sardar,
>
>
>
> I have this in my manifest.xml file:
>
>
>
> <*receiver **android**:name=**".MyReceiver"*>
> <*intent-filter*>
> <*action **android**:name=**"android.net.conn.CONNECTIVITY_CHANGE"
> */>
> 
> 
>
>
>
> Where to unregister it and how?
>
>
>
> Marcel
>
>
>
>
>
> *From:* android-developers@googlegroups.com [mailto:
> android-developers@googlegroups.com] *On Behalf Of *sardar khan
> *Sent:* woensdag 10 februari 2016 06:19
> *To:* android-developers@googlegroups.com
> *Subject:* Re: [android-developers] Help wanted for Android app
> development
>
>
>
> yes the first issue is due to the broadcast receiver to check the
> internet.you can use connectivityManager to check the internet state.or you
> can unregister the broadcast properly see the offical documentation about
> the broadcast receiver.
>
>
>
> On Wed, Feb 10, 2016 at 2:11 AM, MediaQuest | N.M. Molenaar <
> i...@mediaquest.nl> wrote:
>
> Damien,
>
>
>
> Thanks for your reply. I am in contact with 2 other men offering help so I
> do not know what to do now.
>
>
>
> Marcel
>
>
>
> *From:* android-developers@googlegroups.com [mailto:
> android-developers@googlegroups.com] *On Behalf Of *Damien Cooke
> *Sent:* dinsdag 9 februari 2016 21:59
> *To:* android-developers@googlegroups.com
> *Subject:* Re: [android-developers] Help wanted for Android app
> development
>
>
>
> I can help you,
>
> Send me the code and a description of what it is doing and what you need
> it to do and lets see if I can fix it for you.
>
>
>
> Damien
>
> On Wed, 10 Feb 2016 00:05 Marcel Molenaar <i...@mediaquest.nl> wrote:
>
> Hi,
>
>
>
> I am working on the development of an Android-app. I ran into some strange
> errors. I really need an expert to help me to solve this.
>
>
>
> Does anyone know someone who can assist me. i would like to send the whole
> project and an experienced developer to solve my issues.
&

Re: [android-developers] Help wanted for Android app development

2016-02-10 Thread sardar khan
you should unregister the receiver in on stop or in on destroy method

On Wed, Feb 10, 2016 at 2:49 PM, sardar khan <sardar.khan...@gmail.com>
wrote:

> this will tell you how to unregister Recevier Android
>
> On Wed, Feb 10, 2016 at 2:48 PM, sardar khan <sardar.khan...@gmail.com>
> wrote:
>
>>
>> http://stackoverflow.com/questions/14357566/activity-has-leaked-intentreceiver-that-was-originally-registered-here-are-you
>> look at this
>>
>> On Wed, Feb 10, 2016 at 1:30 PM, MediaQuest | N.M. Molenaar <
>> i...@mediaquest.nl> wrote:
>>
>>> Hi Sardar,
>>>
>>>
>>>
>>> I have this in my manifest.xml file:
>>>
>>>
>>>
>>> <*receiver **android**:name=**".MyReceiver"*>
>>> <*intent-filter*>
>>> <*action **android**:name=**"android.net.conn.CONNECTIVITY_CHANGE"
>>> */>
>>> 
>>> 
>>>
>>>
>>>
>>> Where to unregister it and how?
>>>
>>>
>>>
>>> Marcel
>>>
>>>
>>>
>>>
>>>
>>> *From:* android-developers@googlegroups.com [mailto:
>>> android-developers@googlegroups.com] *On Behalf Of *sardar khan
>>> *Sent:* woensdag 10 februari 2016 06:19
>>> *To:* android-developers@googlegroups.com
>>> *Subject:* Re: [android-developers] Help wanted for Android app
>>> development
>>>
>>>
>>>
>>> yes the first issue is due to the broadcast receiver to check the
>>> internet.you can use connectivityManager to check the internet state.or you
>>> can unregister the broadcast properly see the offical documentation about
>>> the broadcast receiver.
>>>
>>>
>>>
>>> On Wed, Feb 10, 2016 at 2:11 AM, MediaQuest | N.M. Molenaar <
>>> i...@mediaquest.nl> wrote:
>>>
>>> Damien,
>>>
>>>
>>>
>>> Thanks for your reply. I am in contact with 2 other men offering help so
>>> I do not know what to do now.
>>>
>>>
>>>
>>> Marcel
>>>
>>>
>>>
>>> *From:* android-developers@googlegroups.com [mailto:
>>> android-developers@googlegroups.com] *On Behalf Of *Damien Cooke
>>> *Sent:* dinsdag 9 februari 2016 21:59
>>> *To:* android-developers@googlegroups.com
>>> *Subject:* Re: [android-developers] Help wanted for Android app
>>> development
>>>
>>>
>>>
>>> I can help you,
>>>
>>> Send me the code and a description of what it is doing and what you need
>>> it to do and lets see if I can fix it for you.
>>>
>>>
>>>
>>> Damien
>>>
>>> On Wed, 10 Feb 2016 00:05 Marcel Molenaar <i...@mediaquest.nl> wrote:
>>>
>>> Hi,
>>>
>>>
>>>
>>> I am working on the development of an Android-app. I ran into some
>>> strange errors. I really need an expert to help me to solve this.
>>>
>>>
>>>
>>> Does anyone know someone who can assist me. i would like to send the
>>> whole project and an experienced developer to solve my issues.
>>>
>>>
>>>
>>> Regards,
>>>
>>>
>>>
>>> Marcel
>>>
>>> --
>>> 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/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%40googlegroups.com
>>> <https://groups.google.com/d/msgid/android-developers/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>> 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/t2ubR8P_ZS4/unsubscribe
>>> .
>>> To unsubscribe from this group and all 

Re: [android-developers] Help wanted for Android app development

2016-02-09 Thread sardar khan
yes i can do it for you kindly inform me about your issue..??

On Tue, Feb 9, 2016 at 6:31 PM, Marcel Molenaar  wrote:

> Hi,
>
> I am working on the development of an Android-app. I ran into some strange
> errors. I really need an expert to help me to solve this.
>
> Does anyone know someone who can assist me. i would like to send the whole
> project and an experienced developer to solve my issues.
>
> Regards,
>
> Marcel
>
> --
> 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/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%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/CABHzXARHCnYviF87nB8vK3k5omtpvyerL-kojPaR1sCxQz%2BjNA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Help wanted for Android app development

2016-02-09 Thread sardar khan
yes the first issue is due to the broadcast receiver to check the
internet.you can use connectivityManager to check the internet state.or you
can unregister the broadcast properly see the offical documentation about
the broadcast receiver.

On Wed, Feb 10, 2016 at 2:11 AM, MediaQuest | N.M. Molenaar <
i...@mediaquest.nl> wrote:

> Damien,
>
>
>
> Thanks for your reply. I am in contact with 2 other men offering help so I
> do not know what to do now.
>
>
>
> Marcel
>
>
>
> *From:* android-developers@googlegroups.com [mailto:
> android-developers@googlegroups.com] *On Behalf Of *Damien Cooke
> *Sent:* dinsdag 9 februari 2016 21:59
> *To:* android-developers@googlegroups.com
> *Subject:* Re: [android-developers] Help wanted for Android app
> development
>
>
>
> I can help you,
>
> Send me the code and a description of what it is doing and what you need
> it to do and lets see if I can fix it for you.
>
>
>
> Damien
>
> On Wed, 10 Feb 2016 00:05 Marcel Molenaar  wrote:
>
> Hi,
>
>
>
> I am working on the development of an Android-app. I ran into some strange
> errors. I really need an expert to help me to solve this.
>
>
>
> Does anyone know someone who can assist me. i would like to send the whole
> project and an experienced developer to solve my issues.
>
>
>
> Regards,
>
>
>
> Marcel
>
> --
> 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/3c4b67ba-aa3c-4550-975c-5aa51b3ffbd4%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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/t2ubR8P_ZS4/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/CAFE05BYW4ZMEtUWMA-5uDws05hm1qTWvCx4g-sxqM1Hsx%2BbQcA%40mail.gmail.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/000901d1637e%24691c0c50%243b5424f0%24%40mediaquest.nl
> 
> .
>
> 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/CABHzXATigZd6ZdZG2w-geA%3DSvE_iyHrC0mU9xZcGtt7jeYx83A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   >