[android-developers] Simple application to log into multiple accounts through http

2012-04-10 Thread Beginner
Hi I am starting to program android and want to make my first application. I have tried a few tutorials and sample programs but can't make a start. I want to make a application that will log into a website username/ password then log out, turn on airplane mode on/off to get a fresh ip then log in

[android-developers] Re: Android encryption Google App Engine decryption

2011-01-18 Thread Beginner
Right. Thanks for rephrasing my question. Which algorithm should I use that's common on both? An example - or reference link - would be awesome. Thanks On Jan 18, 8:23 am, DanH danhi...@ieee.org wrote: Use an algorithm that's common to both. On Jan 18, 1:00 am, Beginner ayrton.merc

[android-developers] Android encryption Google App Engine decryption

2011-01-17 Thread Beginner
Hi, I'm trying to implement a fairly straight-forward protocol. Where Android clients would encrypt certain data before sending it over to my google app engine server. However, it seems like there's some significant differences - at least in the default capabilities. It seems I can only really

[android-developers] REST JSON

2010-11-08 Thread Beginner
Hi, I am new on this group. I hope i will get help from you guys. I would like android to communicate with my PHP Server, I have no idea about REST JSON. Do any one implemented it before. Can you please recommend me some good resources. I want to build a simple Registration/Login System which

[android-developers] Free MEM and SD CARD

2010-03-29 Thread Porting beginner
Hi, I have Android (eclair)running on armv6 target platform. I am trying to check how much memory is currently in used and how much left ( free ) ? During boot I can observe that memory is going in in-active partition and at the end when all processes ( zygote, system ) and apps up and running

[android-developers] Getting LinearLayout to wrap contents

2010-03-24 Thread Beginner
Hi, I've got a horizontal LinearLayout that contains a variable number of child LinearLayouts. Right now, the children will just run off the screen if there are too many of them. How would I make the parent layout wrap the children on multiple lines? If this is not possible, should I be using a

[android-developers] Re: Getting LinearLayout to wrap contents

2010-03-24 Thread Beginner
Bummer. Thanks for the quick reply, though. On Mar 24, 10:07 pm, Mark Murphy mmur...@commonsware.com wrote: Beginner wrote: I've got a horizontal LinearLayout that contains a variable number of child LinearLayouts. Right now, the children will just run off the screen if there are too many

Re: [android-kernel] Re: [android-developers] Android factory test mode

2010-03-23 Thread Porting beginner
On Mon, Mar 22, 2010 at 9:41 PM, Dianne Hackborn hack...@android.comwrote: On Mon, Mar 22, 2010 at 9:07 PM, Shuduo Sang sangshu...@gmail.com wrote: Is it also named fast boot mode? No that is unrelated. Thanks for more detail on factory mode. fastboot is special mode of device for

Re: [android-developers] Re: Build with customized SDK

2010-03-23 Thread Porting beginner
pm, Porting beginner porting.begin...@gmail.com wrote: Hi, I want to use my own SDK ( Android SDK + few new app + modified apps ) along with Eclipse on Windows / Linux machine. Am I able to do this ? can anyone share setup procedure for this ? -- Thanks -- You received

[android-developers] GIF file with bg white, lyrics black

2010-03-23 Thread Porting beginner
Hi, We have one .gif file and try to see it from gallery, it looks fine but couldn't see lyrics (fonts ), it has some problem. This gif is kind of special, tried it on PC with a viewer, the background is white and the lyrics in problem are black. Then tried it on one of other phone ( available

[android-developers] Android factory test mode

2010-03-22 Thread Porting beginner
Hi, I have android running on arm11 based target platform with eclair release. How to boot android in factory test mode ? Where I can get more information on this ? -- Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-kernel] Re: [android-developers] Android factory test mode

2010-03-22 Thread Porting beginner
point of view ? On Mon, Mar 22, 2010 at 2:02 PM, Porting beginner porting.begin...@gmail.com wrote: Hi, I have android running on arm11 based target platform with eclair release. How to boot android in factory test mode ? Where I can get more information on this ? -- Thanks -- You

