Re: [android-developers] Re: Facebook posting not works if any crashing in application and some devices not allowing post wall

2011-11-30 Thread NaveenShrivastva
Hello All your this information helps me very well now i handled this bug...


g8 developers you all..

Thanks very much.

On Wed, Nov 30, 2011 at 2:50 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

> At 1109 no line that is dialog button .
>
> Please find the attachment for this line.
>
> For posting wall i am creating a custom dialog with edittext, ok btn,
> cancel btn, rating btn 1,2,3,4,5, is handling 
>
>
>
>
>
>
>
> On Wed, Nov 30, 2011 at 2:29 PM, skink  wrote:
>
>>
>>
>> Naveen wrote:
>> > Hello All,
>> >
>> > Please help me .
>> >
>> >
>> > I am posting wall on facebook when some one stopped the video play.
>> >
>> >
>> > then a dialog is appearing user can able to type mesaage for post and
>> > clicking ok btn for post wall.
>> >
>> > This is working fine with LG-Optima and Samsung galexy tab.
>> >
>> > but some devices giving this error message to me:
>> >
>> >
>> >
>> > Error:
>> > 11-29 06:32:46.708: E/WindowManager(10737): Activity
>> > com.halosys.TvAnyTime.VideoPlayer has leaked window
>> > com.halosys.TvAnyTime.VideoPlayer$9.onClick(VideoPlayer.java:1109)
>> >
>> >
>> > Please need your help
>>
>> what do you see in com.halosys.TvAnyTime .VideoPlayer.java at line
>> 1109?
>>
>> do you have the sources?
>>
>> pskink
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
>

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

Re: [android-developers] Re: Facebook posting not works if any crashing in application and some devices not allowing post wall

2011-11-30 Thread NaveenShrivastva
Thanks very much..

Facebook post working for some devices ..

I am doing only code

 Bundle parameters = new Bundle();
parameters.putString("app_id", "3212313123");


   parameters.putString("picture",url);
  parameters.putString("name", " ");
 parameters.putString("caption"," ");

   parameters.putString("description","TV");

 parameters.putString("message",str_post);


  try {

//response = IntroFaceBookScreen.mFacebook.request("me/feed",
parameters, "POST");
response = mFacebook.request("me/feed",
parameters, "POST");


That's working on another devices .

On Wed, Nov 30, 2011 at 1:42 PM, Ali Chousein wrote:

> Have you really read the logcat well? I see that it's saying the
> following:
> Activity com.halosys.TvAnyTime.VideoPlayer has leaked
> window com.android.internal.policy.impl.PhoneWindow$DecorView@44a6e748
> that was originally added here
> The problem you are experiencing has nothing to do with posting on
> Facebook wall (BTW, the behavior while posting on the wall cannot be
> device specific. No matter which device you have, you are talking with
> Facebook Graph API). Your logcat reports leakage, apparently you are
> not using your objects correctly. Study your code, study related
> documentation, study related examples and you should be able to
> pinpoint where exactly the leakage is.
> - Ali Chousein Weather-
> Buddy http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
>  Geo-Filtered
> Assistant http://geo-filtered-assistant.blogspot.com https://
> marketplace.cisco.com/apphq/store/products/994
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Re: [android-developers] database connectivity on real device

2011-11-29 Thread NaveenShrivastva
data/data/package name/ur_database, Database folder you creating or not
by Ur own code .

On Tue, Nov 29, 2011 at 2:27 PM, Narendra Singh Rathore <
nsr.curi...@gmail.com> wrote:

> Hi all, plz help me connecting the sqlite database onto a real device.
> I have connected it to the android emulator easily,
> using push in DDMS -> file Explorer -> data/data/package name/ur_database.
> It worked fine.
>
> But, now when I going to use real device (Samsung Galaxy Pop) for
> database, it is giving me database exception.
> Even the former way of DDMS is unable to help me.
>
> I m perfectly fine running other apps (without using database), on my
> device.
> I tried a lot, but *still waiting* for the result.
>
> Suggest me what can I do to solve that...
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] When using seek bar for large file then hang

2011-11-28 Thread NaveenShrivastva
This issue occur with 400MB or more than 400MB large file...


Please help me how to smoothly works with seek bar forward and backward

On Mon, Nov 28, 2011 at 3:49 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

> Please help me it's issue only with large video file .
>
>
> On Mon, Nov 28, 2011 at 2:37 PM, Naveen wrote:
>
>> Hello Developers,
>>
>>
>> I am playing a .mp4 video file on android video view .
>>
>>
>> I am using seek bar media controller for forward , backward , play and
>> pause controller .
>>
>> It's works fine for small video file , when taking large size video
>> then it's not work smoothly.. hangs with black screen...
>>
>>
>> Please give me solution how to handle this cases.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>

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

Re: [android-developers] When using seek bar for large file then hang

2011-11-28 Thread NaveenShrivastva
Please help me it's issue only with large video file .

On Mon, Nov 28, 2011 at 2:37 PM, Naveen  wrote:

> Hello Developers,
>
>
> I am playing a .mp4 video file on android video view .
>
>
> I am using seek bar media controller for forward , backward , play and
> pause controller .
>
> It's works fine for small video file , when taking large size video
> then it's not work smoothly.. hangs with black screen...
>
>
> Please give me solution how to handle this cases.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] LIstView not working

2011-11-28 Thread NaveenShrivastva
Good , You use efficient adapter then it's possible according to my solution

read this

http://www.androidpeople.com/android-custom-listview-tutorial-part-1

after that do with this one place custom button on list item for selection
 enjoy=



http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List14.html

On Mon, Nov 28, 2011 at 2:59 PM, Kiran Kumar Kendole <
k.kirankumar1...@gmail.com> wrote:

> HI ,
>
> I need to show the List(ArrayList). with check boxes. And when we check a
> perticular item..
> I am using Options Menu which have options like "Edit, Delete" etc. That
> functioanlity I am expecting..
>
> Thanks,
> KIRANKUMARKENDOLE
>
>
>
> On Mon, Nov 28, 2011 at 4:26 AM, NaveenShrivastva <
> kumarnaveen.si...@gmail.com> wrote:
>
>> Confirm me what you want with list items .
>>
>>
>> On Mon, Nov 28, 2011 at 2:55 PM, NaveenShrivastva <
>> kumarnaveen.si...@gmail.com> wrote:
>>
>>>
>>>
>>> On Mon, Nov 28, 2011 at 2:50 PM, Mukesh Srivastav 
>>> wrote:
>>>
>>>> Please uninstall the application from the emulator first.
>>>>
>>> Please confirm me one think
>>>
>>>
>>>> You want select a particular item from a list.Please confirm me one
>>>> think list item what data contains only string or any GUI attribute .
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>> I am not sure, this is just an simple think to do. Android has lots
>>>> more challenges my dear which you need to work on.
>>>>
>>>> Warm Regards,
>>>> *Mukesh Kumar*,
>>>> Android Consultant/Freelancer,
>>>> India,Hyderabad.
>>>>
>>>>
>>>> On Mon, Nov 28, 2011 at 2:44 PM, Kiran Kumar Kendole <
>>>> k.kirankumar1...@gmail.com> wrote:
>>>>
>>>>> Hi Mukhesh ,
>>>>>
>>>>> I did the same as shown in the example.. but its throwing exception
>>>>> saying..
>>>>> 11-28 04:11:14.541: E/AndroidRuntime(594): java.lang.RuntimeException:
>>>>> Unable to start activity 
>>>>> ComponentInfo{com.ta.coe/com.ta.coe.DataListView}:
>>>>> java.lang.RuntimeException: Your content must have a ListView whose id
>>>>> attribute is 'android.R.id.list'
>>>>>
>>>>> JAVA Code:
>>>>> public void onCreate(Bundle icicle) {
>>>>> super.onCreate(icicle);
>>>>> setContentView(R.layout.data_list_view);
>>>>>  ListView lView = (ListView)findViewById(android.R.id.list);
>>>>> ArrayList values=new
>>>>> DBOpenHelper(this).buildListForHeadingData();
>>>>>  lView.setAdapter(new ArrayAdapter(this,
>>>>> android.R.layout.simple_list_item_multiple_choice, values));
>>>>>  //setListAdapter(adapter);
>>>>> lView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
>>>>>  }
>>>>> ===
>>>>> XML FIle (data_list_view)
>>>>> 
>>>>> http://schemas.android.com/apk/res/android";
>>>>>  android:orientation="vertical"
>>>>> android:layout_width="fill_parent"
>>>>>  android:layout_height="fill_parent"
>>>>> >
>>>>> >>>>  android:id="@+id/list"
>>>>> android:orientation="vertical"
>>>>> android:layout_width="fill_parent"
>>>>>  android:layout_height="0dip"
>>>>> android:layout_weight="1.0"
>>>>>  />
>>>>> 
>>>>>
>>>>> Can you tell me how to resolve this problem.
>>>>>
>>>>> Thanks,
>>>>> KIRANKUMARKENDOLE
>>>>>
>>>>>
>>>>> On Mon, Nov 28, 2011 at 3:25 AM, Mukesh Srivastav <
>>>>> mukicha...@gmail.com> wrote:
>>>>>
>>>>>> check this out.
>>>>>>
>>>>>> http://www.androidpeople.com/android-listview-multiple-choice-example
>>>>>>
>>>>>>
>>>>>> Warm Regards,
>>>>>> *Mukesh Kumar*,
>>>>>> Android Consultant/Freelancer,
>>>>>> India,Hyderabad.
>>>>>>
>>>>>> On Mon, Nov 28, 2011 at 1:35 PM, Kiran Kum

Re: [android-developers] LIstView not working

2011-11-28 Thread NaveenShrivastva
Confirm me what you want with list items .

On Mon, Nov 28, 2011 at 2:55 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

>
>
> On Mon, Nov 28, 2011 at 2:50 PM, Mukesh Srivastav wrote:
>
>> Please uninstall the application from the emulator first.
>>
> Please confirm me one think
>
>
>> You want select a particular item from a list.Please confirm me one think
>> list item what data contains only string or any GUI attribute .
>>
>
>
>
>
>
>
>
>
>> I am not sure, this is just an simple think to do. Android has lots more
>> challenges my dear which you need to work on.
>>
>> Warm Regards,
>> *Mukesh Kumar*,
>> Android Consultant/Freelancer,
>> India,Hyderabad.
>>
>>
>> On Mon, Nov 28, 2011 at 2:44 PM, Kiran Kumar Kendole <
>> k.kirankumar1...@gmail.com> wrote:
>>
>>> Hi Mukhesh ,
>>>
>>> I did the same as shown in the example.. but its throwing exception
>>> saying..
>>> 11-28 04:11:14.541: E/AndroidRuntime(594): java.lang.RuntimeException:
>>> Unable to start activity ComponentInfo{com.ta.coe/com.ta.coe.DataListView}:
>>> java.lang.RuntimeException: Your content must have a ListView whose id
>>> attribute is 'android.R.id.list'
>>>
>>> JAVA Code:
>>> public void onCreate(Bundle icicle) {
>>> super.onCreate(icicle);
>>> setContentView(R.layout.data_list_view);
>>>  ListView lView = (ListView)findViewById(android.R.id.list);
>>> ArrayList values=new
>>> DBOpenHelper(this).buildListForHeadingData();
>>>  lView.setAdapter(new ArrayAdapter(this,
>>> android.R.layout.simple_list_item_multiple_choice, values));
>>>  //setListAdapter(adapter);
>>> lView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
>>>  }
>>> ===
>>> XML FIle (data_list_view)
>>> 
>>> http://schemas.android.com/apk/res/android";
>>>  android:orientation="vertical"
>>> android:layout_width="fill_parent"
>>>  android:layout_height="fill_parent"
>>> >
>>> >>  android:id="@+id/list"
>>> android:orientation="vertical"
>>> android:layout_width="fill_parent"
>>>  android:layout_height="0dip"
>>> android:layout_weight="1.0"
>>>  />
>>> 
>>>
>>> Can you tell me how to resolve this problem.
>>>
>>> Thanks,
>>> KIRANKUMARKENDOLE
>>>
>>>
>>> On Mon, Nov 28, 2011 at 3:25 AM, Mukesh Srivastav 
>>> wrote:
>>>
>>>> check this out.
>>>>
>>>> http://www.androidpeople.com/android-listview-multiple-choice-example
>>>>
>>>>
>>>> Warm Regards,
>>>> *Mukesh Kumar*,
>>>> Android Consultant/Freelancer,
>>>> India,Hyderabad.
>>>>
>>>> On Mon, Nov 28, 2011 at 1:35 PM, Kiran Kumar Kendole <
>>>> k.kirankumar1...@gmail.com> wrote:
>>>>
>>>>> Thanks a lot Mukhesh. Yes I can see boxes.
>>>>> But when we click on the checkboxes.. its not happening check/un check.
>>>>> Do we need to add any code for this?
>>>>>
>>>>> Thanks,
>>>>> KIRANKUMARKENDOLE
>>>>>
>>>>>
>>>>> On Mon, Nov 28, 2011 at 12:41 AM, Mukesh Srivastav <
>>>>> mukicha...@gmail.com> wrote:
>>>>>
>>>>>> For CheckBox,
>>>>>>
>>>>>> Replace the simple_list_item_1.xml  with the below one.
>>>>>>
>>>>>> android.R.layout.simple_list_item_multiple_choice
>>>>>>
>>>>>> Warm Regards,
>>>>>> *Mukesh Kumar*,
>>>>>> Android Consultant/Freelancer,
>>>>>> India,Hyderabad.
>>>>>>
>>>>>> On Mon, Nov 28, 2011 at 10:50 AM, Kiran Kumar Kendole <
>>>>>> k.kirankumar1...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Mukhesh ,
>>>>>>>
>>>>>>> Thanks for your post. Its worked fine. But I have a small Q in
>>>>>>> addition with this.
>>>>>>> Because I have one user defined layout , so I used data_item_list
>>>>>>> XML file. In that I want to show a CheckBox for each List item and a 
>>>>>>> "ADD
>>>>>&

Re: [android-developers] LIstView not working

2011-11-28 Thread NaveenShrivastva
On Mon, Nov 28, 2011 at 2:50 PM, Mukesh Srivastav wrote:

> Please uninstall the application from the emulator first.
>
Please confirm me one think


> You want select a particular item from a list.Please confirm me one think
> list item what data contains only string or any GUI attribute .
>








> I am not sure, this is just an simple think to do. Android has lots more
> challenges my dear which you need to work on.
>
> Warm Regards,
> *Mukesh Kumar*,
> Android Consultant/Freelancer,
> India,Hyderabad.
>
>
> On Mon, Nov 28, 2011 at 2:44 PM, Kiran Kumar Kendole <
> k.kirankumar1...@gmail.com> wrote:
>
>> Hi Mukhesh ,
>>
>> I did the same as shown in the example.. but its throwing exception
>> saying..
>> 11-28 04:11:14.541: E/AndroidRuntime(594): java.lang.RuntimeException:
>> Unable to start activity ComponentInfo{com.ta.coe/com.ta.coe.DataListView}:
>> java.lang.RuntimeException: Your content must have a ListView whose id
>> attribute is 'android.R.id.list'
>>
>> JAVA Code:
>> public void onCreate(Bundle icicle) {
>> super.onCreate(icicle);
>> setContentView(R.layout.data_list_view);
>>  ListView lView = (ListView)findViewById(android.R.id.list);
>> ArrayList values=new DBOpenHelper(this).buildListForHeadingData();
>>  lView.setAdapter(new ArrayAdapter(this,
>> android.R.layout.simple_list_item_multiple_choice, values));
>>  //setListAdapter(adapter);
>> lView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
>>  }
>> ===
>> XML FIle (data_list_view)
>> 
>> http://schemas.android.com/apk/res/android";
>>  android:orientation="vertical"
>> android:layout_width="fill_parent"
>>  android:layout_height="fill_parent"
>> >
>> >  android:id="@+id/list"
>> android:orientation="vertical"
>> android:layout_width="fill_parent"
>>  android:layout_height="0dip"
>> android:layout_weight="1.0"
>>  />
>> 
>>
>> Can you tell me how to resolve this problem.
>>
>> Thanks,
>> KIRANKUMARKENDOLE
>>
>>
>> On Mon, Nov 28, 2011 at 3:25 AM, Mukesh Srivastav 
>> wrote:
>>
>>> check this out.
>>>
>>> http://www.androidpeople.com/android-listview-multiple-choice-example
>>>
>>>
>>> Warm Regards,
>>> *Mukesh Kumar*,
>>> Android Consultant/Freelancer,
>>> India,Hyderabad.
>>>
>>> On Mon, Nov 28, 2011 at 1:35 PM, Kiran Kumar Kendole <
>>> k.kirankumar1...@gmail.com> wrote:
>>>
 Thanks a lot Mukhesh. Yes I can see boxes.
 But when we click on the checkboxes.. its not happening check/un check.
 Do we need to add any code for this?

 Thanks,
 KIRANKUMARKENDOLE


 On Mon, Nov 28, 2011 at 12:41 AM, Mukesh Srivastav <
 mukicha...@gmail.com> wrote:

