[android-developers] Pipe separator | in sms

2010-02-01 Thread Dmitry Zelenetskiy
I am receive sms from server with | delimeter, but android make it unreadable. Can I make something with this? 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

[android-developers] Re: changing the background color of an activity

2010-02-01 Thread guich
Already found the answer: android:theme=@android:style/Theme.Black.NoTitleBar Works great, thanks! guich -- 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

[android-developers] Re: Android sqlite unable open database problem

2010-02-01 Thread Per Sandström
you could simplify your code by using openOrCreateDatabase (DATABASE_NAME, Context.MODE_PRIVATE, null); instead. :) Maybe then the problem will resolve itself. Cheers, Per Sandström On Jan 29, 5:52 pm, Josema jose.maria.estr...@gmail.com wrote: Hi, im doing debug with my mobile. My code works

[android-developers] Re: Android Programming Class

2010-02-01 Thread ko5tik
On Feb 1, 12:23 am, Kevin Duffey andjar...@gmail.com wrote: Now.. on that note, slightly off topic.. I hope Android (and google) sees an opportunity for potential Android devices that would allow someone like one of us to write some software that prevents the camera/video camera/audio

[android-developers] listing /data/data device's contents

2010-02-01 Thread guich
Hi, I'm trying to get a list of folders in /data/data that starts with totalcross. Is this possible? All i get is permission denied. All these folders are signed with the same key and have the same user id. thanks guich -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Particular Tag Parsing

2010-02-01 Thread Sasikumar.S
Thank U for responding previous Questions. One more thing Guys. Now i'm getting one more doubt in that. I need to parse the below XML file: item 22item/2 33item/3 11item/1 44item/4 /item In that i'm fetching data from 1, 2,3 4. But i'm getting value as 2, 3, 1 4 in order wise. How to get

[android-developers] Re: ListView - default selection

2010-02-01 Thread Ingar Arntzen
ListView ... android:drawSelectorOnTop=false ... / Does the trick, but that removes the selector completely, not only the first default selection. On Jan 29, 11:44 am, Ingar Arntzen ingar.arnt...@gmail.com wrote: Hi. SETUP : I'm using ListActivity and an ArrayAdapter to show alistof

[android-developers] Re: Problem finding a contact when ID is known

2010-02-01 Thread andrew android
Could you help give some example? Some Example how you use it? Thanks! On Jan 31, 8:34 pm, Dmitri Plotnikov () dplotni...@google.com wrote: You don't need to create it.  It is column on the Contacts table. There is also a conenience method on Contacts that will retrieve it for you. On

