[android-developers] Re: Sharing SharedPreferences from two different processes

2013-05-14 Thread Michael Schollmeyer
I do something like this: prefs = context.getSharedPreferences(context.getPackageName() + _preferences, Context.MODE_PRIVATE | 0x4); // Context.MODE_MULTI_PROCESS Which also compiles in earlier API levels. The additional flag does no harm in pre-level-11 runtimes. Also notice that

[android-developers] Google Calendar API v3 OAuth 2.0

2013-05-14 Thread John Goche
Hello, I am trying to use the Java API for Google Calendar v3 on Android, but I am stuck. Here is what I've done so far: Created a google account my...@gmail.com for my application and registered it with my debug key on code.google.com/apis/console where I have created all the auth data

[android-developers] Re: VideoView playing video but no audio

2013-05-14 Thread RS
This is what I use in my activity- it works for me. May be try with MP4 or MP3 which is usually best supported by video view. If it work then it is codec issue. You can try free opensource android players like xmbc, vlc or vid for solving codec issues. videoView = (VideoView)

Re: [android-developers] Using App Cache - Without Trying to

2013-05-14 Thread Piren
onScroll is called very frequently, much much more frequent than binding calls... does the loading mechanism knows how to deal with that? how frequent are the IO calls? Making too much I/O is never a good thing (including accessing the flash drive... these are system blocking) On Tuesday,

Re: [android-developers] Re: barcode scanner on android emulator

2013-05-14 Thread tarun sablok
HI You cannot test the barcode functionality in emulator , it will always crash if you try in android emulator. You should try it in a device to test this functionality. Thanks Regards Tarun Sablok On Tue, May 14, 2013 at 1:42 AM, Lew lewbl...@gmail.com wrote: ASMA wrote: does anyone

Re: [android-developers] Re: barcode scanner on android emulator

2013-05-14 Thread asma rezgui
there s no way to test it in android emulator when adding the zxing jar to my project ? 2013/5/14 tarun sablok tarun.sab...@gmail.com HI You cannot test the barcode functionality in emulator , it will always crash if you try in android emulator. You should try it in a device to test this

Re: [android-developers] Re: barcode scanner on android emulator

2013-05-14 Thread igmail
U can do it if u do the scan from a saved photo 发自我的 iPad 在 2013-5-14,下午5:03,asma rezgui asmarezgu...@gmail.com 写道: there s no way to test it in android emulator when adding the zxing jar to my project ? 2013/5/14 tarun sablok tarun.sab...@gmail.com HI You cannot test the barcode

Re: [android-developers] Re: barcode scanner on android emulator

2013-05-14 Thread asma rezgui
ok thanks 2013/5/14 igmail a.alsaya...@gmail.com U can do it if u do the scan from a saved photo 发自我的 iPad 在 2013-5-14,下午5:03,asma rezgui asmarezgu...@gmail.com 写道: there s no way to test it in android emulator when adding the zxing jar to my project ? 2013/5/14 tarun sablok

[android-developers] File Upload in WebView

2013-05-14 Thread Rahul Kaushik
In my webview ,i have an Upload button,how can i upload an file to the server through this upload button Thanks RK -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: Why mediaRecorder.start(); goes in infinite loop, on some of android phone like S2 with o/s 2.3.6?

2013-05-14 Thread Swati
Hi Imran, I have to create SIP client which can record Incoming / Outgoing voice call and save the recording so that later we can play recorded call. Can you please guide me how to proceed for that. Thanks Regards, Swati On Tuesday, 29 May 2012 13:15:55 UTC+5:30, imran ali wrote: Hi, I

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

2013-05-14 Thread Swati
Hi Aashish, I have to create an app which can record Incoming / Outgoing voice calls and store the recording so that later on we can play recorded call. can you please suggest me how can I proceed. Regards, Swati On Monday, 2 July 2012 14:45:06 UTC+5:30, Aashish Jawla wrote: it can be

[android-developers] input type file

2013-05-14 Thread Rahul Kaushik
input type file not working in webview ,please suggest Thanks RK -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] setEGLConfigChooser

2013-05-14 Thread bob
It seems like I did not need the alpha channel. I wasn't sure because I was using some less common Porter-Duff blending for a fire and explosion particle effect. Anyhow, I removed the alpha channel, and it looks the same. Also, I made a mistake, and I didn't really need the depth buffer.

