[android-developers] How do i launch system clock from broadcast receiver?

2010-07-29 Thread scadaguru
I am trying to launch system alarm clock on some broadcast receiver. It always force closes. Any idea? Thanks, SGuru -- 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: How to download apk file through android application

2010-07-29 Thread saikiran n
On Wed, Jul 28, 2010 at 4:13 PM, saikiran n saikiran@gmail.com wrote: Hi Can we download apk file which is in internet using android application I downloaded the pdf using the following program try { URL url = new URL(imageURL); File file = new File(fileName);

[android-developers] Manually signing the APK file

2010-07-29 Thread WindowsNT
After calling ant release, I need to sign the APK. How do APK files get signed? Entire file is signed and the detached signature is appended to the end? Is there a specific protocol on APK (zip) files signature that keytool uses and android understands ? Thanks. -- You received this message

[android-developers] Re: How to execute shell script file from android application

2010-07-29 Thread FrankG
IMHO their is no solution for this. Using setprop requires that the APP is signed with the platform cert. And this is good, because otherwise any app would be able to change any system property. Good luck ! Frank On 28 Jul., 16:43, Oscar oscar...@gmail.com wrote: That's the problem, you

[android-developers] Re: My experience with LVL and the precedence it sets

2010-07-29 Thread Mark Carter
I believe I'm using the default eclipse compiler warning settings and I got a bunch of unused import/instance variable warnings in my workspace when adding the LVL project. Furthermore, all the warnings were doubled up - once for the library project at the top level and once for the library

[android-developers] logcat is failing

2010-07-29 Thread qwesthead
I would like to have a simplified form of aLogcat. So, I am trying to use the logic in http://code.google.com/p/android-random/source/browse/trunk/Logcat/src/org/devtcg/tools/logcat/LogcatProcessor.java. however, when I run the same command: logcatProc = Runtime.getRuntime().exec(

[android-developers] Re: How do i launch system clock from broadcast receiver?

2010-07-29 Thread String
On Jul 29, 7:28 am, scadaguru scadag...@gmail.com wrote: I am trying to launch system alarm clock on some broadcast receiver. It always force closes. What's the error causing it to close? String -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Invoke services based on my permission.

2010-07-29 Thread Bhavya
Thanksworking as expected :) ./bhavya -- 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] Accessing @hide methods in the Android source code

2010-07-29 Thread Kwisatz
Is there any way we can access methods annotated with a @hide without changing the Android source code? Can we use reflection to do that? -- 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] Accessing @hide methods in the Android source code

2010-07-29 Thread Mark Murphy
On Thu, Jul 29, 2010 at 4:01 AM, Kwisatz rui.mtd.ro...@gmail.com wrote: Is there any way we can access methods annotated with a @hide without changing the Android source code? Please do not do this. Anything that is not part of the SDK is subject to change.

[android-developers] Refreshing the option menu items

2010-07-29 Thread Amit
Dear All, I have created an option menu which also has a sub menu. In the sub menu I have a setting for enabling/disabling images in my application based on the application level flag that i change based on the option being clicked. What I am observing is that when i click on the Menu and change

[android-developers] Problems with orientationchange