[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

Re: [android-developers] listing /data/data device's contents

2010-02-01 Thread Mark Murphy
I'm trying to get a list of folders in /data/data that starts with totalcross. Is this possible? All i get is permission denied. Correct. You do not have the rights on a device to read the directory contents of /data/data. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App

[android-developers] Re: Integrate ImageButton with ListActivity failed - List no longer selectable.

2010-02-01 Thread qmwestview
Hi Chander, thanks for your help. I have added android:focusable=false to the layout xml file but the result appears to be the same. I thought this type of listActivity working with buttons etc is supposed to be straightforward. But I failed to find a working example so far. I am stucked

Re: [android-developers] Service - Need Info

2010-02-01 Thread Mark Murphy
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? Most likely, there is an Intent

[android-developers] Re: GLSurfaceView problem/querry

2010-02-01 Thread satish bhoyar
Hi please tell me some thing about this problem... thanks On Fri, Jan 29, 2010 at 6:49 PM, satish bhoyar getsatonl...@gmail.comwrote: Hi all, I am developing the app where I want Text on GLSurfaceView. So I am using TextView on GLSurfaceView. I m able to do that properly. Now problem is

[android-developers] Re: Integrate ImageButton with ListActivity failed - List no longer selectable.

2010-02-01 Thread qmwestview
Update: I found a way to intercept the key press, by just adding the following code into getView(final int position, View convertView, ViewGroup parent) method: convertView.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) {

[android-developers] Emulating a Droid

2010-02-01 Thread Neilz
Please could anyone tell how to best set up an emulation of the Motorola Droid within Eclipse? -- 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

[android-developers] EditText Handling while Orientation change

2010-02-01 Thread Muthu Kumar K.
Hi All, I have EditText in my application. While entering the text i am changing the portrait mode to landscape mode. Not the entered text is resetting. Can any one tell me how do i handle this? Like if i change the orientation what ever entered text should be remain as it is. Thanks in Advance,

[android-developers] isOverLink() function in android-webkit

2010-02-01 Thread Vivek Satpute
Hi All, When we do single click on webpage, webkit checks whether click is occurred on URL/link or not ? To check this it uses isOverLink() function. Can anyone please explain me, does this function consider (x,y) co-ordinates of click to take decision ? I tried to look in code but did not get it

Re: [android-developers] EditText Handling while Orientation change

2010-02-01 Thread Mark Murphy
I have EditText in my application. While entering the text i am changing the portrait mode to landscape mode. Not the entered text is resetting. Can any one tell me how do i handle this? Like if i change the orientation what ever entered text should be remain as it is. Android will

[android-developers] android 2.0 images

2010-02-01 Thread Shrenik Vikam
can we use the images come at diretory $android_home\platforms \android-2.0\images to install on adp device? -- 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

[android-developers] Re: Integrate ImageButton with ListActivity failed - List no longer selectable.

2010-02-01 Thread qmwestview
Adding android:focusable=false does work with CheckBox (tested: just replace ImageButton with CheckBox in layout xml file). On Feb 1, 11:12 am, qmwestview qmwestv...@googlemail.com wrote: Hi Chander, thanks for your help. I have added     android:focusable=false to the layout xml file but

[android-developers] Re: Integrate ImageButton with ListActivity failed - List no longer selectable.

2010-02-01 Thread qmwestview
Tried again and this time successful. Instead of doing it in xml file, do it in code does the trick: holder.imageButton.setFocusable(false); Problem solved! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: OpenGL poor performance with textures?

2010-02-01 Thread Mario Zechner
i'm working a prototype game that has a very similar setup to yours. I have a 2048x2048 big background texture which i load in 32-bit argb mode (i have yet to discover what format to use for 16-bit rgb 565, png doesn't support it, didn't care yet though). I split up this big thing into 256x256

[android-developers] Re: listing /data/data device's contents

2010-02-01 Thread guich
Well, i'll add a RFE so that it could list at least the folders with the same user id. guich -- 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

[android-developers] Re: Performance issue: Dalvik VM is 20x slower than most modern Java VMs

2010-02-01 Thread guich
Just following up to my initial post, I have implemented the above look in native code using Android's SDK.  The native code performs in a few milliseconds as hoped.  This goes to confirm that for compute intensive tasks, Dalvik can be hundreds of times slower than native. Hi, Can you

Re: [android-developers] Re: listing /data/data device's contents

2010-02-01 Thread Mark Murphy
Well, i'll add a RFE so that it could list at least the folders with the same user id. Why? You don't need it. You already know what your applications are. Just construct the proper directory for each and see if the file exists. Or, use PackageManager to see if your other applications are

[android-developers] Re: Flipping view upside down

2010-02-01 Thread satish bhoyar
hi guys please help... On Mon, Feb 1, 2010 at 11:40 AM, satish bhoyar getsatonl...@gmail.comwrote: hi all, i want to make my textview flip upside down. i tried using the rotateanimation i can do it on side but how we can do it upside down? please give suggestion. thanks, satish --

[android-developers] Re: OpenGL poor performance with textures?

2010-02-01 Thread guich
Hi Federico, I tried during weeks to get a working code for the opengles. The idea was to draw an offscreen bitmap into the screen (i do all the graphics rendering by myself). Then someone told me that using textures for this was not a good idea, because it takes time to make the texture get into

[android-developers] Re: adding a quick add event to the Calendar

2010-02-01 Thread Jonathan Epstein
I've followed this discussion with interest, and have looked every few days for your Pro version, i.e. Target Date Pro, but it's still not available in the Market. I would really like to try it, although I have some concerns that it won't fit well into my workflow. I have come to be a big fan of

[android-developers] Re: Application not run in the background

2010-02-01 Thread nikhil
call your sendsms method inside onStart On Feb 1, 1:34 am, pramod.deore deore.pramo...@gmail.com wrote: Hello everybody, In my application I want to send sms, but the application must have to run in the background. It send the sms but it is not run in the background. I have following code.

Re: [android-developers] Re: Particular Tag Parsing

2010-02-01 Thread Kevin Duffey
You will have to sort your data once you get it. You can't control the order it's processed. If you know for a fact that it will only be 4 items, you could create an array of size 4, then stick the data in the specific index spot of the array. Or you can add it to a list then sort it. That is an

[android-developers] Recognizer Intent Question. Any help would be great. Thank you

2010-02-01 Thread chris harper
Hi I am hoping that one of the google guys or someone else can help me with one of the new features coming out with Eclair. Using the VOICE_UPLINK_INPUT = 1 and VOICE_DOWNLINK_INPUT = 2 Attributes. I know to recognize speech from the user holding the phone you can use Recognizer Intent.

[android-developers] Re: Wakelock and phone restarts

2010-02-01 Thread nikhil
Any one ? On Jan 28, 11:18 am, nikhil nik...@gmail.com wrote: Hello Friends, I have a service which holds on to a wakelock and the code is similar to this, public class WakeLockService extends Service { PowerManager.WakeLock wl;         @Override         public IBinder onBind(Intent

[android-developers] Re: AsyncTask and simultaneous network downloads

2010-02-01 Thread Bob Kerns
I don't understand. Why not just supply your own CookieStore -- why rewrite so much? http://bit.ly/cymmRg I don't recall having used this -- when I last used HttpClient, I didn't have any need to share cookies. So maybe I'm missing some problem. HttpClient is complex because HTTP is complex.

[android-developers] Re: How to Put common header for entire application Like Android Market application

2010-02-01 Thread RamaMohan
Thanks for Your answer. I am having a tab activity which has 5 tabs . i done this with programming and i have not used any xml for this tab activity. So how can i include common header for this activity. I want to add a Image button on the top bar.how to handle events for this which should apply

[android-developers] Split and join files

2010-02-01 Thread Achanta
I have a large database and my plan is to supply it along with the app so that the users need not wait for around 15 min for the initial download, xml processing and creating the database. I want to put the database files in the assets folder and copy them when the user uses the app for the first

[android-developers] How to achieve ultra smooth OpenGL/ES animation

2010-02-01 Thread tomei.ninge...@gmail.com
Hello Android OpenGL/real-time gurus, I am drawing a pretty simple scene, with one large texture the about size of the screen (two triangles). I notice that the frame-rate is irregular: in most of cases, a frame finishes in 17 ms. However, in about 1 of 10 times, the frame finishes in 33ms. My

[android-developers] How to show a loading image or an animation?

2010-02-01 Thread Achanta
I have a search box and a web view in my activity. I also have a search button which when someone clicks opens a the url in the webview below the search box. Everything is working fine except that it remains blank while the page loads. I want to show a loading message with a spinning

Re: [android-developers] Re: listing /data/data device's contents

2010-02-01 Thread Dianne Hackborn
Please don't. The permissions are deliberately set up this way. On Mon, Feb 1, 2010 at 4:41 AM, guich guiha...@gmail.com wrote: Well, i'll add a RFE so that it could list at least the folders with the same user id. guich -- You received this message because you are subscribed to the

[android-developers] Dynamic compound drawables in TextView are invisible

2010-02-01 Thread Marco Alanen
Greetings. I have a ListActivity which contains elements inside a table layout, looking something like this: LinearLayout ImageView TableView TableRow LinearLayout TextView TableRow LinearLayout ... (some more rows here) Now I want to place an icon after the text in the TextView. This

[android-developers] Using bitmap data to copy pixels to a new bitmap

2010-02-01 Thread lyon
In ActionScript development, there are two classes, Bitmap, and BitmapData. Bitmap uses information from BitmapData to create a Bitmap. Is there an equivalent to BitmapData in the android API? I did some digging and BitmapFactory seems to be the closest, however, I'm facing problems with it. I

[android-developers] RelativeLayout algorithm.

2010-02-01 Thread Michael Bailey
Is there any comprehensive documentation for the RelativeLayout layout algorithm (besides javadoc and android blog examples)? In this layout, the edittext is on top of the textview. This seems wrong since the EditText has android:layout_below=@id/textview. If I remove the

[android-developers] Linking a Video to the Browser's Player

2010-02-01 Thread mistergoomba
Hello. I'm new to Android development and when I try to search for this answer, I get pushed in a different direction. I am putting together an app that will play videos. I've figured out how to stream videos directly into the app from the web using a URLConnection, however I'm having memory

[android-developers] What does a good app review look like?

2010-02-01 Thread AppRoasters
What does a good application review look like? From a dev's perspective, it's whatever brings the users. From the user's perspective, things need to be informative and entertaining at the same time. We're trying to carve a niche out for app reviews at approaster.com, but I'm really interested

[android-developers] SharedPreferences can not create the xml file

2010-02-01 Thread Shahin
Hi I have been trying to fix this problem for 3 days now and still no luck. I am trying to save some preferences of my app (just a few integers and strings), but I notice that SharedPreferences never creates any xml file. So far I have tried the followings: 1) In my AndroidManifest, I set

[android-developers] How to display unicode text received from a web API

2010-02-01 Thread Marko Anastasov
Hello, I'm fetching some data from my web API that returns XML with content which includes escaped unicode characters. So there is content such as Izlo#382;ba which I need to display in a TextView as word Izložba. How can I do this? Right now these characters are either ommitted or displayed as

[android-developers] ADB and Windows Hibernate?

2010-02-01 Thread dph
Since starting to develop with the Android SDK, I have noticed that Hibernate on Windows 7 is failing to occur as expected. I have figured out that the problem is ADB which evidently never stops running. If I first kill ADB, then hibernation works as expected. Has anybody else seen this problem?

[android-developers] Re: Equally spaced TableLayout grid

2010-02-01 Thread Ivan
I have exactly the same requirement. I need to create a 2x2 layout of 4 buttons where each button must be the same size. I tried TableLayout and LinearLayout combos without any luck so far. On Jan 29, 11:42 am, ClarkBattle clarkbat...@gmail.com wrote: I have a TableLayout where each cell of the

[android-developers] Re: TableLayout set column width by using layout_weight

2010-02-01 Thread arberg
I believe I found a solution to your problem. The weight attribute of linearlayouts (http://d.android.com/reference/android/widget/ LinearLayout.LayoutParams.html) unfortunately only extends views, and therefore the your attempt does not work, because the textviews are to wide to begin with. I

[android-developers] Example for Contacts.PresenceColumns

2010-02-01 Thread hacksoft
Hi, I'm using OS 1.6 and targeting my T-Mobile HTC G1 phone. I'm trying to get the IM fields from contact info, but none of the queries I build to use Contacts.PresenceColumns work. Does anyone know how to construct the projection/query to get the PresenceColumns info (IM_ACCOUNT, IM_HANDLE)

[android-developers] BitmapFactory.decodeByteArray gives pixelated bitmap

2010-02-01 Thread michael
Hi, I am working on an app that displays photos which are downloaded from Flickr. I obtain a Bitmap object from a byte array, which in turn is read from the relevant Flickr URL, as follows: Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); The problem is that the resulting

[android-developers] Re: Layout problems: AbsoluteLayout deprecated, how to do it now?

2010-02-01 Thread kaasinees
try making a new view that is centered in the layout than use the margin attributes like mentioned before to position the buttons inside that view. this way it could work on all screen sizes. On Jan 30, 9:23 am, Martin google-gro...@digle.de wrote: Hi! For my game Leonard Frog - Beta in the

[android-developers] Help me in TextMessage and DataMessage

2010-02-01 Thread aishwarya shukla
Hello Everyone I am unable to use the sendTextMessage Function of the smsManager class successfully. The other emulator is not reporting the message received. No notification comes on it. However i am able to send the Text Messages normally using the built in Messaging App in the Application.

[android-developers] Re: Problematic HTTPS Posts, help needed

2010-02-01 Thread Siarhei Dudzin
Just to let you know I also had problems with URLConnection when using https. Eeentually I had to switch to http client wich works fine. Regards, Siarhei On Jan 29, 8:32 pm, Kai kai.umez...@hotmail.jcom wrote: Thank you very much for those suggestions, I will definitely take a look at them.

[android-developers] How to submit an issue for priority elevation? Issue# 5669

2010-02-01 Thread ZeppelinJ0
I'm wondering what the process is for elevation of a bug report at http://code.google.com/p/android/issues/detail?id=5669 There is a severe bug in the Android 2.0.1 software running on MOTO DROID which is causing myself and hundreds of other peoples TXT/SMS Conversations to be completely deleted,

[android-developers] uncaught timeoutexception in socket

2010-02-01 Thread Lara
Hey, I want to connect my client via socket to a server. If I don't start the server (to test my error-handlung) the client crashes because of an uncaught timeout exception. The socket creation is in a try-catch block, but the timeout-exception is not caught. try {

[android-developers] Notepad tutorial revised with hosted database

2010-02-01 Thread Brent Hamby
After reading the Nodepad tutorial for Android, which uses the SQLlite database, I decided to write a version of the same app that uses an off-board database. I replaced the SQLlite database adapter class with a NextDBAdapter class that communicates with the NextDB.net servers to execute queries,

[android-developers] Empty contact list after adding contacts via insert query

2010-02-01 Thread James
I added some contacts via content resolver queries, but they are not showing up in the phone's Contact application. However, when I go over the database with a cursor, they show up. Could this be an issue with the emulator? I don't have a device to test on at the moment. Also, the contact was

[android-developers] Regarding relative layout problem

2010-02-01 Thread kumar
Hiii i am new in android application developer.i had just created a one application with relative layout.its run smoothly in emulator.i never test this application on real android phone.there is no alignment problem in emulator.can its given a problem in real phone. plz reply me as soon as

[android-developers] icons bigger than 48x48 pixels

2010-02-01 Thread jonesy
i have a rooted mytouch, i use bettercut, and i would like the icons on my home screen to be able to be bigger than 48x48 pixels, i'd prefer 60x60. i know there's something in the root folders i can edit to make this possible, i think in framework-res.apk. but does anyone have any idea what

[android-developers] Push Notification API

2010-02-01 Thread Alie Lee
Hi, Is there any push notification API for Android... I tried search with Google but couldnt find any. Regards, Alie -- 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] problems using the Android Manifest Editor

2010-02-01 Thread mdschiller
I'm new to Android development, created a project following the instructions at: http://developer.android.com/guide/developing/eclipse-adt.html And have not yet touched the source. I am having trouble using the Android Manifest Editor to set my application to be debuggable. I open my project's

[android-developers] Gallery crashing when scrolling using trackball

2010-02-01 Thread Fred
My app crashes whenever I try to use the trackball while the Gallery has focus. I can scroll by touch events just fine, but the trackball crashes it. I feel like there's something simple I'm overlooking. Anyone that has some insight, please let me know. Thanks, Fred -- You received this

[android-developers] Uploading Files in Nexus One

2010-02-01 Thread IdanAndroid
I was trying to upload files (images) to my wordpress blog through my Nexus One mobile phone, but it shows 'Disabled' all the time, whether I use the flash upload or the regular HTML upload contorl. I even tried the Mobile admin Wordpress plugin with the same results. Is there any option to

[android-developers] bug reporting

2010-02-01 Thread laphroaig15
I'd finished up my first android application, a simple power management app, and was preparing to release it when I realized that I didn't have a proper design or infrastructure for bug reporting. One of my pet peeves with the applications on the Android marketplace is that there's inadequate

[android-developers] Temperature Sensors

2010-02-01 Thread sam
Greetings, I can't seem to find this info on the droids temperature sensor (the one available in the SDK): Does it indicate ambient temperature or is it the temperature of the phone or chip? Also, does the pressure sensor indicate atmospheric pressure? regards, Sam -- You received this

[android-developers] please don't send the mail to me, thanks.

2010-02-01 Thread fangwei 00110357
** This email and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained here in

Re: [android-developers] Builtin layout xml source code?

2010-02-01 Thread Mike Novak
source.android.com you can view the resources used in the core framework git repository. On Jan 30, 2010, at 10:57 PM, scastria wrote: Anyway to see the source xml for android.R.layout.simple_expandable_list_item_2 ?? -- You received this message because you are subscribed to the

[android-developers] Problem with TextView and multiple lines

2010-02-01 Thread Salvador Gironès
Hello to all, I have a problem with TableRow and TextView. I'm trying to show a text longer than screen, but It doesn't break in two lines. Isn't it automatic? I have a ListView with TextView items and it break in multiple lines automatically. This is my code: TableLayout

Re: [android-developers] VerifyError - how can I solve this error?

2010-02-01 Thread aishwarya shukla
Hello Everyone I am unable to use the sendTextMessage Function of the smsManager class successfully. The other emulator is not reporting the message received. No notification comes on it. However i am able to send the Text Messages normally using the built in Messaging App in the Application.

[android-developers] onDestroy() called and activity cycles at lock screen

2010-02-01 Thread Martin
Hi, I have an activity using a surfaceView for drawing various objects onto, and have observed different behavior when running the app in the emulator and on the handset. The handset is a G1, running Android rev. 1.5, and the emulator is also a rev. 1.5 AVD. When the app is running in emulator

[android-developers] ACTION_BOOT_COMPLETED

2010-02-01 Thread Acer
Hello, I'm new to Android. I'm trying to use the intent android.content.Intent.ACTION_BOOT_COMPLETED in order to start a activity/service as soon as the device is booted.The intent filter is as below receiver android:name=My2Receiver android:enabled=true intent-filter

[android-developers] Remote Log

2010-02-01 Thread Kimi
Hello everybody, I have used Android's log all around my app to trace some important events. As for development porpuse only, I would like to do one of the following things: 1) redirect that log to a specific file in a SD-Card 2) locate the log file, if already exist I both cases I will create

[android-developers] Programmatically turning off the screen and locking the phone

2010-02-01 Thread abhay
Hi All, As we know that Android phone gets locked after screen timeout. But I want to lock the phone on demand as well. i.e. without waiting for screen timeout to occur.. As in nexus android phone there is hard button on top for making screen turn off and lock the phone. i have to do

[android-developers] Save user name and password with SharedPreferences

2010-02-01 Thread kumar
Hii i want to save user Name and password in my android application using the android save preference. but its not working. code is here\\\ import android.content.SharedPreferences; protected void Savepreference() { int mode = Activity.MODE_PRIVATE;

[android-developers] Dev Tools app crashes on entering Dev Settings menu (htc tattoo)

2010-02-01 Thread Dan S
Hi - On a HTC Tattoo (android 1.6) I install the Dev Tools app by copying it out of an emulated 1.6 machine. Opening the app works, but then when I go into the Development Settings menu it crashes with The application Dev Tools (process com.android.development) has stopped unexpectedly. Please

[android-developers] Printing Array on Screen

2010-02-01 Thread Akki
Hi guys, I want to print array on android device.Actually im generating Random numbers and im displaying them one by one on screen.for tht im using array.But im unable to display array on screen.Please help me in random number generation using an array in android -- You received this message

[android-developers] iphone app development,outsource iphone development

2010-02-01 Thread Elan Emerging Technologies PVT Ltd.
Elan Emerging Technologies PVT Ltd. (EETPL) is an India based Software Outsourcing Company offers Software Development and Web Development Services. Elan Emerging Technologies provides services such as Software Development, Web Development, Ecommerce Development, Web Design and Development, Web

[android-developers] Re: Android 2.0.1 SocketTimeoutException received with FTP Data channel

2010-02-01 Thread Ryu
Hello James, Did you correctly add the TCP port in the URL entered in Runftp? Like: $ o sftp://hogeh...@blahblah.com:5 Also check to see if you enabled the port 5, meaning it is not blocked by a packet filter like iptables. You could try FTPS which has easier setup in ProFTPD if you

[android-developers] switching between cellular network and wi-fi

2010-02-01 Thread subho
Does android framework support automatic switch to Wi-Fi when detected, from cellular network ? Please post your views. -- 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] Dynamic TableLayout problem

2010-02-01 Thread David Arm
Hi! Im having a problem with a tablelayout. Im trying to add rows dinamically and display the content of these rows (there are not content problems as T tested it and the app has all the data that it needs). This is the java code and the xml of the activity: [code]import java.util.ArrayList;

[android-developers] How to make a flow text in a textview

2010-02-01 Thread goem
Hello,everyone I want to make a text from left to right flow for definite times in Textview . The text should automatic flow if the text length is very long.And only the text flow not the textview.But in APIdemos/views/Animation/Push isn't what I want. Should I adopt the animation(only

[android-developers] Binding list views to large data sets

2010-02-01 Thread THill
I need to be able to scroll through a list with (up to) 20K rows, backed by a cursor on a read-only db. Testing 20K rows on a G1, the query takes approx .02s regardless of table size, while binding the adapter to the list takes 4.5s. Note that this is before the view calls used in rendering.

[android-developers] Re: Simple LinearLayout Question

2010-02-01 Thread jarnaud
Hello, yes, equal weights is the way to do it. Could you share your layout code? -- Jay Complete Android Tutorials: http://android.voxisland.com On Jan 31, 3:49 am, scastria scastria...@gmail.com wrote: Maybe I am missing something here: I have a simple horizontal LinearLayout with fill_parent

[android-developers] Programmatically turning off the screen and locking the phone

2010-02-01 Thread Abhay dey
Hi All, As we know that Android phone gets locked after screen timeout. But I want to lock the phone on demand as well. i.e. without waiting for screen timeout to occur.. As in nexus android phone there is hard button on top for making screen turn off and lock the phone. i have to do

[android-developers] Dynamic TableLayout problem

2010-02-01 Thread David Arm
Hi! Im having a problem with a tablelayout. Im trying to add rows dinamically and display the content of these rows (there are not content problems as T tested it and the app has all the data that it needs). This is the java code and the xml of the activity: [syntax=java]import

[android-developers] Re: ANDROID_ID always null on devices

2010-02-01 Thread Rampanda
Hi, having the exact same problem on a Droid 2.0.1 and HTC Hero 1.5. : String androidID = Secure.getString(this.getContextResolver(), android.provider.Settings.Secure.ANDROID_ID); Toast.makeText(this, ANDROID_ID: + androidID, Toast.LENGTH_LONG).show(); consistently returns null

[android-developers] Using WifiManager to connect to a network

2010-02-01 Thread Daniel Rolph
Hello everyone, I am using a Nexus One with 2.1 SDK. I am having problems with a module in my application connecting programmatically to a network/AP. The code snippet that I am using is: WifiConfiguration wifiConfig = new WifiConfiguration(); wifiConfig.BSSID=00:0C:41:F5:B0:08;

[android-developers] adb install gives Failure [-12] when deploying an application to phone

2010-02-01 Thread GSLDev
Hi, I am new to Android development, was trying to deploy a simple HelloWorld app to a G1 dev phone via USB cable using adb install. I keep getting the following error: adb install HelloAndroid.apk 250 KB/s (12008 bytes in 0.046s) pkg: /data/local/tmp/HelloAndroid.apk

[android-developers] Re: ANDROID_ID always null on devices

2010-02-01 Thread Rampanda
Hi fisobral, Having the exact same problem using a Motorola Droid running 2.0.1 and HTC Hero on 1.5. Querying the Android ID consistently returns a null value, using similar code to yours in the onCreate of the launcher Activity: String androidID = Secure.getString(this.getContentResolver(),

[android-developers] [TransitionDrawable ImageView] Bug fix on android 2.1 ?

2010-02-01 Thread Worgle
Hello, It seams to me that a bug was fixed between android 2.0.1 and 2.1 about TransitionDrawable (or maybe ImageView). When using TransitionDrawable in a ListView (with convert view mechanism) in android 2.0.1 and below, I can't see the Transition if I scroll rapidly to the end of the list, and

[android-developers] About calling feature in android

2010-02-01 Thread saru
Look i need to develop a dialer software(in android-OS) where i need to catch different calling features.So far i get notices of incoming call, outgoing call and different call state. But what is needed to me are * my application can receive the call(Accept button in my application) *my

[android-developers] Packing source code - Best practice

2010-02-01 Thread DevQuest
Hello, What is best practice for an android application in terms of packing the source code? It is recommended to use a single java package for all the sources or create different java packages depending on classes behavior/functionality? Thanks! -- You received this message because you are

Re: [android-developers] How to show a loading image or an animation?

2010-02-01 Thread Temitope Akinwande
Hi, You can check this out http://developer.android.com/intl/fr/guide/topics/ui/dialogs.html#ProgressDialog http://developer.android.com/intl/fr/reference/android/os/AsyncTask.html From what I gather, you'll have to start a thread using AsyncTask and that way you can show your progress dialog. A

[android-developers] create images from jpg files

2010-02-01 Thread brandon
Hello, i currently have a ListFiles which are all jpg format. I am trying to traverse through this list displaying each image using the ImageView class. I'm having a problem finding a way to create an image to display out of the contents of the list. I am new to android and the java language

[android-developers] Where to correctly place xml containing data?

2010-02-01 Thread kaasinees
Greetings humane, I come in peace. I have the following XML file which serves as database for my application. ?xml version=1.0 encoding=UTF-8? units category id=0 text=Length base=metre unit name=metre ratio=1 / unit name=mile ratio=0.0006213711922373339 /

[android-developers] Re: How to achieve ultra smooth OpenGL/ES animation

2010-02-01 Thread fulanito
I am drawing a pretty simple scene, with one large texture the about size of the screen (two triangles). I notice that the frame-rate is irregular: in most of cases, a frame finishes in 17 ms. However, in about 1 of 10 times, the frame finishes in 33ms. This could be the garbage collector.

[android-developers] Re: Temperature Sensors

2010-02-01 Thread SIDIBE Ali-Broma
No device support temperature On 29 jan, 21:29, sam s...@falaki.com wrote: Greetings, I can't seem to find this info on the droids temperature sensor (the one available in the SDK): Does it indicate ambient temperature or is it the temperature of the phone or chip? Also, does the

Re: [android-developers] How to display unicode text received from a web API

2010-02-01 Thread Tommy Hartz
what are you using on your webside to generate the XML? You may need to do special encoding of the text before sending it out. On Sat, Jan 30, 2010 at 10:03 AM, Marko Anastasov marko.anasta...@gmail.com wrote: Hello, I'm fetching some data from my web API that returns XML with content which

Re: [android-developers] [TransitionDrawable ImageView] Bug fix on android 2.1 ?

2010-02-01 Thread Romain Guy
Hi, Why exactly do you need to know what the fix was? I don't remember doing anything to fix TransitionDrawable so it's probably one of the numerous fixes that went into ListView itself that's responsible for the new correct behavior. On Mon, Feb 1, 2010 at 8:39 AM, Worgle lewor...@gmail.com

[android-developers] Re: How to show a loading image or an animation?

2010-02-01 Thread Achanta
Thank you for the reply, as I'm sure this question has been asked before. I was also sure that it has been asked before because its a common task, But searching the web or this group did not give me the appropriate results. From what I gather, you'll have to start a thread using AsyncTask and

  1   2   3   >