Profile

Cover photo
Ari Sprung
Works at Curiyo
Attended Bar- Ilan
Lives in Israel
122 followers|59,174 views
AboutPostsPhotosYouTube

Stream

Ari Sprung

General Discussion  - 
 
I am creating a listview that contains utube clips(user can view the utube video WITHIN the list). What view is best to use in this case? YouTubePlayerView? VideoView? I prefer not to use a WebView because of memory issues....Thanks!
1
Add a comment...

Ari Sprung

General Discussion  - 
 
I need to implement a list view that contains lots of Web views that I load with a url. Is this a good idea it seems a little heavy. Anyone ever do this ? 
1
Andrew Caul's profile photobryce hendrix's profile photoAri Sprung's profile photoMark Carter's profile photo
4 comments
 
Thanks! Mark can I use a viewpager as a ListView?
Add a comment...

Ari Sprung

Beginners  - 
 
I am trying to parse an incoming mms however I am getting this error when connectiong to MMSC
"java.io.IOException: Cannot establish route to proxy 923498176"

Code:

// Open connection
HttpURLConnection connection = (HttpURLConnection) url.openConnection();

// Disable cache
connection.setUseCaches(false);

// Set the timeouts
connection.setConnectTimeout(TIMEOUT);
connection.setReadTimeout(TIMEOUT);

// Connect to the MMSC
ensureRouteToHost(context,urlMms,apnSettings);
Log.d(TAG, "[MMS Receiver] Connecting to MMS Url " + urlMms);
connection.connect();

Any ideas?
1
Add a comment...

Ari Sprung changed his profile photo.

Shared publicly  - 
 
Ari Sprung changed his profile photo.
1
1
Aryeh Altshul's profile photoAri Sprung's profile photohannybw ndelo's profile photoDanny Levine's profile photo
5 comments
 
Very impressive! Shabbat shalom!
Add a comment...
Have him in circles
122 people
Amnon Dekel's profile photo
Hart Levine's profile photo

Ari Sprung

General Discussion  - 
 
I need to detect in a webview if the user is scrolling up or down? What is the best way to do this? GestureDetector? Or simply setOnTouchListener?
Thanks!
1
Amit Badgujar's profile photoAri Sprung's profile photo
5 comments
 
 Correct.
i did like this.
public boolean onGenericMotionEvent(MotionEvent event) {
     if (event.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)) {
         if (event.getAction() == MotionEvent.ACTION_MOVE) {
             // process the joystick movement...
             return true;
         }
     }
     if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
         switch (event.getAction()) {
             case MotionEvent.ACTION_HOVER_MOVE:
                 // process the mouse hover movement...
                 return true;
             case MotionEvent.ACTION_SCROLL:
                 // process the scroll wheel movement...
                //up - ACTION_UP
               //down - ACTION_DOWN
                 return true;
         }
     }
     return super.onGenericMotionEvent(event);
 }
Add a comment...

Ari Sprung

Beginners  - 
 
I want to create an app just like "google now" where i have a list of cards and each card/row will contain a diffrent layout .Which kind of adapter should i use ? The data on each card is coming from a server....
1
Nik Muhammad Amin Nik Muhammad Kamil's profile photoTyler Winfield's profile photoRobin Chutaux's profile photoAri Sprung's profile photo
People
Have him in circles
122 people
Amnon Dekel's profile photo
Hart Levine's profile photo
Education
  • Bar- Ilan
    Economics
Basic Information
Gender
Male
Work
Occupation
Android Developer
Employment
  • Curiyo
    Android Developer, 2014 - present
  • UIU
    Android Developer, 2012 - 2014
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Israel
Links
YouTube