[android-developers] JNI on SDCard?

2013-05-14 Thread Filipe
Hi I have a project in Eclipse that uses some jni libraries that I load using System.loadLibrary(myNativeLib). This works great, but if I move my app to the SDCard it stops working, because it can't load the library. Are there any limitations on moving the app to SDCard when using jni? Or

[android-developers] Re: Update a textview from another thread

2013-05-14 Thread Marty Ballard
Another option is to pass it in a bundle and set the text based on the values passed in that bundle. On Saturday, May 11, 2013 4:56:00 PM UTC-5, Michael Leung wrote: Is it possible to Update a textview from another thread? I got a list item in list view from another fragement. -- Regards,

[android-developers] Too large bitmap to be uploaded into a texture - Getting max texture size.

2013-05-14 Thread Thyme Cypher
I'm attempting to display a rather large bitmap VIA an ImageView, which when Hardware Acceleration is enabled of course, has issues with texture sizes (I'm well aware of texture size limitations in 3D engines). My question is how to get what the maximum image size is without an OpenGL context

Re: [android-developers] Re: Sharing SharedPreferences from two different processes

2013-05-14 Thread Justin Anderson
On Tue, May 14, 2013 at 12:59 AM, Michael Schollmeyer mich...@mictale.comwrote: prefs = context.getSharedPreferences(context.getPackageName() + _preferences, Context.MODE_PRIVATE | 0x4); // Context.MODE_MULTI_PROCESS Which also compiles in earlier API levels. The additional flag does no harm

Re: [android-developers] Re: Sharing SharedPreferences from two different processes

2013-05-14 Thread Justin Anderson
On Tue, May 14, 2013 at 12:39 PM, Justin Anderson magouyaw...@gmail.comwrote: prefs = context.getSharedPreferences(context.getPackageName() + _preferences, Context.MODE_PRIVATE | 0x4); // Context.MODE_MULTI_PROCESS Which also compiles in earlier API levels. The additional flag does no harm

Re: [android-developers] File Upload in WebView

2013-05-14 Thread Justin Anderson
What have you tried? http://lmgtfy.com/?q=android+webview+upload+file Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 14, 2013 at 5:01 AM, Rahul Kaushik rahulkaushi...@gmail.comwrote: In my webview ,i have an Upload button,how can i upload an

Re: [android-developers] Using App Cache - Without Trying to

2013-05-14 Thread Nathan
On Tuesday, May 14, 2013 1:09:37 AM UTC-7, Piren wrote: onScroll is called very frequently, much much more frequent than binding calls... does the loading mechanism knows how to deal with that? Yes. The offscreen bitmap is moved while scroll is in progress. Only after finger is lifted

Re: [android-developers] input type file