> For CheckBox,
>
> Replace the simple_list_item_1.xml  with the below one.
>
> android.R.layout.simple_list_item_multiple_choice
>
> Warm Regards,
> *Mukesh Kumar*,
> Android Consultant/Freelancer,
> India,Hyderabad.
>
> On Mon, Nov 28, 2011 at 10:50 AM, Kiran Kumar Kendole <
> k.kirankumar1...@gmail.com> wrote:
>
>> Hi Mukhesh ,
>>
>> Thanks for your post. Its worked fine. But I have a small Q in
>> addition with this.
>> Because I have one user defined layout , so I used data_item_list XML
>> file. In that I want to show a CheckBox for each List item and a "ADD 
>> DATA"
>> button after the end of the List.
>>
>> Can you please let me know how to edit this XML file..
>> simple_list_item_1.xml file?
>>
>> Thanks,
>> KIRANKUMARKENDOLE
>>
>>
>>
>> On Sun, Nov 27, 2011 at 11:59 PM, Mukesh Srivastav <
>> mukicha...@gmail.com> wrote:
>>
>>> Change this line in the adapter.
>>>
>>> Replace your code Adapet line with the below one.
>>>
>>>
>>> lv1.setAdapter(new
>>> ArrayAdapter( android.R.layout.simple_list_item_1 , lv_arr));
>>>
>>>
>>> Warm Regards,
>>> *Mukesh Kumar*,
>>> Android Consultant/Freelancer,
>>> India,Hyderabad.
>>>
>>>
>>>
>>>  On Mon, Nov 28, 2011 at 9:53 AM, Kiran Kumar Kendole <
>>> k.kirankumar1...@gmail.com> wrote:
>>>
  Hi Guys..
 this is my code... I want to show a set of strings as List. But its
 not working for me.. and showing exceptions.. can anybody help me.

 JAVA file:

 package com.ta.coe;

 import android.app.Activity;
 import android.app.ListActivity;
 import android.os.Bundle;
 import android.view.View;
 import android.widget.ArrayAdapter;
 import android.widget.ListView;
 import android.widget.Toast;

 public class DataListView extends ListActivity{
 private ListView lv1;
 private String lv_arr[]= new
 String[]{"Android","iPhone","BlackBerry","AndroidPeople"};
  @Override
 public void onCreate(Bundle icicle)
 {
  super.onCreate(icicle);
 setContentView(R.layout.data_list_view);
 lv1=(ListView)find

Re: [android-developers] LIstView not working

2011-11-27 Thread NaveenShrivastva
For this purpose you don not use this code..implement efficient adapter api

http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List14.html

On Mon, Nov 28, 2011 at 10:50 AM, Kiran Kumar Kendole <
k.kirankumar1...@gmail.com> wrote:

> Hi Mukhesh ,
>
> Thanks for your post. Its worked fine. But I have a small Q in addition
> with this.
> Because I have one user defined layout , so I used data_item_list XML
> file. In that I want to show a CheckBox for each List item and a "ADD DATA"
> button after the end of the List.
>
> Can you please let me know how to edit this XML file..
> simple_list_item_1.xml file?
>
> Thanks,
> KIRANKUMARKENDOLE
>
>
>
> On Sun, Nov 27, 2011 at 11:59 PM, Mukesh Srivastav 
> wrote:
>
>> Change this line in the adapter.
>>
>> Replace your code Adapet line with the below one.
>>
>>
>> lv1.setAdapter(new
>> ArrayAdapter( android.R.layout.simple_list_item_1 , lv_arr));
>>
>>
>> Warm Regards,
>> *Mukesh Kumar*,
>> Android Consultant/Freelancer,
>> India,Hyderabad.
>>
>>
>>
>>  On Mon, Nov 28, 2011 at 9:53 AM, Kiran Kumar Kendole <
>> k.kirankumar1...@gmail.com> wrote:
>>
>>>  Hi Guys..
>>> this is my code... I want to show a set of strings as List. But its not
>>> working for me.. and showing exceptions.. can anybody help me.
>>>
>>> JAVA file:
>>>
>>> package com.ta.coe;
>>>
>>> import android.app.Activity;
>>> import android.app.ListActivity;
>>> import android.os.Bundle;
>>> import android.view.View;
>>> import android.widget.ArrayAdapter;
>>> import android.widget.ListView;
>>> import android.widget.Toast;
>>>
>>> public class DataListView extends ListActivity{
>>> private ListView lv1;
>>> private String lv_arr[]= new
>>> String[]{"Android","iPhone","BlackBerry","AndroidPeople"};
>>>  @Override
>>> public void onCreate(Bundle icicle)
>>> {
>>>  super.onCreate(icicle);
>>> setContentView(R.layout.data_list_view);
>>> lv1=(ListView)findViewById(R.id.list);
>>>  // By using setAdpater method in listview we an add string array in
>>> list.
>>> lv1.setAdapter(new ArrayAdapter(this,R.id.list , lv_arr));
>>>  }
>>> }
>>> =
>>> XML File:
>>> 
>>> http://schemas.android.com/apk/res/android";
>>> android:orientation="vertical"
>>>  android:layout_width="fill_parent"
>>> android:layout_height="fill_parent"
>>>  >
>>> >> android:id="@+id/list"
>>> android:orientation="vertical"
>>>  android:layout_width="fill_parent"
>>> android:layout_height="0dip"
>>>  android:layout_weight="1.0"
>>> />
>>> 
>>>
>>> Please send me the correct code..
>>>
>>> Thanks
>>> KIRANKUMARKENDOLE
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>>
>> --
>>
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Re: [android-developers] Re: This page contains the following error: error on line 2 at colum 159: EntityRef: expecting ';' Reparse document as HTML. Below is a rendering of the page up to the first e

2011-11-27 Thread NaveenShrivastva
I am waiting for 3 days for positive reply regarding this issue but now
nothing i have to say abt this issue.



On Mon, Nov 28, 2011 at 8:25 AM, Sorab  wrote:

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

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

Re: [android-developers] Disable Home button code not working in another application

2011-11-25 Thread NaveenShrivastva
Sure i can able to AsyncTask  but there lot of coding stubs done by me
using handler need to change more coding stubs , that not actual solution
this is alternation solution , i want to solution with handler how to
handle this cases.

Regards,
Naveen shr




On Fri, Nov 25, 2011 at 4:05 PM, Mukesh Srivastav wrote:

> Please make use of AsyncTask .
>
> Mukesh Kumar,
> Android Consultant/Freelancer,
> India,Hyderabad.
>
>
> On Fri, Nov 25, 2011 at 4:01 PM, NaveenShrivastva <
> kumarnaveen.si...@gmail.com> wrote:
>
>> @Override
>>
>> public void onAttachedToWindow()
>> {
>> this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
>> super.onAttachedToWindow();
>> }
>>
>> This code for home key block is not working with handler , please give me
>> advice how to handle this one now.
>>
>>
>> On Fri, Nov 25, 2011 at 3:55 PM, NaveenShrivastva <
>> kumarnaveen.si...@gmail.com> wrote:
>>
>>> I am using handler inside onCreate for loading dialog, when using
>>> handler then home block key code not works , but when removing handler then
>>>  it's
>>>
>>> work fine .
>>>
>>>
>>> How to block home key with using handler ...
>>>
>>> Home blocking key works that time activity title bar visible , but here
>>> that's hidden by code.
>>>
>>> Please help me.
>>>
>>> *final* Handler handler = *new* *Handler*() {
>>>
>>>
>>>
>>>
>>>*public* void *handleMessage*(Message msg) {
>>>
>>>
>>>
>>>
>>>   dialog.*dismiss*();
>>>   }
>>>};
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Nov 25, 2011 at 3:03 PM, NaveenShrivastva <
>>> kumarnaveen.si...@gmail.com> wrote:
>>>
>>>> Please give me more guide line for handle this cases ...
>>>>
>>>>
>>>> On Fri, Nov 25, 2011 at 3:03 PM, NaveenShrivastva <
>>>> kumarnaveen.si...@gmail.com> wrote:
>>>>
>>>>> I am using *public class VideoPlayer extends Activity implements
>>>>> OnCompletionListener*
>>>>>
>>>>> this class interface here in this class i am also using the back
>>>>> button .
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 25, 2011 at 2:55 PM, Mukesh Srivastav <
>>>>> mukicha...@gmail.com> wrote:
>>>>> > Dear Naveen,
>>>>> > In order to achieve this, The Architecture of the application should
>>>>> be like
>>>>> > this.
>>>>> > 1. Create an ParentActivity which extends the Activity
>>>>> > 2. And all other activities should extend the parent acitivity.
>>>>> > Add the below code to the parent activity , rest it take cares in
>>>>> any part
>>>>> > of your application. hope you got it.
>>>>> >
>>>>> > Regards,
>>>>> > Mukesh Kumar,
>>>>> > Android Consultant/Freelancer,
>>>>> > India,Hyderabad.
>>>>> > On Fri, Nov 25, 2011 at 2:49 PM, Naveen >>>> >
>>>>> > wrote:
>>>>> >>
>>>>> >> I am writing this code for block Home keypad of phone when playing
>>>>> >> video file android , that works fine but when i am using this code
>>>>> in
>>>>> >> another application then it's not working...trying to find possible
>>>>> >> way why not disabling the home key
>>>>> >>
>>>>> >> public void onAttachedToWindow()
>>>>> >> {
>>>>> >> this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
>>>>> >> super.onAttachedToWindow();
>>>>> >> }
>>>>> >>
>>>>> >> Here manifest file permissions are:
>>>>> >>
>>>>> >>http://schemas.android.com/apk/res/
>>>>> >> android"
>>>>> >>
>>>>> >>  android:name="android.permission.INTERNET">
>>>>> >>>>>> >> android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
>>>>> >>
>>>>> >> >

Re: [android-developers] Disable Home button code not working in another application

2011-11-25 Thread NaveenShrivastva
@Override
public void onAttachedToWindow()
{
this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
super.onAttachedToWindow();
}

This code for home key block is not working with handler , please give me
advice how to handle this one now.

On Fri, Nov 25, 2011 at 3:55 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

> I am using handler inside onCreate for loading dialog, when using handler
> then home block key code not works , but when removing handler then  it's
>
> work fine .
>
>
> How to block home key with using handler ...
>
> Home blocking key works that time activity title bar visible , but here
> that's hidden by code.
>
> Please help me.
>
> *final* Handler handler = *new* *Handler*() {
>
>
>*public* void *handleMessage*(Message msg) {
>
>
>   dialog.*dismiss*();
>   }
>};
>
>
>
>
>
> On Fri, Nov 25, 2011 at 3:03 PM, NaveenShrivastva <
> kumarnaveen.si...@gmail.com> wrote:
>
>> Please give me more guide line for handle this cases ...
>>
>>
>> On Fri, Nov 25, 2011 at 3:03 PM, NaveenShrivastva <
>> kumarnaveen.si...@gmail.com> wrote:
>>
>>> I am using *public class VideoPlayer extends Activity implements
>>> OnCompletionListener*
>>>
>>> this class interface here in this class i am also using the back button
>>> .
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Nov 25, 2011 at 2:55 PM, Mukesh Srivastav 
>>> wrote:
>>> > Dear Naveen,
>>> > In order to achieve this, The Architecture of the application should
>>> be like
>>> > this.
>>> > 1. Create an ParentActivity which extends the Activity
>>> > 2. And all other activities should extend the parent acitivity.
>>> > Add the below code to the parent activity , rest it take cares in any
>>> part
>>> > of your application. hope you got it.
>>> >
>>> > Regards,
>>> > Mukesh Kumar,
>>> > Android Consultant/Freelancer,
>>> > India,Hyderabad.
>>> > On Fri, Nov 25, 2011 at 2:49 PM, Naveen 
>>> > wrote:
>>> >>
>>> >> I am writing this code for block Home keypad of phone when playing
>>> >> video file android , that works fine but when i am using this code in
>>> >> another application then it's not working...trying to find possible
>>> >> way why not disabling the home key
>>> >>
>>> >> public void onAttachedToWindow()
>>> >> {
>>> >> this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
>>> >> super.onAttachedToWindow();
>>> >> }
>>> >>
>>> >> Here manifest file permissions are:
>>> >>
>>> >>http://schemas.android.com/apk/res/
>>> >> android"
>>> >>
>>> >>  android:name="android.permission.INTERNET">
>>> >>>> >> android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
>>> >>
>>> >> >> >> uses-permission>
>>> >> >> >> android:name="android.permission.ACCESS_NETWORK_STATE" />
>>> >>  >> >> >
>>> >> >> >> android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
>>> >>  >> >> android:name="android.permission.ACCESS_FINE_LOCATION" />
>>> >>>> >> android:name="android.permission.ACCESS_MOCK_LOCATION" />
>>> >>>> >> android:name="android.permission.ACCESS_COARSE_LOCATION" />
>>> >> 
>>> >>
>>> >>
>>> >> Activity
>>> >>
>>> >>   
>>> >>
>>> >> --
>>> >> You received this message because you are subscribed to the Google
>>> >> Groups "Android Developers" group.
>>> >> To post to this group, send email to
>>> android-developers@googlegroups.com
>>> >> To unsubscribe from this group, send email to
>>> >> android-developers+unsubscr...@googlegroups.com
>>> >> For more options, visit this group at
>>> >> http://groups.google.com/group/android-developers?hl=en
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > Groups "Android Developers" group.
>>> > To post to this group, send email to
>>> android-developers@googlegroups.com
>>> > To unsubscribe from this group, send email to
>>> > android-developers+unsubscr...@googlegroups.com
>>> > For more options, visit this group at
>>> > http://groups.google.com/group/android-developers?hl=en
>>>
>>>
>>>
>>>
>>>
>
>
>

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

Re: [android-developers] Disable Home button code not working in another application

2011-11-25 Thread NaveenShrivastva
I am using handler inside onCreate for loading dialog, when using handler
then home block key code not works , but when removing handler then  it's

work fine .


How to block home key with using handler ...

Home blocking key works that time activity title bar visible , but here
that's hidden by code.

Please help me.

*final* Handler handler = *new* *Handler*() {

   *public* void *handleMessage*(Message msg) {

  dialog.*dismiss*();
  }
   };





On Fri, Nov 25, 2011 at 3:03 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

> Please give me more guide line for handle this cases ...
>
>
> On Fri, Nov 25, 2011 at 3:03 PM, NaveenShrivastva <
> kumarnaveen.si...@gmail.com> wrote:
>
>> I am using *public class VideoPlayer extends Activity implements
>> OnCompletionListener*
>>
>> this class interface here in this class i am also using the back button
>> .
>>
>>
>>
>>
>>
>> On Fri, Nov 25, 2011 at 2:55 PM, Mukesh Srivastav 
>> wrote:
>> > Dear Naveen,
>> > In order to achieve this, The Architecture of the application should be
>> like
>> > this.
>> > 1. Create an ParentActivity which extends the Activity
>> > 2. And all other activities should extend the parent acitivity.
>> > Add the below code to the parent activity , rest it take cares in any
>> part
>> > of your application. hope you got it.
>> >
>> > Regards,
>> > Mukesh Kumar,
>> > Android Consultant/Freelancer,
>> > India,Hyderabad.
>> > On Fri, Nov 25, 2011 at 2:49 PM, Naveen 
>> > wrote:
>> >>
>> >> I am writing this code for block Home keypad of phone when playing
>> >> video file android , that works fine but when i am using this code in
>> >> another application then it's not working...trying to find possible
>> >> way why not disabling the home key
>> >>
>> >> public void onAttachedToWindow()
>> >> {
>> >> this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
>> >> super.onAttachedToWindow();
>> >> }
>> >>
>> >> Here manifest file permissions are:
>> >>
>> >>http://schemas.android.com/apk/res/
>> >> android"
>> >>
>> >>  android:name="android.permission.INTERNET">
>> >>> >> android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
>> >>
>> >> > >> uses-permission>
>> >> > >> android:name="android.permission.ACCESS_NETWORK_STATE" />
>> >>  > >> >
>> >> > >> android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
>> >>  > >> android:name="android.permission.ACCESS_FINE_LOCATION" />
>> >>> >> android:name="android.permission.ACCESS_MOCK_LOCATION" />
>> >>> >> android:name="android.permission.ACCESS_COARSE_LOCATION" />
>> >> 
>> >>
>> >>
>> >> Activity
>> >>
>> >>   
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups "Android Developers" group.
>> >> To post to this group, send email to
>> android-developers@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> android-developers+unsubscr...@googlegroups.com
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/android-developers?hl=en
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to
>> android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>>
>>

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

Re: [android-developers] Disable Home button code not working in another application

2011-11-25 Thread NaveenShrivastva
Please give me more guide line for handle this cases ...

On Fri, Nov 25, 2011 at 3:03 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

> I am using *public class VideoPlayer extends Activity implements
> OnCompletionListener*
>
> this class interface here in this class i am also using the back button
> .
>
>
>
>
>
> On Fri, Nov 25, 2011 at 2:55 PM, Mukesh Srivastav 
> wrote:
> > Dear Naveen,
> > In order to achieve this, The Architecture of the application should be
> like
> > this.
> > 1. Create an ParentActivity which extends the Activity
> > 2. And all other activities should extend the parent acitivity.
> > Add the below code to the parent activity , rest it take cares in any
> part
> > of your application. hope you got it.
> >
> > Regards,
> > Mukesh Kumar,
> > Android Consultant/Freelancer,
> > India,Hyderabad.
> > On Fri, Nov 25, 2011 at 2:49 PM, Naveen 
> > wrote:
> >>
> >> I am writing this code for block Home keypad of phone when playing
> >> video file android , that works fine but when i am using this code in
> >> another application then it's not working...trying to find possible
> >> way why not disabling the home key
> >>
> >> public void onAttachedToWindow()
> >> {
> >> this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
> >> super.onAttachedToWindow();
> >> }
> >>
> >> Here manifest file permissions are:
> >>
> >>http://schemas.android.com/apk/res/
> >> android"
> >>
> >>  android:name="android.permission.INTERNET">
> >> >> android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
> >>
> >>  >> uses-permission>
> >>  >> android:name="android.permission.ACCESS_NETWORK_STATE" />
> >>   >> >
> >>  >> android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
> >>   >> android:name="android.permission.ACCESS_FINE_LOCATION" />
> >> >> android:name="android.permission.ACCESS_MOCK_LOCATION" />
> >> >> android:name="android.permission.ACCESS_COARSE_LOCATION" />
> >> 
> >>
> >>
> >> Activity
> >>
> >>   
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "Android Developers" group.
> >> To post to this group, send email to
> android-developers@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> android-developers+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >> http://groups.google.com/group/android-developers?hl=en
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
>
>
>

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

Re: [android-developers] Disable Home button code not working in another application

2011-11-25 Thread NaveenShrivastva
I am using *public class VideoPlayer extends Activity implements
OnCompletionListener*

this class interface here in this class i am also using the back button
.





On Fri, Nov 25, 2011 at 2:55 PM, Mukesh Srivastav 
wrote:
> Dear Naveen,
> In order to achieve this, The Architecture of the application should be
like
> this.
> 1. Create an ParentActivity which extends the Activity
> 2. And all other activities should extend the parent acitivity.
> Add the below code to the parent activity , rest it take cares in any part
> of your application. hope you got it.
>
> Regards,
> Mukesh Kumar,
> Android Consultant/Freelancer,
> India,Hyderabad.
> On Fri, Nov 25, 2011 at 2:49 PM, Naveen 
> wrote:
>>
>> I am writing this code for block Home keypad of phone when playing
>> video file android , that works fine but when i am using this code in
>> another application then it's not working...trying to find possible
>> way why not disabling the home key
>>
>> public void onAttachedToWindow()
>> {
>> this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
>> super.onAttachedToWindow();
>> }
>>
>> Here manifest file permissions are:
>>
>>http://schemas.android.com/apk/res/
>> android"
>>
>>  android:name="android.permission.INTERNET">
>>> android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
>>
>> > uses-permission>
>> > android:name="android.permission.ACCESS_NETWORK_STATE" />
>>  > >
>> > android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
>>  > android:name="android.permission.ACCESS_FINE_LOCATION" />
>>> android:name="android.permission.ACCESS_MOCK_LOCATION" />
>>> android:name="android.permission.ACCESS_COARSE_LOCATION" />
>> 
>>
>>
>> Activity
>>
>>   
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] handling back button

2011-11-24 Thread NaveenShrivastva
In case of activity life cycle when user pressing the back or home
button then onPause method calls by process

When i am trying to handle activitySwitchFlag  and database on pause
then app crash , please help me is any way for block home button for
my on activity if no then how to handle separate home and back button.

public void onPause(){
super.onPause();

Log.i("TAG", "onPause" );
try {
EncryptVideo(IDValue);


} catch (Exception e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}

if(activitySwitchFlag)
{
Log.i("TAG", "activity switch");
}
else{

Log.i("TAG", "home button");
finish();
   // video.pause();
  //  _HomeDBHANDLING();

}
activitySwitchFlag = false;
}

On Thu, Nov 24, 2011 at 9:13 PM, Jim Graham  wrote:
> On Thu, Nov 24, 2011 at 02:14:21AM -0800, karthik wrote:
>>
>> i am working on an application in which if i click(normal click) on
>> the back button the moveTaskToBackgroud(true) must be called. else if
>> it is a longpress then there id nothing to do.
>
> You already got your answer from Mark Murphy...why are you posting
> this same post again?
>
> Later,
>   --jim
>
> --
> THE SCORE:  ME:  2  CANCER:  0
> 73 DE N5IAL (/4)        | "> There it was, right in the title bar:
> spooky1...@gmail.com    |  > Microsoft Operations POS."
> < Running FreeBSD 7.0 > |
> ICBM / Hurricane:       | "Never before has a TLA been so appropriately
>   30.44406N 86.59909W  |  mis-parsed."         (alt.sysadmin.recovery)
>
> Android Apps Listing at http://www.jstrack.org/barcodes.html
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Re: Calculate percentage of a video file

2011-11-24 Thread NaveenShrivastva
It's give always maximum value not less than 100 .

On Thu, Nov 24, 2011 at 5:23 PM, skink  wrote:
>
>
> On 24 Lis, 12:29, NaveenShrivastva 
> wrote:
>> This is not solving my issue , how to calculate 90% of video is
>> completed or not. i will check this on button click.
>
> why? what value do you get in "int per"?
>
> pskink
>
>>
>> On Thu, Nov 24, 2011 at 4:22 PM, NaveenShrivastva
>>
>>
>>
>>  wrote:
>> > OK
>>
>> > Then now i am doing
>>
>> >        video.pause();
>> >               int current=video.getDuration();
>> >                int total= video.getCurrentPosition();
>> >                int per = (current*100)/total;
>>
>> > This is right way for calculate percentage of video?
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Re: Calculate percentage of a video file

2011-11-24 Thread NaveenShrivastva
This is not solving my issue , how to calculate 90% of video is
completed or not. i will check this on button click.

On Thu, Nov 24, 2011 at 4:22 PM, NaveenShrivastva
 wrote:
> OK
>
> Then now i am doing
>
>        video.pause();
>               int current=video.getDuration();
>                int total= video.getCurrentPosition();
>                int per = (current*100)/total;
>
>
> This is right way for calculate percentage of video?
>
>
> because when it's reach near 90% then i want to fire a action on the
> basis of figured value.
>
>
>
> On Thu, Nov 24, 2011 at 4:15 PM, skink  wrote:
>>
>>
>> On Nov 24, 11:15 am, Naveen  wrote:
>>> Hello Sir,
>>>
>>> I am playing a video file , i want to calculate percentage of video
>>> file . using this code
>>>
>>> int current=video.getDuration();
>>> int total= video.getCurrentPosition();
>>> int per = (current/total)*100;
>>>
>>> This way is wrong behave please confirm me this is right or wrong.
>>>
>>> which is easiest way solve my issue.
>>
>> int per = current *100 / total;
>>
>> pskink
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>

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


Re: [android-developers] Re: Calculate percentage of a video file

2011-11-24 Thread NaveenShrivastva
OK

Then now i am doing

video.pause();
   int current=video.getDuration();
int total= video.getCurrentPosition();
int per = (current*100)/total;


This is right way for calculate percentage of video?


because when it's reach near 90% then i want to fire a action on the
basis of figured value.



On Thu, Nov 24, 2011 at 4:15 PM, skink  wrote:
>
>
> On Nov 24, 11:15 am, Naveen  wrote:
>> Hello Sir,
>>
>> I am playing a video file , i want to calculate percentage of video
>> file . using this code
>>
>> int current=video.getDuration();
>> int total= video.getCurrentPosition();
>> int per = (current/total)*100;
>>
>> This way is wrong behave please confirm me this is right or wrong.
>>
>> which is easiest way solve my issue.
>
> int per = current *100 / total;
>
> pskink
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Calculate percentage of a video file

2011-11-24 Thread NaveenShrivastva
In android  i have instance of videoview is video, how to handle this for
calculate percentage?

On Thu, Nov 24, 2011 at 3:51 PM, arun kumar  wrote:

> *Manually calculate the bitrate**
> *The basic bitrate formula is
>
> (*S*ize - (*A*udio x *L*ength )) / *L*ength = *V*ideo bitrate
>
> L = Lenght of the whole movie in seconds
> S = Size you like to use in KB (note 700 MB x 1024*°* = 716 800 KB)
> A = Audio bitrate in KB/s (note 224 kbit/s = 224 / 8*°* = 28 KB/s)
> V = Video bitrate in KB/s, to get kbit/s multiply with 8*°*.
>
> *°8 bit = 1 byte.*
> *°1024 = 1 kilo in the computer world.*
>
> Example
> 90 minutes video, L = 90 x 60 = 5 400 seconds
> 700 MB CD but be sure that if fits use a bit lower like 695 MB, S = 695 x
> 1024 = 711 680 KB
> Audio bitrate, A = 224 kbit/s / 8 = 28 KB/s
>
> (711 680 - (5400 x 28) ) / 5400 = 104 KB/s x 8*°* = 830 kbit/s.
>
>
> WITH REGARDS
> ARUN KUMAR P D
> +91-9663471079
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Re: [android-developers] Re: Home and back key of device key pad

2011-11-23 Thread NaveenShrivastva
Reply me how to handle this issue

On Wed, Nov 23, 2011 at 4:00 PM, NaveenShrivastva
 wrote:
> Please see the code
>
>  @Override
>    public void onCompletion(MediaPlayer mp) {
>         CompleteFlag = true;
>
>         video.pause();
>
>        /* */
>        if(checkNetworkConnection()){
>
>                try {
>                                new PostUsesData().execute("T");
>                        } catch (Exception e) {
>                                // TODO Auto-generated catch block
>                                e.printStackTrace();
>                        }
>        }
>        // set the message to display
>
>
>        EncryptVideo(IDValue);
>
>                alertbox.setTitle("Message");
>                alertbox.setMessage("Do you want to delete this video ?");
>
>
>                // set a positive/yes button and create a listener
>                alertbox.setPositiveButton("Yes",
>                                new DialogInterface.OnClickListener() {
>
>                                        // do something when the button is 
> clicked
>                                        public void onClick(DialogInterface 
> arg0, int arg1) {
>                                                try {
>                                                 new File(path).delete();
>
>                                                 Intent myIntent = new 
> Intent(VideoPlayer.this,
>                                                                        
> WatchActivity.class);
>                                                                               
>                                                                          // 
> here
>                                                        
> myIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
>                                                        
> startActivity(myIntent);
>
>                                        /*              
> Toast.makeText(getApplicationContext(), "Thanks,Inprogress..",
>                                                                        
> Toast.LENGTH_SHORT).show();*/
>
>                                                } catch (Exception e) {
>                                                        // TODO Auto-generated 
> catch block
>                                                        e.printStackTrace();
>                                                }
>
>                                        }
>                                });
>
>
>
>                alertbox.setNegativeButton("No",
>                                new DialogInterface.OnClickListener() {
>
>                                        // do something when the button is 
> clicked
>                                        public void onClick(DialogInterface 
> arg0, int arg1) {
>                                                showDialog(0);
>                                        }
>                                });
>
>                // display box
>                alertbox.show();
>
>                // IntroFaceBookScreen.mFacebook.dialog(this, "stream.publish",
> parameters, this);
>        }
>
>
>
>
>
> @Override
>        public boolean onKeyDown(int keyCode, KeyEvent event)
>        {
>            if(keyCode == KeyEvent.KEYCODE_BACK)
>            {
>                activitySwitchFlag = true;
>                 try {
>
>                         if(!CompleteFlag)
>                         {
>                         _HomeDBHANDLING();
>                         }
>                                } catch (Exception e) {
>                                        // TODO Auto-generated catch block
>                                        e.printStackTrace();
>                                }
>
>
>                // activity switch stuff..
>
>            }
>            return super.onKeyDown(keyCode, event);
>
>        }
>
>
>        @Override
>        public void onPause(){
>            super.onPause();
>
>            Log.i("TAG", "onPause" );
>
>
>            try {
>                        EncryptVideo(IDValue);
>                } catch (Exception e) {
>                        // TODO Auto-generated catch block
>                        e.printStackTrace();
>                }
>
>
>            if(activitySwitchFlag)
>            {
>                Log.i("TAG", "activity switch");
>            }
>            else{
>
>                Log.i("TAG", "home button");
>                finish();
>          

Re: [android-developers] Re: Facebook posting not works if any crashing in application

2011-11-23 Thread NaveenShrivastva
After crashing i am losing this value

response = mFacebook.request("me");

so, i am not able to post-wall,

Please guide me how to save response = mFacebook.request("me"); till
app persist android device



On Wed, Nov 23, 2011 at 6:12 PM, NaveenShrivastva
 wrote:
> I am playing a video by code . when video completely played by user
> then it;s calling
>
>  @Override
>    public void onCompletion(MediaPlayer mp) {
>
> -method
>
> Here when i am posting the wall before the video Completion then it's
> work fine but when calling a custom dialog when onCompletion method
> called.
>
> Here dialog appear typing message for post taking more time compare to
> previous with black screen , when pressing back btn then app crash .
>
>
> Please suggest me onCompletion method issue is this one or what cause
> of this crash when video finished then this issue occur with back btn
> and post to wall.
>
> I am trying to find root cause but not getting.
>
> regards.
> Naveen
>
>
>
> On Wed, Nov 23, 2011 at 6:06 PM, appel  wrote:
>> I'd suggest you fix the bug that causes the app to crash.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>

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


Re: [android-developers] Re: Facebook posting not works if any crashing in application

2011-11-23 Thread NaveenShrivastva
I am playing a video by code . when video completely played by user
then it;s calling

  @Override
public void onCompletion(MediaPlayer mp) {

-method

Here when i am posting the wall before the video Completion then it's
work fine but when calling a custom dialog when onCompletion method
called.

Here dialog appear typing message for post taking more time compare to
previous with black screen , when pressing back btn then app crash .


Please suggest me onCompletion method issue is this one or what cause
of this crash when video finished then this issue occur with back btn
and post to wall.

I am trying to find root cause but not getting.

regards.
Naveen



On Wed, Nov 23, 2011 at 6:06 PM, appel  wrote:
> I'd suggest you fix the bug that causes the app to crash.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Re: Home and back key of device key pad

2011-11-23 Thread NaveenShrivastva
ot finished then back btn key woks fine

but when complete video played then back issue
:
11-23 16:00:46.909: D/NativeCrypto(26483): Freeing OpenSSL session
11-23 16:00:47.655: D/dalvikvm(26483): GC_FOR_MALLOC freed 106167
objects / 3255768 bytes in 43ms
11-23 16:00:48.401: D/dalvikvm(26483): GC_FOR_MALLOC freed 104392
objects / 3097616 bytes in 42ms
11-23 16:00:49.351: D/dalvikvm(26483): GC_FOR_MALLOC freed 104293
objects / 3096888 bytes in 42ms
11-23 16:00:50.218: D/dalvikvm(26483): GC_FOR_MALLOC freed 104664
objects / 3098584 bytes in 43ms
11-23 16:00:51.030: D/dalvikvm(26483): GC_FOR_MALLOC freed 104885
objects / 3097824 bytes in 41ms
11-23 16:00:51.843: D/dalvikvm(26483): GC_FOR_MALLOC freed 104612
objects / 3097288 bytes in 48ms
11-23 16:00:52.628: D/dalvikvm(26483): GC_FOR_MALLOC freed 104411
objects / 3098040 bytes in 47ms
11-23 16:00:53.440: D/dalvikvm(26483): GC_FOR_MALLOC freed 104515
objects / 3098000 bytes in 41ms
11-23 16:00:54.218: D/dalvikvm(26483): GC_FOR_MALLOC freed 104495
objects / 3096672 bytes in 42ms
11-23 16:00:55.101: D/dalvikvm(26483): GC_FOR_MALLOC freed 104277
objects / 3098024 bytes in 47ms
11-23 16:00:55.855: D/dalvikvm(26483): GC_FOR_MALLOC freed 104492
objects / 3097936 bytes in 43ms


longs time
On Wed, Nov 23, 2011 at 3:40 PM, skink  wrote:
>
>
> On Nov 23, 10:43 am, NaveenShrivastva 
> wrote:
>> In case of Home and Back event both cases calls the android pause
>> method of activity life cycle.
>>
>>
>>
>
> i dont understand you well, but if you simply say that onPause() is
> called after both home and back jey is pressed, you already discovered
> everything, what do you need more? (except the fact you cannot handle
> home key in your app of course)
>
> pskink
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


{SAP-Jobs-SAP-FAQ} www.bignlife.in--[e-mail sending Job]-- Re: [android-developers] Re: Home and back key of device key pad

2011-11-23 Thread NaveenShrivastva
In case of Home and Back event both cases calls the android pause
method of activity life cycle.

On Wed, Nov 23, 2011 at 2:47 PM, skink  wrote:
>
>
> On Nov 23, 10:01 am, NaveenShrivastva 
> wrote:
>> Please give me guideline how to handle the home event and pause event
>> in code separately.
>>
>>
>>
>> On Wed, Nov 23, 2011 at 2:03 PM, skink  wrote:
>>
>> > On Nov 23, 9:00 am, Naveen  wrote:
>> >> How to handle Home and Back key of a device.
>>
>> >> down vote favorite
>> >> 3
>> >> share [fb] share [tw]
>>
>> >> So I have this method in one of my Android Activities:
>>
>> >> @Override
>> >> public boolean onKeyDown(int keyCode, KeyEvent event)
>> >> {
>> >>     if(keyCode == KeyEvent.KEYCODE_BACK)
>> >>     {
>> >>         Log.d("Test", "Back button pressed!");
>> >>     }
>> >>     else if(keyCode == KeyEvent.KEYCODE_HOME)
>> >>     {
>> >>         Log.d("Test", "Home button pressed!");
>> >>     }
>> >>     return super.onKeyDown(keyCode, event);
>>
>> >> }
>>
>> >> Here this code only works with back button but not with home key..
>>
>> >> Please help me , i want seperate functionality on Home key separate
>> >> functionality on back key.
>>
>> > you cannot handle home key in your app, fortunatelly
>>
>> > pskink
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>
> what do you mean: home event and pause event?
>
> pskink
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

-- 
Go to Master Mind Web Earner Blog  :-

   http://adf.ly/624707/www.bignlife.in

http://adf.ly/624707/www.bignlife.in

Unsubscribe All Group Post :-   http://j.gs/624707/unsubscribe 
  
http://q.gs/624707/unsubscribe



Subscribe All Group Post :-   http://j.gs/624707/subscribe

 http://q.gs/624707/subscribe

Make Money E-mail Sending Job :-

  http://adf.ly/624707/www.bignlife.in

http://adf.ly/624707/www.bignlife.in

http://adf.ly/624707/www.bignlife.in

http://adf.ly/624707/www.bignlife.in

http://adf.ly/624707/www.bignlife.in

http://adf.ly/624707/www.bignlife.in

http://adf.ly/624707/www.bignlife.in

http://adf.ly/624707/www.bignlife.in

http://adf.ly/624707/www.bignlife.in

http://adf.ly/624707/www.bignlife.in

http://adf.ly/624707/www.bignlife.in

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



Re: [android-developers] Re: Home and back key of device key pad

2011-11-23 Thread NaveenShrivastva
Is there any way to handle these cases using activity life cycle.

On Wed, Nov 23, 2011 at 2:31 PM, NaveenShrivastva
 wrote:
> Please give me guideline how to handle the home event and pause event
> in code separately.
>
> On Wed, Nov 23, 2011 at 2:03 PM, skink  wrote:
>>
>>
>> On Nov 23, 9:00 am, Naveen  wrote:
>>> How to handle Home and Back key of a device.
>>>
>>> down vote favorite
>>> 3
>>> share [fb] share [tw]
>>>
>>> So I have this method in one of my Android Activities:
>>>
>>> @Override
>>> public boolean onKeyDown(int keyCode, KeyEvent event)
>>> {
>>>     if(keyCode == KeyEvent.KEYCODE_BACK)
>>>     {
>>>         Log.d("Test", "Back button pressed!");
>>>     }
>>>     else if(keyCode == KeyEvent.KEYCODE_HOME)
>>>     {
>>>         Log.d("Test", "Home button pressed!");
>>>     }
>>>     return super.onKeyDown(keyCode, event);
>>>
>>> }
>>>
>>> Here this code only works with back button but not with home key..
>>>
>>> Please help me , i want seperate functionality on Home key separate
>>> functionality on back key.
>>
>> you cannot handle home key in your app, fortunatelly
>>
>> pskink
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>

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


Re: [android-developers] Re: Home and back key of device key pad

2011-11-23 Thread NaveenShrivastva
Please give me guideline how to handle the home event and pause event
in code separately.

On Wed, Nov 23, 2011 at 2:03 PM, skink  wrote:
>
>
> On Nov 23, 9:00 am, Naveen  wrote:
>> How to handle Home and Back key of a device.
>>
>> down vote favorite
>> 3
>> share [fb] share [tw]
>>
>> So I have this method in one of my Android Activities:
>>
>> @Override
>> public boolean onKeyDown(int keyCode, KeyEvent event)
>> {
>>     if(keyCode == KeyEvent.KEYCODE_BACK)
>>     {
>>         Log.d("Test", "Back button pressed!");
>>     }
>>     else if(keyCode == KeyEvent.KEYCODE_HOME)
>>     {
>>         Log.d("Test", "Home button pressed!");
>>     }
>>     return super.onKeyDown(keyCode, event);
>>
>> }
>>
>> Here this code only works with back button but not with home key..
>>
>> Please help me , i want seperate functionality on Home key separate
>> functionality on back key.
>
> you cannot handle home key in your app, fortunatelly
>
> pskink
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] running an application at background

2011-11-18 Thread NaveenShrivastva
Use Asynk task please.

On Fri, Nov 18, 2011 at 2:46 PM, Sumedh  wrote:
> Hi,
>  I have developed an application which will get the lat-long and
> store these lat-long values in database server.
> But, the problem is application executes on front screen.
> Want to execute application as back ground application.
> please tell me the way to do this.
> thnx
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] i want to assign a task for copy a file to receiver class. how to handle that cases in android.receiver class is able to generate message but not copying the file . how to han

2011-11-17 Thread NaveenShrivastva
Please reply me ,



  public void onReceive(Context context, Intent intent) {        //
TODO Auto-generated method stub        if
(intent.getAction().equalsIgnoreCase(
"android.intent.action.UMS_CONNECTED"))        {                
serviceFlag=true;                TextView textView = new
TextView(context);
textView.setBackgroundColor(Color.MAGENTA);
textView.setTextColor(Color.BLUE);
textView.setPadding(10,10,10,10);                textView.setText("USB
connected……….");                Toast toastView = new Toast(context);
              toastView.setDuration(Toast.LENGTH_LONG);
toastView.setGravity(Gravity.CENTER, 0,0);
toastView.setView(textView);                toastView.show();
      Log.i(TAG,"USB connected..");                Timer timer = new
Timer();                if(serviceFlag){                
                                
timer.schedule(new TimerTask() {                    public void run()
{                       System.out.println("Timeschedule");
           FileNameArr.clear();
GetDirFiles("/sdcard/TvAnyTime");
        for(int i=0;i wrote:
> i want to assign a task for copy a file to receiver class. how to
> handle that cases in android.receiver  class is able to generate
> message but not copying the file . how to handle that cases.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Device is attached with usb or not

2011-11-16 Thread NaveenShrivastva
Thanks all i resolved this issue,

On Wed, Nov 16, 2011 at 6:34 PM, Kristopher Micinski
 wrote:
> On Wed, Nov 16, 2011 at 6:35 AM, Naveen  wrote:
>> Hello All,
>>
>> I want to create a app,  i am  creating naveen folder in sdcard , i
>> want  when user attached with USB cable and dragging file in Root
>> sdcard then that moment i want to read device is connected with usb .
>> means i want to create a service in app that look for usb attachment
>> check , if attached and drag a file in sdcard then auto move in /
>> sdcard/naveen  .
>>
>
> I assume that you're saying that you want the user to be able to
> transfer files between their computer and the device using your app?
>
> This isn't going to work, first of all you don't have that kind of
> access to the hardware, and second of all, it already exists: it's
> called mounting the drive...
>
>> How to handle usb is connected or not android code
>
> The windows / linux / mac / ... side?
>
> kris
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Set Permission on a particular file.

2011-11-15 Thread NaveenShrivastva
You can't do that with a FAT filesystem, and to be CDD compatible
external storage must be writeable by any app that requests the
permission.

On Tue, Nov 15, 2011 at 3:28 PM, Sanat Pandey  wrote:
> Hello All,
>
> I have a problem that I have DRM encrypted video file and I am able to
> successfully decrypt it and play it. But the problem arises as when
> any user want to pull that file from sdcard to their computer then he
> will easily play the same, which is not desired, because video is
> decrypted for particular user means root user that's why only he have
> right to play the same everywhere but other that he can not able to
> play the decrypted file in phone as well as in computer (in any media
> player). How to achieve this? I don't have any idea about that. please
> suggest me any result.
>
> I wish a kind favour of you regarding this subject.
>
> Thanks
> Sanat
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Naveen Shrivastava

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


Re: [android-developers] checkbox checked in listview

2011-11-08 Thread NaveenShrivastva
http://android-codes-examples.blogspot.com/2011/03/listactivity-with-checkbox-using.html

On Tue, Nov 8, 2011 at 4:47 PM, vani reddy  wrote:
> Hi,
>
> I have created a custom listview of text and checkbox.
> When i click on a particular checkbox the other checkboxes in the rows also
> gets  checked. How to avoid this??
>
> --
> Regards,
> Vani Reddy
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Re: Marge to listview when after one list finished

2011-11-08 Thread NaveenShrivastva
when listview1 scrolls finished then after load listview2 --


On Tue, Nov 8, 2011 at 4:43 PM, skink  wrote:
>
>
> On Nov 8, 11:57 am, NaveenShrivastva 
> wrote:
>> How to manage here adapter android, i am trying for long time when i
>> am fixing listview1, and listview2 height then it's work fine, but
>> here i want to when one list loaded then after that this list2 load.
>>
>>
>>
>> On Tue, Nov 8, 2011 at 4:18 PM, skink  wrote:
>>
>> > On Nov 8, 11:39 am, Naveen  wrote:
>> >> Hello Sir,
>>
>> >> I have a two listview one is lv1 and second is lv2 ,
>>
>> >> want to load listview2 data after listview1 loaded ,
>>
>> >> Please help me
>>
>> > just create an adaptee that merges lv1's and lv2's adapters
>>
>> > pskink
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>
> extend BaseAdapter
>
> http://developer.android.com/reference/android/widget/BaseAdapter.html
>
> pskink
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-

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


Re: [android-developers] Re: Marge to listview when after one list finished

2011-11-08 Thread NaveenShrivastva
How to manage here adapter android, i am trying for long time when i
am fixing listview1, and listview2 height then it's work fine, but
here i want to when one list loaded then after that this list2 load.



On Tue, Nov 8, 2011 at 4:18 PM, skink  wrote:
>
>
> On Nov 8, 11:39 am, Naveen  wrote:
>> Hello Sir,
>>
>> I have a two listview one is lv1 and second is lv2 ,
>>
>> want to load listview2 data after listview1 loaded ,
>>
>> Please help me
>
> just create an adaptee that merges lv1's and lv2's adapters
>
> pskink
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE

2011-10-11 Thread NaveenShrivastva
How to handle this situation here ...

On Tue, Oct 11, 2011 at 2:22 PM, Naveen  wrote:
> I want to play video file from application context row directory
>
> MediaPlayer mediaPlayer = MediaPlayer.create(context,
> R.raw.sound_file_1);
> mediaPlayer.start(); // no need to call prepare(); create() does that
> for you
>
>
> This video contains size is 19.5 MB  facing error :
>
>  Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
> Please check logcat output for more details.
>  Launch canceled!
>
> Please help me can i able to play 19MB from raw directory
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Re: ListView Row not firing the click event

2011-10-07 Thread NaveenShrivastva
Now expandable listview child click work fine but listview row child
click not working.

On Fri, Oct 7, 2011 at 12:47 PM, NaveenShrivastva
 wrote:
> Now expandable listview child click work fine but listview row child
> click not working.
>
>
> On Fri, Oct 7, 2011 at 12:25 PM, NaveenShrivastva
>  wrote:
>> Thanks very i have resolved the issue, i want to share you issue
>> resign is layout handling in frame layout need liner layout with
>> button
>>
>>
>> On Fri, Oct 7, 2011 at 9:56 AM, NaveenShrivastva
>>  wrote:
>>> Now i am trying thanks very much for this kind of precious information
>>>
>>> On Thu, Oct 6, 2011 at 9:42 PM, dilo.mt  
>>> wrote:
>>>> Hi,
>>>>
>>>> There is nothing wrong with the code above. You have said when the
>>>> image button clicks, it works.
>>>> And you need to make the whole entry clickable. all the buttons by
>>>> default clickable.
>>>>
>>>> I think you have image button and text or what ever inside a linear
>>>> layout or relative layout.
>>>> make sure the container of image button and text (i.e. layout)
>>>> setClickable(true) then you will be oki.
>>>>
>>>> On Oct 6, 3:51 pm, NaveenShrivastva 
>>>> wrote:
>>>>> i have two view one is Expandablelist and other is listview plz
>>>>> guideline me how to handle here facing listchildclick event
>>>>>
>>>>> On Thu, Oct 6, 2011 at 8:17 PM, dinesh adwani
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>  wrote:
>>>>> > If you have added any other view like radio button make it
>>>>> > setfocasable(false)
>>>>>
>>>>> > On Oct 6, 2011 3:46 PM, "Naveen"  wrote:
>>>>>
>>>>> >> i am using custom list , it's
>>>>> >> l1.setAdapter(new EfficientAdapter(this));
>>>>>
>>>>> >>                l1.setFocusable(true);
>>>>> >>        l1.setClickable(true);
>>>>> >>                l1.setOnItemClickListener(new OnItemClickListener() {
>>>>> >>            @Override
>>>>> >>            public void onItemClick(AdapterView adapter, View
>>>>> >> view,      int pos, long id) {
>>>>> >>        Log.i("listview", "clicked1");
>>>>>
>>>>> >>                                Toast.makeText(getApplicationContext(),
>>>>> >>                                                "Child ItemClicked " + 
>>>>> >> pos
>>>>> >> ,
>>>>> >>                                                
>>>>> >> Toast.LENGTH_SHORT).show();
>>>>>
>>>>> >>            }
>>>>> >>        });
>>>>>
>>>>> >> it's not working
>>>>>
>>>>> >> --
>>>>> >> You received this message because you are subscribed to the Google
>>>>> >> Groups "Android Developers" group.
>>>>> >> To post to this group, send email to 
>>>>> >> android-developers@googlegroups.com
>>>>> >> To unsubscribe from this group, send email to
>>>>> >> android-developers+unsubscr...@googlegroups.com
>>>>> >> For more options, visit this group at
>>>>> >>http://groups.google.com/group/android-developers?hl=en
>>>>>
>>>>> > --
>>>>> > You received this message because you are subscribed to the Google
>>>>> > Groups "Android Developers" group.
>>>>> > To post to this group, send email to android-developers@googlegroups.com
>>>>> > To unsubscribe from this group, send email to
>>>>> > android-developers+unsubscr...@googlegroups.com
>>>>> > For more options, visit this group at
>>>>> >http://groups.google.com/group/android-developers?hl=en
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Android Developers" group.
>>>> To post to this group, send email to android-developers@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> android-developers+unsubscr...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>
>>
>> --
>> Naveen Shrivastava
>> BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)
>>
>
>
>
> --
> Naveen Shrivastava
> BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)
>



-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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


Re: [android-developers] Re: ListView Row not firing the click event

2011-10-07 Thread NaveenShrivastva
Now expandable listview child click work fine but listview row child
click not working.


On Fri, Oct 7, 2011 at 12:25 PM, NaveenShrivastva
 wrote:
> Thanks very i have resolved the issue, i want to share you issue
> resign is layout handling in frame layout need liner layout with
> button
>
>
> On Fri, Oct 7, 2011 at 9:56 AM, NaveenShrivastva
>  wrote:
>> Now i am trying thanks very much for this kind of precious information
>>
>> On Thu, Oct 6, 2011 at 9:42 PM, dilo.mt  
>> wrote:
>>> Hi,
>>>
>>> There is nothing wrong with the code above. You have said when the
>>> image button clicks, it works.
>>> And you need to make the whole entry clickable. all the buttons by
>>> default clickable.
>>>
>>> I think you have image button and text or what ever inside a linear
>>> layout or relative layout.
>>> make sure the container of image button and text (i.e. layout)
>>> setClickable(true) then you will be oki.
>>>
>>> On Oct 6, 3:51 pm, NaveenShrivastva 
>>> wrote:
>>>> i have two view one is Expandablelist and other is listview plz
>>>> guideline me how to handle here facing listchildclick event
>>>>
>>>> On Thu, Oct 6, 2011 at 8:17 PM, dinesh adwani
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>  wrote:
>>>> > If you have added any other view like radio button make it
>>>> > setfocasable(false)
>>>>
>>>> > On Oct 6, 2011 3:46 PM, "Naveen"  wrote:
>>>>
>>>> >> i am using custom list , it's
>>>> >> l1.setAdapter(new EfficientAdapter(this));
>>>>
>>>> >>                l1.setFocusable(true);
>>>> >>        l1.setClickable(true);
>>>> >>                l1.setOnItemClickListener(new OnItemClickListener() {
>>>> >>            @Override
>>>> >>            public void onItemClick(AdapterView adapter, View
>>>> >> view,      int pos, long id) {
>>>> >>        Log.i("listview", "clicked1");
>>>>
>>>> >>                                Toast.makeText(getApplicationContext(),
>>>> >>                                                "Child ItemClicked " + 
>>>> >> pos
>>>> >> ,
>>>> >>                                                
>>>> >> Toast.LENGTH_SHORT).show();
>>>>
>>>> >>            }
>>>> >>        });
>>>>
>>>> >> it's not working
>>>>
>>>> >> --
>>>> >> You received this message because you are subscribed to the Google
>>>> >> Groups "Android Developers" group.
>>>> >> To post to this group, send email to android-developers@googlegroups.com
>>>> >> To unsubscribe from this group, send email to
>>>> >> android-developers+unsubscr...@googlegroups.com
>>>> >> For more options, visit this group at
>>>> >>http://groups.google.com/group/android-developers?hl=en
>>>>
>>>> > --
>>>> > You received this message because you are subscribed to the Google
>>>> > Groups "Android Developers" group.
>>>> > To post to this group, send email to android-developers@googlegroups.com
>>>> > To unsubscribe from this group, send email to
>>>> > android-developers+unsubscr...@googlegroups.com
>>>> > For more options, visit this group at
>>>> >http://groups.google.com/group/android-developers?hl=en
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Naveen Shrivastava
> BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)
>



-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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


Re: [android-developers] Re: ListView Row not firing the click event

2011-10-06 Thread NaveenShrivastva
Thanks very i have resolved the issue, i want to share you issue
resign is layout handling in frame layout need liner layout with
button


On Fri, Oct 7, 2011 at 9:56 AM, NaveenShrivastva
 wrote:
> Now i am trying thanks very much for this kind of precious information
>
> On Thu, Oct 6, 2011 at 9:42 PM, dilo.mt  wrote:
>> Hi,
>>
>> There is nothing wrong with the code above. You have said when the
>> image button clicks, it works.
>> And you need to make the whole entry clickable. all the buttons by
>> default clickable.
>>
>> I think you have image button and text or what ever inside a linear
>> layout or relative layout.
>> make sure the container of image button and text (i.e. layout)
>> setClickable(true) then you will be oki.
>>
>> On Oct 6, 3:51 pm, NaveenShrivastva 
>> wrote:
>>> i have two view one is Expandablelist and other is listview plz
>>> guideline me how to handle here facing listchildclick event
>>>
>>> On Thu, Oct 6, 2011 at 8:17 PM, dinesh adwani
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>  wrote:
>>> > If you have added any other view like radio button make it
>>> > setfocasable(false)
>>>
>>> > On Oct 6, 2011 3:46 PM, "Naveen"  wrote:
>>>
>>> >> i am using custom list , it's
>>> >> l1.setAdapter(new EfficientAdapter(this));
>>>
>>> >>                l1.setFocusable(true);
>>> >>        l1.setClickable(true);
>>> >>                l1.setOnItemClickListener(new OnItemClickListener() {
>>> >>            @Override
>>> >>            public void onItemClick(AdapterView adapter, View
>>> >> view,      int pos, long id) {
>>> >>        Log.i("listview", "clicked1");
>>>
>>> >>                                Toast.makeText(getApplicationContext(),
>>> >>                                                "Child ItemClicked " + pos
>>> >> ,
>>> >>                                                
>>> >> Toast.LENGTH_SHORT).show();
>>>
>>> >>            }
>>> >>        });
>>>
>>> >> it's not working
>>>
>>> >> --
>>> >> You received this message because you are subscribed to the Google
>>> >> Groups "Android Developers" group.
>>> >> To post to this group, send email to android-developers@googlegroups.com
>>> >> To unsubscribe from this group, send email to
>>> >> android-developers+unsubscr...@googlegroups.com
>>> >> For more options, visit this group at
>>> >>http://groups.google.com/group/android-developers?hl=en
>>>
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > Groups "Android Developers" group.
>>> > To post to this group, send email to android-developers@googlegroups.com
>>> > To unsubscribe from this group, send email to
>>> > android-developers+unsubscr...@googlegroups.com
>>> > For more options, visit this group at
>>> >http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>



-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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


Re: [android-developers] Re: ListView Row not firing the click event

2011-10-06 Thread NaveenShrivastva
Now i am trying thanks very much for this kind of precious information

On Thu, Oct 6, 2011 at 9:42 PM, dilo.mt  wrote:
> Hi,
>
> There is nothing wrong with the code above. You have said when the
> image button clicks, it works.
> And you need to make the whole entry clickable. all the buttons by
> default clickable.
>
> I think you have image button and text or what ever inside a linear
> layout or relative layout.
> make sure the container of image button and text (i.e. layout)
> setClickable(true) then you will be oki.
>
> On Oct 6, 3:51 pm, NaveenShrivastva 
> wrote:
>> i have two view one is Expandablelist and other is listview plz
>> guideline me how to handle here facing listchildclick event
>>
>> On Thu, Oct 6, 2011 at 8:17 PM, dinesh adwani
>>
>>
>>
>>
>>
>>
>>
>>  wrote:
>> > If you have added any other view like radio button make it
>> > setfocasable(false)
>>
>> > On Oct 6, 2011 3:46 PM, "Naveen"  wrote:
>>
>> >> i am using custom list , it's
>> >> l1.setAdapter(new EfficientAdapter(this));
>>
>> >>                l1.setFocusable(true);
>> >>        l1.setClickable(true);
>> >>                l1.setOnItemClickListener(new OnItemClickListener() {
>> >>            @Override
>> >>            public void onItemClick(AdapterView adapter, View
>> >> view,      int pos, long id) {
>> >>        Log.i("listview", "clicked1");
>>
>> >>                                Toast.makeText(getApplicationContext(),
>> >>                                                "Child ItemClicked " + pos
>> >> ,
>> >>                                                Toast.LENGTH_SHORT).show();
>>
>> >>            }
>> >>        });
>>
>> >> it's not working
>>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups "Android Developers" group.
>> >> To post to this group, send email to android-developers@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> android-developers+unsubscr...@googlegroups.com
>> >> For more options, visit this group at
>> >>http://groups.google.com/group/android-developers?hl=en
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] ListView Row not firing the click event

2011-10-06 Thread NaveenShrivastva
i have two view one is Expandablelist and other is listview plz
guideline me how to handle here facing listchildclick event

On Thu, Oct 6, 2011 at 8:17 PM, dinesh adwani
 wrote:
> If you have added any other view like radio button make it
> setfocasable(false)
>
> On Oct 6, 2011 3:46 PM, "Naveen"  wrote:
>>
>> i am using custom list , it's
>> l1.setAdapter(new EfficientAdapter(this));
>>
>>                l1.setFocusable(true);
>>        l1.setClickable(true);
>>                l1.setOnItemClickListener(new OnItemClickListener() {
>>            @Override
>>            public void onItemClick(AdapterView adapter, View
>> view,      int pos, long id) {
>>        Log.i("listview", "clicked1");
>>
>>                                Toast.makeText(getApplicationContext(),
>>                                                "Child ItemClicked " + pos
>> ,
>>                                                Toast.LENGTH_SHORT).show();
>>
>>            }
>>        });
>>
>>
>>
>> it's not working
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] ListView Row not firing the click event

2011-10-06 Thread NaveenShrivastva
Please find the attachment ...

On Thu, Oct 6, 2011 at 7:55 PM, Studio LFP  wrote:
> A custom ListView as in one you have written yourself? Or someone else other
> than the one that is in Android?
>
> If so, there might be problems with it.
>
> Kostya also asked for you to remove those two entries, did you remove them
> and try?
>
> Steven
> Studio LFP
> http://www.studio-lfp.com
>
>
> On Thursday, October 6, 2011 9:08:56 AM UTC-5, Naveen wrote:
>>
>> i am using custom listview android facing click event issue coding
>> stub is fine here, plz guideline me
>>
>> On Thu, Oct 6, 2011 at 6:24 PM, NaveenShrivastva
>>  wrote:
>> > movielist.setAdapter(new EfficientAdapter(this));
>> >                        movielist.setClickable(true);
>> >                        movielist.setFocusable(true);
>> >
>> >
>> > i have already tried that one nothing result same issue
>> >
>> > On Thu, Oct 6, 2011 at 6:07 PM, Kostya Vasilyev 
>> > wrote:
>> >> Try taking out these two lines.
>> >>
>> >> 06.10.2011 16:11, KK пишет:
>> >>>
>> >>> l1.setFocusable(true);
>> >>> l1.setClickable(true);
>> >>
>> >> --
>> >> Kostya Vasilyev
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups "Android Developers" group.
>> >> To post to this group, send email to android-d...@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> android-develop...@googlegroups.com
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/android-developers?hl=en
>> >
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] ListView Row not firing the click event

2011-10-06 Thread NaveenShrivastva
i am using custom listview android facing click event issue coding
stub is fine here, plz guideline me

On Thu, Oct 6, 2011 at 6:24 PM, NaveenShrivastva
 wrote:
> movielist.setAdapter(new EfficientAdapter(this));
>                        movielist.setClickable(true);
>                        movielist.setFocusable(true);
>
>
> i have already tried that one nothing result same issue
>
> On Thu, Oct 6, 2011 at 6:07 PM, Kostya Vasilyev  wrote:
>> Try taking out these two lines.
>>
>> 06.10.2011 16:11, KK пишет:
>>>
>>> l1.setFocusable(true);
>>> l1.setClickable(true);
>>
>> --
>> Kostya Vasilyev
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>

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


Re: [android-developers] ListView Row not firing the click event

2011-10-06 Thread NaveenShrivastva
movielist.setAdapter(new EfficientAdapter(this));
movielist.setClickable(true);
movielist.setFocusable(true);


i have already tried that one nothing result same issue

On Thu, Oct 6, 2011 at 6:07 PM, Kostya Vasilyev  wrote:
> Try taking out these two lines.
>
> 06.10.2011 16:11, KK пишет:
>>
>> l1.setFocusable(true);
>> l1.setClickable(true);
>
> --
> Kostya Vasilyev
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] ListView Row not firing the click event

2011-10-06 Thread NaveenShrivastva
Error nothing getting just click event not working but i have written
the click event code,  Previous many sample i have done with custom
list click event.

when clicking on list then nothing happening but on list there is an
image button that's click working fine but total row list is not
clickable

On Thu, Oct 6, 2011 at 5:41 PM, KK  wrote:
> What exactly is the error message you are getting?
> --KK
>
> On Thu, Oct 6, 2011 at 3:46 PM, Naveen  wrote:
>>
>> i am using custom list , it's
>> l1.setAdapter(new EfficientAdapter(this));
>>
>>                l1.setFocusable(true);
>>        l1.setClickable(true);
>>                l1.setOnItemClickListener(new OnItemClickListener() {
>>            @Override
>>            public void onItemClick(AdapterView adapter, View
>> view,      int pos, long id) {
>>        Log.i("listview", "clicked1");
>>
>>                                Toast.makeText(getApplicationContext(),
>>                                                "Child ItemClicked " + pos
>> ,
>>                                                Toast.LENGTH_SHORT).show();
>>
>>            }
>>        });
>>
>>
>>
>> it's not working
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Re: ExpandableListView and ListView click child event not working..

2011-10-06 Thread NaveenShrivastva
After using this one same issue listviewitem click is not working.

On Thu, Oct 6, 2011 at 12:31 PM, Calin Perebiceanu
 wrote:
> Are the views you are using as rows clickable ? Make sure they are
> not.
>
> On 6 oct., 09:43, NaveenShrivastva 
> wrote:
>> Here :
>>
>>    @Override
>>                 public boolean isChildSelectable(int arg0, int arg1) {
>>
>>                 System.out.println("Child selected"+arg0+":"+arg1);
>>                     return true;
>>                 }
>>
>> is working fine ...but issue with expandablelistchild click and
>> listview child click,
>>
>>
>>
>>
>>
>>
>>
>> On Thu, Oct 6, 2011 at 11:50 AM, Naveen  wrote:
>> > Hello Developers,
>>
>> > I am facing a different type of issue, i have a layout which
>> > contains   One expandableListview and another Listview , i have
>> > designed this layout using framelayout now all click events works for
>> > expandable and listview but expandablechild and list child click
>> > events not working trying to find the issue but here each entry is
>> > fine on layout only click event on listchild and expandable child is
>> > not working...
>>
>> > Please check what i am missing
>>
>> >                expList.setOnChildClickListener(new OnChildClickListener() {
>>
>> >                                public boolean 
>> > onChildClick(ExpandableListView arg0, View arg1,
>> >                                                int arg2, int arg3, long 
>> > arg4) {
>>
>> >                                        Log.i("clicked ","clicked");
>>
>> >                                        
>> > Toast.makeText(getApplicationContext(),
>> >                                                        "Child ItemClicked 
>> > " + arg2 + " " + arg3,
>> >                                                        
>> > Toast.LENGTH_SHORT).show();
>>
>> >                                        return false;
>> >                                }
>> >                        });
>> > //movie list click here
>> >                l1.setOnItemClickListener(new 
>> > AdapterView.OnItemClickListener() {
>> >                        public void onItemClick(AdapterView a, View v, int 
>> > position, long
>> > id) {
>> >                                Log.i("listview", "clicked1");
>>
>> >                                Toast.makeText(getApplicationContext(),
>> >                                                "Child ItemClicked " + 
>> > position ,
>> >                                                Toast.LENGTH_SHORT).show();
>>
>> >                        }
>> >                });
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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


Re: [android-developers] ExpandableListView and ListView click child event not working..

2011-10-05 Thread NaveenShrivastva
Here :

   @Override
public boolean isChildSelectable(int arg0, int arg1) {

System.out.println("Child selected"+arg0+":"+arg1); 
return true;
}

is working fine ...but issue with expandablelistchild click and
listview child click,

On Thu, Oct 6, 2011 at 11:50 AM, Naveen  wrote:
> Hello Developers,
>
> I am facing a different type of issue, i have a layout which
> contains   One expandableListview and another Listview , i have
> designed this layout using framelayout now all click events works for
> expandable and listview but expandablechild and list child click
> events not working trying to find the issue but here each entry is
> fine on layout only click event on listchild and expandable child is
> not working...
>
> Please check what i am missing
>
>
>
>                expList.setOnChildClickListener(new OnChildClickListener() {
>
>                                public boolean onChildClick(ExpandableListView 
> arg0, View arg1,
>                                                int arg2, int arg3, long arg4) 
> {
>
>
>                                        Log.i("clicked ","clicked");
>
>                                        Toast.makeText(getApplicationContext(),
>                                                        "Child ItemClicked " + 
> arg2 + " " + arg3,
>                                                        
> Toast.LENGTH_SHORT).show();
>
>
>                                        return false;
>                                }
>                        });
> //movie list click here
>                l1.setOnItemClickListener(new 
> AdapterView.OnItemClickListener() {
>                        public void onItemClick(AdapterView a, View v, int 
> position, long
> id) {
>                                Log.i("listview", "clicked1");
>
>                                Toast.makeText(getApplicationContext(),
>                                                "Child ItemClicked " + 
> position ,
>                                                Toast.LENGTH_SHORT).show();
>
>                        }
>                });
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Buffer overflow in Record Thread in audio Flinger

2011-09-06 Thread NaveenShrivastva
This issue occur due to size of 8000 of byte array plz handle that one.

On Wed, Sep 7, 2011 at 12:03 PM, NaveenShrivastva
 wrote:
> What issue occur , i think outofmemory error occur there, share me logcat
>
> On Wed, Sep 7, 2011 at 11:12 AM, arun kumar  wrote:
>> Actually i am doing one chat application. In that application i did group
>> text chat and voice chat using xmpp server. group text chat works fine.but
>> in voice chat if i click one button to record my voice in bytes and send to
>> group members.. within 2 min only my voice is send to group members then i
>> got Buffer overflow in record thread in audio flinger error message in
>> logcat.my default byte size is 8000. i increased that byte size also. but i
>> got same error message. i dont know how to solve this issue? anybody plz
>> help me..
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>

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


Re: [android-developers] Buffer overflow in Record Thread in audio Flinger

2011-09-06 Thread NaveenShrivastva
What issue occur , i think outofmemory error occur there, share me logcat

On Wed, Sep 7, 2011 at 11:12 AM, arun kumar  wrote:
> Actually i am doing one chat application. In that application i did group
> text chat and voice chat using xmpp server. group text chat works fine.but
> in voice chat if i click one button to record my voice in bytes and send to
> group members.. within 2 min only my voice is send to group members then i
> got Buffer overflow in record thread in audio flinger error message in
> logcat.my default byte size is 8000. i increased that byte size also. but i
> got same error message. i dont know how to solve this issue? anybody plz
> help me..
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Re: Please see this example when i am taking small file then it works but when taking large video size with 1gb approx then outofmemory error

2011-09-02 Thread NaveenShrivastva
Please help me..

On Fri, Sep 2, 2011 at 12:49 PM, Miguel Morales  wrote:
> I don't know what a perfect url is, just look up examples on streaming
> a file using java.
> There's hundreds of examples.
>
> On Fri, Sep 2, 2011 at 12:17 AM, skink  wrote:
>>
>>
>> On Sep 2, 8:58 am, NaveenShrivastva 
>> wrote:
>>> Yes i understanding this issue large byte array size overflow how
>>> handle here.give me way please or perfect url
>>>
>>>
>>>
>>
>> You *cannot* allocate one gigabyte of memory in small mobile devices.
>> Period.
>>
>> pskink
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> ~ Jeremiah:9:23-24
> Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] i want to read last 12 bytes of this file

2011-09-02 Thread NaveenShrivastva
please help me how to read from network byte pointer

On Fri, Sep 2, 2011 at 5:29 PM, NaveenShrivastva
 wrote:
>  RandomAccessFile raf = new RandomAccessFile(file, "r");
>
>           long networkByte=raf.length()-12;
>           System.out.print("networkByte"+networkByte) ;
>           raf.seek(networkByte);
>
>           System.out.print(raf.getFilePointer());
>
> Here how to print last 12 bytes .Please help me coding stubs
>
>
> On Fri, Sep 2, 2011 at 5:20 PM, Nikolay Elenkov
>  wrote:
>> On Fri, Sep 2, 2011 at 8:46 PM, Naveen  wrote:
>>> i have large mp4  file  i want to read last 12 bytes of this file,
>>>
>>> long position=filesize.length-12;
>>>
>>>  plz help me now what to do for read 12 bytes from position
>>
>> Use capital letters and punctuation, it helps.
>>
>> Have a look at RandomAccessFile, it lets you read/write
>> from/to an arbitrary position.
>>
>> http://download.oracle.com/javase/1.5.0/docs/api/java/io/RandomAccessFile.html
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>

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


Re: [android-developers] i want to read last 12 bytes of this file

2011-09-02 Thread NaveenShrivastva
  RandomAccessFile raf = new RandomAccessFile(file, "r");

   long networkByte=raf.length()-12;
   System.out.print("networkByte"+networkByte) ;
   raf.seek(networkByte);

   System.out.print(raf.getFilePointer());

Here how to print last 12 bytes .Please help me coding stubs


On Fri, Sep 2, 2011 at 5:20 PM, Nikolay Elenkov
 wrote:
> On Fri, Sep 2, 2011 at 8:46 PM, Naveen  wrote:
>> i have large mp4  file  i want to read last 12 bytes of this file,
>>
>> long position=filesize.length-12;
>>
>>  plz help me now what to do for read 12 bytes from position
>
> Use capital letters and punctuation, it helps.
>
> Have a look at RandomAccessFile, it lets you read/write
> from/to an arbitrary position.
>
> http://download.oracle.com/javase/1.5.0/docs/api/java/io/RandomAccessFile.html
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Please see this example when i am taking small file then it works but when taking large video size with 1gb approx then outofmemory error

2011-09-01 Thread NaveenShrivastva
Yes i understanding this issue large byte array size overflow how
handle here.give me way please or perfect url


On Fri, Sep 2, 2011 at 12:24 PM, Miguel Morales  wrote:
> Look up examples on stream reading a file for java.
> The problem is you are allocating an extremely large byte array.
>
> On Thu, Sep 1, 2011 at 11:51 PM, NaveenShrivastva
>  wrote:
>> here i am taking video file for read byte the error byte arry outofmemory
>>
>> On Fri, Sep 2, 2011 at 12:13 PM, Naveen  wrote:
>>> Please see this example when i am taking small file then it works but
>>> when taking large video size with 1gb approx then outofmemory error
>>>
>>>
>>> import java.io.*;
>>>
>>> public class ReadFileByteArray {
>>>
>>> public static void main(String[] args) {
>>>
>>> //create file object
>>> File file = new File("C://FileIO//video.mp4");
>>>
>>> try
>>> {
>>> //create FileInputStream object
>>> FileInputStream fin = new FileInputStream(file);
>>>
>>> /*
>>>  * Create byte array large enough to hold the content of the file.
>>>  * Use File.length to determine size of the file in bytes.
>>>  */
>>>
>>>
>>> byte fileContent[] = new byte[(int)file.length()];
>>>
>>> /*
>>>  * To read content of the file in byte array, use
>>>  * int read(byte[] byteArray) method of java FileInputStream class.
>>>  *
>>>  */
>>> fin.read(fileContent);
>>>
>>> //create string from byte array
>>> String strFileContent = new String(fileContent);
>>>
>>> System.out.println("File content : ");
>>> System.out.println(strFileContent);
>>>
>>> }
>>> catch(FileNotFoundException e)
>>> {
>>> System.out.println("File not found" + e);
>>> }
>>> catch(IOException ioe)
>>> {
>>> System.out.println("Exception while reading the file " + ioe);
>>> }
>>> }
>>> }
>>>
>>>
>>> /*
>>> Output would be
>>> File content :
>>> This file is for demonstration of how to read file in byte array
>>> using Java FileInputStream.
>>> */
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> ~ Jeremiah:9:23-24
> Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Please see this example when i am taking small file then it works but when taking large video size with 1gb approx then outofmemory error

2011-09-01 Thread NaveenShrivastva
here i am taking video file for read byte the error byte arry outofmemory

On Fri, Sep 2, 2011 at 12:13 PM, Naveen  wrote:
> Please see this example when i am taking small file then it works but
> when taking large video size with 1gb approx then outofmemory error
>
>
> import java.io.*;
>
> public class ReadFileByteArray {
>
> public static void main(String[] args) {
>
> //create file object
> File file = new File("C://FileIO//video.mp4");
>
> try
> {
> //create FileInputStream object
> FileInputStream fin = new FileInputStream(file);
>
> /*
>  * Create byte array large enough to hold the content of the file.
>  * Use File.length to determine size of the file in bytes.
>  */
>
>
> byte fileContent[] = new byte[(int)file.length()];
>
> /*
>  * To read content of the file in byte array, use
>  * int read(byte[] byteArray) method of java FileInputStream class.
>  *
>  */
> fin.read(fileContent);
>
> //create string from byte array
> String strFileContent = new String(fileContent);
>
> System.out.println("File content : ");
> System.out.println(strFileContent);
>
> }
> catch(FileNotFoundException e)
> {
> System.out.println("File not found" + e);
> }
> catch(IOException ioe)
> {
> System.out.println("Exception while reading the file " + ioe);
> }
> }
> }
>
>
> /*
> Output would be
> File content :
> This file is for demonstration of how to read file in byte array
> using Java FileInputStream.
> */
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] handle byte memory here

2011-08-30 Thread NaveenShrivastva
i am trying to retrieve meta data from media file approx 1gb

File file = null;
FileInputStream fis = null;
byte fullData[] = null;
byte requiredData[] = null;
try{
file = new File(fileName);
fis = new FileInputStream(file);
long  filelen=file.length();

 System.out.print("File Length:"+filelen);



fullData = new byte[ (int) filelen];



fis.read(fullData,0,(int)file.length()-11);


int len = (int)file.length()-11;

System.out.print("File Length:"+len);



On Tue, Aug 30, 2011 at 3:28 PM, Daniel Drozdzewski
 wrote:
> On 30 August 2011 10:27, NaveenShrivastva  wrote:
>> How to handle here byte array size.
>>
>> On Tue, Aug 30, 2011 at 1:00 PM, Naveen  wrote:
>>> byte[] fullData = new byte[(int) filelen]; here it's byte array
>>> integer type so facing outofmemory data is range of long size. byte
>>> array not taking length long time default typecasting int
>
>
> I am not sure whether I understand you fully, but why would you try to
> create more than 2GB of array in memory?
> It is a big ask even for a desktop machine. I don't think there is a
> phone out there that has such amount of RAM available to the whole
> platform.
>
> For Dalvik VM having heap bigger than 16M could be tricky...
>
> If you are trying to store more than say 4M in a byte array to use in
> your mobile application, you are doing something wrong, and that's
> what causes OutOfMemory, not the fact that you can't use numbers
> bigger than the range of integers.
>
>
> --
> Daniel Drozdzewski
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] handle byte memory here

2011-08-30 Thread NaveenShrivastva
How to handle here byte array size.

On Tue, Aug 30, 2011 at 1:00 PM, Naveen  wrote:
> byte[] fullData = new byte[(int) filelen]; here it's byte array
> integer type so facing outofmemory data is range of long size. byte
> array not taking length long time default typecasting int
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Re: how to integrate video codec for video view android

2011-08-25 Thread NaveenShrivastva
Thanks for your this nice url,

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


Re: [android-developers] Re: how to integrate video codec for video view android

2011-08-25 Thread NaveenShrivastva
Sorry for more posting , but i am trying for long time not getting
success then what i can do. i need help of google because alws i
resolved my issues using googing.

Thanks for your good response

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


Re: [android-developers] Re: how to integrate video codec for video view android

2011-08-24 Thread NaveenShrivastva
Hello sir,


Please help me otherwise i will loss my 5 months and project.



Please find the C++ JNI attachment.

Android is not allowing me to place the large video on surface, it's
Android - firmware(Video view) limitation, so resolving this issue
need codec interface for place video on surface.

i am trying to integrate codec using  JAVA JNI.

i am using ffmpeg library for video codec interface, that works  but
facing some issues. Audio is running but video not appear on surface
view.

C++ video view library is not getting two values
sws_format_name(c->srcFormat), sws_format_name(c->dstFormat) so error.

error msg occur:08-23 18:12:29.002: ERROR/FFMpegMediaPlayer(3889):
AV_LOG_WARNING: No accelerated colorspace conversion found from %s to
%s.


NOTE:Here unavailability of c->dstFormat this value it's not going
switch statement for accelerate the video.For more information review
the attached document.

Error Block resign:

 if (t)
return t;

av_log(c, AV_LOG_WARNING, "No accelerated colorspace conversion
found from %s to %s.\n", sws_format_name(c->srcFormat),
sws_format_name(c->dstFormat))
;

switch (c->dstFormat) {
case PIX_FMT_RGB48BE:
case PIX_FMT_RGB48LE:return yuv2rgb_c_48;
case PIX_FMT_ARGB:
case PIX_FMT_ABGR:   if (CONFIG_SWSCALE_ALPHA && c->srcFormat
== PIX_FMT_YUVA420P) return yuva2argb_c;
case PIX_FMT_RGBA:
case PIX_FMT_BGRA:   return (CONFIG_SWSCALE_ALPHA &&
c->srcFormat == PIX_FMT_YUVA420P) ? yuva2rgba_c : yuv2rgb_c_32;
case PIX_FMT_RGB24:  return yuv2rgb_c_24_rgb;
case PIX_FMT_BGR24:  return yuv2rgb_c_24_bgr;
case PIX_FMT_RGB565:
case PIX_FMT_BGR565:
case PIX_FMT_RGB555:
case PIX_FMT_BGR555: return yuv2rgb_c_16;
case PIX_FMT_RGB444:
case PIX_FMT_BGR444: return yuv2rgb_c_12_ordered_dither;
case PIX_FMT_RGB8:
case PIX_FMT_BGR8:   return yuv2rgb_c_8_ordered_dither;
case PIX_FMT_RGB4:
case PIX_FMT_BGR4:   return yuv2rgb_c_4_ordered_dither;
case PIX_FMT_RGB4_BYTE:
case PIX_FMT_BGR4_BYTE:  return yuv2rgb_c_4b_ordered_dither;
case PIX_FMT_MONOBLACK:  return yuv2rgb_c_1_ordered_dither;
default:
assert(0);

Please help me , i will very thankful of you.


On Wed, Aug 24, 2011 at 9:50 PM, RichardC
 wrote:
> *plonk*
>
> On Aug 24, 4:55 pm, NaveenShrivastva 
> wrote:
>> i want video - codec implementation
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Aug 23, 2011 at 4:38 PM, Aladin Q  wrote:
>> > Naveen, there is a serious problem with your english which dramatically
>> > decreases your credibility (sounds almost like a bot attempting to
>> > converse).
>>
>> > We don't even know if you want a codec for audio, video, image, etc... 
>> > maybe
>> > tryhttp://stackoverflow.com/search?q=android+codec
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> >http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> Naveen Shrivastava
>> BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Re: how to integrate video codec for video view android

2011-08-24 Thread NaveenShrivastva
i want video - codec implementation

On Tue, Aug 23, 2011 at 4:38 PM, Aladin Q  wrote:
> Naveen, there is a serious problem with your english which dramatically
> decreases your credibility (sounds almost like a bot attempting to
> converse).
>
> We don't even know if you want a codec for audio, video, image, etc... maybe
> try http://stackoverflow.com/search?q=android+codec
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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


Re: [android-developers] How to exit application

2011-08-24 Thread NaveenShrivastva
Go to google and type this.i know you will get this question response by
someone else but not a way to ask basic question on this developer grp. try
to R&D on google first.

On Wed, Aug 24, 2011 at 12:49 PM, GopalaKrishnan D wrote:

> i tried finish(); and System.exit(0);
>
> if i use any one means only current activity closed its not close
> entire app
>
>
>
> Which code i want to use close or exit entire app.
>
> --
> ~* Regards*
> *GopalaKrishnan D*
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] Live video streaming over website

2011-08-24 Thread NaveenShrivastva
Yes this is possible easily in Android.

On Wed, Aug 24, 2011 at 12:27 PM, Ankit Kasliwal
 wrote:
> Hello Everyone,
> Can any one tell me it's possible to do live video streaming from android
> phone to over web (For ex. i have web site where i put some link like link1,
> link2 and other on click of any link it open my live cam if i open my phone
> camera for video receding )
>
> In short I want to show my phone camera video over my web site.
>
> Thanks in advance!!!
>
>
> --
>
> Thanks and Regards,
>
> Ankit Kasliwal
> kasliwalankit2...@gmail.com
> +91-9300-940-136
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Re: how to integrate video codec for video view android

2011-08-23 Thread NaveenShrivastva
Android sdk is not lunched  by me. it 's Google gift.


On Tue, Aug 23, 2011 at 4:07 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

> It's not a perfect answer given by you. i have need your hand not this type
> of rude words, i am trying also.i am not sleeping here, ===ok
>
> if you can not able to help only want any answer to some one then good.
> else that's bad words written by u.when u can not able to help me then not
> make fun of my question first try to understand and do then reply .
>
> Thanks for answering me
>
>
> On Tue, Aug 23, 2011 at 4:00 PM, Appaholics wrote:
>
>> If you are waiting for August 19 then you have 361 days to wait. I am sure
>> someone will reply as it is almost a year.
>>
>>
>> On Tue, Aug 23, 2011 at 3:57 PM, Naveen wrote:
>>
>>> Android Community  not giving me any response of my question.i am
>>> waiting for 19 august.
>>>
>>> what to do now for this type of help.very unhappy with android this
>>> limitation.
>>>
>>> On Aug 19, 6:30 pm, NaveenShrivastva 
>>> wrote:
>>> > On Fri, Aug 19, 2011 at 6:47 PM, Appaholics >> >wrote:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > > AFAIK there is only onehttp://source.android.com. You will need to
>>> look
>>> > > into the community tab.
>>> >
>>> > > Thanks
>>> >
>>> > > On Fri, Aug 19, 2011 at 6:34 PM, NaveenShrivastva <
>>> > > kumarnaveen.si...@gmail.com> wrote:
>>> >
>>> > >> On Fri, Aug 19, 2011 at 6:05 PM, Mark Murphy <
>>> mmur...@commonsware.com>wrote:
>>> >
>>> > >>> On Fri, Aug 19, 2011 at 8:30 AM, Naveen <
>>> kumarnaveen.si...@gmail.com>
>>> > >>> wrote:
>>> > >>> > I am not getting any perfect way for codec implementation, plz
>>> help me
>>> > >>> > other wise i think it's android drawback
>>> >
>>> > >>> Codecs to plug into OpenCORE (Android 2.2 and earlier) or
>>> StageFright
>>> > >>> (Android 2.2 and newer) are part of the firmware. If you are
>>> > >>> interested in developing firmware codecs, please find an
>>> appropriate
>>> > >>> list onhttp://source.android.com.
>>> >
>>> > >>> --
>>> > >>> Mark Murphy (a Commons Guy)
>>> > >>>http://commonsware.com|http://github.com/commonsguy
>>> > >>>http://commonsware.com/blog|http://twitter.com/commonsguy
>>> >
>>> > >>> _Android Programming Tutorials_ Version 3.9 Available!
>>> >
>>> > >>> --
>>> > >>> You received this message because you are subscribed to the Google
>>> > >>> Groups "Android Developers" group.
>>> > >>> To post to this group, send email to
>>> android-developers@googlegroups.com
>>> > >>> To unsubscribe from this group, send email to
>>> > >>> android-developers+unsubscr...@googlegroups.com
>>> > >>> For more options, visit this group at
>>> > >>>http://groups.google.com/group/android-developers?hl=en
>>> >
>>> > >> how to findan appropriate  http://source.android.com.  ? you right
>>> i
>>> > >> want firmware codec integration ...help me plz
>>> >
>>> > >> --
>>> > >> You received this message because you are subscribed to the Google
>>> > >> Groups "Android Developers" group.
>>> > >> To post to this group, send email to
>>> android-developers@googlegroups.com
>>> > >> To unsubscribe from this group, send email to
>>> > >> android-developers+unsubscr...@googlegroups.com
>>> > >> For more options, visit this group at
>>> > >>http://groups.google.com/group/android-developers?hl=en
>>> >
>>> > > --
>>> > > --
>>> > > Raghav Sood
>>> > > CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
>>> > > required to have complete control)
>>> > >http://www.raghavsood.com/
>>> > >https://market.android.com/developer?pub=Appaholics
>>> &

