[android-developers] AVD Emulator

2011-09-01 Thread Perry168
Hi! When the AVD emulator can emulate over 1024M memory! -- 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] Re: Android installer strange issue

2011-09-01 Thread Sudha
What I understood from your reply is that if you press OPEN new instaces of teh appln willbe getting created and if you press DONE and then start the app from menu , the appln should resume ? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[android-developers] Re: Removing unused resources.

2011-09-01 Thread Zsolt Vasvari
Sure, delete the resource and see if the project still compiles or not. On Sep 1, 1:45 pm, Akhilesh Mani coffeewitha...@gmail.com wrote: I am looking for an efficient way to find out if a resource (mostly a drawable) is used in java or in an XML file.The problem is, that on my current project

[android-developers] Read meta data from large video file

2011-09-01 Thread Naveen
Hello Android developer, I have a video file which containing meta data. i want to retrieve the meta data from this video particular position of file video. Please refer me perfect link. or coding stubs which will be best for handle large video file also. Thanks NaVi -- You received this

Re: [android-developers] Re: App Widget fails to be added, thanks to customized platform

2011-09-01 Thread Dianne Hackborn
Start with the app widget sample in API demos. If this isn't working, your customized platform is broken. On Wed, Aug 31, 2011 at 6:03 PM, eagle eagle.l...@gmail.com wrote: Sorry for my English... What i mean is that, when i switch to customized platform and are not using the private

Re: [android-developers] Re: APK signing and certificate for production device

2011-09-01 Thread Pratik Prajapati
Hi Narayanan, Thank you for you inputs. Any idea for, differece between certificate and key? * * On Wed, Aug 31, 2011 at 10:50 PM, C++ Narayanan cnarayan12s...@gmail.comwrote: Pratik, well signing your application is only for the purpose of security while uploading it on android market!

Re: [android-developers] Re: onLocationChange never get called

2011-09-01 Thread bhaskar ettem
dude ,put your apk file in mobile ,,, when ur mobile location gets changed then onlocationchanged will be called,,,(in emulator it wont call.) On Sun, Aug 28, 2011 at 2:08 PM, Bipin Sutariya bipin.sutar...@gmail.comwrote: OK one change Toast.makeText requires show() method to show toast. I

[android-developers] Re: Can we create two ThreadPoolExecutor running on android?

2011-09-01 Thread Ed Harned
Take a look at this article and the open source project it mentions. http://coopsoft.com/ar/AndroidArticle.html You can create the Tymeac service with thread pools and do anything you want Ed On Aug 30, 12:30 pm, usher usher...@gmail.com wrote: AsyncTask is managing a thread pool with 5 core

[android-developers] Failed to initialize Monitor Thread: Unable to establish loopback connection

2011-09-01 Thread Poul Kristensen
Hi I keep getting this errormessage: Failed to initialize Monitor Thread: Unable to establish loopback connection when I open a project in Eclipse. I tried to kill and start the server but I still get this message. Also happens when I switch my firewall off. So I'm completely stuck here - any

[android-developers] Phan and from VietNam

2011-09-01 Thread Phan Dinh Thuy
Hi !!! I am newbie in Android. I want to join this group because i want developer software when this school teaching developer game. Thanks you !!! -- 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] Phone gets rebooted while applicatin is been used.

2011-09-01 Thread karthikcr
I have developed an application which can record video, voice or image, upload files to sever, the upload process works in background. My application uses service to upload all the files, activity for view related things, and LBS to get location. I noticed that if the application is used for some

[android-developers] flv/mp4 to fmp3 Converting

2011-09-01 Thread andr
Hello! I must convert .flv or .mp4 file to .mp3 file on Android. I find information about compilation ffmpeg library for Android and I have done that, but I don't know how to create code on C for my converting or other way for my task. Please, give me an example or something. I'm upset, help me

[android-developers] GridView setColumnWidth in dp?

2011-09-01 Thread Rick
I have a GridView which, depending on the situation, may have 3 or 4 columns. The column widths need to change depending on whether 3 or 4 are being displayed. I therefore can't hardcode the width into the layout XML containing the GridView, it must be set via the setColumnWidth command. The