2010-07-29 Thread Robert
Hello, I have a tabactivity where my app is running in. One of the tabs needs to have landscape orientation, assume this is activity2, activity1 needs to have portrait-orientation. In activity1 I do have code like: public void onCreate(Bundle savedInstanceState) {

Re: [android-developers] Refreshing the option menu items

2010-07-29 Thread Mark Murphy
Use onPrepareOptionMenu(). On Thu, Jul 29, 2010 at 4:23 AM, Amit amitmishr...@gmail.com wrote: Dear All, I have created an option menu which also has a sub menu. In the sub menu I have a setting for enabling/disabling images in my application based on the application level flag that i change

[android-developers] Re: VideoView and SlidingDrawer problem

2010-07-29 Thread Sarwar Erfan
Hi, Seems like z order issue. Try this: 1. Add these imports to the Activity: import android.widget.SlidingDrawer; import android.widget.SlidingDrawer.OnDrawerCloseListener; 2. Add a class member variable in the Activity for the SlidingDrawer private SlidingDrawer mSlidingDrawer; 3. In

Re: [android-developers] API 1.5 to API 2.1

2010-07-29 Thread Kostya Vasilyev
Muhammad, I have a step by step guide here: http://kmansoft.wordpress.com/2010/05/05/supporting-devices-multires/ -- Kostya 29.07.2010 1:28, { Devdroid } пишет: On 28 July 2010 09:33, Muhammad Alizaandr...@gmail.com wrote: Hi All, I am working on an application which targets the

[android-developers] Re: Problems with orientationchange

2010-07-29 Thread Sarwar Erfan
Hi, Good day. Change the orientation (call setRequestedOrientation) inside overridden method of onStart, NOT inside onCreate. (do it in both Activity1 and Activity2) Regards Sarwar Erfan On Jul 29, 2:25 pm, Robert sebastianar...@hotmail.com wrote: Hello, I have a tabactivity where my app is

[android-developers] read contacts from the phone into our application

2010-07-29 Thread Ryan, Nguyen
Hi, I got one problem when I try to read the contacts on Android phone. If I don't sync my local contacts (local being the contacts stored on my phone) with my gmail contacts, I cannot read any contact from local contacts. However, if I sync my my local contacts with my gmail account, I can read

[android-developers] Re: Refreshing the option menu items

2010-07-29 Thread Amit
Thanks Mark, I have changed now to onPrepareOptionMenu and also deleting the whole menu group...Its working for me now. Thanks On Jul 29, 1:26 pm, Mark Murphy mmur...@commonsware.com wrote: Use onPrepareOptionMenu(). On Thu, Jul 29, 2010 at 4:23 AM, Amit amitmishr...@gmail.com wrote:

[android-developers] Re: Problems with orientationchange

2010-07-29 Thread Robert
Thanks Sarwar for your answer. But when I put this code into the onStart method. The orientation will always be Portrait. When I discard the if-part, I am getting the same problem as mentioned above. I realized now that, when the app enters the onStart the orientation is initally -1(thats why I

[android-developers] One Instrumentation Tests Two Activities In Two Processes?

2010-07-29 Thread Babimag
Does anyone have an idea how to do 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 To unsubscribe from this group, send email to

[android-developers] Re: Problems with orientationchange

2010-07-29 Thread Sarwar Erfan
Hi, The problem is, each time orientation is changed, Activity is destroyed and recreated (that means onCreate is called, later onStart is called). Now, when you change orientation inside onCreate, then orientation is changed, activity is recreated again --- this causes to onCreate to be called

[android-developers] No plan to support Netbeans?

2010-07-29 Thread sblantipodi
As title, I'm developing on every Java flavour, from JavaME to BB to Symbian Java to JavaSE to JavaEE etc... I know that Android isn't Java but I will like to develop to android using Netbeans... Is there some hope to see android plugin for netbeans officially mainteined by google? -- You

[android-developers] Re: Accessing @hide methods in the Android source code

2010-07-29 Thread Kwisatz
Hello Mark. Nice to hear from you. I understand your point. In my particular case, it's almost a desperation move. We invested a lot in our project and at the final stage, we discovered a bug in the Android SDK: http://code.google.com/p/android/issues/detail?id=5988 In comment 12 of that

[android-developers] Re: No plan to support Netbeans?

2010-07-29 Thread Maps.Huge.Info (Maps API Guru)
As Alexander Pope so eloquently put it Hope springs eternal... There's always hope, but little chance that anyone official will tell you what may happen in the future. Google usually tells us things just as they happen, not when they might, or when. In the meantime, you might search Google for

Re: [android-developers] No plan to support Netbeans?

2010-07-29 Thread { Devdroid }
On 29 July 2010 12:34, sblantipodi perini.dav...@dpsoftware.org wrote: I know that Android isn't Java You know, you say? What about checking specs first: http://developer.android.com/guide/basics/what-is-android.html -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Accessing @hide methods in the Android source code

2010-07-29 Thread Mark Murphy
On Thu, Jul 29, 2010 at 6:35 AM, Kwisatz rui.mtd.ro...@gmail.com wrote: In comment 12 of that thread, a guy from Google itself suggests that we must implement our own contacts editor. So, the easy and fastest way of doing that is to replicate the Android Contacts application, since it's open

[android-developers] Long press on Home key event

2010-07-29 Thread Nithin
Hi, Is there any way to get the long press on home key event ?? Nithin -- 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] Long press on Home key event

2010-07-29 Thread Mark Murphy
On Thu, Jul 29, 2010 at 6:58 AM, Nithin nithin.war...@gmail.com wrote: Is there any way to get the long press on home key event ?? No, sorry. All HOME key events are internal to the OS. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] android 2.2 open swf in browser

