Re: [android-developers] Fwd: Android doubt

2013-08-28 Thread Sumedh Jiwane
Nothing is much clear from the description of your problem. I am suspecting
that you are facing the UI issue.
Are you calling logout function in main thread/ui thread? If so replace it
with worker thread. Alternatively you can start a service using
AlarmManager.



On Fri, Aug 23, 2013 at 4:37 PM, Siva Kumar j.sivakumar...@gmail.comwrote:


 Dear All,


 Im developing android application.The following are the settings details
 android:minSdkVersion=8  android:targetSdkVersion=17
 In my application im implement the auto logout after some specific time.
 For eg:Assume auto logout time as 2minutes.IF the application in from or
 background ,If it is idle then after 2 minutes it will successfully logout
 But the problem is if any call is comes means in the middle of my
 application (my application's any screen or any activity is running or is
 in front).At that time if i attend or cut the call means then auto logout
 works fine.
 But if i not do anything (not attend the call nor cut the call) after some
 time call automatically cuts but here my auto logout not works fine.
 All are welcome to give their ideas




 --
 *Thanks  Regards,
 SIVAKUMAR.J http://stackoverflow.com/users/385138/sivakumar-j
 *



 --
 *Thanks  Regards,
 SIVAKUMAR.J http://stackoverflow.com/users/385138/sivakumar-j
 *

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


Re: [android-developers] how to load correct images i have all size images ldpi hdpi xhdpi xxhdpi

2013-08-27 Thread Sumedh Jiwane
Try refreshing the folders, clean and rebuild.



On Tue, Aug 27, 2013 at 12:24 PM, Amit Mangal
forum.amit.man...@gmail.comwrote:

 any idea guys ?


 On Tue, Aug 27, 2013 at 10:50 AM, Amit Mangal forum.amit.man...@gmail.com
  wrote:

 drawable-hdpi
 drawable-ldpi
 drawable-mdpi
 drawable-xhdpi
 drawable-xxhdpi

 All images kept in proper folders but still it is not picking proper
 images as per screen resolution

 thanks




 On Tue, Aug 27, 2013 at 10:42 AM, TreKing treking...@gmail.com wrote:


 On Mon, Aug 26, 2013 at 11:34 PM, Amit Mangal 
 forum.amit.man...@gmail.com wrote:

 i create drawable folders for all images and kept all images in folders


 What folders?


 -
 TreKing http://sites.google.com/site/rezmobileapps/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
 ---
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_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
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_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
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [android-developers] installing APK without eclipse/android SDK

2012-02-13 Thread Sumedh Jiwane
You might have not done the release build.

On Mon, Feb 13, 2012 at 3:23 PM, fei ji ufo22940...@gmail.com wrote:

 Store this apk to sd card. Then using some apps like EsExplore to open it
 then android will install it automatically.

 On Mon, Feb 13, 2012 at 2:30 AM, John Goche johngoch...@googlemail.comwrote:

 Hello,

 I would like to send my APK to someone by email so that they
 may install it using WIndows Vista. I have searched for info on
 how they can install the .apk but only found a pointer to downloading
 the Astro file manager and installing from there after copying the apk
 to the phone's file system eg. via usb. But when the application is
 clicked on the message is: the application is not installed. The
 phone is a Samsung Galaxy S Plus. Any ideas? (I have already enabled
 USB debugging and installation of non market apps in the settings).
 Installing to the phone via eclipse works, but I want to be able to do
 this from the phone's PC which does not have eclipse.

 I would like to be able to just compile the Dalvik APK in eclipse and
 send it via email for the user to install it from windows vista.

 Any ideas?

 Thanks,

 JG

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

2012-02-13 Thread Sumedh Jiwane
RTP describes different payload format for different codecs. You can study
the RTP payload format for AMR codec and retrieve the data. You can use
available RTP de-packetizer if you are using any multimedia framework.

Regards,
Sumedh