[android-developers] Android 2.2 can only support 2 concurrent bluetooth connections?

2011-09-01 Thread novakom
I am developing an app which will have multiple phones communicating together concurrently via bluetooth. To this end, I extended the BluetoothChat example to support multiple simultaneous connections. Once I got it working with 3 phones, I ramped up to 4 but have discovered that it appears that

[android-developers] Re: UI design pattern

2011-09-01 Thread David
Hi, kinda weird... my reply didn't show up. Anyway: second try :) I found these a while ago: http://www.androiduipatterns.com/ And I forgot this one on my first reply: http://www.androidpatterns.com/ Hope this helps. Regards, David -- You received this message because you are subscribed to

[android-developers] Re: UI design pattern

2011-09-01 Thread David
Hi, I was looking for the same, and I found this Blog: http://www.androiduipatterns.com/ Best regards, David I hope On 31 Aug., 20:30, Igor Nesralla Ribeiro nesra...@gmail.com wrote: Hi, I'm looking for something article or any information about best way to implement UI design pattern for

[android-developers] How to link multiple HTML pages in assets folder ?

2011-09-01 Thread Harshani
I am new to Android. I want to display HTML pages in android emulator. I put my test1.html and test2.html files in the assets folder and managed to display test1.html file in Android by using the following code. package com.example.helloandroid; import java.io.IOException; import

[android-developers] USB connection Thread

2011-09-01 Thread Ivan Fajardo
Hi, i have been working in a app that allow comunicate with a open accesory dev kit, and i have a big throuble, when ended the USB comunication I cant start new one until the readthread die. then when the ativity is pasused or throw new activity i cant comunicate with an accessory. i close the

[android-developers] Re: application should not exists

2011-09-01 Thread James
Then things will be clear if you run log cat, There must be some exceptions uncaught in your code :-) On Aug 31, 2:12 pm, mohana priya gpriyara...@gmail.com wrote: Thanks for your reply but am getting error as force close. On Aug 30, 12:49 pm, James 030440...@163.com wrote: It's just

[android-developers] Multipage PDF Editor

2011-09-01 Thread Avinash Chandra
Hi, I like to know how to make a PDF Editor on Android. I used PDFBox, iText, PDFRenderer and some other such PDF Library. I found all of these use some core java dependencies which are not supported in Android like java.awt and javax packages. Kindly let me know if there is anyway to convert

[android-developers] Verify EditText input when inputType = number?

2011-09-01 Thread Conrad
Hello, It appears that specifying an EditText view in my XML layout file with attribute android:inputType=number will limit input to characters that make up an actual number. Is this necessarily true, or do I really need to do a test in code to confirm it is to avoid a possible

[android-developers] Equivalent to !kbhit() in c method in Android

2011-09-01 Thread ursNARESH
I am new to Android. I am planing to write code for typing tutor game application. In that i need to scroll down letters from top to bottom until user enters a key. I can write the same in c like while(!kbhit()) { print(c); } but i don't know how to convert the same into Android. I tried

[android-developers] Google Removing Search Apps From Market?

2011-09-01 Thread GoogleIsEvil
My search app that allows users to search through mature sites has been removed from the market. The app is powered by Google Search and shows similar results to what Google search does. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: an error with android application--internal error logged from JDI Debug

2011-09-01 Thread James
your eclipse's crashing, I have encountered similar errors before. Try your code in another computer and see if error still exist. On Aug 31, 5:09 pm, 诗阳 刘 senyoung...@gmail.com wrote: I am recently programming and when I debug my program, I got this error. I don't have any idea about what's

[android-developers] Re: SDK Tools r12 causing aapt to fail

2011-09-01 Thread yellowjacket
Did I miss something? If the styles in question are private, and I make a copy, and they change in the future, have I not lost the point of extension? Say I wish to extend android:WindowTitle. From the source @

[android-developers] Emulator web access behind proxy using HttpURLConnection()

2011-09-01 Thread Miles
Hi, I'm behind a proxy and have set-up the correct proxy settings in the emulator. I am therefore able to browse the net using the emulator browser. But in my app when using HttpURLConnection to open an input stream to any website I get a connection timeout. This only happens in the emulator,