2010-07-29 Thread Raju Bitter
You have to use WebSettings to activate the plugins for a WebView. WebSettings settings = webView.getSettings(); settings.setPluginState(PluginState.ON); On Mon, Jul 5, 2010 at 9:15 PM, timeToEat chen.yz2...@gmail.com wrote: I have a swf file on the sdcard and I wrote a html

[android-developers] Re: Problems with orientationchange

2010-07-29 Thread Sarwar Erfan
Hi, I have tested the proposed code and it works. I have mentioned details here: http://erfanonline.blogspot.com/2010/07/android-use-different-orientation-for.html You can download sample source from there also. Regards Sarwar Erfan On Jul 29, 4:01 pm, Sarwar Erfan erfanonl...@gmail.com wrote:

[android-developers] Re: Receiving System Intents with Custom Broadcast Receiver

2010-07-29 Thread a...@tw
1) Is INPUT_METHOD_CHANGED the correct intent to receive on to determine if the user is attempting to use the keyboard, and if not, what would be the proper method to use to monitor to see if the user opens up the keyboard, and == onConfigurationChanged(Configuration conf) could give you the

[android-developers] Create new process

2010-07-29 Thread David Given
In order to keep some native code happy, I need to launch an activity in a new process. Does anyone know how to do this? I can set the activity's process attribute in the manifest, but this will cause *all* instances of the activity to appear in the *same* process, which I can't have. I'm

[android-developers] A problem in Tabbar implementation ?

2010-07-29 Thread sagare
Hi All, I am having a problem in tabbar. As per what I know when i use TabHost each activity is associated with a particular tab i.e. we have a separate activity for showing view of each tab which is fine with me but what i want to know is what if one of my activity on a particular tab

[android-developers] Re: i can't send email in UncaughtExceptionHandler for Service

2010-07-29 Thread codefish
thank you for your reply I added try/catch code but I got no exception and it still doesn't send a email ;( try { _context.startActivity(i); Log.d(LOG_TAG, startActivity() called); } catch (Exception e) { e.printStackTrace();

Re: [android-developers] Create new process

2010-07-29 Thread Mark Murphy
On Thu, Jul 29, 2010 at 7:23 AM, David Given d...@cowlark.com wrote: In order to keep some native code happy, I need to launch an activity in a new process. Does anyone know how to do this? I can set the activity's process attribute in the manifest, but this will cause *all* instances of the

[android-developers] Re: Long press on Home key event