Re: [android-developers] ADT Eclipse Plugin won't let me put in a Target

2010-03-18 Thread Porting beginner
On Thu, Mar 18, 2010 at 5:08 PM, Ray Tayek rta...@ca.rr.com wrote: At 06:23 PM 3/17/2010, you wrote: I've been trying to make a new Android project in Eclipse. But whenever I try to do so, it won't let me select a build target. Here's a screenshot: http://twitpic.com/198od6 if you have

[android-developers] How to search local banks..?

2010-03-16 Thread android beginner
Hello Every One ... Any one help me out regarding how can I retrieve near by banks to the current location. I am using 1.6 SDK Thanks in advance -- 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] android: memory for kernel and apps

2010-03-11 Thread Porting beginner
Hi, I have android running on my target platform. When its booting, as kernel boots , I see free memory around 53mb-55mb range there till console. ( cat /proc/meminfo ) *Just after kernel boot... * MemTotal: 88792 kB *MemFree: 53496 kB *Buffers: 0 kB *Cached:

[android-developers] KEYCODE from Android phone

2010-02-19 Thread Porting beginner
Hi, As I am struggling to know the KEYCODE for headset button press , I am trying to check any Android phone currently in market to get this KEYCODE. is that possible and helpful to do so ? Please let me know if I am missing something here. -- Thanks -- You received this message because

Re: [android-developers] Re: headset button

2010-02-19 Thread Porting beginner
On Sun, Feb 1, 2009 at 1:01 AM, Nick Pelly npe...@google.com wrote: For wired headsets, you can use Intent.ACTION_MEDIA_BUTTON as mentioned in the other thread. This is how the built in media app does pause/play on wired headset button presses, and where I recommend that you hook in. For

Re: [android-developers] Re: headset button

2010-02-18 Thread Porting beginner
On Sun, Feb 1, 2009 at 1:01 AM, Nick Pelly npe...@google.com wrote: For wired headsets, you can use Intent.ACTION_MEDIA_BUTTON as mentioned in the other thread. This is how the built in media app does pause/play on wired headset button presses, and where I recommend that you hook in. For

[android-developers] KEYCODE for headset button press

2010-02-18 Thread Porting beginner
Hi, I am trying from few days but don't get any information related to issue as below. Which KEYCODE to send to input dev ( /dev/input/event2 here ) on headset button press event from my headset driver so can answer / hang-up call ? Please let me know if I am missing something here. --

[android-developers] mail to group

2010-02-18 Thread Porting beginner
Hi, I don't see my mails sent to these groups. is that any issue ? -- Thanks -- 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

[android-developers] CursorTreeAdapter!!!

2010-02-08 Thread beginner
Hello everyone!!! I'm new android, i'm trying to do with CursorTreeAdapter but it doesnt work. Please help!!! Here is my code import android.app.Activity; import android.content.ContentUris; import android.content.Context; import android.database.Cursor; import android.net.Uri; import

[android-developers] Invoking Process from Application

2010-02-08 Thread android beginner
Hi, We are migrating ncurses based application on our linux target platform into Android based ones. We have one application(parent) which runs ping process(child) and reads the output (through Pipe) and displays on the screen. I need to develop similar sort of application, but couldn't find

[android-developers] Re: TextView - disable focus

2010-02-04 Thread android beginner
Hi, Any Suggestions? Thanks On Sun, Jan 31, 2010 at 3:17 PM, android beginner android.beginne...@gmail.com wrote: Hi, I have a listview, and wanted to make some list items to be non-focusable. i.e On pressing the down-arrow key, some items in the middle of the list gets skipped. I

Re: [android-developers] Re: Capturing HEADSET_PLUG (android.intent.action.HEADSET_PLUG)