On Mon, Feb 13, 2012 at 8:34 PM, NITIN nitinkumgo...@gmail.com wrote:

 Hi

 I ave captured a pcap form my android device on Wireshark. Now, I have
 the RTP payload having the AMR content.

 I have extracted the raw RTP packets and now I want to convert that
 raw data into the AMR file which can be played on any player.

 Just by adding the Header and magic number is not enough to do that.

 Do anybody have idea what is the procedure to do it or is there any
 library or tool which is capable of doing it.

 Thanks
 Nitin

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

2012-02-12 Thread Sumedh Jiwane
Hi Sangram,
It seems from the log that handleDataSource is trying to find some
extension in the URL, like .sdp or .m3u8. Since it is missing it is not
able to play. I suggest you to specify RTSP url with .sdp as extension and
then specify your multicast ports in sdp file. I am just guessing. Let me
know whether it works.

Regards,

Sumedh

On Mon, Feb 13, 2012 at 10:50 AM, sangram desais...@gmail.com wrote:

 Can someone help with the above query?

 regards,
 sangram

 On Feb 9, 5:06 pm, sangram desais...@gmail.com wrote:
  Hi,
  We have enabled multicast streaming in one of our machines using VLC
  server. We use the following URL for streaming the multicast data.
  rtp://239.1.2.11:5004  udp://239.1.2.11:1234
 
  But when we pass these links to the VideoView or mediaplayer inandroid,
 we get the message as Sorry, the video can not be played.
 
  Is it the case that multicast streaming is not supported inandroid?
  (Though multicastsocket class is present in library) or are we missing
  anything?
  The links play well on the VLC client so we don't think there is any
  issue in VLC server. We are usingandroidv2.3 for development.
  We used the androidsupported Video/audio formats for encoding.
  Here is the brief log output:
 
  V/PlayerDriver(   95): Completed command PLAYER_SETUP
  status=PVMFSuccess
  V/PVPlayer(   95): setDataSource(rtp://239.1.2.11:5004)
  V/PVPlayer(   95): setVideoSurface(0x55be8)
  V/PVPlayer(   95): setVideoSurface(0x55b90)
  V/PVPlayer(   95): prepareAsync
  V/PVPlayer(   95):   data source = rtp://239.1.2.11:5004
  V/PlayerDriver(   95): Send player code: 3
  V/PlayerDriver(   95): handleSetDataSource
  V/PlayerDriver(   95): handleSetDataSource- scanning for extension
  V/PlayerDriver(   95): HandleInformationalEvent:
  PVMFInfoErrorHandlingStart
  V/PlayerDriver(   95): HandleInformationalEvent: type=26 UNHANDLED
  W/MediaPlayer( 5687): info/warning (1, 26)
  V/PlayerDriver(   95): CommandCompleted
  V/PlayerDriver(   95): Completed command PLAYER_SET_DATA_SOURCE
  status=PVMFErrNotSupported
  E/PlayerDriver(   95): Command PLAYER_SET_DATA_SOURCE completed with
  an error or info PVMFErrNotSupported
  E/MediaPlayer( 5687): error (1, -4)
  V/PVPlayer(   95): run_init s=-2147483648, cancelled=0
  V/PlayerDriver(   95): HandleInformationalEvent:
  PVMFInfoErrorHandlingComplete
  W/PlayerDriver(   95): PVMFInfoErrorHandlingComplete
  I/ActivityManager(  171): Displayed activity
  com.Videostreamingdemo/.VideoViewDemo: 164 ms (total 164 ms)
  I/MediaPlayer( 5687): Info (1,26)
  E/MediaPlayer( 5687): Error (1,-4)
  D/VideoView( 5687): Error: 1,-4
 
  Regards,
  Sangram

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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: HTTP Live Streaming for MP4, 3gp video files in Android

2011-10-19 Thread Sumedh Jiwane
Hinting MP4 simply adds the Hinting track to MP4 files for progressive
download. This is helpful if you want to stream file. Hinting tracks are
additional tracks for quick access to data. Check the android document for
audio/video codec supported and match them against the file that you are
playing.

On Wed, Oct 19, 2011 at 4:49 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Wed, Oct 19, 2011 at 4:15 AM, Shajahan lovesa...@gmail.com wrote:
  So, my question is there any limit on the size/length of the video
  file like say it works for length 1min or 2mins tracks and those of
  greater than this length doesn't work.

 Not usually.

  what is the MOOV and mdat atoms ?? what is the difference ?? how to
  recognize it ?? If someone has some good site links please share.

 This is part of MP4 and has nothing to do with Android.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android 3.1 Programming Books: http://commonsware.com/books

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

2011-10-13 Thread Sumedh Jiwane
Simple way to test HLS is to type the HLS link on web-browser and check
whether it plays. Normally HLS link ends with .m3u8 extension.
Also you can check whether link is up or not by running it on VLC or
Quicktime player.

Regards,

Sumedh

On Wed, Oct 12, 2011 at 5:29 PM, bhargavi bhargavi1...@gmail.com wrote:

 HI, i have found in net that Honey comb supports Http Live
 Streaming.Has any one tried on this, how to test the HLS on Honey
 Comb,Please Help me out how to test the HLS,

 Thanks in Advance,
 Bhargavi.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Need ideas on encrypting h.264 videos on Android

2011-08-12 Thread Sumedh Jiwane
actually not sure what do you want to do. can you be elaborate more. Do you
want to play local file or remote file. Do you want to stream or download
and play?


On Fri, Aug 12, 2011 at 8:28 AM, Peter Taps ptr...@gmail.com wrote:

 Folks,

 Our application requires that a H.264 video be kept on the disk in an
 encrypted format. One should be able to play this video only through our
 application.

 I am seeking ideas on the best way to achieve this.

 I looked at VideoView class. Looks like it can only take a file, HTTP or
 RTSP uri. One thought I had was to implement a RTSP server on the device as
 part of our application but that may be an overkill.

 I would appreciate your thought..

 Thank you in advance for your help.

 Best regards,
 Peter

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

2011-08-11 Thread Sumedh Jiwane
The log is generally what you what you seen in logcat console while
debugging. But here is the catch since it happens when you are moving and
you can't debug at that time, you can you Logger application available from
market. It requires SD/micro SD card to save the logs. You can also choose
to email if you have synched the account.

On Fri, Aug 12, 2011 at 10:10 AM, Spica spicaneb...@gmail.com wrote:

 This my first android application so i am not sure what log i need to
 attach...

 On Aug 12, 12:21 am, Nick Risaro nris...@gmail.com wrote:
  That's so sad :(
 
  Maybe if you attach some logs we can help you and stop being sad.
 
 
 
 
 
 
 
  On Fri, Aug 12, 2011 at 1:15 AM, Spica spicaneb...@gmail.com wrote:
   I am developing location based application which uses phone's gps. It
   works fine on my android device when i am not moving but as soon as i
   start moving my application either freezes or error out with option of
   Force close. This application is also consuming web service to send
   location to the 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

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, 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] Which OS is more preferable for Android apps, middleware,source/OEM level development.

2011-06-24 Thread Sumedh Jiwane
I would suggest to use Linux (Ubuntu) in your case. On windows if you want
to deploy/test application on different devices you need to download
different OEM USB drivers which is painful.

P.S. I am developing on windows XP.

On Fri, Jun 24, 2011 at 6:34 AM, Nainala Shrinivas srito...@gmail.comwrote:

 Hi,

 Could you any one give some clarity for Android development on which
 OS is more preferable?

 I am planning to buy new PC for android development for all the
 levels, like Apps, Middle level source modifications, Even we want to
 create own image.

 Can we do all the development on MacOS and Ubuntu. Which one more
 suggestible and compatible. Please suggest me :)

 Thanks for you help in advance.

 BR
 Srinivas

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