[android-developers] Some Insights for "Communicating with Other Fragments"

2015-12-08 Thread Lior Zamir
according to http://developer.android.com/training/basics/fragments/communicating.html The example described how to communicate with fragments via override the onAttach in the fragment and try to casting the activity to the interface we defined with a lot of hope that casting will work. I

[android-developers] live video analysis

2012-08-08 Thread Ribak Lior
Hello! If in usual camera using applications the video is first recorded, and only then viewed, in my application I need to analyze the video in the moment it was recorded. How can I do it? Sorry for my English and thank you for your help :) -- You received this message because you are

Re: [android-developers] what needs to be change to enable call recording on android platform?

2012-07-10 Thread Lior Hass
Well, I'm not sure this is 100% true. The API is obviously available in Android (E.g. see VOICE_CALL at http://developer.android.com/reference/android/media/MediaRecorder.AudioSource.html#VOICE_CALL). Indeed, this doesn't mean that it works on some (let alone all) phones, but at least someone

[android-developers] MediaRecorder Low Bitrate

2011-07-19 Thread Lior
Hi, I'm using the MediaRecorder from streaming video from the device to a remote server. Everything works file except for one problem. When running with 720p, when I set the bitrate (MediaRecorder.SetVideoEncoderBitrate), the bitrate is always cropped to 480K which affects the video quality. I

[android-developers] Re: Drawing two animated gifs on a canvas

2011-06-23 Thread Lior Naishtat
Hi, Why my question is not posted? Should I get some confirmation email? Thanks On 21/06/2011 12:03, AndroidDev1 wrote: Hi, I am using a SurfaceView and a Thread to draw animated gif on a canvas and its working perfectly. Once I try to draw my second animated gif, I'm getting 2 animated

[android-developers] need help to create a simple function

2011-06-20 Thread Lior Weitzhandler
Hi, i have just recently started learning development and i want to know how do i create a function that returns a String. i know that it is simple but i cant figure it out. example: public static String func() Text=textBox.getText().toString(); return String; Thank you! -- You received this

[android-developers] Re: Attempt to read preferences file without permission

2011-01-30 Thread Lior
My user seem to have had the same symptom. He e-mailed me that he had to do a factory-reset to his phone due to other reasons, he re-installed the app from the market (something that didn't help before the reset), and now everything works as expected. On Jan 27, 8:49 pm, klwinkel

[android-developers] Re: Is it possible to create a two-line Toast?

2011-01-23 Thread Lior
You can also create a toast with a constructor (instead of Toast.makeText), and then use Toast.setView to create a completely customized toast. Lior Gonnen - UltimateFavesPRO - http://ultimatefaves.com/ On Jan 22, 11:39 am, Bernard T. Higonnet bthigon...@gmail.com wrote: Kostya Vasilyev

[android-developers] Re: convert a C++ game to Android

2011-01-23 Thread Lior
Take a look at NativeActivity: http://developer.android.com/reference/android/app/NativeActivity.html And the following post in the Android Developers Blog: http://android-developers.blogspot.com/2011/01/gingerbread-ndk-awesomeness.html --- Lior Gonnen - UltimateFavesPRO - http

[android-developers] Attempt to read preferences file without permission

2011-01-19 Thread Lior
Hi, I have an app called UltimateFavesPRO on the market (http:// ultimatefaves.com/). The app is quite popular, very mature and stable. I have a user with a problem I haven't been able to solve so far. The application uses SharedPreferences to keep the user's setting. For this user, the

[android-developers] Re: Attempt to read preferences file without permission

2011-01-19 Thread Lior
that is used for running your process. Do you have databases or other files in your app, and do you have any idea if they are similarly affected? On Wed, Jan 19, 2011 at 9:45 AM, Lior lior.gon...@gmail.com wrote: Hi, I have an app called UltimateFavesPRO on the market (http

[android-developers] Re: Attempt to read preferences file without permission

2011-01-19 Thread Lior
be happy to get to the bottom of this. In the meanwhile, thanks Mark and Kostya. On Jan 19, 5:15 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jan 19, 2011 at 10:07 AM, Lior lior.gon...@gmail.com wrote: You are right about the path, and yes I do have a database to which the carousels

[android-developers] Custom ClassLoader - Urgent!

2010-01-21 Thread Lior
associated with my ClassLoader. Any help would be highly appreciated. Thanks, Lior -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: Hebrew font on Android!

2009-12-18 Thread Lior
/cyanogenmod-4-2-9 Once you have the Hebrew fonts installed, and you want a Hebrew virtual keyboard, you can download 'AnySoftKeyboard' http://code.google.com/p/softkeyboard/ Lior Gonnen UltimateFavesPRO developer. http://ultimatefaves.wordpress.com/ On Dec 18, 8:07 pm, Do it birmando...@gmail.com

[android-developers] Re: OpenGL ES loading textures after onSurfaceChanged

2009-12-06 Thread Lior
that flag, and create textures as necessary. Regards, Lior Gonnen UltimateFaves / UltimateFavesPRO developer http://ultimatefaves.wordpress.com/ On Dec 5, 9:09 pm, Shaka shakaze...@gmail.com wrote: Hi! I'm using GLSurfaceView for one of my applications and I've encountered a problem. It seems I can

[android-developers] Re: Question for OpenGL developers

2009-11-29 Thread Lior
gl-commands mentioned are compatible with OpenGL ES - So you can't just copy/paste this into your code, but explains the principles well) Here's the best resource to get you started: http://code.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html Lior Gonnen UltimateFaves

[android-developers] Re: Programmatically setting the layout_above value

2009-11-23 Thread Lior
(for id's assign predefined constants. They don't have to be globally unique) Lior UltimateFavesPRO developer. http://ultimatefaves.wordpress.com On Nov 23, 5:13 pm, Becca rsquaredcreati...@gmail.com wrote: Hello, I need to dynamically change the layout_above value for a ListView within

[android-developers] Re: How to Add Objects to Sqlite Database

2009-11-18 Thread Lior
scale applications, a combination of 2 and 3 might be better (some would say 1 and 3). Anyhow, take the time to research and gain some background knowledge and perspective before you dive into the code. Also, read about the SqliteOpenHelper class, and look at the Notepad sample in the SDK. Lior

[android-developers] Re: How to store Images in sqlite database using android? How to retrieve images from sqlite database

2009-11-09 Thread Lior
] = 'x'; chars[1] = '\''; int index = 2; for (int n = 0; n length; n++) { int value = bytes[n] 0xff; chars[index++] = toHexDigit(value / 16); chars[index++] = toHexDigit(value % 16); } chars[index] = '\''; return new String(chars); } Regards, Lior - Developer

[android-developers] Re: Request to google and Releasing a paid app from a different country

2009-11-05 Thread Lior
* e-mailing them, and didn't give any concrete answers to specific questions I asked) I love Android, and I enjoy the development tremendously, I'm sure you do too. Don't let the technical details hold you back, and more important than that, don't let it break your spirit :) I hope this helps, Lior

