[android-developers] How do I validate at server side(Login Check in Server Side)

2012-04-19 Thread vamshi ch
hi, i've login credentials like username and password I need to validate by server with using json parsing and http request and response so If u know any onesend me sample code..could u pls help me out... thanks in advance... -- You received this message because you are subscribed to

[android-developers] How do I validate at server side(Login Check in Server Side)

2012-04-19 Thread vamshi ch
hi, i've login credentials like username and password I need to validate by server with using json parsing and http request and response so If u know any onesend me sample code..could u pls help me out... thanks in advance... -- You received this message because you are subscribed to

Re: [android-developers] Re: Unable to open Html file using intent in deafult browser

2012-04-19 Thread Jovish P
*Mike *, I was not aware about this. From now onwards I will ask my doubts on StackOverFlow and Android Developers list also.Thanks for pointing this out. As per Justin we can discuss anything related to Android in this group. So I think it is not an issue. I think the chances to get reply from

[android-developers] HMTL to Android Layout Converter

2012-04-19 Thread rael_yoni
Hi, I'm really having hard time with Android layouts, it doesn't have tools support (something a designer can work with!) and there are not many talented people like you have with HTML/CSS etc.. Is there an HTML/CSS to Android Layout Converter? Thanks, Yoni -- You received this message

[android-developers] Re: Broadcast receiver receive empty extras

2012-04-19 Thread viktor
Didn't fix my problem, after a long time I still receive an empty Extras, it is on 2.1. On 18 Кві, 22:00, TreKing treking...@gmail.com wrote: On Wed, Apr 18, 2012 at 1:51 PM, viktor victor.scherb...@gmail.com wrote: Yes, I agree with but sometimes an Extras comes with Bundle[{}]; I don't

[android-developers] Fwd: Checkbox click fires OnlistItemclick in Custom listview android

2012-04-19 Thread vani reddy
-- Forwarded message -- From: vani reddy vani.reddy.bl...@gmail.com Date: Wed, Apr 18, 2012 at 6:59 PM Subject: Checkbox click fires OnlistItemclick in Custom listview android To: android-developers@googlegroups.com HI, In my custom listview i have checkbox and 3 textviews,

Re: [android-developers] Socket sharing between activities

2012-04-19 Thread Android007
Hi, I had the same problem as you do (sharing a TCP connection between activities) and I must with Dianne that if this is the case then you had better use a singleton. In my case I needed different apps to use one connection. This was not possible with a singleton because each app would call a

[android-developers] Multi Touch issues

2012-04-19 Thread shihab shiha
Hi all, I am struggling with a multitouch problem. I have two button for getting two sounds. I tried to enable multi touch for these button. But the problem is If i hold one button and press the second button i am getting the sound of the first one. I have tried many examples but not getting.

[android-developers] Re: Getting Unable to Instantiate activity; Component ClassNotFound exception

2012-04-19 Thread Lorie Pisicchio
I think this could answer your question http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17 Regards. Le jeudi 19 avril 2012 04:29:41 UTC+2, Doug Gordon a écrit : I'm suddenly unable to run my app due to this error, where the ClassNotFound refers to my main

Re: [android-developers] ClassNotFoundException launching app

2012-04-19 Thread Mark Murphy
com.hootsuite.droid.HootApp apparently is not being found. Since you do not appear to work for them, and since their app is not open source to the best of my knowledge, the question now is: why are you attempting to use com.hootsuite.droid.HootApp in *your* app? On Wed, Apr 18, 2012 at 8:32 PM,

Re: [android-developers] HMTL to Android Layout Converter

2012-04-19 Thread Mark Murphy
On Thu, Apr 19, 2012 at 3:36 AM, rael_yoni yoni.stoff...@gmail.com wrote: I'm really having hard time with Android layouts, it doesn't have tools support (something a designer can work with!) and there are not many talented people like you have with HTML/CSS etc.. Is there an HTML/CSS to

Re: [android-developers] Re: Broadcast receiver receive empty extras

2012-04-19 Thread TreKing
On Thu, Apr 19, 2012 at 3:04 AM, viktor victor.scherb...@gmail.com wrote: Didn't fix my problem, after a long time I still receive an empty Extras, it is on 2.1. You need to explain your problem better. Like what is a long time. What is different between these times?

[android-developers] Hidden fragments (and animations) after a rotation

2012-04-19 Thread BoD
Hi! I have an activity with a fragment that I hide in a transaction with a custom animation. This transaction is added to the back stack. If I don't rotate the screen this is working as expected (pressing 'back' un-hides the fragment with the animation) 1/ If I rotate the screen, the

