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

2013-05-15 Thread naresh pedagani
Hi ,if Client and server are in the same LAN ,you can connect local server ,simply you have to use local server url in your code ThanksRegards, Naresh Pedagani. Regards, NaResH. On Wed, May 15, 2013 at 10:59 AM, Parthi K parthisof...@gmail.com wrote: yes dude is possible to connect ur

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

2013-05-15 Thread Michael Leung
thank you so much! On Wed, May 15, 2013 at 2:43 AM, Marty Ballard marty...@gmail.com wrote: 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

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

2013-05-15 Thread Michael Leung
THat may work, but not 100% work. Please use a physical phone to test that. On Tue, May 14, 2013 at 7:43 PM, asma rezgui asmarezgu...@gmail.com wrote: 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

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

2013-05-15 Thread asma rezgui
ok i' ll try it on android device , thank s a lot 2013/5/15 Michael Leung michaelchi...@gmail.com THat may work, but not 100% work. Please use a physical phone to test that. On Tue, May 14, 2013 at 7:43 PM, asma rezgui asmarezgu...@gmail.comwrote: ok thanks 2013/5/14 igmail

[android-developers] show toast message while waiting for location

2013-05-15 Thread geo
Hello , I have an application where I use GPS and I want while GPS is looking for position to display a toast Waiting for location and when location is found show the location. To start GPS I press a button: case R.id.getlocation: gps = new GPSTracker(ShowList.this); // check if GPS

[android-developers] Re: JNI on SDCard?

2013-05-15 Thread Filipe
Hi, I had only used Bing up till now ;) Thanks for your great tutorial on this new thing called Google. I tryed it, but still did not find the answer. The libs are under the /data/data/your_package_name/lib folder. When I move the App I start getting java.lang.UnsatisfiedLinkError:

[android-developers] Re: JNI on SDCard?

2013-05-15 Thread Filipe
Terça-feira, 14 de Maio de 2013 17:41:56 UTC+1, Filipe escreveu: 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.

[android-developers] Re: Create a SIP application

2013-05-15 Thread Swati
Hi Alaa, I also have to create SIP client for Outgoing calls. I took reference from http://developer.android.com/guide/topics/connectivity/sip.html and SipDemo(Sample available in android sdk). But I am not able to make a call even registration is done successfully. When we initialize local

[android-developers] Re: How to test SIP Demo in emulator.

2013-05-15 Thread Swati
Hello Mr Lee, I am testing SipDemo on Android 4.0 device but I am not able to test it. Because it is not making call. Can you please help me in this? Thanks Swati On Thursday, 27 January 2011 08:15:53 UTC+5:30, Seung Yong Lee wrote: Hi, This is jimmy. I'm going to test SIP demo in

[android-developers] Re: Sip: Programmatically register and unregister to the server

2013-05-15 Thread Swati
Hello, I am also developing an App with SIP features(only outgoing call). I took reference from SipDemo(available in android SDK) but that is not working on my Nexus(4.0). Please help me in this. Thanks in advance. Regards, Swati On Monday, 15 April 2013 20:59:26 UTC+5:30, José García

[android-developers] Re: Raw Socket Creation from Android Native

2013-05-15 Thread Dan
On Wednesday, May 15, 2013 12:15:52 AM UTC-4, Anil wrote: 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. Your APK will likely still need:

[android-developers] Re: Oncall Establish status not get

2013-05-15 Thread Swati
Hi Jagruti, Have you resolved this problem? I am also facing same problem. onCallEstablished() is not getting call. As per my understanding reason behind this is, call = manager.makeAudioCall(me.getUriString(), sipAddress, listener, 30); when we make call to makeAudioCall,

[android-developers] WebViews JavascriptInterface - Java Reflection

2013-05-15 Thread BearTi
Hi, I´m testing something with WebViews and the JavascriptInterface. Problem/Question: It it possible/How is it possbile to call a Method like this on the Website: Android.getClass().getMethod(Test, String.class).invoke(this, Reflect 2) I always get *Uncaught Error: Error calling method on

Re: [android-developers] input type file

2013-05-15 Thread Rahul Kaushik
Hi justin, I have a webview, which contain my website, In my website i have upload button whose input type is File when i click on it s nothing happens i googled lot,whatt i find is-- i can show image ,i can show pdf but only one at a time, for that i have to look in to the overloading url ,dig in

[android-developers] Connect android device to local server

2013-05-15 Thread Danny D
I've done this many times, my typical setup is to have the handset connect to our office LAN through the wireless. You'll need to get the local address of the server, most WiFi access points will give you a listing of devices that they are routing for. I've also used Dynamic DNS services to

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

