[android-developers] How to play large size video from sdcard in android

2011-06-22 Thread naveen kumar
Hello sir,

Good evening,

I am playing video from sdcard and also getting meta data for that
video by this code

==video playing code==


 video.setVideoPath(path);


 video.setVisibility(1);
 video.canSeekBackward();
 video.canSeekForward();
 video.setMediaController(new MediaController(this));
 video.requestFocus();

 video.start();


when i am trying to play large video then getting exception
outofmemory.

Please help me how to resolve this issue in android, i am trying from
two days, but not greeting any related solution on developer site.


Please help me
Thanks,


Naveen Kumar shrivastva

9555674501

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] How to handle large HTTPS server XML-RPC response

2011-06-22 Thread naveen kumar
i am getting large response of https server. i am not able to store
complete response in string variable, there fore i am witting the file
by using fileoutputstrem, it's takes more time for write on file and
parse them.

Please fix this issue in android also.


thanks,
Naveen Kumar

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] NIO interface with android HTTPs server response

2011-06-22 Thread naveen kumar
How to use java NIO api for android HTTPS(SSL server)- XMLRPC server
response.


Thanks,
Naveen Kumar shrivastva

9555674501

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] How to handle large video file play andoid

2011-06-22 Thread naveen kumar
Hello sir,

good morning

i want to play large video file from sdcard. i am able to play samll
but not large movie like 1GB , please help me.

thanks,
Naveen Kumar

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Divide large video file in parts

2011-06-22 Thread naveen kumar
I want to devide large video file in parts without content loss 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


[android-developers] Re: How to play large size video from sdcard in android

2011-06-23 Thread naveen kumar
 mp.prepare();

Log.v(TAG, "Duration: ===>" + mp.getDuration());
    mp.start();

} catch (Exception e) {
Log.e(TAG, "error: "+ e.getMessage(), e);
if (mp != null) {
mp.stop();
mp.release();
}
}
}

=>
Sir, i know, i am able to play video from weburl with uri parse.but
need is play from sdcard.

Now i am able to play video from sdcard by using  MediaPlayer -Android
api without any exception,

here sound is listening , but video view not displaying on
surface.Please help me how to display video on screen by using
mediaplayer api .

Thanks,
Naveen Kumar


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] How to play large size video from sdcard in android

2011-06-23 Thread naveen kumar
Hello Google Android Developer,

I am trying to play large video from sdcard by android code, that is
not playing,i dont want to play video from url,

so please help me how to play large video in android from local
folder..

In case of XCODE by using mediaplayer they able to play any type of
large video.

Android also supports mediaplayer api for media file.

Here i am only listening the voice i am not able to place view on
surface holder.

is possible to see video using mediaplayer in android framework.

Please someone reply me clearly.

if not solution then kindly help me for to divide the 1gb file in
300MB.


Thanks, in advance

i am not getting perfect answer by google.

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


[android-developers] Re: How to play large size video from sdcard in android

2011-06-24 Thread naveen kumar