Re: [android-developers] Re: how to integrate video codec for video view android

2011-08-23 Thread NaveenShrivastva
It's not a perfect answer given by you. i have need your hand not this type
of rude words, i am trying also.i am not sleeping here, ===ok

if you can not able to help only want any answer to some one then good. else
that's bad words written by u.when u can not able to help me then not make
fun of my question first try to understand and do then reply .

Thanks for answering me

On Tue, Aug 23, 2011 at 4:00 PM, Appaholics wrote:

> If you are waiting for August 19 then you have 361 days to wait. I am sure
> someone will reply as it is almost a year.
>
>
> On Tue, Aug 23, 2011 at 3:57 PM, Naveen wrote:
>
>> Android Community  not giving me any response of my question.i am
>> waiting for 19 august.
>>
>> what to do now for this type of help.very unhappy with android this
>> limitation.
>>
>> On Aug 19, 6:30 pm, NaveenShrivastva 
>> wrote:
>> > On Fri, Aug 19, 2011 at 6:47 PM, Appaholics > >wrote:
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > AFAIK there is only onehttp://source.android.com. You will need to
>> look
>> > > into the community tab.
>> >
>> > > Thanks
>> >
>> > > On Fri, Aug 19, 2011 at 6:34 PM, NaveenShrivastva <
>> > > kumarnaveen.si...@gmail.com> wrote:
>> >
>> > >> On Fri, Aug 19, 2011 at 6:05 PM, Mark Murphy <
>> mmur...@commonsware.com>wrote:
>> >
>> > >>> On Fri, Aug 19, 2011 at 8:30 AM, Naveen <
>> kumarnaveen.si...@gmail.com>
>> > >>> wrote:
>> > >>> > I am not getting any perfect way for codec implementation, plz
>> help me
>> > >>> > other wise i think it's android drawback
>> >
>> > >>> Codecs to plug into OpenCORE (Android 2.2 and earlier) or
>> StageFright
>> > >>> (Android 2.2 and newer) are part of the firmware. If you are
>> > >>> interested in developing firmware codecs, please find an appropriate
>> > >>> list onhttp://source.android.com.
>> >
>> > >>> --
>> > >>> Mark Murphy (a Commons Guy)
>> > >>>http://commonsware.com|http://github.com/commonsguy
>> > >>>http://commonsware.com/blog|http://twitter.com/commonsguy
>> >
>> > >>> _Android Programming Tutorials_ Version 3.9 Available!
>> >
>> > >>> --
>> > >>> You received this message because you are subscribed to the Google
>> > >>> Groups "Android Developers" group.
>> > >>> To post to this group, send email to
>> android-developers@googlegroups.com
>> > >>> To unsubscribe from this group, send email to
>> > >>> android-developers+unsubscr...@googlegroups.com
>> > >>> For more options, visit this group at
>> > >>>http://groups.google.com/group/android-developers?hl=en
>> >
>> > >> how to findan appropriate  http://source.android.com.  ? you right i
>> > >> want firmware codec integration ...help me plz
>> >
>> > >> --
>> > >> You received this message because you are subscribed to the Google
>> > >> Groups "Android Developers" group.
>> > >> To post to this group, send email to
>> android-developers@googlegroups.com
>> > >> To unsubscribe from this group, send email to
>> > >> android-developers+unsubscr...@googlegroups.com
>> > >> For more options, visit this group at
>> > >>http://groups.google.com/group/android-developers?hl=en
>> >
>> > > --
>> > > --
>> > > Raghav Sood
>> > > CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
>> > > required to have complete control)
>> > >http://www.raghavsood.com/
>> > >https://market.android.com/developer?pub=Appaholics
>> > >http://www.appaholics.in/
>> >
>> > >  --
>> > > You received this message because you are subscribed to the Google
>> > > Groups "Android Developers" group.
>> > > To post to this group, send email to
>> android-developers@googlegroups.com
>> > > To unsubscribe from this group, send email to
>> > > android-developers+unsubscr...@googlegroups.com
>> > > For more options, visit this group at
>> > >http://groups.google.com/group/android-developers?hl=en
>