2010-07-29 Thread Nithin
Thanks Mark.. On Jul 29, 4:00 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jul 29, 2010 at 6:58 AM, Nithin nithin.war...@gmail.com wrote: Is there any way to get the long press on home key event ?? No, sorry. All HOME key events are internal to the OS. -- Mark Murphy (a

[android-developers] Is it possible to have a single ui element instance across the application?

2010-07-29 Thread sagare
Hi All, I have created a custom component and i want it to be singleton in my application and i want all actvities my application to have this custom component which is singleton. how can i achieve this? Please help me in this regard Thanks and Regards, Sagar -- You received this

[android-developers] Re: i can't send email in UncaughtExceptionHandler for Service

2010-07-29 Thread Joseph Earl
Here's your error: java.lang.NullPointerException at com.my.service.onCreate(ISPService.java line:230) Take a look at line 230 of ISPService.java and try and see what could possibly be null. On Jul 29, 12:45 pm, codefish 92soc...@gmail.com wrote: thank you for your reply I added try/catch

Re: [android-developers] Is it possible to have a single ui element instance across the application?

2010-07-29 Thread Mark Murphy
On Thu, Jul 29, 2010 at 8:05 AM, sagare sagar.ekb...@gmail.com wrote:      I have created a custom component and i want it to be singleton in my application and i want all actvities my application to have this custom component which is singleton. how can i achieve this? Please do not do this.

[android-developers] Re: Jar in Jar

2010-07-29 Thread DanH
If you put the inner jar in the outer jar, every time you have to access the inner jar you'll first have to extract it. Not cheap. Not simple. On Jul 29, 12:33 am, zohar lerman lirazo...@gmail.com wrote: I dont need to access members of the inner jar from outsize just from my code that in the

[android-developers] R.java file of my project is deleted.......how to get it back

2010-07-29 Thread A N K ! T
hey R.java has deleted autometically...how to get it back -- A N K ! T.. -- 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: Application is not licensed...

2010-07-29 Thread sblantipodi
This board doesn't let me answer you. On Jul 29, 1:45 am, Trevor Johns trevorjo...@google.com wrote: It doesn't need to be published, but it does need to be uploaded to Android Market. (It can be in the unpublished or draft state.) This is because Android Market needs a way to look up the RSA

[android-developers] Re: Application is not licensed...

2010-07-29 Thread sblantipodi
W/ResourceType( 57): No package identifier when getting value for resource number 0x7f060001 I/ActivityManager( 57): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCH ER] flg=0x1020 cmp=packageName/.AndroidMarket } I/ActivityManager( 57):

[android-developers] Re: No plan to support Netbeans?

2010-07-29 Thread Tomáš Hubálek
I'm using NetBeans at work daily for more than three years (creating swing based applications) and I adapted to Eclipse really quickly by mapping 10 most useful keyboard shortcuts in Eclipse. Rest of the IDE functionality seems very similar to me. I think it is useless to support more than one

Re: [android-developers] Create new process

2010-07-29 Thread David Given
On 29/07/10 12:37, Mark Murphy wrote: [...] You're saying you want to use *several processes* for one app? Not one, not two, but many? That is correct. It's an environment for running alien applications; each application goes in a process, but they're all instances of the same activity. Believe

[android-developers] How to use internet in htc mobile if net is in my pc

2010-07-29 Thread Sohan badaya
Hi, Can i use internet in my htc mobile by connection to my pc if net is available in my pc. I can do reverse by option of Internet sharing. Thanks, Sohan Badaya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] IOException on geocoder.getFromLocationName

2010-07-29 Thread Prasanna Perera
Hello, I am trying to get the geo codes for an address. I am using: Geocoder geocoder = new Geocoder(GeoNoteEditor.this, Locale .getDefault()); ListAddress addressList = null; addressList = geocoder.getFromLocationName(addressString, 1); The problem is

Re: [android-developers] R.java file of my project is deleted.......how to get it back

2010-07-29 Thread Alexey Vdovin
On Thu, Jul 29, 2010 at 4:19 PM, A N K ! T ankit.awasth...@gmail.com wrote: hey   R.java has deleted autometically...how to get it back --  A N K ! T.. Clean the project. Menu [Project] - [Clean...] - Select you project - [OK] Project will rebuild automatically, if not, chek

Re: [android-developers] R.java file of my project is deleted.......how to get it back

2010-07-29 Thread Llies Meridja
R.java is generated automagically, you don't need to create or update it, the sdk will do that for you. If you're using eclipse just refresh your imports ctrl+shift+o to reimport the correct one, the one with your package appended to it. ll...@meridja.com A N K ! T ankit.awasth...@gmail.com

Re: [android-developers] Is it possible to have a single ui element instance across the application?

2010-07-29 Thread Llies Meridja
It doesnt seem possible, all code I've looked at from Google applications repeats the common portions of activity display in all layout files. ll...@meridja.com Mark Murphy mmur...@commonsware.com wrote: On Thu, Jul 29, 2010 at 8:05 AM, sagare sagar.ekb...@gmail.com wrote:      I have created