[android-developers] Options menu - icon + text

2012-04-19 Thread Put_tiMe
I am trying to add an options menu: *code: * onCreateOptionsMenu() { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.options_menu, menu); } *xml:* menu xmlns:android=http://schemas.android.com/apk/res/android; item android:id=@+id/A

Re: [android-developers] Options menu - icon + text

2012-04-19 Thread Mark Murphy
No, they can be used simultaneously on Android 1.x/2.x, but your images may be too large. Make sure they are sized according to: http://developer.android.com/guide/practices/ui_guidelines/icon_design_menu.html On Thu, Apr 19, 2012 at 7:44 AM, Put_tiMe putt...@gmail.com wrote: I am trying to add

[android-developers] Reliable private number ID in CallLog

2012-04-19 Thread BouHu
Hello. I'm looking for a way to separate CallLog entries from private numbers (i.e Unknown, e.t.c), so i've found in SDK sources file CallerInfo.java which contains: public static final String PRIVATE_NUMBER = -2; Unfortunately seems that several device manufactures change this value, e.g.

[android-developers] LocationListener Network provider not called

2012-04-19 Thread Fina Perez
Hi all, I'm facing a really annoying problem. In some point of the program, I need to track the user position. For that I register a listener for all the providers available and request updates. This was working really good until I updated my phone to Android 4.0. But the same code is working

[android-developers] bitmap.recycle() and multiple passes through a method question