Re: [android-developers] Re: Deployment to Android devices from Windows and Mac

2011-08-23 Thread NaveenShrivastva
On Tue, Aug 23, 2011 at 3:38 PM, Rathna Kumara Premadasa <
rathnakumar...@gmail.com> wrote:

> Thanks for all,
>
> i was not able to find a suitable path please help me...
> --
> *Rathna Kumara Premadasa*
> Sri Lanka.
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en


What type of suitable path?File?

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

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread NaveenShrivastva
Thanks all ,

i am trying but not getting success.




On Mon, Aug 22, 2011 at 6:46 PM, nexbug  wrote:

> Yep, you are probably right. It's a good idea then for you to stick
> with what you like then. Some peope (me personally) like developing
> without being spoonfed or hand-held.
> Not everyones cup of tea ;-)
>
> Either ways, I doubt if complaining here is going to help. Good luck.
>
> On Aug 21, 11:22 pm, Naveen  wrote:
> > i think android development is very bad for android developer compare
> > to xcode.
> >
> > xcode giving framework for each and every ap implementation.
> >
> > here i want to generate a codec interface facing issue, post to
> > android community but not getting any response back by him.
> >
> > Thanks,
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



--

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

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread NaveenShrivastva
i am not getting teacher which gives me actual way for codec implementation
for android.