2013-05-15 Thread Gary Blakely
Michael, Sorry but I don't understand your example. You are specifying MODE_PRIVATE which is what I am doing... SharedPreferences myMemory = getSharedPreferences(myMemory, MODE_PRIVATE); Are you saying that if I specify | 0x4 (don't know what that means) that it will be the same as specifying

[android-developers] Recreating a surface view

2013-05-15 Thread Shashidhar
Hi, I have a framlayout which has 2 childs. One is a surfaceview and the other one is an imageview. I need to play a video on the surfaceview when the activity starts and show the imageview after the video completes. I got this working. But after showing the image for 5 mins, I need to play the

[android-developers] Re: How to Send MMS

2013-05-15 Thread bob
*// Get the URI of a piece of media to attach. * *Uri attached_Uri = Uri.parse(content://media/external/images/media/1); * * * *// Create a new MMS intent * *Intent mmsIntent = new Intent( Intent.ACTION_SEND, attached_Uri); * *mmsIntent.putExtra(sms_body, Please see the attached image); *

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

2013-05-15 Thread Michael Schollmeyer
Yes, appending | 0x4 will result in the same value. Cheers, Michael mictale.com/ms -- On May 15, 2013, at 5:19 PM, Gary Blakely gdeanblak...@gmail.com wrote: Michael, Sorry but I don't understand your example. You are specifying MODE_PRIVATE which is what I am doing...

Re: [android-developers] How to Send MMS

2013-05-15 Thread kennedy O James
On May 14, 2013 9:54 PM, askl amal...@gmail.com wrote: 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

Re: [android-developers] show toast message while waiting for location

2013-05-15 Thread Justin Anderson
Ummm... what exactly is your question? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 15, 2013 at 2:25 AM, geo geoandr...@gmail.com wrote: Hello , I have an application where I use GPS and I want while GPS is looking for position to

Re: [android-developers] input type file

2013-05-15 Thread Justin Anderson
If I am understanding right, then, the problem is not necessarily with the fact that the inputtype file is not working, but rather you don't have a way to browse files the way you want to? If so, then you will need to write your own file browser that will allow you to navigate the file system and

Re: [android-developers] Recreating a surface view

2013-05-15 Thread Justin Anderson
I've never heard of the surfaceview getting destroyed after playing a video... That being said, why can't use just use the constructor and create a new one if you need to? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 15, 2013 at 9:58 AM,

[android-developers] Re: Create a SIP application

2013-05-15 Thread Piren
dude... hijacking every possible SIP related thread, would not get you help faster. On Wednesday, May 15, 2013 12:57:50 PM UTC+3, Swati wrote: Hi Alaa, I also have to create SIP client for Outgoing calls. I took reference from

[android-developers] Re: JNI on SDCard?

2013-05-15 Thread Piren
That's what bing got me :) http://stackoverflow.com/questions/2826412/how-to-load-jni-from-sd-card-on-android-2-1 On Wednesday, May 15, 2013 12:00:50 PM UTC+3, Filipe wrote: Hi, I had only used Bing up till now ;) Thanks for your great tutorial on this new thing called Google. I tryed

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

2013-05-15 Thread bob
I'm looking at the code for *getMaximumBitmapWidth*, and it looks like it always returns 32766: private static final int MAXMIMUM_BITMAP_SIZE = 32766; * public int getMaximumBitmapWidth() {* * return MAXMIMUM_BITMAP_SIZE;* * }* Am I missing something? Thanks. On Tuesday,

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

2013-05-15 Thread Piren
Yeah, i've noticed that as well... though most users should be ok. It also wouldn't sit well with the bunch of assholes that put up awesome app but i gave 1 star because i want a specific feature only i want and i'll give you 5 start only when i get that feature messages, though they were

Re: [android-developers] Custom Base Adapter.