[android-developers] Using ContentProvider.query to access multiple tables efficiently.

2009-10-02 Thread Lior
I need to create a code snippet that performs the equivalent to the following SQL statement: select people._id, people.name, phones.number,contact_methods.data from people left outer join contact_methods on people.primary_email=contact_methods._id left outer join phones on

[android-developers] Re: SDK 1.5: unable to send SMS to another emulator

2009-05-03 Thread lior
I am having the same issue on Windows. It used to work before the upgrade to 1.5 On Apr 28, 6:01 pm, zlu zhao.lu...@gmail.com wrote: I'm on Mac OS X. On Apr 28, 4:50 pm, Raphael r...@android.com wrote: What operating system do you have? Linux, Mac or Windows? R/ On Tue, Apr 28, 2009

[android-developers] Sending SMS messages between AVDs (in Eclips)

2009-05-02 Thread lior
). Thoughts on how to make it work? Lior --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group

[android-developers] Upgrading SDK from 1.0 r1 to r2

2009-02-03 Thread lior
Hi all, could not find any specific upgrade info for upgrading from version 1.0 r1 to 1.0 r2. Any tips, Thanks, Lior --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: GetLastKnownLocation vs. requestLocationUpdates

2008-12-17 Thread lior
are using JSR 179 on Andriod? if yes, any sample code you can share? If I use requestLocationUpdates  does it wake the gps if it is turned off? Thanks, Lior --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: GetLastKnownLocation vs. requestLocationUpdates

2008-12-16 Thread lior
Thanks Mobile Kid, So you are using JSR 179 on Andriod? if yes, any sample code you can share? If I use requestLocationUpdates does it wake the gps if it is turned off? Thanks, Lior On Dec 16, 3:22 am, mobilek...@googlemail.com mobilek...@googlemail.com wrote: I think the API doc

[android-developers] GetLastKnownLocation vs. requestLocationUpdates

2008-12-15 Thread lior
the GetLastKnownLocation() is always the best bet to get current location. Please share your thoughts, Lior --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] EULA

2008-12-04 Thread lior
in advance, Lior --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[android-developers] Re: EULA

2008-12-04 Thread lior
with HTML For the end user license agreement! On 12/04/2008, lior [EMAIL PROTECTED] wrote: Hi folks, My friend and I are about to launch are first app on the Market. We are don't have an incorporated company formed (yet) and we would like to protect us with an EULA. Can someone share an EULA

[android-developers] Re: how/where to create a custom icon for my application...?

2008-11-30 Thread lior
Not sure about the market.. but to replace the default icon of your app. place your new image at /app name/res/drawable and update the AndroidManifest.xml file to point to your new file. application android:icon=@drawable/your new file ... try it out. Lior On Nov 29, 10:19 pm, DMT [EMAIL

[android-developers] getFromLocation - missing house number

2008-11-28 Thread lior
(loc.getLatitude(), loc.getLongitude (), 1); Is this a konwn feature ? Is there a workaround ? Thanks, Lior --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email