2012-04-19 Thread Jim Graham
Re-stating (in clearer terms...I think) one remaining question (I think I have my answer for the rest---we'll see). Let's say I have a method which is used frequently to do some work on bitmaps. If, during that method, I create a temporary bitmap, and then recycle it, and don't touch it for the

[android-developers] Re: Broadcast receiver receive empty extras

2012-04-19 Thread viktor
I copy My trouble from another thread: I had a simple app that has Service and Application. Application starts Service by Action with Intent. The Service received Intent with onStartCommand and handle some action by key that is in Intent. Sometime Service receives empty Intent. public void

Re: [android-developers] need help working with very large (photo) bitmaps

2012-04-19 Thread Streets Of Boston
First, ignore this sentence below from my previous answer entirely: Save the byte[] data from the camera into file directly (this is your JPG file). (It was a left-over chunk of my initial answer) The 'byte[] data' still takes up memory, because the caller (the Android SDK code that calls the

[android-developers] Re: bitmap.recycle() and multiple passes through a method question

2012-04-19 Thread Streets Of Boston
After you call bitmap.recycle(), you can no longer use that bitmap at all. After calling recycle(), the bitmap still occupies a tiny little bit of memory in the DalvikVM. All its raw pixel data memory has been released, though. To release that tiny little bit of memory in the DalvikVM as well,

Re: [android-developers] need help working with very large (photo) bitmaps

2012-04-19 Thread Jim Graham
On Thu, Apr 19, 2012 at 06:25:12AM -0700, Streets Of Boston wrote: First, ignore this sentence below from my previous answer entirely: Save the byte[] data from the camera into file directly (this is your JPG file). (It was a left-over chunk of my initial answer) Ah, that explains it. :-)

Re: [android-developers] Re: bitmap.recycle() and multiple passes through a method question

2012-04-19 Thread Jim Graham
On Thu, Apr 19, 2012 at 06:32:15AM -0700, Streets Of Boston wrote: After you call bitmap.recycle(), you can no longer use that bitmap at all. After calling recycle(), the bitmap still occupies a tiny little bit of memory in the DalvikVM. All its raw pixel data memory has been released,

[android-developers] Why the focus changed after I setImageBitmap for imageview

2012-04-19 Thread minilin.11
Problem: After I setImageBitmap for ImageView, the focus reset to the widget on top-left corner, why? Description: I use FragmentActivity+Fragment for tab. In one of several fragments, I use Gallery + ImageView for image browsing. When a thumbnail is selected, the original image shows in

Re: [android-developers] Re: Someone use GridLayout (ADT-17) in v7?

2012-04-19 Thread Tor Norbye
You have to make sure not just to use android.support.v7.widget.GridLayout for the layout itself, but you have to use the app namespace for all of its attributes too, since layout_row, rowCount etc are not defined in the android namespace for versions older than API 14. As of ADT 17 there's

[android-developers] Re: Grant the root privilege to the application

2012-04-19 Thread Chris Stratton
On Wednesday, April 18, 2012 2:19:35 AM UTC-4, Sam wrote: Therefore, it needs to be granted the root privilege to run some native functions. That would not be possible on a secured android device, ie, it is off topic for this group The code has been built to be a .so by NDK. The code

[android-developers] Re: tablet is hang due to full internal storage memory

2012-04-19 Thread Chris Stratton
On Thursday, April 12, 2012 11:50:55 PM UTC-4, priya abc wrote: Hello, I run application from eclipse .it installed directly on tablet internal memory storage.that` why it memory is almost full. Then I am trying to uninstall it but it is not removing. So i just power off the tablet and

Re: [android-developers] Re: Directly accessing the e-mail app.

2012-04-19 Thread Chris Stratton
On Thursday, April 12, 2012 9:59:30 AM UTC-4, MagouyaWare wrote: Is there any way I can do it, without going through the chooser? That goes directly against the core of Android. You get a chooser if the user has not specified an email app to use as the default. If they have chosen an

Re: [android-developers] Re: Directly accessing the e-mail app.

2012-04-19 Thread Justin Anderson
This may be the stock answer, but there's a fairly annoying usability oversight in it. Consider the case where I (as the user) don't want to have a default system-wide, but I (still as the user) have decided that I always want to use a particular choice when the intent is coming from this

[android-developers] Re: GridLayout Text Clipping using Support Library

2012-04-19 Thread Scott Olcott
Thanks to this https://groups.google.com/d/msg/android-developers/QgN2B9CdQOo/0xdpwulIdCcJ from Tor Norbe I was able to figure out how to get this working. I think then main issue that was causing this to not work was I wasn't using the right namespace which should be xmlns:app=

[android-developers] ActionBar - customizing

2012-04-19 Thread Neilz
Hi all. I'm attempting to add custom drawables to the action bar items. I want to set a drawable as the general bar background, and have a pressed state drawable for when any of the bar items are clicked. I've been following Nick Butchers guide here:

[android-developers] display homescreen after kill all the background process

2012-04-19 Thread Android Developer
Hi All Can we able to display homescreen after kill all the background process. android.os.Process.killProcess(android.os.Process.myPid()); Help Appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Socket sharing between activities

2012-04-19 Thread Tonez
Hi guys, Thanks to everyone for the prompt responses. I've studied up on Services / IntentServices as well as how I would go about using a Singleton to satisfy my goal and have decided to give both a try to take the experiential learning route. I've started with Services and have managed to get

[android-developers] Re: Show 3D object on top of camera view (augmented reality)

2012-04-19 Thread santy
I have tried min3d framework (I suppose I can do it with min3d but I don´t know how) and opengl functions directly as shown in http://stackoverflow.com/questions/3548666/overlay-images-onto-camera-preview-surfaceview, and it works fine, but what I want to do is to show a 3d model in 3ds or obj

Re: [android-developers] need help working with very large (photo) bitmaps

2012-04-19 Thread JackN
it ok, youll get it. you just have some conceptual errors. On Wednesday, April 18, 2012 3:20:56 PM UTC-7, Spooky wrote: On Wed, Apr 18, 2012 at 03:02:41PM -0700, JackN wrote: Depends on your depth. For 3 bytes per color (24 bit color), a 2592x1944 is 15 MEGABYTES. Again ... READ THE

Re: [android-developers] Re: Show 3D object on top of camera view (augmented reality)

2012-04-19 Thread TreKing
On Thu, Apr 19, 2012 at 12:54 PM, santy santiago.gonzalez.iz...@gmail.comwrote: I have tried min3d framework (I suppose I can do it with min3d but I don´t know how) You would learn this framework then use its functionality to do what you need. and opengl functions directly as shown in

Re: [android-developers] Re: Show 3D object on top of camera view (augmented reality)

2012-04-19 Thread Raghav Sood
Afraid to be the one to break it to you, but your research isn't very thorough. AndAR does exactly what you want. In fact, one of their code sample projects is a perfect carbon copy of what you want. Loading 3d models over a camera preview that are exported from blender in .obj formats.

[android-developers] Re: How can I implement AB repeat function using mediaplayer

2012-04-19 Thread Chris Stratton
On Wednesday, April 18, 2012 10:46:21 PM UTC-4, SH wrote: Hi all. I try to develop an audio player and would like to have A-B repeat function. When a user click A button while playing, it memorise starting position and clicking B button, it will save ending position. So it repeat A to B

Re: [android-developers] Re: Socket sharing between activities

2012-04-19 Thread Federico Paolinelli
Can't say what's happening, but: if you took inspiration from there, you are creating the service as auto_create, which means that it stays around unless there are no bound activities anymore. Assuming that you are unbinding it on the onDestroy, the thread contained in the service may be still

[android-developers] Re: display homescreen after kill all the background process

2012-04-19 Thread Chris Stratton
On Thursday, April 19, 2012 1:07:22 PM UTC-4, Android Developer wrote: Hi All Can we able to display homescreen after kill all the background process. android.os.Process.killProcess(android.os.Process.myPid()); Try doing it in the other order - send the intent for the home screen and

Re: [android-developers] Re: bitmap.recycle() and multiple passes through a method question

2012-04-19 Thread Streets Of Boston
*Now, here's the question: if I return to this method, and re-use the locally-created bitmaps that are local to that method, is that considered re-using a bitmap that's already been recycled? Or is that a fresh chunk of memory?* I don't quite understand it. If you create a bitmap local to a

Re: [android-developers] need help working with very large (photo) bitmaps

2012-04-19 Thread Streets Of Boston
*But there is one big question...why does recycling the bitmaps after their last use still result in a force close, saying that I tried to use them AFTER they were recycled? * We don't have enough of your code. But suppose you have this code executed: Bitmap bitmap1 = new

[android-developers] Re: LocationListener Network provider not called

2012-04-19 Thread lbendlin
I think Google are just too ashamed about the accuracy of the location returned by a cellular power sectoring (worst case) or triangulation (best case). Loosen your accuracy requirements. On Thursday, April 19, 2012 8:48:04 AM UTC-4, Fina Perez wrote: Hi all, I'm facing a really annoying

[android-developers] Re: Hidden fragments (and animations) after a rotation

2012-04-19 Thread lbendlin
Rotating the screen restarts the activity unless you explicitly tell the OS not to do that. On Thursday, April 19, 2012 7:38:52 AM UTC-4, BoD wrote: Hi! I have an activity with a fragment that I hide in a transaction with a custom animation. This transaction is added to the back stack.

[android-developers] SyncAdapter for an app that doesn't require authentication

2012-04-19 Thread Juliano Nunes
Hi, I need a way to keep data updated on my app. I read about SyncAdapter and saw that it requires an AbstractAccountAuthenticator, but my app doesn't require the user to fill any user/password information. How can I deal with this? Best regards, Juliano Nunes -- You received this message

[android-developers] Re: How can I implement AB repeat function using mediaplayer

2012-04-19 Thread SH
Thanks, Chris. After researching, I implemented the function by myself using tracking the repeat mode. Thread repeatThread = new Thread(){ public void run(){ while (mediaPlayer!=null) { if (isRepeatMode() mediaPlayer.getCurrentPosition()=toPoint) {

[android-developers] Re: Need example on how to use MonkeyRunner from java

2012-04-19 Thread joebowbeer
A similar question was discussed here last year: https://groups.google.com/d/topic/android-developers/rwXy22QBxOs/discussion Also see the more recent blog post by Diego Torres Milano: http://dtmilano.blogspot.com/2012/02/monkeyrunner-interacting-with-views.html On Wednesday, April 18, 2012

[android-developers] Re: Is there any alter native to download internal source code I am need mms source code ..

2012-04-19 Thread joebowbeer
http://androidxref.com/source/xref/packages/apps/Mms/ ? On Friday, April 13, 2012 3:44:47 AM UTC-7, ADB wrote: Hi every one.. Thanks to be here. I am developing MMS application i know there is no official documentation available.but my problem is how can i download internal application of

Re: [android-developers] need help working with very large (photo) bitmaps

2012-04-19 Thread Jim Graham
On Thu, Apr 19, 2012 at 03:22:39PM -0700, Streets Of Boston wrote: *But there is one big question...why does recycling the bitmaps after their last use still result in a force close, saying that I tried to use them AFTER they were recycled? * We don't have enough of your code. But suppose

Re: [android-developers] Re: bitmap.recycle() and multiple passes through a method question

2012-04-19 Thread Jim Graham
On Thu, Apr 19, 2012 at 03:15:23PM -0700, Streets Of Boston wrote: I don't quite understand it. If you create a bitmap local to a method, I assume that you mean that you create a bitmap that can only be referenced within that method: No worries. This was before I read your explanation

[android-developers] Re: PendingIntent getService

2012-04-19 Thread ndiiie90
thx for reply Mark, however, we can still finish it manually by calling stopSelf() method in the service On Apr 18, 7:52 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Apr 17, 2012 at 10:13 PM, ndiiie90 rnd...@gmail.com wrote: so did you mean that I don't need to stop it because you

[android-developers] I need to send smileys via mail

2012-04-19 Thread Febi.M.Felix Maliakkal
Hi, If my url is www.example.com/sender=21receiver=34msg=smiley to insert then, how can i send smiley to the particular receiver using this url??? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to