رد: [android-developers] Re: Android installer strange issue

2011-09-01 Thread kaka050099
خ Sent from my BlackBerry® wireless device from STC -Original Message- From: rich friedel rich.frie...@gmail.com Sender: android-developers@googlegroups.com Date: Wed, 31 Aug 2011 21:56:43 To: android-developers@googlegroups.com Reply-To: android-developers@googlegroups.com Subject:

[android-developers] GPS not work( GpsLocationProvider: native_start failed in startNavigating )

2011-09-01 Thread jabachan
はじめまして。 以下のコードでGPSとNETWORKの位置情報を取得しているのですが問題があります。 locationMgr = (LocationManager)context.getSystemService( Context.LOCATION_SERVICE ); LocationManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, 0, 0, listener, Looper.getMainLooper() ); LocationManager.requestLocationUpdates(

[android-developers] Can't delete Laucher2.apk

2011-09-01 Thread turkey zhu
I am repo Androd 2.3.3_r1 (Gingerbread) on ubuntu, and I build up my own android platform on iMX53 development board, and for a test, i replace initlogo, I want to replace HOME Laucher2.apk,and on windows emulator,I did the following things, use ADB tools, Android2.3 API lever10,I can not

[android-developers] Device differences in responding to monkeyrunner touch

2011-09-01 Thread Bourne Hacker
Samsung Gem allows monkeyrunner to touch() its home screen, but Motorola Droid 2 does not. Droid 2 DOES allow touch()es within at least certain apps (such as Minesweeper). I'm guessing this is not a bug but the manufacturer's decision. Have others seen this discrepancy? Can anyone explain what's

[android-developers] Charles Hudson's 6 Android Development Challenges (and how to tackle them)

2011-09-01 Thread Tyler York
Hey all, I was at the Android-i-fied event at Google SF last night, and heard Charles Hudson speak about the 6 Big Development Challenges for Android developers, and his suggestions on how to fix them. I thought it was a pretty good talk and wanted to share some key points with the Android

[android-developers] GPS doesn't work.

2011-09-01 Thread jabachan
I am acquiring the location information of GPS and NETWORK in the following codes. locationMgr = (LocationManager)context.getSystemService( Context.LOCATION_SERVICE ); LocationManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, 0, 0, listener, Looper.getMainLooper() );

Re: [android-developers] Creating a Widget without extendig AppWidgetProvider

2011-09-01 Thread Silvio Gustavo
I'm with the same problem. I'm developing a widget for Android 3.1 and I would like to know the actual size and based on this information, change the xml layout of my widget. Also, I would like to control the minimum and maximum size of the widget. On Tue, Aug 30, 2011 at 7:40 PM, Dianne Hackborn

[android-developers] NullPointer Exception creating MediaPlayer

2011-09-01 Thread Andrea Stagi
Hi all, I'm trying to stream from an url using this code MediaPlayer mediaPlayer = MediaPlayer.create(getApplicationContext(), Uri.parse(http:// voxsc1.somafm.com:8880)); mediaPlayer.start(); This code works on emulator, on my htc wildfire with 2.3, on another wildfire with 2.2

[android-developers] Can't activate breakpoint in Eclipse under Windows (Video)

2011-09-01 Thread vitagoni
I'm new in Eclipse and Android but not in Programming, particulary in C# under VS. Now 'm trying to play with Android under Win XP debugging environment. Can't get vreakpoint workable. Please, see the video: http://www.youtube.com/embed/WyRyVrrmXAE?hl=rufs=1 The breakpoint is crosslined and

[android-developers] Problem developing eclipse plugin

2011-09-01 Thread David Ribeiro
Hi, I am developing an eclipse plugin, and I am trying to use Android's ddmlib, which is exported by the plugin: com.android.ide.eclipse.ddms . The problem is: I added that plugin to the dependencies in the manifest, but when I try to use the classes contained in ddmlib jar, they aren't

[android-developers] Can't activate breakpoint in Eclipse under Windows (Video)