all suffering from this issue.


On Mon, Aug 22, 2011 at 3:52 PM, Appaholics wrote:

> If you want instantaneous help then employ someone as a teacher. People
> contribute their own time freely on these lists and are under no obligation
> to help you.
>
> On Mon, Aug 22, 2011 at 3:44 PM, NaveenShrivastva <
> kumarnaveen.si...@gmail.com> wrote:
>
>>
>>
>> On Mon, Aug 22, 2011 at 3:39 PM, Mark Murphy wrote:
>>
>>> On Mon, Aug 22, 2011 at 4:32 AM, NaveenShrivastva
>>>  wrote:
>>> >
>>> > i want to create video codec plz help me, i have knowledge of JNI lib
>>> > implementation in android .
>>>
>>> That requires custom firmware, which is not the subject of this list.
>>> Please find a list on http://source.android.com that is relevant and
>>> ask intelligent, well-written questions there.
>>>
>>> --
>>> Mark Murphy (a Commons Guy)
>>> http://commonsware.com | http://github.com/commonsguy
>>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>>
>>> Android Training in NYC: http://marakana.com/training/android/
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>
>> Hi sir, i have already done this type of stub there, not getting response
>> back from that side,
>>
>> now very unhappy with android, alws facing issue.trying for long time on
>> this issue ,
>>
>> but not getting success.
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> --
> Raghav Sood
> CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
> required to have complete control)
> http://www.raghavsood.com/
> https://market.android.com/developer?pub=Appaholics
> http://www.appaholics.in/
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread NaveenShrivastva
On Mon, Aug 22, 2011 at 3:39 PM, Mark Murphy wrote:

> On Mon, Aug 22, 2011 at 4:32 AM, NaveenShrivastva
>  wrote:
> >
> > i want to create video codec plz help me, i have knowledge of JNI lib
> > implementation in android .
>
> That requires custom firmware, which is not the subject of this list.
> Please find a list on http://source.android.com that is relevant and
> ask intelligent, well-written questions there.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android Training in NYC: http://marakana.com/training/android/
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>


Hi sir, i have already done this type of stub there, not getting response
back from that side,

now very unhappy with android, alws facing issue.trying for long time on
this issue ,

but not getting success.

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

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread NaveenShrivastva
how to handle not found accelerated colorspace conversion android video play

On Mon, Aug 22, 2011 at 2:02 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

>
> i want to create video codec plz help me, i have knowledge of JNI lib
> implementation in android .
>
>
>
> On Mon, Aug 22, 2011 at 1:24 PM, martypantsROK wrote:
>
>> Apparently we suck at answering questions. Sorry.
>> Maybe if the question you asked was understandable
>>(i.e. You suck at asking questions)
>> you might get some help.
>>
>> On Aug 22, 3:22 pm, Naveen  wrote:
>> > i think android development is very bad for android developer compare
>> > to xcode.
>> >
>> > xcode giving framework for each and every ap implementation.
>> >
>> > here i want to generate a codec interface facing issue, post to
>> > android community but not getting any response back by him.
>> >
>> > Thanks,
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
>

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

Re: [android-developers] Re: Android development is very bad

2011-08-22 Thread NaveenShrivastva
i want to create video codec plz help me, i have knowledge of JNI lib
implementation in android .



On Mon, Aug 22, 2011 at 1:24 PM, martypantsROK  wrote:

> Apparently we suck at answering questions. Sorry.
> Maybe if the question you asked was understandable
>(i.e. You suck at asking questions)
> you might get some help.
>
> On Aug 22, 3:22 pm, Naveen  wrote:
> > i think android development is very bad for android developer compare
> > to xcode.
> >
> > xcode giving framework for each and every ap implementation.
> >
> > here i want to generate a codec interface facing issue, post to
> > android community but not getting any response back by him.
> >
> > Thanks,
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Re: [android-developers] Android development is very bad

2011-08-21 Thread NaveenShrivastva
08-22 12:32:46.969: ERROR/FFMpegMediaPlayer(4610): AV_LOG_WARNING: No
accelerated colorspace conversion found from %s to %s.


how to handle this error help me

On Mon, Aug 22, 2011 at 12:26 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

> Now i need help me codec interface in android can u able to help me then
> good else all os have many limitation
>
>
> On Mon, Aug 22, 2011 at 12:21 PM, Miguel Morales 
> wrote:
>
>> xcode sucks
>>
>> On Sun, Aug 21, 2011 at 11:44 PM, Simon Platten
>>  wrote:
>> > Whos "him"?
>> >
>> > On Mon, Aug 22, 2011 at 7:22 AM, Naveen 
>> wrote:
>> >>
>> >> i think android development is very bad for android developer compare
>> >> to xcode.
>> >>
>> >> xcode giving framework for each and every ap implementation.
>> >>
>> >>
>> >> here i want to generate a codec interface facing issue, post to
>> >> android community but not getting any response back by him.
>> >>
>> >>
>> >>
>> >> Thanks,
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups "Android Developers" group.
>> >> To post to this group, send email to
>> android-developers@googlegroups.com
>> >> To unsubscribe from this group, send email to
>> >> android-developers+unsubscr...@googlegroups.com
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/android-developers?hl=en
>> >
>> >
>> > --
>> > Regards,
>> > Sy
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to
>> android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>> --
>> ~ Jeremiah:9:23-24
>> Android 2D MMORPG: http://solrpg.com/,
>> http://www.youtube.com/user/revoltingx
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
>

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

Re: [android-developers] Android development is very bad

2011-08-21 Thread NaveenShrivastva
Now i need help me codec interface in android can u able to help me then
good else all os have many limitation

On Mon, Aug 22, 2011 at 12:21 PM, Miguel Morales wrote:

> xcode sucks
>
> On Sun, Aug 21, 2011 at 11:44 PM, Simon Platten
>  wrote:
> > Whos "him"?
> >
> > On Mon, Aug 22, 2011 at 7:22 AM, Naveen 
> wrote:
> >>
> >> i think android development is very bad for android developer compare
> >> to xcode.
> >>
> >> xcode giving framework for each and every ap implementation.
> >>
> >>
> >> here i want to generate a codec interface facing issue, post to
> >> android community but not getting any response back by him.
> >>
> >>
> >>
> >> Thanks,
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "Android Developers" group.
> >> To post to this group, send email to
> android-developers@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> android-developers+unsubscr...@googlegroups.com
> >> For more options, visit this group at
> >> http://groups.google.com/group/android-developers?hl=en
> >
> >
> > --
> > Regards,
> > Sy
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> ~ Jeremiah:9:23-24
> Android 2D MMORPG: http://solrpg.com/,
> http://www.youtube.com/user/revoltingx
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



--

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

Re: [android-developers] Android development is very bad

2011-08-21 Thread NaveenShrivastva
On Mon, Aug 22, 2011 at 12:14 PM, Simon Platten <
simonaplat...@googlemail.com> wrote:

> Whos "him"?
>
>
> On Mon, Aug 22, 2011 at 7:22 AM, Naveen wrote:
>
>> i think android development is very bad for android developer compare
>> to xcode.
>>
>> xcode giving framework for each and every ap implementation.
>>
>>
>> here i want to generate a codec interface facing issue, post to
>> android community but not getting any response back by him.
>>
>>
>>
>> Thanks,
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Regards,
> Sy
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