On Jun 24, 1:30 pm, NaveenShrivastva 
wrote:
> On Fri, Jun 24, 2011 at 12:44 PM, Miguel Morales 
> wrote:
>
>
>
>
>
>
>
>
>
>
>
> >http://developer.android.com/resources/samples/ApiDemos/src/com/examp...
>
> > On Thu, Jun 23, 2011 at 11:48 PM, naveen kumar <
> > kumarnaveen.si...@gmail.com> wrote:
>
> >> Hello Google Android Developer,
>
> >> I am trying to play large video from sdcard by android code, that is
> >> not playing,i dont want to play video from url,
>
> >> so please help me how to play large video in android from local
> >> folder..
>
> >> In case of XCODE by using mediaplayer they able to play any type of
> >> large video.
>
> >> Android also supports mediaplayer api for media file.
>
> >> Here i am only listening the voice i am not able to place view on
> >> surface holder.
>
> >> is possible to see video using mediaplayer in android framework.
>
> >> Please someone reply me clearly.
>
> >> if not solution then kindly help me for to divide the 1gb file in
> >> 300MB.
>
> >> Thanks, in advance
>
> >> i am not getting perfect answer by google.
>
> >> --
> >> You received this message because you are subscribed to the Google
> >> Groups "Android Developers" group.
> >> To post to this group, send email to android-developers@googlegroups.com
> >> To unsubscribe from this group, 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
>
> package com.halosys.VideoPlayer;
>
> import java.io.File;
> import java.io.FileOutputStream;
> import java.io.InputStream;
>
> import android.app.Activity;
> import android.media.MediaPlayer;
> import android.os.Bundle;
> import android.util.Log;
> import android.view.MotionEvent;
> import android.view.SurfaceHolder;
> import android.view.View;
> import android.view.View.OnTouchListener;
> import android.widget.VideoView;
>
> public class ActivityMediaPlayer extends Activity implements
> SurfaceHolder.Callback,
>                 MediaPlayer.OnBufferingUpdateListener,
>                 MediaPlayer.OnCompletionListener,
> MediaPlayer.OnErrorListener,
>                 MediaPlayer.OnPreparedListener {
>
>         private static final String TAG = "VideoMAN";
>         final MediaPlayer p = new MediaPlayer();
>
>         @Override
>         public void onCreate(Bundle savedInstanceState) {
>                 super.onCreate(savedInstanceState);
>                 setContentView(R.layout.main);
>
>                 log("launched");
>                 final VideoView vv = (VideoView)
> findViewById(R.id.surface_view);
>
>                 try {
>                         vv.setEnabled(true);
>                         vv.setOnTouchListener(new OnTouchListener() {
>
>                                 public boolean onTouch(View v, MotionEvent
> event) {
>                                         if (event.getAction() ==
> MotionEvent.ACTION_UP)
>                                                 try {
>
> p.setDataSource("/sdcard/watch/movie.mp4") ;
>
> //.getFileDescriptor());
> //                                          p.setDisplay(vv.getHolder());
>
> p.setOnBufferingUpdateListener(ActivityMediaPlayer.this);
>
> p.setOnCompletionListener(ActivityMediaPlayer.this);
>
> p.setOnErrorListener(ActivityMediaPlayer.this);
>
> p.setOnPreparedListener(ActivityMediaPlayer.this);
>                                                         log("clicked...");
>                                                         p.prepareAsync();
>                                                         vv.start();
>                                                 } catch (Exception e) {
>                                                         e.printStackTrace();
>                                                 }
>                       

[android-developers] Re: How to play large size video from sdcard in android

2011-06-24 Thread naveen kumar


On Jun 24, 2:20 pm, NaveenShrivastva 
wrote:
> On Fri, Jun 24, 2011 at 2:18 PM, naveen kumar
> wrote:
>
>
>
>
>
>
>
>
>
>
>
> > On Jun 24, 1:30 pm, NaveenShrivastva 
> > wrote:
> > > On Fri, Jun 24, 2011 at 12:44 PM, Miguel Morales <
> > therevolti...@gmail.com>wrote:
>
> > > >http://developer.android.com/resources/samples/ApiDemos/src/com/examp.
> > ..
>
> > > > On Thu, Jun 23, 2011 at 11:48 PM, naveen kumar <
> > > > kumarnaveen.si...@gmail.com> wrote:
>
> > > >> Hello Google Android Developer,
>
> > > >> I am trying to play large video from sdcard by android code, that is
> > > >> not playing,i dont want to play video from url,
>
> > > >> so please help me how to play large video in android from local
> > > >> folder..
>
> > > >> In case of XCODE by using mediaplayer they able to play any type of
> > > >> large video.
>
> > > >> Android also supports mediaplayer api for media file.
>
> > > >> Here i am only listening the voice i am not able to place view on
> > > >> surface holder.
>
> > > >> is possible to see video using mediaplayer in android framework.
>
> > > >> Please someone reply me clearly.
>
> > > >> if not solution then kindly help me for to divide the 1gb file in
> > > >> 300MB.
>
> > > >> Thanks, in advance
>
> > > >> i am not getting perfect answer by google.
>
> > > >> --
> > > >> You received this message because you are subscribed to the Google
> > > >> Groups "Android Developers" group.
> > > >> To post to this group, send email to
> > android-developers@googlegroups.com
> > > >> To unsubscribe from this group, 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
>
> > > package com.halosys.VideoPlayer;
>
> > > import java.io.File;
> > > import java.io.FileOutputStream;
> > > import java.io.InputStream;
>
> > > import android.app.Activity;
> > > import android.media.MediaPlayer;
> > > import android.os.Bundle;
> > > import android.util.Log;
> > > import android.view.MotionEvent;
> > > import android.view.SurfaceHolder;
> > > import android.view.View;
> > > import android.view.View.OnTouchListener;
> > > import android.widget.VideoView;
>
> > > public class ActivityMediaPlayer extends Activity implements
> > > SurfaceHolder.Callback,
> > >                 MediaPlayer.OnBufferingUpdateListener,
> > >                 MediaPlayer.OnCompletionListener,
> > > MediaPlayer.OnErrorListener,
> > >                 MediaPlayer.OnPreparedListener {
>
> > >         private static final String TAG = "VideoMAN";
> > >         final MediaPlayer p = new MediaPlayer();
>
> > >         @Override
> > >         public void onCreate(Bundle savedInstanceState) {
> > >                 super.onCreate(savedInstanceState);
> > >                 setContentView(R.layout.main);
>
> > >                 log("launched");
> > >                 final VideoView vv = (VideoView)
> > > findViewById(R.id.surface_view);
>
> > >                 try {
> > >                         vv.setEnabled(true);
> > >                         vv.setOnTouchListener(new OnTouchListener() {
>
> > >                                 public boolean onTouch(View v,
> > MotionEvent
> > > event) {
> > >                                         if (event.getAction() ==
> > > MotionEvent.ACTION_UP)
> > > 

[android-developers] Re: How to play large size video from sdcard in android

2011-06-24 Thread naveen kumar


On Jun 24, 6:08 pm, Peter Stacey  wrote:
> Not yet. You haven't asked enough times...Oh wait. 5 times already
> today...The same question?
>
> Yes, the same basic question 5 times in a 4 hours.
>
> Ok, since you asked so many times it must be urgent for me.
>
> Oh wait. No it isn't that urgent for me, but I might get around to it
> when I have a bit more time on my hands this evening (in about another
> 5 hours from now).
>
> Regards,
>
> Peter
>
> On Jun 24, 12:40 pm, naveen kumar  wrote:
>
>
>
>
>
>
>
> > On Jun 24, 2:20 pm, NaveenShrivastva 
> > wrote:
>
> > > On Fri, Jun 24, 2011 at 2:18 PM, naveen kumar
> > > wrote:
>
> > > > On Jun 24, 1:30 pm, NaveenShrivastva 
> > > > wrote:
> > > > > On Fri, Jun 24, 2011 at 12:44 PM, Miguel Morales <
> > > > therevolti...@gmail.com>wrote:
>
> > > > > >http://developer.android.com/resources/samples/ApiDemos/src/com/examp.
> > > > ..
>
> > > > > > On Thu, Jun 23, 2011 at 11:48 PM, naveen kumar <
> > > > > > kumarnaveen.si...@gmail.com> wrote:
>
> > > > > >> Hello Google Android Developer,
>
> > > > > >> I am trying to play large video from sdcard by android code, that 
> > > > > >> is
> > > > > >> not playing,i dont want to play video from url,
>
> > > > > >> so please help me how to play large video in android from local
> > > > > >> folder..
>
> > > > > >> In case of XCODE by using mediaplayer they able to play any type of
> > > > > >> large video.
>
> > > > > >> Android also supports mediaplayer api for media file.
>
> > > > > >> Here i am only listening the voice i am not able to place view on
> > > > > >> surface holder.
>
> > > > > >> is possible to see video using mediaplayer in android framework.
>
> > > > > >> Please someone reply me clearly.
>
> > > > > >> if not solution then kindly help me for to divide the 1gb file in
> > > > > >> 300MB.
>
> > > > > >> Thanks, in advance
>
> > > > > >> i am not getting perfect answer by google.
>
> > > > > >> --
> > > > > >> You received this message because you are subscribed to the Google
> > > > > >> Groups "Android Developers" group.
> > > > > >> To post to this group, send email to
> > > > android-developers@googlegroups.com
> > > > > >> To unsubscribe from this group, 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
>
> > > > > package com.halosys.VideoPlayer;
>
> > > > > import java.io.File;
> > > > > import java.io.FileOutputStream;
> > > > > import java.io.InputStream;
>
> > > > > import android.app.Activity;
> > > > > import android.media.MediaPlayer;
> > > > > import android.os.Bundle;
> > > > > import android.util.Log;
> > > > > import android.view.MotionEvent;
> > > > > import android.view.SurfaceHolder;
> > > > > import android.view.View;
> > > > > import android.view.View.OnTouchListener;
> > > > > import android.widget.VideoView;
>
> > > > > public class ActivityMediaPlayer extends Activity implements
> > > > > SurfaceHolder.Callback,
> > > > >

[android-developers] Re: How to play large size video from sdcard in android

2011-06-24 Thread naveen kumar


On Jun 24, 7:03 pm, naveen kumar  wrote:
> On Jun 24, 6:08 pm, Peter Stacey  wrote:
>
>
>
> > Not yet. You haven't asked enough times...Oh wait. 5 times already
> > today...The same question?
>
> > Yes, the same basic question 5 times in a 4 hours.
>
> > Ok, since you asked so many times it must be urgent for me.
>
> > Oh wait. No it isn't that urgent for me, but I might get around to it
> > when I have a bit more time on my hands this evening (in about another
> > 5 hours from now).
>
> > Regards,
>
> > Peter
>
> > On Jun 24, 12:40 pm, naveen kumar  wrote:
>
> > > On Jun 24, 2:20 pm, NaveenShrivastva 
> > > wrote:
>
> > > > On Fri, Jun 24, 2011 at 2:18 PM, naveen kumar
> > > > wrote:
>
> > > > > On Jun 24, 1:30 pm, NaveenShrivastva 
> > > > > wrote:
> > > > > > On Fri, Jun 24, 2011 at 12:44 PM, Miguel Morales <
> > > > > therevolti...@gmail.com>wrote:
>
> > > > > > >http://developer.android.com/resources/samples/ApiDemos/src/com/examp.
> > > > > ..
>
> > > > > > > On Thu, Jun 23, 2011 at 11:48 PM, naveen kumar <
> > > > > > > kumarnaveen.si...@gmail.com> wrote:
>
> > > > > > >> Hello Google Android Developer,
>
> > > > > > >> I am trying to play large video from sdcard by android code, 
> > > > > > >> that is
> > > > > > >> not playing,i dont want to play video from url,
>
> > > > > > >> so please help me how to play large video in android from local
> > > > > > >> folder..
>
> > > > > > >> In case of XCODE by using mediaplayer they able to play any type 
> > > > > > >> of
> > > > > > >> large video.
>
> > > > > > >> Android also supports mediaplayer api for media file.
>
> > > > > > >> Here i am only listening the voice i am not able to place view on
> > > > > > >> surface holder.
>
> > > > > > >> is possible to see video using mediaplayer in android framework.
>
> > > > > > >> Please someone reply me clearly.
>
> > > > > > >> if not solution then kindly help me for to divide the 1gb file in
> > > > > > >> 300MB.
>
> > > > > > >> Thanks, in advance
>
> > > > > > >> i am not getting perfect answer by google.
>
> > > > > > >> --
> > > > > > >> You received this message because you are subscribed to the 
> > > > > > >> Google
> > > > > > >> Groups "Android Developers" group.
> > > > > > >> To post to this group, send email to
> > > > > android-developers@googlegroups.com
> > > > > > >> To unsubscribe from this group, 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
>
> > > > > > package com.halosys.VideoPlayer;
>
> > > > > > import java.io.File;
> > > > > > import java.io.FileOutputStream;
> > > > > > import java.io.InputStream;
>
> > > > > > import android.app.Activity;
> > > > > > import android.media.MediaPlayer;
> > > > > > import android.os.Bundle;
> > > > > > import android.util.Log;
&g

[android-developers] Best third party video player api android

2011-06-24 Thread naveen kumar
What is best third party mediaplayer(Video) api.Which able to
interface with my own created app.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] video codec for Android

2011-06-27 Thread naveen kumar
Hello all android developer,


Please help me how to integrate video software codec for Android.if
you have pefect answer then plz help me else
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


[android-developers] GPAC Instance Interface$Gpac Instance Exception: Error while creating instance

2011-06-29 Thread naveen kumar
Hi i am using JNI interface now i am not able to use that one wirh my
project android.mk file, i think geeting this issue due to this
resign.


Please help me
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


[android-developers] Video codec integration issue someone help me who have 3+ yrs experience not for child developer

2011-06-30 Thread naveen kumar
hi i have downloaded github all libirary for media Jni and video
player support. from

http://android.git.kernel.org/?p=platform/external/opencore.git;a=tree;f=codecs_v2/audio/aac/dec;hb=HEAD


i am confused how to use codec interface by using this code.

please share me step by step support for media codec integration for
video play.



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


[android-developers] Re: Video codec integration issue someone help me who have 3+ yrs experience not for child developer

2011-06-30 Thread naveen kumar


On Jun 30, 4:51 pm, naveen kumar  wrote:
> hi i have downloaded github all libirary for media Jni and video
> player support. from
>
> http://android.git.kernel.org/?p=platform/external/opencore.git;a=tre...
>
> i am confused how to use codec interface by using this code.
>
> please share me step by step support for media codec integration for
> video play.
>
> Thanks,
>
> Naveen


Why i am not geeting response by any developer ..

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Video Codec integration -Android help===============

2011-06-30 Thread naveen kumar
I am able ndk interface with android code.

please some one help me how to integrate codec interface with video
and api.

Please refer me perfect url for play video using codec.

i will be very thankful for u all.

Please help me i m totally confused with integration part.


i am not getting any link for codec interface.

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


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

2011-07-01 Thread naveen kumar
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


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

2011-07-01 Thread naveen kumar
 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


[android-developers] bindLong for primary key

2011-07-01 Thread naveen kumar
i want to bindLong primary key with auto increment .

i have many coloumns with many value but

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Async Task

2011-07-02 Thread naveen kumar
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


[android-developers] i donot want facebook remember password dialog android sdk-webview

2011-07-06 Thread naveen kumar
Hello sir,

when i am login on facebook by using android facebook sdk then popup
alert dialog appear for save password history for browser, i want
diaper that one,


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


[android-developers] android facebook SDK disable password remember me popup functionality

2011-07-06 Thread naveen kumar
android facebook SDK disable password remember me popup functionality

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] how to typecast String data to Object data type java/Android

2011-07-07 Thread naveen kumar
String epdata="sdfsad";
Object epArry=  (Object) epdata;

facing issues 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


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

2011-07-10 Thread naveen kumar
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


[android-developers] but my button is not clickable and says -> "Recognizer not present"

2011-02-04 Thread naveen kumar
Dear sir,

Good morning

i want to code on voice Recognization.I taken sample from android
developer site.
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.html
but my button is not clickable and says -> "Recognizer not present"
Please give me complete guideline for  voice Recognization.Please help
me clearly ..bez .


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


[android-developers] gesture Color change

2011-02-07 Thread naveen kumar
Hello sir

i have done a code for gesture color change.
 GestureOverlayView overlay = (GestureOverlayView)
findViewById(R.id.gestures_overlay);
overlay.setGestureColor(Color.BLACK);

but it works after config change means change after orientaion,
initially shows yellow  .

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


[android-developers] Upload image file to server

2010-12-28 Thread naveen kumar
Dear sir,


Good evening

i am posting some string data with image but image is not uploading
plz help me how to code for upload image on server

My code

  public void PostCameraData(){
 httppost = new HttpPost(Splash.globalurl+"iphone/ads/response");
 httpclient = new DefaultHttpClient();


 //image sending code
 String filepath = "/sdcard/RRImages/";
 File imagefile = new File(filepath + ""+path);
 FileInputStream fis = null;
try {
fis = new FileInputStream(imagefile);
} catch (FileNotFoundException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
 Bitmap bi = BitmapFactory.decodeStream(fis);
 ByteArrayOutputStream baos = new ByteArrayOutputStream();
 bi.compress(Bitmap.CompressFormat.JPEG, 100, baos);
 byte[] data = baos.toByteArray();

 System.out.println("The value of byte data is>>>"+data);

 //calculating time for post on server
 long msTime = System.currentTimeMillis();
 Date curDateTime = new Date(msTime);
   String  currentTime1=""+curDateTime;

  //getting id
  String id=RoadDetails.idD;

 // Adding parameters to send to the HTTP server.
 nameValuePairs = new ArrayList(7);
 nameValuePairs.add(new
BasicNameValuePair("udid",SigninActivity.deviceid));
 nameValuePairs.add(new BasicNameValuePair("sess_id",
SigninActivity.sessionidValue));
 nameValuePairs.add(new BasicNameValuePair("thought", "thought"));
 nameValuePairs.add(new BasicNameValuePair("comment", "comment"));
 nameValuePairs.add(new BasicNameValuePair("ID", id));
 nameValuePairs.add(new BasicNameValuePair("time", "101227124545"));


 //nameValuePairs.add(new BasicNameValuePair("image", new
String(data)));



 // Send POST message  with given parameters to the HTTP server.
try {
   httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));
HttpResponse response = httpclient.execute(httppost);
System.out.println("the value of response-->"+response);
InputStream is = response.getEntity().getContent();
System.out.println("the value of is-->"+is);
BufferedInputStream bis = new BufferedInputStream(is);
ByteArrayBuffer baf = new ByteArrayBuffer(20);
int current = 0;
while((current = bis.read()) != -1)
{
baf.append((byte)current);
}
bytesSent = new String(baf.toByteArray());
System.out.println("the value ofbytesSent-->"+
bytesSent);
}
catch (Exception e) {
// Exception handling
Log.e("Error",""+e);
}
 }

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Save Gestures in pdf format

2011-01-10 Thread naveen kumar
Dear sir,

Good morning,

Please help me ,how to take signature by gestures and convert it in
pdf doc..


i am able to convert it by java itext jar but it's not supporting
android code..


please help me..

otherwise i loss the android job...

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


[android-developers] Save Gestures in pdf format

2011-01-10 Thread naveen kumar
Dear sir,

Good morning,

Please help me ,how to take signature by gestures and convert it in
pdf doc..


i am able to convert it by java itext jar but it's not supporting
android code..


please help me..

otherwise i loss the android job...

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


[android-developers] GestureActivity

2011-01-12 Thread naveen kumar
How to save gesture in sd card as a image.please help me . i want to
save gesture nonmutable file format.
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


[android-developers] Re: calling android activity

2011-01-14 Thread Naveen kumar
hi,

 what is the procedure to call an activity from option menu using switch
case. please help.


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

[android-developers] Multiple activities

2011-05-16 Thread Naveen Kumar
haiii..
i',m learning android beginner course,i dnt knw how to develope
multiple activities at a time please help me to write d code for dat...

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


[android-developers] Re: How to get the device model in android?

2013-01-07 Thread Naveen Kumar MC
Hi Bill.

Need your help
I am using LG GW620. a upgraded to official froyo ROM, but the mobile name 
is showing as KH5200.
is there any way to change the name back to GW620 with the same OS.

Thanks & Regards,
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