Re: [android-developers] Re: No plan to support Netbeans?

2010-07-29 Thread Llies Meridja
I agree... ll...@meridja.com Tomáš Hubálek tom.huba...@gmail.com wrote: I'm using NetBeans at work daily for more than three years (creating swing based applications) and I adapted to Eclipse really quickly by mapping 10 most useful keyboard shortcuts in Eclipse. Rest of the IDE functionality

[android-developers] Nexus One for developers

2010-07-29 Thread Rafael Martins
Does anyone know when will be possible to buy the Nexus One from the market as a registered developer? -- 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

[android-developers] Re: Nexus One for developers

2010-07-29 Thread Mathias Lin
It's already on the market long time ago. You can buy it regardless if you're a developer or not. I.e. http://www.expansys.com/d.aspx?i=193858 Maybe not in local stores in your country, but definitely alternative online markets than the Google N1 website itself. Where are you based? On Jul 29,

[android-developers] Re: Is it possible to have a single ui element instance across the application?

2010-07-29 Thread sagare
HI all, I want this coz i am trying to create a ui element which has to maintain state and there will be only one such ui element accross activities any way? Thanks and Regards, Sagar On Jul 29, 5:58 pm, Llies Meridja ll...@meridja.com wrote: It doesnt seem possible, all code I've looked at

[android-developers] Re: Nexus One for developers

2010-07-29 Thread Rafael Martins
In Brazil. But I'm looking for a Nexus to developers like Android Dev Phone 2 (HTC Magic) in Android Market (I'm a registered developer). It's available to you? Thanks. On 29 jul, 10:16, Mathias Lin m...@mathiaslin.com wrote: It's already on the market long time ago. You can buy it regardless

[android-developers] TabView and other content in the same activity?

2010-07-29 Thread Yasin YILDIRIM
Hi all, I have a problem with TabView. I want my activity's layout look like this: -- | - | | || | | |LINEAR LAYOUT | | | || | |

[android-developers] Emulator, forcing portrait mode

2010-07-29 Thread Viktor Linder
I have android:screenOrientation=portrait set for my activity. Creating an AVD with resolution 800x480 and running my activity, the GLSurfaceView is created with dimensions 800x480 (ie. not rotated and width height). I would expect it to be created with dimensions 480x800 and be rotated 90

[android-developers] Re: Application is not licensed...

2010-07-29 Thread sblantipodi
The strange things is that if I click on the Buy App button from your sample, I got a 404 error... -_- On Jul 29, 1:45 am, Trevor Johns trevorjo...@google.com wrote: It doesn't need to be published, but it does need to be uploaded to Android Market. (It can be in the unpublished or draft

Re: [android-developers] Re: Nexus One for developers

2010-07-29 Thread { Devdroid }
But I'm looking for a Nexus to developers like Android Dev Phone 2 (HTC Magic) in Android Market (I'm a registered developer). It's available to you?  Thanks. There's just Dev Phone 2. So if by dev phone you mostly means lower price than SRP, then sorry - no good news as of now. As for other

[android-developers] Re: Nexus One for developers

2010-07-29 Thread Rafael Martins
OK. I was asking because I've heard that the Nexus was available for developers and for me there's just ADP2. I wanted to check if this is because I'm brazilian or not. Thanks! On Jul 29, 10:41 am, { Devdroid } webnet.andr...@gmail.com wrote: But I'm looking for a Nexus to developers like

[android-developers] Re: Even with Min SDK version, building app against 2.2 breaks 1.5?

2010-07-29 Thread Michael Burton
Okay, so I followed the instructions in this thread as far as I'm able to tell but I'm getting a FileNotFoundException whenever the 1.5 emulator tries to access a particular image in the drawable directory. I have two drawable directories: drawable and drawable- hdpi-v4. Any idea why this

[android-developers] Heads up, hold off updating to Java 1.6.0_21 on your dev machine

2010-07-29 Thread JP
Looks like a recent change in Java 1.6.0_21 causes a problem with Eclipse (and other programs) http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6969236 -- 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] Shared library