2010-02-03 Thread Porting beginner
On Thu, Apr 2, 2009 at 6:19 AM, Henning Schaefer henning.schae...@gmail.com wrote: Sure... you need to implement two classes. One, derived from BroadcastReceiver, which actually captures the broadcast. And, of course, the service that keeps the receiver alive all the time. The service is

[android-developers] HEADSET Detection

2010-02-03 Thread Porting beginner
Hi, I am trying to detect headset in to Android UI. My basic Linux headset driver is working fine and detect plug-in plug-out of headset and print message on console. Now whats the next step to get this detection to UI or to inform UI to show headset plug-in plug-out in UI ? is that required to

Re: [android-developers] Re: System Settings

2010-02-02 Thread android beginner
(), NOTIFICATIONS_USE_RING_VOLUME) Physically, these are stored in a database, but you shouldn't do it that way. On Feb 1, 9:52 pm, android beginner android.beginne...@gmail.com wrote: Hi, How System Settings (eg, volume, brightness) stored in Android and where? Thanks -- You received

Re: [android-developers] executing a shell script from Android application

2010-02-02 Thread android beginner
first thought that came to my mind is permission. ofcourse you can confirm that with logcat. On Tue, Feb 2, 2010 at 6:58 PM, Asif k asifk1...@gmail.com wrote: Hi all, I am configuring wifi on my android based board using shell script. Now I want to execute the same script from android

[android-developers] Socket creation failure

2010-02-02 Thread android beginner
Hi, I created a simple client socket from my Activity, but it fails. I am running this activity in emulator and server runs on PC(its a different application without Android stuff). *clientSock = new Socket(127.0.0.1, 30001);* logcat shows java.net.SocketException: permission denied maybe

Re: [android-developers] Socket creation failure

2010-02-02 Thread android beginner
Thanks On Wed, Feb 3, 2010 at 4:10 PM, Mike Novak m...@androidnerds.org wrote: uses-permission android:name=android.permission.INTERNET / ^^ place the above line in your AndroidManifest.xml file. Mike On Feb 3, 2010, at 12:07 AM, android beginner wrote: Hi, I created a simple client

[android-developers] Service - Need Info

2010-02-01 Thread android beginner
Hi, I created remote service and wanted to get the data from MyActivity's onCreate(). Below bindService returns true but ServiceConnection() is not called. Hence testService remains null and I couldn't get the data I want from onCreate. Any Suggestion? public class MyActivity extends Activity

[android-developers] Need Suggestion on running Service

2010-02-01 Thread android beginner
Hi, Currently I am migrating our ncurses based application on Android powered target hardware. I need your expert advice on the feasibility of following scenario. * In our existing application, we have a daemon process A which receives query from UI process. * Example, UI process sends

Re: [android-developers] Service - Need Info

2010-02-01 Thread android beginner
Hi Mark, I observed that after calling bindService in onCreate we should not call the interface methods as ServiceConnection() runs after onCreate(maybe bindService puts serviceConnection in queue). Hence after calling interface method inside onServiceConnected its working fine. Thanks On

[android-developers] System Settings

2010-02-01 Thread android beginner
Hi, How System Settings (eg, volume, brightness) stored in Android and where? Thanks -- 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] Re: EditText - maximum width