2011-09-01 Thread vitagoni
I'm new in Eclipse and Android but not in Programming, particulary in C# under VS. Now 'm trying to play with Android under Win XP debugging environment. Can't get breakpoint workable. Please, see the video: http://www.youtube.com/embed/WyRyVrrmXAE?hl=rufs=1 The breakpoint is crosslined and

[android-developers] Android's InputMethodService - how to get unicode characters?

2011-09-01 Thread Rob
Hi guys, I'm trying to develop a keyboard. This code nicely send letter A to the application, as it is associated with the code 29, as from here KeyEvent | Android Developers Code: int code = 29; // Key code constant: 'A' key. Constant Value: 29 (0x001d) KeyEvent k = new

[android-developers] Re: SDK Tools r12 causing aapt to fail

2011-09-01 Thread Raymond Chenon
On 28 juil, 15:48, Xavier Ducrohet x...@android.com wrote: This means that your custom style is referencing a parent that *will not* be valid once installed on a device. It'll referenced either another resources or none at all, and it won't do what you want. If you wish to reuse a style

[android-developers] Re: Contacts2.db is closed frequenty

2011-09-01 Thread gnibrE
found some related issues : http://code.google.com/p/android/issues/detail?id=8427 http://code.google.com/p/android/issues/detail?id=5669#c456 http://code.google.com/p/android/issues/detail?id=10127 if this bug still exists , what i can do to prevent this from happening again?uninstall

[android-developers] Calendar Event Location not Syncing Properly from Cloud to Phone

2011-09-01 Thread mbob
I have a calendar event (in my case an whole-day-event) with a location defined. When I delete the location on the web (Google Calendar), i.e. setting it to blank, this change does not sync to the Android phone (changing to something non-blank does sync however). Phone: HTC Desire with

[android-developers] Re: MapView OverlayItem

2011-09-01 Thread Stefan S
And how should I do that? I'm pretty new with java coding On 31 Aug., 18:00, TreKing treking...@gmail.com wrote: On Wed, Aug 31, 2011 at 12:56 AM, Stefan S shogu...@gmail.com wrote: So han can I listen to the onTap Event in the MapActivity-Class? Create your own callback.

[android-developers] Re: SE LiveView SDK Template app

2011-09-01 Thread Johan Abramsson
Basically, you can rename your classes and packages as you want to. What you need to keep intact is the interface package, i.e. com.sonyericsson.extras.liveview.IPluginServiceCallbackV1/ IPluginService And you need to keep track of your naming of the intents in the manifest and

[android-developers] Re: Calendar Event Location not Syncing Properly from Cloud to Phone

2011-09-01 Thread Zsolt Vasvari
How is this related to Android SDK development? On Sep 1, 3:54 pm, mbob mar...@ploeb.com wrote: I have a calendar event (in my case an whole-day-event) with a location defined. When I delete the location on the web (Google Calendar), i.e. setting it to blank, this change does not sync to the

[android-developers] Re: Removing unused resources.

2011-09-01 Thread imran ali
I don't think so... according to me, better to remove all images, then looks error, and add one by one images according to error, that will remove all unused images. On Sep 1, 10:45 am, Akhilesh Mani coffeewitha...@gmail.com wrote: I am looking for an efficient way to find out if a resource

Re: [android-developers] Re: i have problem about listview adding can any one help me?

2011-09-01 Thread Tawisak Ruksuwan
why i can not remove item on listview final ListView viewInfo = (ListView)findViewById(R.id.listView1); final SWFForeCastInfoLayoutAdapter adapter = new SWFForeCastInfoLayoutAdapter(this, data, data.getCurrentConditionData()); viewInfo.setAdapter(adapter);

[android-developers] I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
Logcat say error this line viewInfo.removeViewAt(positionToRemove); final ListView viewInfo = (ListView)findViewById(R.id.listView1); final SWFForeCastInfoLayoutAdapter adapter = new SWFForeCastInfoLayoutAdapter(this, data, data.getCurrentConditionData());

[android-developers] Alert input must show the keyboard.