2010-07-29 Thread { Devdroid }
Hi is there a way to build shared library (written in Java so no NDK touched) that can be linked at runtime? I do not mean things like OpenIntent nor libraries linked at build time, but say separate apk one can get from market and all other apps can use it like it can be done on other platforms?

[android-developers] Showing the writing keypad by default

2010-07-29 Thread Amit
Dear All, I have created an edit text. Currently the writing keypad is made visible when i click on it. Is there a possibility where I can make the writing keypad visible from starting itself i.e. no need to click on the edit text view. Thanks in advance. Amit -- You received this message

[android-developers] What is the best way to handle Images?

2010-07-29 Thread Sohan badaya
Hi All, I wrote a application that load images from facebook and i show in lmageview, using this below code. InputStream object = myDataFromServer; Bitmap bmpImage=BitmapFactory.decodeStream(object);

[android-developers] Re: Shared library

2010-07-29 Thread James Wang
Platform library is a choice but I do not think it can be distributed by Market. -- 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] use-library causes java.lang.ClassCastException when both apks loaded in one process

2010-07-29 Thread James Wang
We have two apks A and B which both import one platform library by use- library in AndroidManifest. And they have the same android:process so they run in the same process. When A is finished and B is started, we got ClassCastException which happens like codes below: CustomedView view =

[android-developers] finish() at onStop causes ANR

2010-07-29 Thread James Wang
We have two apks A and B. A starts B at onBackPressed. Doing as steps below can make ANR: 1)starts emulator and A; 2)put one finger on A and hold on it; 3)press ESC to do back key action and B is started; 4)release finger on B ANR will happens if we call finish() at onStop. And if we call

[android-developers] XML issue

2010-07-29 Thread Pedro Teixeira
Hello there, I've been going on and on with my XML file and I can't seem to find any problem... The file doesn't show any problem in the code but there's the red box on the right which reads: Multiple annotations found at this line: - The processing instruction target matching

[android-developers] Checking to See if I directory Exsits

2010-07-29 Thread Justin
I have a string called extStorageDirectory which is set to my SD Card and then /mypics, I can then save a picture in to this directory, but only if the directory exsists. So how do I check to see if the directory exsits, and if it doesn't creates the directory? Thanks in advance ;-) -- You

[android-developers] Maps API - controlling size of streets, font?

2010-07-29 Thread JP
Out of the box, MapView's presentation of streets and their labels (street names) is rather small-ish. Is there any way to control this? Comparing a MapView-based app against Google's Maps app, the difference is rather obvious, in particular when zooming out. Has anybody found a switch to modify

Re: [android-developers] Checking to See if I directory Exsits

2010-07-29 Thread { Devdroid }
On 29 July 2010 17:16, Justin justinbrett1...@gmail.com wrote: So how do I check to see if the directory exsits, and if it doesn't creates the directory? http://tinyurl.com/2cnd5o3 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: Shared library

2010-07-29 Thread { Devdroid }
On 29 July 2010 16:46, James Wang jameswangc...@gmail.com wrote: Platform library is a choice but I do not think it can be distributed by Market. Thanks, that's what I thought. Distribution is not a problem but I expect user won't be able to install such (unless rooted). Damn, all my attempts

[android-developers] Calling view from activity’s count down timer

2010-07-29 Thread ranjan ar
Hello, I have a class ViewforRed which extends View and have declared it in main.xml , I have an main activity and would like to call the ViewforRed from within the countdown timer's onTick. How can I do this. Any pointers or hints are appreciated. ?xml version=1.0 encoding=utf-8? TableLayout

[android-developers] Re: Creating the request to a webservice by kSoap2

2010-07-29 Thread YNC
It's much easy to use SIMPLE Xml Serialization framework instead of KSOAP2. On Jul 22, 10:27 pm, YNC yu.chu...@gmail.com wrote: Finally, I am able to construct the request and got the right response. The request has been constructed by chaining the Element classes each other. As far I

[android-developers] Re: Android Market Licensing: Now Available!

2010-07-29 Thread sblantipodi
With the new LVL we can have only one build for Free trial and for Full version, it's really find your adjectives that we need to upload two identical copyes of the same software with different package name, don't you think? On Jul 28, 6:01 pm, Joseph Earl joseph.w.e...@gmail.com wrote: Not