2010-01-31 Thread android beginner
Hi, Any suggestion? Thanks On Jan 29, 7:49 am, android beginner android.beginne...@gmail.com wrote: Hi, I made the EditText to accept only 4 characters, but my question was different. sorry for not being clear. When the EditText comes up, by default its very small(equavalent

Re: [android-developers] custom adapter

2010-01-31 Thread android beginner
I believe in your custom ArrayAdapter, you would have override getView. get the default text size, double the size and again set the text size. Hope this helps. On Mon, Feb 1, 2010 at 10:51 AM, Andrei gml...@gmail.com wrote: How do i set row height if text of some rows more than one line when

Re: [android-developers] Re: custom adapter

2010-01-31 Thread android beginner
wrote: true is there example? On Jan 31, 7:01 pm, android beginner android.beginne...@gmail.com wrote: I believe in your custom ArrayAdapter, you would have override getView. get the default text size, double the size and again set the text size. Hope this helps. On Mon, Feb 1

[android-developers] TextView - disable focus

2010-01-30 Thread android beginner
Hi, I have a listview, and wanted to make some list items to be non-focusable. i.e On pressing the down-arrow key, some items in the middle of the list gets skipped. I tried the following method. 1. created separate ArrayAdapter class. 2. override getView method. 3. In getView, I called

[android-developers] EditText - maximum width

2010-01-28 Thread android beginner
Hi, I need to have an EditText with maximum width for 4 characters. I do not want set maximum width in pixels as I have my target with couple of different screen resolutions. Can anyone suggest me how to do this? Thanks -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: EditText - maximum width

2010-01-28 Thread android beginner
characters. Thanks On Fri, Jan 29, 2010 at 1:08 PM, Zsolt Vasvari zvasv...@gmail.com wrote: It helps reading the documentation, but here's your answer: addFilter(view, new InputFilter.LengthFilter(maxLength)); On Jan 29, 7:00 am, android beginner android.beginne...@gmail.com wrote

[android-developers] Re: EditText - maximum width

2010-01-28 Thread android beginner
Hi Sasikumar, Thanks for your email. But as mentioned in my first email, I do not want to set it with pixel size as I have couple of screen with different resolution. Thanks On Fri, Jan 29, 2010 at 2:47 PM, Sasikumar S sasikumar.it1...@gmail.comwrote: Hi android beginner, you can set your

Re: [android-developers] Re: list - need suggestion

2010-01-27 Thread android beginner
); startActivity(startActivity); } } } On Tue, Jan 26, 2010 at 5:28 PM, theSmith chris.smith...@gmail.com wrote: On Jan 25, 11:48 pm, android beginner android.beginne...@gmail.com wrote: so, each sub-lists should be created as list activity. On selecting any item, should call that particular

Re: [android-developers] Re: list - need suggestion

2010-01-27 Thread android beginner
and in onResume I called setSelection(position). But still that element in the list is not highlighted Any Suggestions? Thanks On Thu, Jan 28, 2010 at 11:52 AM, theSmith chris.smith...@gmail.com wrote: On Jan 27, 7:03 pm, android beginner android.beginne...@gmail.com wrote: Hi, The basic list

Re: [android-developers] Re: list - need suggestion

2010-01-27 Thread android beginner
Yes. Because of touch mode, I didn't get the focus. Since my hardware doesnt have the the touch screen, it should not be an issue :) On Thu, Jan 28, 2010 at 3:23 PM, android beginner android.beginne...@gmail.com wrote: Yea, went through the document and got good understanding of activities

[android-developers] string to uppercase not working

2010-01-27 Thread android beginner
Hi, The following is the code snippet. It is observed that after calling the toUpperCase routine, 'f' is not converted to F. Can anyone let me know why this behaviour?? String str = f; str.toUpperCase(Locale.*ENGLISH*); Thanks -- You received this message because you are subscribed to the

Re: [android-developers] Re: list - need suggestion

2010-01-25 Thread android beginner
, saad bouchehboun bsaad1...@gmail.comwrote: your item must be a listactivity , when you add it to your parent list , the UI is adapted automaticly . On 25 jan, 06:24, android beginner android.beginne...@gmail.com wrote: Hi, My Activity has list of items and on clicking any item, new window

Re: [android-developers] Log messages no longer appear in LogCat

2009-11-16 Thread android beginner
s i experience the same.did u get any answer -- 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

[android-developers] Instrumentation Tests with Toasts

2009-06-23 Thread Beginner
Hello, I'm trying to verify error messages that are presented inside Toasts, using instrumentation tests. Is there a way I can wait for a view to appear on screen with a timeout? So I basically want to wait X seconds and see if the Toast appears during that time. Thanks!

[android-developers] Help! market uploading problem!!