2011-09-01 Thread sblantipodi
Hi all... I have this code to show an alert input. When a user click on some object I launch this alert input to let the user to input some data. To do it I use this code. void alertInputStr(String title, String message, int numeroCampoEditabile) { AlertDialog.Builder alertI = new

[android-developers] Re: I implement for delete row from listview but have force close

2011-09-01 Thread skink
On Sep 1, 11:06 am, Jhew SAN tawisak.ruksu...@gmail.com wrote: Logcat say error this line  viewInfo.removeViewAt(positionToRemove); final ListView viewInfo = (ListView)findViewById(R.id.listView1);         final SWFForeCastInfoLayoutAdapter adapter = new SWFForeCastInfoLayoutAdapter(this,

[android-developers] Re: NFC tech

2011-09-01 Thread Dominik
I usually look at http://www.nfcworld.com/nfc-phones-list/ to see which devices might have NFC inside. Dominik -- 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: I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
change from viewInfo.removeViewAt(positionToRemove); to what -- 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] Re: I implement for delete row from listview but have force close

2011-09-01 Thread skink
On Sep 1, 11:35 am, Jhew SAN tawisak.ruksu...@gmail.com wrote: change from  viewInfo.removeViewAt(positionToRemove);  to what What 'feeds' your list view? An adapter. If adapter has 5 items then list view will show 5 items. Then, now, if you want your list view to show 4 items you need to do

[android-developers] Re: I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
i will send my full source to ur mail what is ur mail -- 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] Graphics come out ugly on Nexus S after doing glRotate

2011-09-01 Thread Johannes Mario Ringheim
I am developing a 2D app in which I am using OpenGL ES to display the graphics. It is done in the most basic manner, by having textured quads and orthographic projection. It has worked very well, until I received my new Nexus S phone. On this device, but not on any other as far as I have seen,

[android-developers] Re: I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
i don't know. plz tell me -- 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+unsubscr...@googlegroups.com

[android-developers] Re: I implement for delete row from listview but have force close

2011-09-01 Thread skink
On Sep 1, 11:48 am, Jhew SAN tawisak.ruksu...@gmail.com wrote: i will send my full source to ur mail thanks, but I dont need it. I already told you twice what you have to do. what is ur mail -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
adap.remove(); don't have have only adapter.registerDataSetObserver(); -- 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] Re: Android installer strange issue

2011-09-01 Thread Sudha
Then eventually the progam will crash On Sep 1, 11:28 am, Sudha sudha...@gmail.com wrote: What I understood from your reply is that if you press OPEN new instaces of teh appln willbe getting created and if you press DONE and then start the app from menu , the appln should resume ? -- You

[android-developers] Should i resize the bitmap before adding to a ImageView or let the ImageView resize the Bitmap?

2011-09-01 Thread Benjamin
Hello friends, i have a simple question: Should i resize a bigger bitmap before adding to a ImageView or let the ImageView resize the Bitmap? What's the right way, regarding performance? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: I implement for delete row from listview but have force close

2011-09-01 Thread Jhew SAN
how can i change that line? -- 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] Re: I implement for delete row from listview but have force close

2011-09-01 Thread skink
Jhew SAN wrote: adap.remove(); don't have have only adapter.registerDataSetObserver(); Ok, find ArrayAdapter.java and see add/remove methids pskink -- 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] Question about Relative Layout

2011-09-01 Thread Ash
Hello All, I am trying to add a HorizontalScrollView to my layout with a left and right arrow image button on either side of the HorizontalScrollView. How can I specify the android:layout_xxx parameter so that I have the left arrow image button at the left, the right arrow image button at the

Re: [android-developers] Should i resize the bitmap before adding to a ImageView or let the ImageView resize the Bitmap?

2011-09-01 Thread Chirag Raval
Hello Benjamin You have to resize the bitmap before set to image view if its size is bigger, other wise sometime it gives memory out of exceed error. On Thu, Sep 1, 2011 at 3:34 PM, Benjamin benjaminru...@googlemail.comwrote: Hello friends, i have a simple question: Should i resize a bigger

[android-developers] Call BroadCast Receiver