--
Is some one is able to help me in codec interface in android. i have done
all the stubs of jni but facing error.alws posted to android community but
not getting back any response then what i decide for developers growth in
android.Not getting support by some one .

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

[android-developers] NaveenShrivastva wants to chat

2011-08-20 Thread NaveenShrivastva
---

NaveenShrivastva wants to stay in better touch using some of Google's
coolest new
products.

If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-47af872433-f815ac997e-Kz_xY2H8d_0E3xgOClAaTb2m6r8
You'll need to click this link to be able to chat with NaveenShrivastva.

To get Gmail - a free email account from Google with over 2,800 megabytes of
storage - and chat with NaveenShrivastva, visit:
http://mail.google.com/mail/a-47af872433-f815ac997e-Kz_xY2H8d_0E3xgOClAaTb2m6r8

Gmail offers:
- Instant messaging right inside Gmail
- Powerful spam protection
- Built-in search for finding your messages and a helpful way of organizing
  emails into "conversations"
- No pop-up ads or untargeted banners - just text ads and related information
  that are relevant to the content of your messages

All this, and its yours for free. But wait, there's more! By opening a Gmail
account, you also get access to Google Talk, Google's instant messaging
service:

http://www.google.com/talk/

Google Talk offers:
- Web-based chat that you can use anywhere, without a download
- A contact list that's synchronized with your Gmail account
- Free, high quality PC-to-PC voice calls when you download the Google Talk
  client

We're working hard to add new features and make improvements, so we might also
ask for your comments and suggestions periodically. We appreciate your help in
making our products even better!

Thanks,
The Google Team

To learn more about Gmail and Google Talk, visit:
http://mail.google.com/mail/help/about.html
http://www.google.com/talk/about.html

(If clicking the URLs in this message does not work, copy and paste them into
the address bar of your browser).

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


Re: [android-developers] how to integrate video codec for video view android

2011-08-19 Thread NaveenShrivastva
On Fri, Aug 19, 2011 at 6:47 PM, Appaholics wrote:

> AFAIK there is only one http://source.android.com. You will need to look
> into the community tab.
>
> Thanks
>
> On Fri, Aug 19, 2011 at 6:34 PM, NaveenShrivastva <
> kumarnaveen.si...@gmail.com> wrote:
>
>>
>>
>> On Fri, Aug 19, 2011 at 6:05 PM, Mark Murphy wrote:
>>
>>> On Fri, Aug 19, 2011 at 8:30 AM, Naveen 
>>> wrote:
>>> > I am not getting any perfect way for codec implementation, plz help me
>>> > other wise i think it's android drawback
>>>
>>> Codecs to plug into OpenCORE (Android 2.2 and earlier) or StageFright
>>> (Android 2.2 and newer) are part of the firmware. If you are
>>> interested in developing firmware codecs, please find an appropriate
>>> list on http://source.android.com.
>>>
>>> --
>>> Mark Murphy (a Commons Guy)
>>> http://commonsware.com | http://github.com/commonsguy
>>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>>
>>> _Android Programming Tutorials_ Version 3.9 Available!
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>
>> how to findan appropriate  http://source.android.com.  ? you right i
>> want firmware codec integration ...help me plz
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> --
> Raghav Sood
> CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
> required to have complete control)
> http://www.raghavsood.com/
> https://market.android.com/developer?pub=Appaholics
> http://www.appaholics.in/
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



yes sir, i have posted my issue but not sure they will help or not?This
issue only with android, i think apple development is best for this line.

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

Re: [android-developers] how to integrate video codec for video view android

2011-08-19 Thread NaveenShrivastva
On Fri, Aug 19, 2011 at 6:43 PM, Mark Murphy wrote:

> On Fri, Aug 19, 2011 at 9:04 AM, NaveenShrivastva
>  wrote:
> > how to findan appropriate  http://source.android.com.  ? you right i
> > want firmware codec integration ...help me plz
>
> Step #1: Visit http://source.android.com
>
> Step #2: Click on the Community tab
>
> Step #3: Find a relevant Google Group for your project
>
> Step #4: Ask a well-written question there
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 3.9 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-Thanks sir

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

Re: [android-developers] how to integrate video codec for video view android

2011-08-19 Thread NaveenShrivastva
On Fri, Aug 19, 2011 at 6:05 PM, Mark Murphy wrote:

> On Fri, Aug 19, 2011 at 8:30 AM, Naveen 
> wrote:
> > I am not getting any perfect way for codec implementation, plz help me
> > other wise i think it's android drawback
>
> Codecs to plug into OpenCORE (Android 2.2 and earlier) or StageFright
> (Android 2.2 and newer) are part of the firmware. If you are
> interested in developing firmware codecs, please find an appropriate
> list on http://source.android.com.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 3.9 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>


how to findan appropriate  http://source.android.com.  ? you right i
want firmware
codec integration ...help me plz

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

Re: [android-developers] Re: htonl support C++ , how to same function implement in java code

2011-08-18 Thread NaveenShrivastva
i have solved my problem by myself.


Thanks advance

On Fri, Aug 19, 2011 at 11:58 AM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

>
> #define HTONL(n) (unsigned long)(n 
> <http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55>) & 0xFF)) << 
> 24) | \  unsigned long)(n 
> <http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55>) & 0xFF00)) << 
> 8) | \  unsigned long)(n 
> <http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55>) & 0xFF)) 
> >> 8) | \  unsigned long)(n 
> <http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55>) & 0xFF00)) 
> >> 24))#define NTOHL(n) (unsigned long)(n 
> <http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60>) & 0xFF)) << 
> 24) | \  unsigned long)(n 
> <http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60>) & 0xFF00)) << 
> 8) | \  unsigned long)(n 
> <http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60>) & 0xFF)) 
> >> 8) | \  ((((unsigned long)(n 
> <http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60>) & 0xFF00)) 
> >> 24))
>
>
> On Fri, Aug 19, 2011 at 11:43 AM, NaveenShrivastva <
> kumarnaveen.si...@gmail.com> wrote:
>
>> Thanks,
>>
>> i am trying to customize C++ code in java.
>>
>>
>> On Fri, Aug 19, 2011 at 11:38 AM, Zsolt Vasvari wrote:
>>
>>> Get the source code to the C function and move it to Java, should be
>>> trivial.  Of course, respect any licensing restrictions, if any.
>>>
>>>
>>>
>>> On Aug 19, 2:03 pm, N K Shrivastva 
>>> wrote:
>>> > Hello Developers,
>>> >
>>> > Please help me,
>>> >
>>> > htonl()  = host to network long . This method convert host to network
>>> > in C++/c language
>>> >
>>> > i want same conversion in java host to network some one plz help me .
>>> >
>>> > Thanks,
>>> > Naveen
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>
>>
>> -
>>
>> Naveen Shrivastava
>>
>>
> Please help me getting this perfect code in C++
>
>

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

Re: [android-developers] Re: htonl support C++ , how to same function implement in java code

2011-08-18 Thread NaveenShrivastva
#define HTONL(n) (unsigned long)(n
<http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55>) &
0xFF)) << 24) | \  unsigned long)(n
<http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55>) &
0xFF00)) << 8) | \  unsigned long)(n
<http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55>) &
0xFF)) >> 8) | \  unsigned long)(n
<http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55>) &
0xFF00)) >> 24))#define NTOHL(n) (unsigned long)(n
<http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60>) &
0xFF)) << 24) | \  unsigned long)(n
<http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60>) &
0xFF00)) << 8) | \  unsigned long)(n
<http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60>) &
0xFF)) >> 8) | \  unsigned long)(n
<http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60>) &
0xFF00)) >> 24))


On Fri, Aug 19, 2011 at 11:43 AM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

> Thanks,
>
> i am trying to customize C++ code in java.
>
>
> On Fri, Aug 19, 2011 at 11:38 AM, Zsolt Vasvari wrote:
>
>> Get the source code to the C function and move it to Java, should be
>> trivial.  Of course, respect any licensing restrictions, if any.
>>
>>
>>
>> On Aug 19, 2:03 pm, N K Shrivastva 
>> wrote:
>> > Hello Developers,
>> >
>> > Please help me,
>> >
>> > htonl()  = host to network long . This method convert host to network
>> > in C++/c language
>> >
>> > i want same conversion in java host to network some one plz help me .
>> >
>> > Thanks,
>> > Naveen
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> -
>
> Naveen Shrivastava
>
>
Please help me getting this perfect code in C++

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

Re: [android-developers] Re: htonl support C++ , how to same function implement in java code

2011-08-18 Thread NaveenShrivastva
Thanks,

i am trying to customize C++ code in java.

On Fri, Aug 19, 2011 at 11:38 AM, Zsolt Vasvari  wrote:

> Get the source code to the C function and move it to Java, should be
> trivial.  Of course, respect any licensing restrictions, if any.
>
>
>
> On Aug 19, 2:03 pm, N K Shrivastva 
> wrote:
> > Hello Developers,
> >
> > Please help me,
> >
> > htonl()  = host to network long . This method convert host to network
> > in C++/c language
> >
> > i want same conversion in java host to network some one plz help me .
> >
> > Thanks,
> > Naveen
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-

Naveen Shrivastava

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

Re: [android-developers] Re: MediaPlayer: setDataSource failed (streaming)

2011-08-16 Thread NaveenShrivastva
On Wed, Aug 17, 2011 at 12:19 PM, lb  wrote:

> I tried couple from here and it worked for me but they are 3gp videos
> though.
>
> http://daily3gp.com/vids/family_guy_bill_cosby.3gp
> -lb
>
>
> On Aug 13, 7:23 am, Dmitry Kazakov  wrote:
> > Hi there.
> > I write Android app and I want to playing music from a remote URL via
> > HTTP streaming. In official tutorial is showed this code:
> >
> > String url = "http://";; // your URL here
> > MediaPlayer mediaPlayer = new MediaPlayer();
> > mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
> > mediaPlayer.setDataSource(url);
> > mediaPlayer.prepare(); // might take long! (for buffering, etc)
> > mediaPlayer.start();
> >
> > But I don't know what kind of URL I should use. I try to use
> > vorbis.com/music/Epoq-Lepidoptera.ogg from google tutorial: it correct
> > open in browser but when I have invoked setDataSource(url) I catch
> > java.io.IOException: setDataSource failed.: status=0x8000. I
> > googled and find meaning of this error: file at which points the this
> > path is not valid.
> > Can you show me example of URL that I should use for playing music via
> > HTTP streaming?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



mediaPlayer.setDataSource(url);

here pass url through parse URI.parse(url)

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

Re: [android-developers] Socket connection android issue

2011-08-10 Thread NaveenShrivastva
On Wed, Aug 10, 2011 at 2:06 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

> i have already assigned this permission...
>
>
> On Wed, Aug 10, 2011 at 1:23 PM, Gergely Juhász wrote:
>
>> You mean that this line:
>> Socket socket = new Socket(serverAddr, SERVERPORT);
>>  throws an io exception?
>> Did you set INTERNET permission in your manifest file?
>> Maybe your pc's firewall blocks the connection.
>>
>>
>> On 10 August 2011 09:34, N K Shrivastva wrote:
>>
>>> Hi i want tcp-socket connection for connection with socket and take
>>> response back:
>>>
>>>  public static String SERVERIP = "192.168.0.127";
>>>
>>>// designate a port
>>>public static final int SERVERPORT = 5675;
>>>
>>>  private void connectSocket() {
>>>// TODO Auto-generated method stub
>>>try {
>>>InetAddress serverAddr = InetAddress.getByName(SERVERIP);//
>>> 10.66.3.44 is my pc' IP
>>>Log.d("TCP", "C: Connecting...");
>>>Socket socket = new Socket(serverAddr, SERVERPORT);
>>>String message = "Hello from Client android emulator";
>>>try {
>>>Log.d("TCP", "C: Sending: '" + message + "'");
>>>PrintWriter out = new PrintWriter( new BufferedWriter( new
>>> OutputStreamWriter(socket.getOutputStream())),true);
>>>
>>>out.println(message);
>>>Log.d("TCP", "C: Sent.");
>>>Log.d("TCP", "C: Done.");
>>>
>>>} catch(Exception e) {
>>>Log.e("TCP", "S: Error", e);
>>>} finally {
>>>socket.close();
>>>}
>>>
>>>
>>>} catch (UnknownHostException e) {
>>>// TODO Auto-generated catch block
>>>Log.e("TCP", "C: UnknownHostException", e);
>>>e.printStackTrace();
>>>} catch (IOException e) {
>>>// TODO Auto-generated catch block
>>>Log.e("TCP", "C: IOException", e);
>>>e.printStackTrace();
>>>}
>>>}
>>>
>>> Here my connection time out , how to check socket connection , what is
>>> wrong entry here  plz confirm me.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
>
>
What resign socket time out.

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

Re: [android-developers] Socket connection android issue

2011-08-10 Thread NaveenShrivastva
i have already assigned this permission...

On Wed, Aug 10, 2011 at 1:23 PM, Gergely Juhász  wrote:

> You mean that this line:
> Socket socket = new Socket(serverAddr, SERVERPORT);
> throws an io exception?
> Did you set INTERNET permission in your manifest file?
> Maybe your pc's firewall blocks the connection.
>
>
> On 10 August 2011 09:34, N K Shrivastva wrote:
>
>> Hi i want tcp-socket connection for connection with socket and take
>> response back:
>>
>>  public static String SERVERIP = "192.168.0.127";
>>
>>// designate a port
>>public static final int SERVERPORT = 5675;
>>
>>  private void connectSocket() {
>>// TODO Auto-generated method stub
>>try {
>>InetAddress serverAddr = InetAddress.getByName(SERVERIP);//
>> 10.66.3.44 is my pc' IP
>>Log.d("TCP", "C: Connecting...");
>>Socket socket = new Socket(serverAddr, SERVERPORT);
>>String message = "Hello from Client android emulator";
>>try {
>>Log.d("TCP", "C: Sending: '" + message + "'");
>>PrintWriter out = new PrintWriter( new BufferedWriter( new
>> OutputStreamWriter(socket.getOutputStream())),true);
>>
>>out.println(message);
>>Log.d("TCP", "C: Sent.");
>>Log.d("TCP", "C: Done.");
>>
>>} catch(Exception e) {
>>Log.e("TCP", "S: Error", e);
>>} finally {
>>socket.close();
>>}
>>
>>
>>} catch (UnknownHostException e) {
>>// TODO Auto-generated catch block
>>Log.e("TCP", "C: UnknownHostException", e);
>>e.printStackTrace();
>>} catch (IOException e) {
>>// TODO Auto-generated catch block
>>Log.e("TCP", "C: IOException", e);
>>e.printStackTrace();
>>}
>>}
>>
>> Here my connection time out , how to check socket connection , what is
>> wrong entry here  plz confirm me.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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

Re: [android-developers] login screen

2011-07-26 Thread NaveenShrivastva
use this concept for data base implementation.

http://www.higherpass.com/Android/Tutorials/Accessing-Data-With-Android-Cursors/



On Wed, Jul 27, 2011 at 11:47 AM, arun kumar  wrote:

> thanks for reply
> can u give me a brief procedure how to do
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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

Re: [android-developers] How to stop Thread/Handler

2011-07-26 Thread NaveenShrivastva
Plz give more idea 

On Wed, Jul 27, 2011 at 11:35 AM, Hitendrasinh Gohil <
hitendra.virtuei...@gmail.com> wrote:

> hi naveen,
>
>
> you can do something like this.
>
>
> public boolean isstart=true;
> .
>
> public void run()
> {
> while(isstart)
> {
> ...here ur implementation
> }
>
> }
>
>
> and public void stopThread()
>
> {
> isstart=false;
>
>
> }
>
>
>
>
>
> On Tue, Jul 26, 2011 at 11:00 PM, N K Shrivastva <
> kumarnaveen.si...@gmail.com> wrote:
>
>> Hello Android developer,
>>
>> i have two button, one for start thread and another for stop thread.
>>
>>
>> when clicking on start thread then it's display message in after each
>> second.
>>
>> but i want stop that thread on stop button click.what to do need ur
>> help or refer me actual url.
>>
>> Thanks,
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Regards,
> Hitendrasinh Gohil
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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

Re: [android-developers] login screen

2011-07-26 Thread NaveenShrivastva
Web services handling  only for login access is not good, i think u handle
local db for login validation,

use Sqlite for db hadling password

On Wed, Jul 27, 2011 at 11:36 AM, arun kumar  wrote:

> Hi am new to android and javai done here login screen by giving
> username and password hardcoded...(but i have to do for real time situation)
> when we give username and password it has to login to a welcome
> screen.(whether i have to use webservices or database )
> how to do plz guide me
>
>
>
> 
> http://schemas.android.com/apk/res/android";
> android:orientation="vertical" android:layout_width="fill_parent"
> android:layout_height="fill_parent" android:background="#ff" >
>  android:paddingLeft="70dip" android:paddingRight="70dip"
>  android:layout_height="wrap_content"
> android:layout_width="wrap_content"
> android:layout_alignParentLeft="true">
>
>  android:layout_width="fill_parent"
> android:layout_height="wrap_content" android:orientation="horizontal"
> android:layout_margin="3px" android:layout_below="@+id/imageView1"
> android:id="@+id/ln1">
> android:layout_alignParentLeft="true" android:layout_height="wrap_content"
> android:layout_width="wrap_content" android:text="Username  ">
> android:layout_height="wrap_content" android:layout_width="fill_parent"
> android:layout_alignLeft="@+id/imageView1"
> android:layout_alignRight="@+id/imageView1"/>
>  
>
>
> android:layout_height="wrap_content" android:orientation="horizontal"
> android:layout_margin="3px" android:layout_below="@+id/ln1"
> android:id="@+id/ln2" >
>android:layout_alignParentLeft="true" android:layout_height="wrap_content"
> android:layout_width="wrap_content" android:text="Password   ">
>android:layout_height="wrap_content" android:layout_width="fill_parent"
> android:layout_alignLeft="@+id/imageView1"
> android:layout_alignRight="@+id/imageView1" android:password="true"/>
>
>android:layout_alignRight="@+id/ln2"  android:id="@+id/but"
> android:layout_width="100dip" android:layout_height="wrap_content"
> android:layout_below="@+id/ln2" android:text="Login"/>
>android:layout_width="fill_parent" android:layout_height="wrap_content"/>
>
> 
>
> public class SoloCampuss extends Activity {
> private EditText usernameEditText;
> private EditText passwordEditText;
>
>private TextView lblResult;
> Button btn;
>
> /** Called when the activity is first created. */
> @Override
> public void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.main);
> final EditText usernameEditText = (EditText)
> findViewById(R.id.editText1);
> final EditText passwordEditText = (EditText)
> findViewById(R.id.editText2);
>   Button btn = (Button)findViewById(R.id.but);
> btn.setOnClickListener( new OnClickListener(){
>
> public void onClick(View viewParam)
>{
>
>  lblResult = (TextView)findViewById(R.id.result);
>
>
>  String UserName =
> usernameEditText.getText().toString();
>  String Password =
> passwordEditText.getText().toString();
>  if(UserName.equals("arun") &&
> Password.equals("arun")){
>   Intent intent=new Intent(SoloCampuss
> .this,WelcomePage.class);
>
>   startActivity(intent);
>  } else {
>lblResult.setText("Login failed.
> Username and/or password doesn't match.");
> }
>
>  }
> }
> );
>  }
> }
>
>  thanks in advance
> arun
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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