2013-05-14 Thread Justin Anderson
Care to elaborate? What have you tried? A simply google search (http://lmgtfy.com/?q=android+inputtype+file) revealed several pages that might help, including this: http://rost.me/2013/04/18/android-webview-and-file-input/ Now, within an hour you have asked pretty much the same question two

Re: [android-developers] Custom Base Adapter.

2013-05-14 Thread Justin Anderson
So you just need to be able to sort the data? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 9, 2013 at 1:26 AM, Seshu s.seshu...@gmail.com wrote: Hi All, My requirements is i have a multiple listviews. i used base adapter class

[android-developers] Re: JNI on SDCard?

2013-05-14 Thread RichardC
No. What errors do you get in LogCat? On Tuesday, May 14, 2013 5:41:56 PM UTC+1, Filipe wrote: Hi I have a project in Eclipse that uses some jni libraries that I load using System.loadLibrary(myNativeLib). This works great, but if I move my app to the SDCard it stops working,

Re: [android-developers] Re: Sharing SharedPreferences from two different processes

2013-05-14 Thread Michael Schollmeyer
No, it works just fine on all API levels. You can write in one process and read in another one. The only thing that is not working across processes is change notifications. Cheers, Michael mictale.com/ms -- On May 14, 2013, at 8:39 PM, Justin Anderson magouyaw...@gmail.com wrote: On Tue,

Re: [android-developers] Too large bitmap to be uploaded into a texture - Getting max texture size.

2013-05-14 Thread Romain Guy
You can query the maximum size using Canvas.getMaximumBitmapWidth/Height(): http://developer.android.com/reference/android/graphics/Canvas.html#getMaximumBitmapWidth() You can also assume 2048px as the maximum unless the screen is bigger (Nexus 10 for instance supports 4096px max since the screen

Re: [android-developers] Custom Base Adapter.

2013-05-14 Thread bob
It sounds like he may want to call *Collections.sort()* on the backing collection. Probably a *Vector*. Thanks. On Tuesday, May 14, 2013 2:08:37 PM UTC-5, MagouyaWare wrote: So you just need to be able to sort the data? Thanks, Justin Anderson MagouyaWare Developer

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

2013-05-14 Thread Kristopher Micinski
No solution exists: the modem on the phone doesn't touch Android. You absolutely cannot record calls on Android: it just doesn't work that way. The call stream goes through different software, *not* Android. Kris On Tue, May 14, 2013 at 8:16 AM, Swati meet2sw...@gmail.com wrote: Hi Aashish,

Re: [android-developers] Custom Base Adapter.

2013-05-14 Thread Lew
bob wrote: It sounds like he may want to call *Collections.sort()* on the backing collection. Probably a *Vector*. Why do you say probably a 'Vector'? The standard Android classes that use a collection include http://developer.android.com/reference/android/widget/SimpleAdapter.html that

[android-developers] Re: JNI on SDCard?

2013-05-14 Thread Lew
Filipe wrote: I have a project in Eclipse that uses some jni [sic] libraries that I load using System.loadLibrary(myNativeLib). Those libraries are native to what platform? This works great, but if I move my app to the SDCard it stops working, because it can't load the library.

[android-developers] Re: Replying to user reviews on Google Play

2013-05-14 Thread b0b
On Monday, 13 May 2013 22:33:04 UTC+2, Piren wrote: Finally, everyone can stop complaining about this :) http://android-developers.blogspot.co.uk/2013/05/all-google-play-developers-can-now.html And instead complain about replying too much to users having the perverse effect of

[android-developers] How to Send MMS

2013-05-14 Thread askl
Dear All, Please help me, how to send a *MMS *in Android Programmatically*. Please give a sample code for that.* *Thanks* *ASK.* -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Getting Email respond message from Gmail

2013-05-14 Thread askl
Dear All, I've try to send an email using intent with connecting default gmail application. Yap It's working. But now i want to get email delivery message. *Sending, Sent, Fail, Draft* etc. So how to get those message to my app. Pls Help me. Thanks, -- -- You received this message because

[android-developers] Raw Socket Creation from Android Native

2013-05-14 Thread Anil
Hi, I want to use RAW Sockets in my project from Android Native for Mobiles. The same code is working fine in Ubuntu and able to execute the linux applications. We have enabled the root permissions to Mobile phone and created APK using the same code, which is used in Linux using Android Java

Re: [android-developers] How to Send MMS

2013-05-14 Thread naresh pedagani
Hi ,check the following url http://sumitsharma1900.blogspot.in/2013/03/how-to-send-mms-programmatically-in.html ThanksRegards, Naresh Pedagani. Regards, NaResH. On Wed, May 15, 2013 at 8:19 AM, askl amal...@gmail.com wrote: Dear All, Please help me, how to send a *MMS *in Android

Re: [android-developers] How to Send MMS

2013-05-14 Thread Justin Anderson
Dear ASK, We are not your personal Google search team... do some research yourself first (possibly by using Google to get started, hint hint...) and then when you get stuck ask a specific question and we will be glad to help you out. Sincerely, Everyone on this forum On May 14, 2013 8:55 PM,

[android-developers] Connect android device to local server

2013-05-14 Thread Pankaj Deshpande
I have a client server app. Client and server are in the same LAN. Server app is written in java and server is Tomcat. Now my question is is it possible to connect to that server through android mobile which is in same LAN? -- -- You received this message because you are subscribed to the

Re: [android-developers] Connect android device to local server

2013-05-14 Thread Parthi K
yes dude is possible to connect ur server you take ur server url use it in android source code Thanks Regards, Parthiban.k Software Engineer Mode FinServer Pvt. Ltd. Cell: +7204205850 Email: parthisof...@gmail.com shoaibj...@gmail.com |parthiban.k @modefinserver.com shoai...@modefinserver.com