[android-developers] Text blinking effect TextView

2010-07-29 Thread Huynh Ngoc Vu Nguyen
Hi all, Please let me know! How to make text blinking effect in TextView? I am using Android SDK 2.2. Thanks, Best regards, Nguyen, -- Huynh Ngoc Vu Nguyen Add: Duy Xuyên - Quang Nam E-mail: vunguye...@gmail.com Phone: 0935102789 -- You received this message because you are subscribed to

Re: [android-developers] XML issue

2010-07-29 Thread Kostya Vasilyev
Eclipse's XML editor sometimes goes crazy if you make a lot of changes. Try deleting these errors from the error window. If they don't reappear, then it's just one of those glitches. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 29.07.2010 19:15 пользователь Pedro Teixeira

[android-developers] Re: XML issue

2010-07-29 Thread DanH
Cut out chunks until it passes, then add stuff back a little at a time until you get the problem again. On Jul 29, 10:15 am, Pedro Teixeira pedroteixeir...@gmail.com wrote: Hello there, I've been going on and on with my XML file and I can't seem to find any problem... The file doesn't show

Re: [android-developers] Re: Shared library

2010-07-29 Thread Kostya Vasilyev
Make the library interface be intent-based, and there you have it. Just an .apk without main activity. As added bonuses, it can contain resources and be distributed and upgraded via Market. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 29.07.2010 19:25 пользователь { Devdroid }

RE: [android-developers] Re: XML issue

2010-07-29 Thread Tommy
RadioButton android:text=Facebook android:id=@+id/facebook android:layout_height=wrap_content android:layout_toRightOf=@+id/picpreview android:layout_width=wrap_content android:layout_alignLeft=@id/email android:layout_below=@+id/email

[android-developers] Re: Checking to See if I directory Exsits