2009-04-27 Thread ASDK BEGINNER
I completed my apk, and about to publish my apk up to the market. when I load my apk, this stuff just pops up : Market requires the minSdkVersion to be set in AndroidManifest.xml. The server could not process your apk. Try

[android-developers] Asset Image in WebView

2009-03-29 Thread Beginner
Hi, I'm trying to load an image (tried both gif and png) from my assets directory, into a webview. In my assets folder, I have an image called myImage.gif Here's my code: WebView data = (WebView) findViewById(R.id.data) data.loadData(IMG HEIGHT=\42px\ WIDTH=\42px\ SRC=\file:///

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Beginner
Wow. That worked. Thanks a bunch. Is there a bug already opened for this? Or... On Mar 29, 8:47 pm, Mark Murphy mmur...@commonsware.com wrote: Beginner wrote: Hi, I'm trying to load an image (tried both gif and png) from my assets directory, into a webview. In my assets folder, I

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Beginner
? Something like data.loadData(IMG SRC=\file:///data/data/myApp/files/myImage.gif \ /, text/html, UTF-8); Thanks again. On Mar 29, 9:29 pm, Mark Murphy mmur...@commonsware.com wrote: Beginner wrote: Wow. That worked. Thanks a bunch. Is there a bug already opened for this? Or... There was a bug

[android-developers] Re: Asset Image in WebView

2009-03-29 Thread Beginner
wrote: In this case simply use a data URI when creating the loadData string. See 4. Examples at  http://www.ietf.org/rfc/rfc2397.txt R/ On Sun, Mar 29, 2009 at 6:44 PM, Beginner ayrton.merc...@gmail.com wrote: I thought this might have fixed my problem, but not quite. Since the apk

[android-developers] Wrap Text around ImageView

2008-11-05 Thread Beginner
Hi, I asked this in the begginer's group, without much success. So I'm going to try it here as well... I'm trying to get a pretty standard effect. An image (in an ImageView) on the the top-left corner of the screen, with text (in a TextView) that wraps around it. (So part of it is on the right

[android-developers] Re: i try to catch an exeption in a thread but although it does throws the exeption the catch i planted did not cought it, why is that?

2008-04-24 Thread Beginner
Hi. I have basically the exact same problem. My app attempts to connect to a server using the method talkToServer, in class MyClass. The code that connects to the server is wrapped by a try/catch block. An IOException gets thrown but isn't caught. For sanity's sake, after catching the

[android-developers] Re: Emulator crashing constantly on Windows Vista

2008-04-20 Thread Beginner
we can do On Sat, Apr 19, 2008 at 8:05 PM, Beginner [EMAIL PROTECTED] wrote: - Installed SP1 - uninstalled both sdk and the plugin No difference. On Apr 18, 6:08 pm, Michael R. Novak [EMAIL PROTECTED] wrote: I would try reinstalling the sdk and if needed the eclipse plugin. I

[android-developers] Re: Emulator crashing constantly on Windows Vista

2008-04-20 Thread Beginner
Okay, so it looks like the crashes stop once I turn off User Account Control. On Apr 20, 1:36 pm, Beginner [EMAIL PROTECTED] wrote: In my email above, I posted the server trace collected though the procedure you described: [This is the entire trace from the console] failed to read packet

[android-developers] Re: Emulator crashing constantly on Windows Vista

2008-04-19 Thread Beginner
, the emulator is certainly the best on the mac. -Mike - Original Message - From: Beginner [EMAIL PROTECTED] To: Android Developers android-developers@googlegroups.com Sent: Friday, April 18, 2008 3:23:06 PM GMT -05:00 US/Canada Eastern Subject: [android-developers] Re: Emulator crashing

[android-developers] Re: Emulator crashing constantly on Windows Vista

2008-04-18 Thread Beginner
I'm seeing the same problem. The Windows message is: adb.exe has stopped working A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available There is no Details button or anything of the sort. Only a Close Program button.