2013-05-15 Thread Piren
Are you sure we're talking about Android here? What's wrong with Vector? ArrayList is good for most occasions but Vector has its merits... you got it wrong regarding the SimpleAdapter anyhow (they use any implementation of List, which Vector is.. they dont need ArrayList... the description

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

2013-05-15 Thread Piren
I wouldn't say no solution exists, as there are apps that do it...you just can't access the audio channel directly. On Wednesday, May 15, 2013 12:43:32 AM UTC+3, Kristopher Micinski wrote: No solution exists: the modem on the phone doesn't touch Android. You absolutely cannot record calls

[android-developers] Re: JNI on SDCard?

2013-05-15 Thread bob
I found this one using Google: https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/0uY4qgam1Ws It says: You must use System.load() if you want to specify the full path name of the file, System.loadLibrary() is only for ones in the default location. Also *you should not be able

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

2013-05-15 Thread Kristopher Micinski
I would say that. Why? Because these apps record calls by having you put your phone on speaker. That sounds more like a glorified audio recorder which is just called call recorder app. Kris On Wed, May 15, 2013 at 5:56 PM, Piren gpi...@gmail.com wrote: I wouldn't say no solution exists, as

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

2013-05-15 Thread Kristopher Micinski
This is just to give a definitive *no* to the common assumption: the call stream *isn't* processed by the Android OS, even though it comes out of your Android device :-). (So perhaps I should be agreeing with Piren!) Kris On Wed, May 15, 2013 at 6:02 PM, Kristopher Micinski

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

2013-05-15 Thread Piren
How much is too much? Obviously i don't have an answer for that... but if the device freezes and you could pinpoint the issue to these requests, it's safe to say that you've gone over the limit for that device :) What drive isn't flash? I'm assuming that app internal storage (I don't

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

2013-05-15 Thread Piren
Your No Applies to the question: Can i record the audio STREAM (itself) of an on going call?, in that case i'd agree with you and say No, you can't, since that stream is not available to the OS. But he just wanted to ask if you can record a call... and well... you can... you'll just have

[android-developers] Re: JNI on SDCard?

2013-05-15 Thread Piren
That's actually the same person making pretty much the same reply :-) On Thursday, May 16, 2013 1:02:10 AM UTC+3, bob wrote: I found this one using Google: https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/0uY4qgam1Ws It says: You must use System.load() if you want to

Re: [android-developers] Custom Base Adapter.

2013-05-15 Thread Lew
Piren wrote: Are you sure we're talking about Android here? What's wrong with Vector? ArrayList is good for most occasions but Vector has its merits... you got it wrong Of course. 'Vector' carries cruft that isn't part of the Collections framework, and 99% of the time you don't want

Re: [android-developers] Custom Base Adapter.

2013-05-15 Thread Justin Anderson
This SO post gives a pretty good explanation about why you shouldn't use Vector: http://stackoverflow.com/questions/1386275/why-is-java-vector-class-considered-obsolete-or-deprecated Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, May 15, 2013 at

Re: [android-developers] Custom Base Adapter.

2013-05-15 Thread Piren
Dude, only one ranting here is you in case you've missed it... the guy wrote Vector and you leashed out... I've seen people fight over Android vs Iphone and C# vs Java, but that's the first time i've seen someone get mad over a member of the collections framework... chill :) On

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

2013-05-15 Thread Kristopher Micinski
Ah, I suppose I agree with you if you define the call in that method, I just don't agree with that definition :-). (Nothing against your thinking it makes sense. But the kind of conversations I'd want to record would probably be disjoint with the set of ones I'd feel comfortable putting on

Re: [android-developers] Custom Base Adapter.

2013-05-15 Thread Lew
Piren wrote: Dude, only one ranting here is you in case you've missed it... the guy wrote Vector and you leashed out... I've seen people fight over Android vs Iphone and C# vs Java, but that's the first time i've seen someone get mad over a member of the collections framework... chill

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

2013-05-15 Thread Kristopher Micinski
This is exactly the *opposite* of what I'm saying. Even if you touch the kernel you *still* cannot touch the call stream! Google RIL and find out about how Android talks to the phone's modem. Kris On Thu, May 16, 2013 at 3:24 PM, rh richard_hubb...@lavabit.com wrote: So if someone calls

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

2013-05-15 Thread Kristopher Micinski
In fact, I encourage anyone working with Android to have some level of familiarity with the kernel. However, this may in fact not be the most helpful thing: you'd probably be more helpful understanding the Android framework internals and Dalvik, along with a sprinkling of things from the kernel

[android-developers] What is wow factor about android studio in compare to Eclipse.

2013-05-15 Thread abhijit
I just got surprised saw in android developer side that Google has launched a new IDE foe exclusively android.i just took an overview on developer site i just found it s similar to eclipse but the project structure is different because due to the switch to a Gradle-based build system.and

Re: [android-developers] Recreating a surface view

2013-05-15 Thread Shashidhar
Thanks. got it working. On Thu, May 16, 2013 at 2:44 AM, Justin Anderson magouyaw...@gmail.comwrote: I've never heard of the surfaceview getting destroyed after playing a video... That being said, why can't use just use the constructor and create a new one if you need to? Thanks, Justin