2010-07-29 Thread jeffro
public static boolean TrackmasterDirectoryCheck(boolean makeDir){ File trackmasterDirectory = new File(Constants.SYSTEM_TRACKMASTER_DIR); if(makeDir!trackmasterDirectory.exists()){ trackmasterDirectory.mkdir();

[android-developers] Re: How to pass geopoint location to Google turn-by-turn navigation

2010-07-29 Thread jeffro
http://groups.google.com/group/android-developers/browse_thread/thread/83d2803f799c6f5f Jeff Visit Trackaroo.com! Trackmaster - Motorsports Lap Timer Dynomaster - Performance Dyno On Jul 28, 7:12 am, Ethan V. Mateja ethan.mat...@gmail.com wrote:   I am trying to pass location data from my

[android-developers] Emulate android preference category look and feel

2010-07-29 Thread Premier
hello, i like title bar style in android preference category. In my activity (no preferenceactivity) i want to use same style, how i can do? Thanks. -- 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: XML issue

2010-07-29 Thread Pedro Teixeira
Thank you for your replies. @Toomy: I added the + in all the missing places and still didn't solved. @Kostya: I actually don't have any errors to erase, eclipse allows me to run it. I debugged it and this is the error I get: android.view.InflateException: Binary XML file line #19: Error

RE: [android-developers] Re: XML issue

2010-07-29 Thread Tommy
Hm thats weirdYou don't happen to have any other controls in your app with the same ID (@+id/header) do you? From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Pedro Teixeira Sent: Thursday, July 29, 2010 1:19 PM To:

Re: [android-developers] Re: XML issue

2010-07-29 Thread Kostya Vasilyev
Have you tried cleaning the project? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 29.07.2010 21:22 пользователь Pedro Teixeira pedroteixeir...@gmail.com написал: Thank you for your replies. @Toomy: I added the + in all the missing places and still didn't solved. @Kostya: I actually

[android-developers] disable picture snapshot after calling Camera.takePicture()

2010-07-29 Thread Noah
Hey everyone, I'm trying to determine if it's possible to disable the snapshot that is displayed after you call Camera.takePicture(). I've scoured the camera documentation, and can't find a way to disable it. The problem I'm facing is that I am displaying the camera preview at fullscreen, and the

[android-developers] Split line of text into few lines

2010-07-29 Thread Grzegorz Ae
Hi, I'm wondering how can I split single line text into few lines. I need it for game. I want to make it in canvas. It will be notification popup, but sometimes text is too long (I draw text canvas.drawText()), and I need to split it and draw in few lines in rows. Anyone knows a good solution? I

RE: [android-developers] Split line of text into few lines

2010-07-29 Thread Tommy
Store the original in a string then break the original string down into three parts using string.substring() ? -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Grzegorz Ae Sent: Thursday, July 29, 2010 1:53 PM To:

Re: [android-developers] Split line of text into few lines

2010-07-29 Thread Marc Petit-Huguenin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If your concern is to split the line at a word boundary, you may want to look at java.text.BreakIterator. On 07/29/2010 10:52 AM, Grzegorz Ae wrote: Hi, I'm wondering how can I split single line text into few lines. I need it for game. I want to

Re: [android-developers] Re: Is it possible to have a single ui element instance across the application?

2010-07-29 Thread TreKing
On Thu, Jul 29, 2010 at 8:27 AM, sagare sagar.ekb...@gmail.com wrote: I want this coz i am trying to create a ui element which has to maintain state and there will be only one such ui element accross activities any way? You could ... a) save the state of the control in static data, then

[android-developers] Re: Split line of text into few lines

2010-07-29 Thread DanH
Depends a lot on whether you just want to split by character count, or rather by line width, given a specific font. On Jul 29, 12:52 pm, Grzegorz Ae grzegorz.m...@gmail.com wrote: Hi, I'm wondering how can I split single line text into few lines. I need it for game. I want to make it in

[android-developers] Re: config.properties

2010-07-29 Thread kypriakos
Gotcha - I think some of these Jars contain classes that allow the paths to resources to be fed to them in which case I can control that by first generating them using the appropriate methods under Android. For the rest I will rewrite or replace. Thanks. On Jul 29, 1:37 am, Mark Murphy

Re: [android-developers] IOException on geocoder.getFromLocationName

2010-07-29 Thread TreKing
On Thu, Jul 29, 2010 at 7:49 AM, Prasanna Perera prasanna.per...@gmail.comwrote: How do I prevent the IOException from happening? Step 1: Read the documentation to determine when this exception gets thrown:

[android-developers] Re: XML issue

2010-07-29 Thread DanH
You generally shouldn't use @+ except on the android:id attribute. The usage of @+ is very poorly understood, from what I've seen. But it's not clear that this has anything to do with the problem at hand. On Jul 29, 10:15 am, Pedro Teixeira pedroteixeir...@gmail.com wrote: Hello there, I've

[android-developers] Re: Possible to gather application logs at runtime?

2010-07-29 Thread Jin Chiu
The log collector app looks really interesting. I presume the logcat utility is part of the standard system image and should be available on most Android devices? Also, how big is the default logcat buffer, or how do I find out? On Jul 19, 3:03 pm, joebowbeer joe.bowb...@gmail.com wrote: The Log

Re: [android-developers] finish() at onStop causes ANR

2010-07-29 Thread TreKing
On Thu, Jul 29, 2010 at 10:09 AM, James Wang jameswangc...@gmail.comwrote: A starts B at onBackPressed. ANR will happens if we call finish() at onStop. You're starting an activity in response to the button that's supposed to kill activities? And you're calling finish() in a life cycle method

[android-developers] Re: Speech recognition without connecting to google?

2010-07-29 Thread Kritz
I have been trying this exact same thing. The application I am creating only have a few simple commands and doing the recognition locally on the phone would produce much quicker results. I downloaded the VoiceDailer application from http://android.git.kernel.org/, but the code uses a Recognizer

Re: [android-developers] Re: XML issue

2010-07-29 Thread Llies Meridja
When eclipse misbehaves I normally restart... ll...@meridja.com Kostya Vasilyev kmans...@gmail.com wrote: Have you tried cleaning the project? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 29.07.2010 21:22 пользователь Pedro Teixeira pedroteixeir...@gmail.com написал: Thank you for

  1   2   >