Re: [android-developers] No projects are found to import in Eclipse

2011-07-13 Thread NaveenShrivastva
On Wed, Jul 13, 2011 at 5:35 PM, Perumss Naren  wrote:

> Hi,
>
>Thanks for you time and now working for me
>
> Regards,
> Perumal.N
>
>
>
> On Wed, Jul 13, 2011 at 4:46 PM, arun kumar wrote:
>
>> you not import project by click import menu you goto file->new->android
>> project->create project from existing resource and give exact path its
>> perfectly open.
>>
>>
>> On Wed, Jul 13, 2011 at 4:41 PM, Perumss Naren wrote:
>>
>>> Hi,
>>>
>>>   Sorry you not get my point.. "*No projects are found to import" 
>>> *projects
>>> is there but i could not open that project
>>>
>>> Regards,
>>> Perumal.N
>>>
>>>
>>> On Wed, Jul 13, 2011 at 4:35 PM, arun kumar wrote:
>>>
 check www.developer.android.com for sample projects.

   On Wed, Jul 13, 2011 at 4:22 PM, Perumss Naren wrote:

>  HI ,
>
>I can't open the sample projects in *android-sdk_r11-windows*it 
> shows "
> *No projects are found to import*"
>
> what i did :
>
>  * File-> import->Existing project into workspace->next-> *
>
>then i Browse the sample projects from
> android-sdk_r11-windows -> samples ->
>
>finally it shows "*No projects are found to import*"
>
> can u please guide me what to do
>
>
> Thanks and Regards,
> Perumal.N
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to
> android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en


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



There is problem of directory staracture of project so need to copy src and
file and replace with new project

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

Re: [android-developers] any one send me HTTP Post request and Reponse example

2011-07-11 Thread NaveenShrivastva
On Mon, Jul 11, 2011 at 5:18 PM, GopalaKrishnan D wrote:

> for my project http request and response is need .. can any one send
> example for that
>
> --
> ~* Regards*
> *GopalaKrishnan D*
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en


http://www.google.co.in/#q=http+request+and+response+%2Bandroid&hl=en&prmd=ivns&ei=DO4aTvyWMI6IrAfp_OnPAQ&start=10&sa=N&bav=on.2,or.r_gc.r_pw.&fp=ce094404ce95046e&biw=1658&bih=679

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

Re: [android-developers] i want to insert more than 5000 -records in android in a second

2011-07-11 Thread NaveenShrivastva
On Mon, Jul 11, 2011 at 12:00 PM, naveen kumar
wrote:

> i want to insert more than 5000 -records in android very fastly
>
>  using ContentValues initialValues = new ContentValues(); also used
> BeginTransaction statement but not effective
>
> Please give me suggestion
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en


somwone plese reply me

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

Re: [android-developers] How to check internet connection in background when application closed

2011-07-11 Thread NaveenShrivastva
On Mon, Jul 11, 2011 at 3:48 PM, N K Shrivastva  wrote:

> How to check internet connection in background when application closed
> by user. i have idea about Async class and it's method,
>
>
> i want it's works in background when application closed then after
> also. i want chacek alws in  background after 2 sec like..
>
>
> Please help me,
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en


Thanks All ,

i have developed logic thanks all, i have done that one

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

Re: [android-developers] how to typecast String data to Object data type java/Android

2011-07-08 Thread NaveenShrivastva
On Fri, Jul 8, 2011 at 10:27 AM, TreKing  wrote:

> On Thu, Jul 7, 2011 at 8:55 PM, Latcho  wrote:
>
>> I you had actually answered the question or remained silent you too had
>> served the list because
>>
>
> I don't know what that means.
>
>
>>  A) I was actually interested in the answer
>>
>
> I'm sorry to hear that you do not seem understand basic Java.
>
>  B) I had to read your boring reply in the hope of an answer.
>>
>
> I'm sorry to have bored you. If it makes you feel better, I was fairly
> bored with your reply as well. Call it even?
>
>
>
> -
> 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 post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
There is best solution for handle that case i have find it.

Thanks

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

Re: [android-developers] Re: Not trusted server certificate

2011-07-05 Thread NaveenShrivastva
Have u generated Certificate for communicate with server.

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

Re: [android-developers] Re: Not trusted server certificate

2011-07-05 Thread NaveenShrivastva
On Tue, Jul 5, 2011 at 4:45 PM, Jaswant  wrote:

> as u are using "https" u need to manually varify certificates:
> use this link get an idea and if steal got problem tell i'll solve ur
> problem
>
> http://androidforums.com/android-applications/60650-send-data-https-android-application.html
>
>
> Enjoy and never forget to say "Jay Hind"
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



Need to consult with Halosys

There is solution

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

Re: [android-developers] Video Codec integration -Android help===============

2011-07-02 Thread NaveenShrivastva
On Sat, Jul 2, 2011 at 2:18 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

>
>
> On Thu, Jun 30, 2011 at 9:14 PM, Mark Murphy wrote:
>
>> On Thu, Jun 30, 2011 at 11:23 AM, naveen kumar
>>  wrote:
>> > I am able ndk interface with android code.
>> >
>> > please some one help me how to integrate codec interface with video
>> > and api.
>>
>

plz help me sir i am not able to play 1gb movie like player on videoview
android code.

>
>> For NDK questions, please use the [android-ndk] Google Group.
>>
>> > i am not getting any link for codec interface.
>>
>> I doubt that there is one, which is why you should talk to the fine
>> people at the [android-ndk] Google Group.
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> _The Busy Coder's Guide to *Advanced* Android Development_ Version
>> 1.9.9 Available!
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> Thanks sir,
>
> it's work for mb only.
>
> i have downloaded this book and follow but 1GB  video not playing.
>
> Error Sorry video cannot be played.
>
>
>
> Help me plz.
>
>
>
>
>
>


-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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

Re: [android-developers] Async Task

2011-07-02 Thread NaveenShrivastva
On Sat, Jul 2, 2011 at 3:20 PM, naveen kumar wrote:

> hi all,
>
> i have multiple long process for one activity, i want to many process
> with multiple thread in android.
>
> i want to use Async task please help me Async task Simultaneous handle
> multiple process or One activity is able to execute more than one
> async task or one Activity have only one async task
>
> Plz reply
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en


i have handle that one


thanks all

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

Re: [android-developers] Video Codec integration -Android help===============

2011-07-02 Thread NaveenShrivastva
On Thu, Jun 30, 2011 at 9:14 PM, Mark Murphy wrote:

> On Thu, Jun 30, 2011 at 11:23 AM, naveen kumar
>  wrote:
> > I am able ndk interface with android code.
> >
> > please some one help me how to integrate codec interface with video
> > and api.
>
> For NDK questions, please use the [android-ndk] Google Group.
>
> > i am not getting any link for codec interface.
>
> I doubt that there is one, which is why you should talk to the fine
> people at the [android-ndk] Google Group.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version
> 1.9.9 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




Thanks sir,

it's work for mb only.

i have downloaded this book and follow but 1GB  video not playing.

Error Sorry video cannot be played.



Help me plz.

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

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: ":": , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread NaveenShrivastva
On Fri, Jul 1, 2011 at 6:54 PM, Mark Murphy  wrote:

> Then use multiple question marks. Or, better yet, use the insert()
> method to insert data into a database:
>
> public void insert(String name, String address, String type, String notes)
> {
>ContentValues cv=new ContentValues();
>
>cv.put("name", name);
>cv.put("address", address);
>cv.put("type", type);
>cv.put("notes", notes);
>
>getWritableDatabase().insert("restaurants", "name", cv);
>}
>
> On Fri, Jul 1, 2011 at 9:01 AM, NaveenShrivastva
>  wrote:
> >
> >
> > On Fri, Jul 1, 2011 at 5:55 PM, Mark Murphy 
> wrote:
> >>
> >> Use rawQuery() with ? placeholders rather than trying to concatenate
> >> everything yourself. Android and SQLite will properly quote and escape
> >> any strings as necessary.
> >>
> >> On Fri, Jul 1, 2011 at 8:13 AM, NaveenShrivastva
> >>  wrote:
> >> > Sir my sql statement is
> >> > String sql = "insert into tblLocations
> (locType,locUrl,refUuid)
> >> > values ("+
> >> >
> >> >
> map.get("type").toString()+","+map.get("URL").toString()+","+refuuid+")";
> >> >
> >> > getting value from hashmap then inserting .What is mistake hare
> .please
> >> > help
> >> > me
> >> >
> >> >
> >> >
> >> > On Fri, Jul 1, 2011 at 5:40 PM, NaveenShrivastva
> >> >  wrote:
> >> >>
> >> >> Thx sir i am trying
> >> >>
> >> >> On Fri, Jul 1, 2011 at 5:33 PM, Mark Murphy  >
> >> >> wrote:
> >> >>>
> >> >>> You need to quote your strings, as you do in just about every SQL
> >> >>> database ever invented.
> >> >>>
> >> >>> On Fri, Jul 1, 2011 at 7:56 AM, naveen kumar
> >> >>>  wrote:
> >> >>> >  Caused by: android.database.sqlite.SQLiteException: unrecognized
> >> >>> > token: ":": , while compiling: insert into tblShows
> >> >>> > (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon) values
> >> >>> >
> >> >>> > (
> http://a725.phobos.apple.com/us/r1000/054/Video/e4/50/b7/mzl.qynukdwm.
> >> >>> > 133x100-99.jpg,,Comedy,30 Rock,tv,S00281,show_S00281.png)
> >> >>> >
> >> >>> > --
> >> >>> > You received this message because you are subscribed to the Google
> >> >>> > Groups "Android Developers" group.
> >> >>> > To post to this group, send email to
> >> >>> > android-developers@googlegroups.com
> >> >>> > To unsubscribe from this group, send email to
> >> >>> > android-developers+unsubscr...@googlegroups.com
> >> >>> > For more options, visit this group at
> >> >>> > http://groups.google.com/group/android-developers?hl=en
> >> >>> >
> >> >>>
> >> >>>
> >> >>>
> >> >>> --
> >> >>> Mark Murphy (a Commons Guy)
> >> >>> http://commonsware.com | http://github.com/commonsguy
> >> >>> http://commonsware.com/blog | http://twitter.com/commonsguy
> >> >>>
> >> >>> _Android Programming Tutorials_ Version 3.5 Available!
> >> >>>
> >> >>> --
> >> >>> You received this message because you are subscribed to the Google
> >> >>> Groups "Android Developers" group.
> >> >>> To post to this group, send email to
> >> >>> android-developers@googlegroups.com
> >> >>> To unsubscribe from this group, send email to
> >> >>> android-developers+unsubscr...@googlegroups.com
> >> >>> For more options, visit this group at
> >> >>> http://groups.google.com/group/android-developers?hl=en
> >> >>
> >> >>
> >> >> --
> >> >> Naveen Shrivastava
> >> >> BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Naveen Shrivastava
> >> > BC

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: ":": , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread NaveenShrivastva
On Fri, Jul 1, 2011 at 5:55 PM, Mark Murphy  wrote:

> Use rawQuery() with ? placeholders rather than trying to concatenate
> everything yourself. Android and SQLite will properly quote and escape
> any strings as necessary.
>
> On Fri, Jul 1, 2011 at 8:13 AM, NaveenShrivastva
>  wrote:
> > Sir my sql statement is
> > String sql = "insert into tblLocations (locType,locUrl,refUuid)
> > values ("+
> > map.get("type").toString()+","+map.get("URL").toString()+","+refuuid+")";
> >
> > getting value from hashmap then inserting .What is mistake hare .please
> help
> > me
> >
> >
> >
> > On Fri, Jul 1, 2011 at 5:40 PM, NaveenShrivastva
> >  wrote:
> >>
> >> Thx sir i am trying
> >>
> >> On Fri, Jul 1, 2011 at 5:33 PM, Mark Murphy 
> >> wrote:
> >>>
> >>> You need to quote your strings, as you do in just about every SQL
> >>> database ever invented.
> >>>
> >>> On Fri, Jul 1, 2011 at 7:56 AM, naveen kumar
> >>>  wrote:
> >>> >  Caused by: android.database.sqlite.SQLiteException: unrecognized
> >>> > token: ":": , while compiling: insert into tblShows
> >>> > (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon) values
> >>> > (
> http://a725.phobos.apple.com/us/r1000/054/Video/e4/50/b7/mzl.qynukdwm.
> >>> > 133x100-99.jpg,,Comedy,30 Rock,tv,S00281,show_S00281.png)
> >>> >
> >>> > --
> >>> > You received this message because you are subscribed to the Google
> >>> > Groups "Android Developers" group.
> >>> > To post to this group, send email to
> >>> > android-developers@googlegroups.com
> >>> > To unsubscribe from this group, send email to
> >>> > android-developers+unsubscr...@googlegroups.com
> >>> > For more options, visit this group at
> >>> > http://groups.google.com/group/android-developers?hl=en
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> Mark Murphy (a Commons Guy)
> >>> http://commonsware.com | http://github.com/commonsguy
> >>> http://commonsware.com/blog | http://twitter.com/commonsguy
> >>>
> >>> _Android Programming Tutorials_ Version 3.5 Available!
> >>>
> >>> --
> >>> You received this message because you are subscribed to the Google
> >>> Groups "Android Developers" group.
> >>> To post to this group, send email to
> android-developers@googlegroups.com
> >>> To unsubscribe from this group, send email to
> >>> android-developers+unsubscr...@googlegroups.com
> >>> For more options, visit this group at
> >>> http://groups.google.com/group/android-developers?hl=en
> >>
> >>
> >> --
> >> Naveen Shrivastava
> >> BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)
> >>
> >
> >
> >
> > --
> > Naveen Shrivastava
> > BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 3.5 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>


Hello sir,

Please refer the link

http://sagistech.blogspot.com/2010/07/notes-on-android-sqlite-bukl-insert.html

This example have only one table column.

i want to use many columns for bind

db =
openOrCreateDatabase("dvrAppDb.sqlite",SQLiteDatabase.CREATE_IF_NECESSARY,null);

db.beginTransaction();

SQLiteStatement insert = null;
tr

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: ":": , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread NaveenShrivastva
Sir my sql statement is
String sql = "insert into tblLocations (locType,locUrl,refUuid)
values ("+
map.get("type").toString()+","+map.get("URL").toString()+","+refuuid+")";

getting value from hashmap then inserting .What is mistake hare .please help
me



On Fri, Jul 1, 2011 at 5:40 PM, NaveenShrivastva <
kumarnaveen.si...@gmail.com> wrote:

> Thx sir i am trying
>
>
> On Fri, Jul 1, 2011 at 5:33 PM, Mark Murphy wrote:
>
>> You need to quote your strings, as you do in just about every SQL
>> database ever invented.
>>
>> On Fri, Jul 1, 2011 at 7:56 AM, naveen kumar
>>  wrote:
>> >  Caused by: android.database.sqlite.SQLiteException: unrecognized
>> > token: ":": , while compiling: insert into tblShows
>> > (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon) values
>> > (http://a725.phobos.apple.com/us/r1000/054/Video/e4/50/b7/mzl.qynukdwm.
>> > 133x100-99.jpg,,Comedy,30 Rock,tv,S00281,show_S00281.png)
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Developers" group.
>> > To post to this group, send email to
>> android-developers@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > android-developers+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/android-developers?hl=en
>> >
>>
>>
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> _Android Programming Tutorials_ Version 3.5 Available!
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Naveen Shrivastava
> BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)
>
>


-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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

Re: [android-developers] Caused by: android.database.sqlite.SQLiteException: unrecognized token: ":": , while compiling: insert into tblShows (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon)

2011-07-01 Thread NaveenShrivastva
Thx sir i am trying

On Fri, Jul 1, 2011 at 5:33 PM, Mark Murphy  wrote:

> You need to quote your strings, as you do in just about every SQL
> database ever invented.
>
> On Fri, Jul 1, 2011 at 7:56 AM, naveen kumar
>  wrote:
> >  Caused by: android.database.sqlite.SQLiteException: unrecognized
> > token: ":": , while compiling: insert into tblShows
> > (shIcon,shSummary,shGenres,shName,shType,shUuid,localIcon) values
> > (http://a725.phobos.apple.com/us/r1000/054/Video/e4/50/b7/mzl.qynukdwm.
> > 133x100-99.jpg,,Comedy,30 Rock,tv,S00281,show_S00281.png)
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
> >
>
>
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 3.5 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Naveen Shrivastava
BCA+MCA(LAST SEM)+O/A/B Level(DOEACC SOCITY IT GOVT INDIA)

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

Re: [android-developers] How to hadle bulk of XML response in Java/Android

2011-07-01 Thread NaveenShrivastva
On Fri, Jul 1, 2011 at 2:05 PM, Robin Talwar
wrote:

> use arrayList of some getter/setter class
> create start element and end element methods in your parser class which
> extends default handler
>
> On Fri, Jul 1, 2011 at 1:55 PM, NaveenShrivastva <
> kumarnaveen.si...@gmail.com> wrote:
>
>>
>>
>> On Fri, Jul 1, 2011 at 12:54 PM, naveen kumar <
>> kumarnaveen.si...@gmail.com> wrote:
>>
>>> Hi All Android developer,
>>>
>>>
>>> Till now i am not getting perfect solution for
>>>
>>> ===
>>>
>>> i am getting large server response in XML format.i am not able to save
>>> that all response in String for parser.
>>>
>>> getting Outofmemory exception, so i am taking line line by line
>>> response that works .
>>>
>>>
>>> but i want to handle bulk of response fastly , now it's take 10
>>> minutes.
>>>
>>> Please help me how to handle bulk of XML-response from server.
>>>
>>> very urgent need for me..
>>>
>>>
>>> Thanks,
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>> try {
>>
>>
>> inStream = new DataInputStream ( conn.getInputStream() );
>>
>>
>> String str;
>>
>> while (( str = inStream.readLine()) != null)
>>
>>
>> {
>>  Log.e("Debug","Server Response "+str);
>>
>>
>> }
>> inStream.close();
>>
>>   }
>>
>>   catch (IOException ioex){
>>Log.e("Debug", "error: " + ioex.getMessage(), ioex);
>>
>>
>>   }
>>
>>
>> This code prints line by line response but not printing bulk of response 
>> help me
>>
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Regards
> Abhishek Talwar
> 9953395712
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



My need is not able to full fill by getter setter because any case tag will
be change then?
i am asking how to handle large bulk of response if u have not idea then
please not reply
first read the question.
Bulk of XML of response i want use pull parser for parse i want to assign
string data to pull parser how to handle that string data XML response
.OK

There is not parser issue first issue is that one how to store bulk of data
response in java.

if knowledge then reply please i dont want use this site for time pass.

Plz reply perfect solution otherwise i am trying...

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

  1   2   >