2011-09-01 Thread Chirag Raval
Hello to ereryone I want to call Brodcast Receiver from my main activity when it satisfy the particular condition. How can i achieve this ? Please help to find this solution . Please give me proper example for that. Example --- if(condition) { Here i want to call broadcast receiver

Re: [android-developers] Re: MapView OverlayItem

2011-09-01 Thread TreKing
On Thu, Sep 1, 2011 at 3:20 AM, Stefan S shogu...@gmail.com wrote: And how should I do that? Google Java listener pattern and see what you find. The platform itself uses this pattern extensively so you've likely already seen it (ex: ClickListener).

[android-developers] Slow aapt generating R.java

2011-09-01 Thread b0b
I have project made of several Library projects and aapt on each invocation will hang for 10 seconds. from the debug output: ... many new resource id lines (over 200) appearing in the same second [2011-09-01 13:02:16 - ... ] (new resource id from resource1.xml) [2011-09-01 13:02:25 -

Re: [android-developers] Re: i have problem about listview adding can any one help me?

2011-09-01 Thread TreKing
On Thu, Sep 1, 2011 at 3:40 AM, Tawisak Ruksuwan tawisak.ruksu...@gmail.com wrote: i see logcat . It say error at this viewInfo.removeViewAt(positionToRemove) What error? - TreKing

[android-developers] Android autogenerated R file

2011-09-01 Thread LiTTle
Hi, I found a way to call the variables from R file which are generated automatically without using their names but through a for block. I believe that the algorithm is something like that. I don't say that this is the algorithm but I imagine it!

[android-developers] Card emulation in Nexus s without using Secure Element

2011-09-01 Thread sumit singhal
I am working in NFC trying to emulate a card using Nexus S in android gingerbread. I've read that gingerbread does not provide the api to do so and also the permissions in the kernel are hidden. There is a work around present by tweaking with the source. My question is - can I emulate the card by

Re: [android-developers] Verify EditText input when inputType = number?

2011-09-01 Thread TreKing
On Wed, Aug 31, 2011 at 4:20 PM, Conrad cgtyo...@gmail.com wrote: Is this necessarily true, or do I really need to do a test in code to confirm it is to avoid a possible NumberFormatException or something similar? Set it and test it.

Re: [android-developers] How to link multiple HTML pages in assets folder ?

2011-09-01 Thread TreKing
On Wed, Aug 31, 2011 at 2:03 PM, Harshani harshini...@gmail.com wrote: How can I link those two HTML pages? Did you try a basic relative anchor? (a href=test2.htmlClick Me/a) - TreKing

Re: [android-developers] Call BroadCast Receiver

2011-09-01 Thread MComputing Lab
You cant call a Broadcast Receiver from a class. Its called automatically when it receives the matching Broadcast. if you have written a piece of code inside an existing BroadcastReceiver, then port it to a class and use this class in your BroadcastReceiver as well as in your Activity. Regards,

Re: [android-developers] Android autogenerated R file

2011-09-01 Thread Mark Murphy
On Thu, Sep 1, 2011 at 7:24 AM, LiTTle littlep...@gmail.com wrote: Is this right? For the next 30 seconds, perhaps. Do you suggest to use it? Absolutely not. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog |

Re: [android-developers] Alert input must show the keyboard.

2011-09-01 Thread TreKing
On Thu, Sep 1, 2011 at 4:09 AM, sblantipodi perini.dav...@dpsoftware.orgwrote: Is it possible to display the alert input with the keyboard opened, without the needs to tap a second time to open the keyboard? Request focus on the EditText.

Re: [android-developers] Question about Relative Layout

2011-09-01 Thread Mark Murphy
On Thu, Sep 1, 2011 at 6:57 AM, Ash anan...@gmail.com wrote: I am trying to add a HorizontalScrollView to my layout with a left and right arrow image button on either side of the HorizontalScrollView. How can I specify the android:layout_xxx parameter so that I have the left arrow image button

Re: [android-developers] Problem developing eclipse plugin

2011-09-01 Thread Mark Murphy
This isn't really in the scope of this list. You might try the adt-dev Google Group. On Wed, Aug 31, 2011 at 5:16 AM, David Ribeiro skywalker@gmail.com wrote: Hi, I am developing an eclipse plugin, and I am trying to use Android's ddmlib, which is exported by the plugin:

Re: [android-developers] Creating a Widget without extendig AppWidgetProvider

2011-09-01 Thread Mark Murphy
On Wed, Aug 31, 2011 at 8:26 AM, Silvio Gustavo sgosan...@gmail.com wrote: I'm with the same problem. I'm developing a widget for Android 3.1 and I would like to know the actual size and based on this information, change the xml layout of my widget. Also, I would like to control the minimum

Re: [android-developers] Can't delete Laucher2.apk

2011-09-01 Thread Mark Murphy
Firmware questions belong on some other Google Group, probably one linked to off of http://source.android.com. This group is for Android SDK questions. On Wed, Aug 31, 2011 at 6:02 AM, turkey zhu turkey...@gmail.com wrote:    I am repo Androd 2.3.3_r1 (Gingerbread) on ubuntu, and I build up my

Re: [android-developers] Question about Relative Layout

2011-09-01 Thread TreKing
On Thu, Sep 1, 2011 at 5:57 AM, Ash anan...@gmail.com wrote: How can I specify the android:layout_xxx parameter so that I have the left arrow image button at the left, the right arrow image button at the right and the HorizontalScrollView in the middle of these image buttons. I would try:

Re: [android-developers] Android autogenerated R file

2011-09-01 Thread TreKing
On Thu, Sep 1, 2011 at 6:24 AM, LiTTle littlep...@gmail.com wrote: I found a way to call the variables from R file which are generated automatically without using their names but through a for block. And the purpose of this would be ... ?

Re: [android-developers] Google Removing Search Apps From Market?

2011-09-01 Thread Mark Murphy
On Wed, Aug 31, 2011 at 6:04 PM, GoogleIsEvil digitallyinspi...@gmail.com wrote: My search app that allows users to search through mature sites has been removed from the market. Please review the Android Market Terms and Conditions and the Android Market Developer Program Policies with

[android-developers] Strange problem with toggleSoftInput() in Android 2.3.3

2011-09-01 Thread blindfold
I recently upgraded the firmware of my HTC Desire from 2.2 to 2.3.3, and since then I find that after starting an Activity I need to call toggleSoftInput(InputMethodManager.SHOW_FORCED, 0); exactly *3* times before it pops up the soft keyboard. After that it works upon every call until I

Re: [android-developers] Call BroadCast Receiver

2011-09-01 Thread dnkoutso
You could also use sendBroadcast() from your Activity, which will trigger your BR. However, this might have more implication with respect to synchronous operation. I believe the sendBroadcast would be asynchronous and your BR will not execute immediately. Otherwise, I suggest doing what

[android-developers] Re: Android autogenerated R file

2011-09-01 Thread LiTTle
I can parse the variables I want from the R file without knowing the name of every variable! I could build an array that contains the variables! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Android autogenerated R file

2011-09-01 Thread TreKing
On Thu, Sep 1, 2011 at 7:54 AM, LiTTle littlep...@gmail.com wrote: I could build an array that contains the variables! OK. And again ... the purpose of that would be ... what? - TreKing

[android-developers] Re: Verify EditText input when inputType = number?

2011-09-01 Thread Conrad
So are you saying that it is possible to enter a non-number into such a field, and I do need to test for rigorousness? On Sep 1, 7:59 am, TreKing treking...@gmail.com wrote: On Wed, Aug 31, 2011 at 4:20 PM, Conrad cgtyo...@gmail.com wrote: Is this necessarily true, or do I really need to do a

[android-developers] Re: Android autogenerated R file

2011-09-01 Thread LiTTle
In the future maybe I am going to use a lot of string (specials for me) elements (now I use only 249 variables). But the problem is if I want to call every string I have to create over 100 'if' blocks. One 'if' block is going to be inside the other. But, now I know that the variable I want is the

Re: [android-developers] Re: Verify EditText input when inputType = number?

2011-09-01 Thread TreKing
On Thu, Sep 1, 2011 at 8:05 AM, Conrad cgtyo...@gmail.com wrote: So are you saying that it is possible to enter a non-number into such a field, and I do need to test for rigorousness? I'm saying set the attribute (inputType=number) then run your app and test it. If you can enter a non-number,

Re: [android-developers] Re: Android autogenerated R file

2011-09-01 Thread Mark Murphy
On Thu, Sep 1, 2011 at 9:08 AM, LiTTle littlep...@gmail.com wrote: In the future maybe I am going to use a lot of string (specials for me) elements (now I use only 249 variables). Why are they string-array resources? If you are planning on internationalizing them, use an XML resource, which

[android-developers] Re: AbsoluteLayout

2011-09-01 Thread Streets Of Boston
I have an iPhone app that needs conversion to Android ASAP. And just plain (attempts of) ports/conversions of iPhone apps into Android apps don't work. You will get a lousy rating on the Market. No one will use it or want to use it. And using an AbsoluteLayout to do so, is setting yourself up

Re: [android-developers] Re: Android autogenerated R file

2011-09-01 Thread TreKing
On Thu, Sep 1, 2011 at 8:08 AM, LiTTle littlep...@gmail.com wrote: But the problem is if I want to call every string I have to create over 100 'if' blocks. One 'if' block is going to be inside the other. But, now I know that the variable I want is the 31st for example, so I say to my code int

Re: [android-developers] Re: i have problem about listview adding can any one help me?

2011-09-01 Thread Tawisak Ruksuwan
when i click for remove item in listview . it is show force close msg 2011/9/1, TreKing treking...@gmail.com: On Thu, Sep 1, 2011 at 3:40 AM, Tawisak Ruksuwan tawisak.ruksu...@gmail.com wrote: i see logcat . It say error at this viewInfo.removeViewAt(positionToRemove) What error?

Re: [android-developers] Re: i have problem about listview adding can any one help me?

2011-09-01 Thread Mark Murphy
On Thu, Sep 1, 2011 at 9:17 AM, Tawisak Ruksuwan tawisak.ruksu...@gmail.com wrote: when i click for remove item in listview . it is show force close msg Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your force close msg.

Re: [android-developers] Re: i have problem about listview adding can any one help me?

2011-09-01 Thread TreKing
On Thu, Sep 1, 2011 at 8:17 AM, Tawisak Ruksuwan tawisak.ruksu...@gmail.com wrote: when i click for remove item in listview . it is show force close msg Use LogCat and your debugger to track down your problem. At the very least post a stack trace.

[android-developers] Re: Verify EditText input when inputType = number?

2011-09-01 Thread Conrad
Sorry for not being explicit here - I already did that, and I could not enter a non-number. But I'm sure I didn't test exhaustively. It would be nice if this were stated explicitly one way or the other in the docs. On Sep 1, 9:11 am, TreKing treking...@gmail.com wrote: On Thu, Sep 1, 2011 at

[android-developers] Re: Android autogenerated R file

2011-09-01 Thread LiTTle
I am using this xml file for array. Thanks for the conversation! Here is the whole problem. We have this website www.patra-city-guide.gr. Here we have some categories with subcategories with shops (31 for now). Every shop has address,site,mail etc. So actually I need an array that have these

[android-developers] Re: Android autogenerated R file

2011-09-01 Thread LiTTle
My answer is never uploaded! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: Android autogenerated R file

2011-09-01 Thread Mark Murphy
On Thu, Sep 1, 2011 at 9:28 AM, LiTTle littlep...@gmail.com wrote: And the R file is the faster because I tell: var street=R.array.FirstStreetShop+10 and the value returned to me in no time! What part of do not do that is beyond your understanding? If I use simple xml file it will be a big

[android-developers] code profiling with post_trace

2011-09-01 Thread ehsan azimzadeh
Hi I enable code profiling with press F9 in emulator then convert generated files with post_trace tool. This tool shows me number of executed dynamic instructions. My question is, what do instructions mean? ARM instructions or Dalvik bytecodes? which one? I want number and type of *executed

Re: [android-developers] Re: Android autogenerated R file

2011-09-01 Thread TreKing
On Thu, Sep 1, 2011 at 8:28 AM, LiTTle littlep...@gmail.com wrote: Do you have any good idea? Database? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app

  1   2   >