[android-developers] W

2012-02-11 Thread Farhan Khurshid
-- 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 For more options, visit

[android-developers] Re: control micro-controller or any Hardware

2012-02-11 Thread al
There are basically three ways: 1) If you can constrict it to Android devices with USB host capability and Android 3.1 (basically good android tablets), you can use the USB APIs with the android device as Master (see http://developer.android.com/sdk/android-3.1.html, section USB APIs). 2) If

[android-developers] Re: DLL equivalent in android

2012-02-11 Thread Doug
On Feb 9, 1:35 pm, New Developer secur...@isscp.com wrote: For further insight, under windows I used a code within the .exe which said which modules were available then based on the code it checked to see if those .dll were present.  If so, then they were loaded and added items to the main

[android-developers] Did i loose my application details

2012-02-11 Thread Kristoffer
Hello. I did upload an .apk and added all info about my app added two languages and added text for both. i pushed save but i did not push publish (wasent sure if i wanted to publish it on the market just yet.) After i had pushed save i closet the window and entered to my developer console but i

[android-developers] Re: In App Billing RESULT_ERROR

2012-02-11 Thread develo...@pawprintgames.com
Sorry to bump this post, but I wondered if anyone had any thoughts on this issue? My analytics are now showing that my failures count in at: 323 times : RESULT_ERROR 019 times : RESULT_SERVICE_UNAVAILABLE I also have around a dozen or less successes and around 2.5k cancels. I can appreciate that

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-11 Thread skink
momo wrote: I'm working on a custom tween effect targeting Android 2.2. This is not a straight View animation (many things are happening based on the progress of the tween), so the Animation classes available in 2.2 aren't sufficient (apparently Animator does this but is not available).

[android-developers] Button enabled issue

2012-02-11 Thread Raju Gaddam
Hi iam disable button in xml .how to enable button from my activity class in XMl i write like this android:visibility=invisible in my activity button.setEnabled(true); But button is not visible please any one help me -- You received this message because you are subscribed to the Google

[android-developers] Re: Button enabled issue

2012-02-11 Thread skink
Raju Gaddam wrote: Hi iam disable button in xml .how to enable button from my activity class in XMl i write like this android:visibility=invisible in my activity button.setEnabled(true); But button is not visible please any one help me setEnabled controls enabled attribute not

Re: [android-developers] Button enabled issue

2012-02-11 Thread T.M.S.VIJAYKUMARR
button.setVisibility(View.VISIBLE); try this one it will help you On Sat, Feb 11, 2012 at 4:12 PM, Raju Gaddam gaddam967...@gmail.com wrote: Hi iam disable button in xml .how to enable button from my activity class in XMl i write like this android:visibility=invisible in my activity

[android-developers] Modify Audio Settings when my phone gets a call from a specific number

2012-02-11 Thread Nitin Sethi
Hi All, I have been trying very hard to get it work in my Gingerbread 2.3.5 phone but with no success. I have read all the posts and have come up with the below code which works very rarely. I suspect it has permissions issue but could not zero in on the issue which is bugging me for long. My

[android-developers] Re: Did i loose my application details

2012-02-11 Thread Kristoffer
Well it just toke some time to show up, so i did everything just right. On 11 Feb, 11:30, Kristoffer kris.isak.v...@gmail.com wrote: Hello. I did upload an .apk and added all info about my app added two languages and added text for both. i pushed save but i did not push publish (wasent sure

[android-developers] Re: NFC detection of tag with NDEF URL always launch browser

2012-02-11 Thread Michael Roland
Hallo, to get your app into the activity chooser for URLs you could possibly use an intent filter that matches the one that is used by the web browser: (I have no Android 4.0* at the moment, so I could not test if this works.) intent-filter android:priority=-101 action

Re: [android-developers] Re: NFC Secure Element

2012-02-11 Thread Michael Roland
Hallo malls, I could listen to AID_SELECTED event from NfcService. I am trying to send data to SE. I get error that External RF Field detected, what does this mean. It means that you are trying to access the secure element from two sides simultaneously (from an external reader and from the

[android-developers] receiving bluetooth data in android application

2012-02-11 Thread Narendra Singh Rathore
Hi all... I am facing problem in using Bluetooth in my app. Here I just want to get some sample for *receiving BlueTooth data in my app* . I am newbie for using Bluetooth. and will be very thankful if someone provide me any guidance or sample to get started. I have checked an example of

[android-developers] Is it possible to know how users found your app.

2012-02-11 Thread decastro
I am just starting out as an app developer and looking into possible marketing options. I may try experimenting with a few different ideas - but I am wondering if I will be able to tell how each idea is working. One key issue is knowing if people are downloading the app because an existing user

[android-developers] Re: Prevent image from being scaled in ImageView

2012-02-11 Thread Doug Gordon
Are you saying that the X gets scaled up to the full size of the ImageView as though the transparent border were not there? I have an ImageView that displays photos in their native pixel dimensions up to a max size by doing this: ImageView android:id=@+id/photo

[android-developers] Re: Modify Audio Settings when my phone gets a call from a specific number

2012-02-11 Thread Nitin Sethi
Hi All, I could finally sort out this issue. It so turns out that the Broadcast Intent i want to receive doesn't linger for long enough for your receiver to consume it and process it. In technical words, the intent is NOT STICKY. Hence, I had to get the state using the method getCallState() to

[android-developers] how to save high-score in database

2012-02-11 Thread Mohd Arshi Khan
I want to save my game high-score with update existing user score in sqlite database. I'm facing problem for update only score of existing user please provide me a good highscore class. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: Modify Audio Settings when my phone gets a call from a specific number

2012-02-11 Thread Jagruti Sangani
Canyou please post the cade about getcallstate() On Sat, Feb 11, 2012 at 6:16 PM, Nitin Sethi sethi.5...@gmail.com wrote: Hi All, I could finally sort out this issue. It so turns out that the Broadcast Intent i want to receive doesn't linger for long enough for your receiver to consume it

[android-developers] Why are new apps not featured on Android market anymore?

2012-02-11 Thread MobileVisuals
New and updated apps were always featured before. You could go to Live wallpapers, then choose new. You would then see all the apps, which were new and recently updated. The new section were updated several times each day. This is not the case now. The same apps are shown. I see the same apps

Re: [android-developers] receiving bluetooth data in android application

2012-02-11 Thread Kristopher Micinski
Unfortunately the BluetoothChat example is about the simplest one there is, once the connection is established you get an RFCOMM socket. If you're new at it, you can pretty much treat this like a regular socket. So if you're confused I'd suggest you first read up on socket programming (the BTC

Re: [android-developers] Re: DLL equivalent in android

2012-02-11 Thread Kristopher Micinski
On Sat, Feb 11, 2012 at 5:10 AM, Doug beafd...@gmail.com wrote: On Feb 9, 1:35 pm, New Developer secur...@isscp.com wrote: For further insight, under windows I used a code within the .exe which said which modules were available then based on the code it checked to see if those .dll were

Re: [android-developers] Is it possible to know how users found your app.

2012-02-11 Thread Kristopher Micinski
On Sat, Feb 11, 2012 at 7:19 AM, decastro reis...@gmail.com wrote: I am just starting out as an app developer and looking into possible marketing options. I may try experimenting with a few different ideas - but I am wondering if I will be able to tell how each idea is working. One key issue

Re: [android-developers] Is it possible to know how users found your app.

2012-02-11 Thread Nikolay Elenkov
On Sun, Feb 12, 2012 at 12:58 AM, Kristopher Micinski krismicin...@gmail.com wrote: On Sat, Feb 11, 2012 at 7:19 AM, decastro reis...@gmail.com wrote: I am just starting out as an app developer and looking into possible marketing options. I may try experimenting with a few different ideas -

Re: [android-developers] Is it possible to know how users found your app.

2012-02-11 Thread Kristopher Micinski
On Sat, Feb 11, 2012 at 11:53 AM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Sun, Feb 12, 2012 at 12:58 AM, Kristopher Micinski krismicin...@gmail.com wrote: On Sat, Feb 11, 2012 at 7:19 AM, decastro reis...@gmail.com wrote: I am just starting out as an app developer and looking into

[android-developers] Re: how to save high-score in database

2012-02-11 Thread Kamil
Could you give us some code snippet or whole class? It'll be easier to find a bug in your application if you paste some info from logcat. On 11 Lut, 14:23, Mohd Arshi Khan arshikha...@gmail.com wrote: I want to save my game high-score with update existing user score in sqlite database. I'm

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-11 Thread momo
On Feb 11, 4:35 am, skink psk...@gmail.com wrote: forgot to mention that built-in animations run with no delay - in short they just call invalidate() in drawing phase in order to make next frame of animation pskink interesting - before reading this, i spent some time looking around for the

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-11 Thread momo
hey pskink, i tried that pure-Handler approach you first suggested, and it works a treat - in fact i was able to omit the delay entirely, just sendEmptyMessage (and use a simple time keeper class to determine the delta) - very smooth, very simple. thanks a lot for your help. -- You received

[android-developers] Re: Modify Audio Settings when my phone gets a call from a specific number

2012-02-11 Thread Nitin Sethi
here it is.. full code I have pasted down... Specifically this line I added. ((TelephonyManager) context .getSystemService(Context.TELEPHONY_SERVICE)).getCallState() == TelephonyManager.CALL_STATE_RINGING if (((TelephonyManager) context

[android-developers] Re: Prevent image from being scaled in ImageView

2012-02-11 Thread Kookamonga
Well... I should thank you. Based on your XML, I tried android:scaleType=fitCenter and the image now appears as-is, without any scaling. I'm confused as to why this works and not just android:scaleType=center. Based on the docs (http:// developer.android.com/reference/android/widget/

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-11 Thread skink
On 11 Lut, 19:21, momo dun...@gmail.com wrote: hey pskink, i tried that pure-Handler approach you first suggested, and it works a treat - in fact i was able to omit the delay entirely, just sendEmptyMessage (and use a simple time keeper class to determine the delta) - very smooth, very

[android-developers] Re: Shared Preferences

2012-02-11 Thread ajay talreja
thanks Poncho, but i had given suffix 'L' any how .puttin a single st e.printstack.. in catch block ...it worked.i donno logic behind that...but it did. thanks alot... On Feb 8, 12:31 am, poncho poncho...@gmail.com wrote: Hi, The code

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-11 Thread momo
i had tried something very similar: package com.whatever.tests; import android.view.animation.Animation; import android.view.animation.Transformation; public class MapScaleAnimation extends Animation { private OnUpdateListener onUpdateListener; public void

[android-developers] sms sending

2012-02-11 Thread Goutom
Hi I am building an sms application. Now the question ! I have skype installed in my android phone.When I press defualt Call button it shows a dialog with two items : Dialer (defualt android call option) , Skype. Now, I want when user will press defualt Sms button then a dialog will show which

Re: [android-developers] sms sending

2012-02-11 Thread Kristopher Micinski
Nope, not that. You can't change the action of the default messenger app, because it's actually an app included on the phone. Thus what you're wanting to do is akin to you wanting to open your app whenever somebody clicked on the browser app, for example. You can use intent filters to receive

[android-developers] Missing map overlays in Android 4.0

2012-02-11 Thread stephen
I've had two reports (confirmed with screen shots) from users on Android 4/Galaxy Nexus that map overlays go missing in my app as the zoom level is increased. The same code works fine on my own Galaxy Nexus (and in other devices/OS versions). Interestingly, both users report that tracks recorded

[android-developers] renderscript texture assertion

2012-02-11 Thread Frustaci
Hello, I'm testing a few ideas of mine using the nexus wallpaper source code as base. In my test, I need to handle several textures. In order to do that i have a structure like this in rs. *rs_allocation gTextures[13];* Plus also some rs_allocation references inside structures like the

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-11 Thread skink
On 11 Lut, 20:04, momo dun...@gmail.com wrote: i had tried something very similar: package com.whatever.tests; import android.view.animation.Animation; import android.view.animation.Transformation; public class MapScaleAnimation extends Animation {         private OnUpdateListener

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-11 Thread skink
On 11 Lut, 20:04, momo dun...@gmail.com wrote: i had tried something very similar: package com.whatever.tests; import android.view.animation.Animation; import android.view.animation.Transformation; public class MapScaleAnimation extends Animation {         private OnUpdateListener

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-11 Thread skink
On 11 Lut, 20:04, momo dun...@gmail.com wrote: i had tried something very similar: package com.whatever.tests; import android.view.animation.Animation; import android.view.animation.Transformation; public class MapScaleAnimation extends Animation {         private OnUpdateListener

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-11 Thread momo
hmm, seems OK to me, anyway you have working (not bad) solution w/ Handler :) what i like in Animation approach is that interpolatedTime [0..1] but if it doesn't work... tough luck pskink I just created a custom class to get interpolatedTime... package com.whatever.utils; public class

[android-developers] Re: How to stop service getting latest updates from twitter ??

2012-02-11 Thread Jonathan S
I see you are using intent but you are not using https://developer.android.com/reference/android/app/IntentService.html -- 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

Re: [android-developers] Why are new apps not featured on Android market anymore?

2012-02-11 Thread TreKing
On Sat, Feb 11, 2012 at 8:11 AM, MobileVisuals eyv...@astralvisuals.comwrote: I just want to know why the new and updated apps are not featured anymore? You're not going to get an answer to that questions. The people that can answer that neither participate in this list nor would answer you if

[android-developers] Tools for creating themes.

2012-02-11 Thread Nathan
I've been sold on how you can create a theme and create a visually branded experience for your UI, look more professional, and all that stuff. However, I don't know how to get it done. I know the wrong way. That would be me going into a copy of themes.xml and changing whatever looks good to me.

Re: [android-developers] Tools for creating themes.

2012-02-11 Thread Mark Murphy
On Sat, Feb 11, 2012 at 4:05 PM, Nathan critter...@crittermap.com wrote: And I don't know that I could test it without having every possible layout on every possible emulator. You would test a new theme no differently than you would test any other change in your app that had the potential to

[android-developers] First, prevoius, next, and last buttons

2012-02-11 Thread Jim McGivney
NewBee here. I am looking for a tutorial or article or sample code that details being able to display a record from a SQLite database by using first, previous, next and last buttons. I have tried Google without much luck. Thanks, Jim -- You received this message because you are subscribed to

Re: [android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-11 Thread Kostya Vasilyev
On 02/12/2012 12:27 AM, momo wrote: one last question though - since the Handler is running in the main UI thread, are there potential issues? The animation is brief (500ms) and I'll probably try to disable any other interactions while it's happening, but I'm pretty new to multithreaded

[android-developers] Re: Android custom tween - Timer vs ScheduledThreadPoolExecutor, or alternative

2012-02-11 Thread momo
On Feb 11, 4:35 pm, Kostya Vasilyev kmans...@gmail.com wrote: This is not a multithreaded environment you've got here. Your code most likely creates the Handler object on the UI thread, and if so, that's where it receives messages. This is correct, since the Android UI framework is not

[android-developers] Re: How to create multiple ListViews with fragments in Android

2012-02-11 Thread Doug
It is possible. Just search for something like android fragment example to get started. Doug On Feb 8, 10:53 pm, Abhishek Kumar Gupta akgaec2...@gmail.com wrote: Actually I want to create three listviews with the help of fragments. Is it possible? if possible then please give some reference.

[android-developers] Re: Fail to connect to camera service - Camera.open();

2012-02-11 Thread Matt Clark
I tried both codes on multiple phones each, and it still fails to open the camera. Every time, even after a reboot. On Feb 9, 12:31 am, v bobbywink vvnevercha...@gmail.com wrote: i change a little codes then test it  in my phone. It works very well. Test it in your phone and if it don't work i

Re: [android-developers] Tools for creating themes.

2012-02-11 Thread fei ji
Quite good question Nathan. I am also modifying themes.XML recently. The inconsistency after modification quite annoying me and make UI designer understood how to design following android pattern is not an easy job. I use API demo to test my modification since you can almost find every usage of

[android-developers] Re: Tools for creating themes.

2012-02-11 Thread Nathan
On Feb 11, 1:29 pm, Mark Murphy mmur...@commonsware.com wrote: What I'd like to know is how to get my graphic artist, who already has great talent in CSS, Illustrator, and other graphic tools, to create a theme for me. That's akin to expecting a graphic designer to create a Web site for

[android-developers] Re: A proof for being Android developer

2012-02-11 Thread Jonathan S
as for certificate, it be in https://developer.android.com/guide/publishing/app-signing.html by javasigner :) -- 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] Questions on creating X509v3Certificate on Android

2012-02-11 Thread Qin Ding
I have a need to generate X509v3Certificate on Android device. Since android supports Bouncycastle, I downloaded the latest BC library (1.46) and installed onto Android. I have code already that generates the X509v3 cert. I modified the existing code by explicitly include the BC provider. It

[android-developers] google maps updating tracking app

2012-02-11 Thread ajb5...@psu.edu
I want to make an app that will display the location of a gps module that will be sent from a GC864 cell module. The GC864 module will use ATT network to send the coordinates any tutorials that will help me achieve this task will be greatly appreciated. The way that I think it will work is the

[android-developers] Use CalendarProvider in android API 10

2012-02-11 Thread cb29
Hi, I'm currently developing a calendar application using API 15 and the CalendarProvider API. However, I don't have the required mobile phone to test it. So, I'm trying to run it under API 10. I added the classes for CalendarProvider (I got them from

[android-developers] Google Chrome for Android on Android SDK?

2012-02-11 Thread CSUser
Hello, I tried installing Google Chrome for Android on the Android SDK with the Android 4.0.3 image and it installed okay, but the browser will not render any web pages. It appears to be stuck in the middle of a page load. The stock browser works just fine, so it does not appear to be an internet

[android-developers] Tabs across all ListActivities

2012-02-11 Thread DeucePie
Hi everyone, New to this group and also app development but the past few weeks I have been working on an app which is pretty simple in that it is a lookup table where I have category, subcategory and then the final item which the users are looking for. I have read up on activities, views,

[android-developers] Adding a Fragment to an activity

2012-02-11 Thread coreno
I am trying to learn Fragments, so I can eventually create a tablet- friendly interface to my apps. I'm mostly just experimenting/learning now, but I can't seem to get things working. I just want the typical two-pane layout, but most of the examples I have found show the left pane as a

[android-developers] the program run well in simulator but die in the real machine

2012-02-11 Thread □且听风吟□
02-10 16:51:32.770: INFO/DEBUG(84): Build fingerprint: 'MOTO/wifi_hubble/wifi_hubble:3.0.1/H.6.2-9_CN-18/1302231180:user/ota-rel-keys,release-keys' 02-10 16:51:32.770: INFO/DEBUG(84): pid: 761, tid: 769 com.android.GeoGlobe 02-10 16:51:32.770: INFO/DEBUG(84): signal 11 (SIGSEGV), code 1

[android-developers] Re: problem: play pre recorded audio in out going call

2012-02-11 Thread Mike NJ
It has to be possible if this guy put together an app for an auto call answer: https://market.android.com/details?id=com.devindia.acrfeature=search_result I need the same function... On Jan 2, 7:12 am, Jim Graham spooky1...@gmail.com wrote: On Sat, Dec 31, 2011 at 09:51:10PM -0800, dhaval

[android-developers] Re: Android 2.2.1 Galaxy S I9000 I9000XWJS3

2012-02-11 Thread Евгений Л
I ask for a help! What parameter is responsible for the change of size, photo of reference to the contact which is represented in TouchWiz30Launcher? On a workmount. Where can I change it? Specify please file of apk and way to the parameter. Android 2.2.1 Galaxy S I9000 I9000XWJS3 Here reference

[android-developers] Cannot get camera preview (call camera) , HTC Thunderbolt

2012-02-11 Thread Krafter
Hi I am having a problem with getting a camera preview from the HTC Thunderbolt. I originally posted my question on Stackoverflow here: http://stackoverflow.com/q/9197331/1195751 But I still haven't gotten an answer on how to do it/what is wrong. From my post on stackoverflow: My problem is

[android-developers] how to ellipsize while displaying 2 different font size in a single textview

2012-02-11 Thread AndroRock
Hi All, I am working on displaying 2 different strings one is in bold and other is in small. I need to show these text max in 3 lines and ellipsize rest of the text. However I am facing an issue with ellipsizing the second string. I dont want to ellipsize the first string. Here is my code: -

Re: [android-developers] Re: Where can I find installed Apps/Widgets sources?

2012-02-11 Thread BobF
For those of us that would like to view the source without setting up a Linux or MacOS box ... ? -- 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

[android-developers] Internet connection

2012-02-11 Thread Doron Shalev
Hey guys. Does anyone knows a way to sense when an Internet connection is established or disconnected? I mean another way then to check every few moments. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] NFC Emulation mode

2012-02-11 Thread Diop Elhadji Bougouma
Hi I want to know which Phones support NFC Card Emulation mode. -- 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] How to create a separate layout folder for Drod3?

2012-02-11 Thread jijesh
I want to make my app for all screens and its supporting 2.7,3.2,3.3,3.7,4 inches screens,but not droid3 with 540x960 screen size.I want only portrait mode.I have list views and Grid views in my app, so i have to hard coded those pages in my app and created different build for Drodi3.I have two

[android-developers] Support serbian language

2012-02-11 Thread Max Kim
Hello I'm not sure I can ask this kind of question here We are developing android phones and now we have to think about supporing serbian language when I visit the sdk site, for example http://developer.android.com/sdk/android-4.0.3.html I can see locales that sdk supports by default it says,

[android-developers] Problems with DDMS

2012-02-11 Thread Jose Eduardo Zuñiga Santillan
Hello! , well i am following a videotutorial about how to develop in android for people that just begin so i have some problems with eclipse because i can not see the DDMS button , what it could be ? PD: Sorry for my english i am from peru :) Thanks a lot -- You received this message because

Re: [android-developers] Internet connection

2012-02-11 Thread Kristopher Micinski
You mean the Wifi? Look in WifiManager, there's a broadcast intent. kris On Thu, Feb 9, 2012 at 3:24 AM, Doron Shalev dorons...@gmail.com wrote: Hey guys. Does anyone knows a way to sense when an Internet connection is established or disconnected? I mean another way then to check every few

[android-developers] Help with strange OpenGL ES 2.0 Methods

2012-02-11 Thread Th Chan
Hi, I'm trying to use the functions below from GLES20 in Android with API level 14. Can someone shed some light on why the last argument is of type byte? I checked the NDK equivalent and it's a char *. I checked the official OpenGL ES API and it's a char *. I assume it should be a String or

[android-developers] Android 3.x / HLS how to start at the end of the stream

2012-02-11 Thread obo
I am playing an HLS stream with the following code : mediaPlayer = new MediaPlayer(); mediaPlayer.setDataSource(http://iphoned5.akamai.com.edgesuite.net/ mhbarron/nasatv/nasatv_all.m3u8); mediaPlayer.setDisplay(holder); mediaPlayer.setOnBufferingUpdateListener(this);

[android-developers] immediate runtime exception

2012-02-11 Thread Neal Koss
I am a new developerI understand that when I get the immediate runtime exception when using the eEclipsae debugger, it usually means the manifest is wrong, but in my case, that is not true. What else can cause an exception before the program even begins? -- You received this message because

[android-developers] How to Open app from other App

2012-02-11 Thread Passion Android
How to open a app from another App.plz guide me i have used final Intent intent = new Intent(Intent.ACTION_MAIN, null); intent.addCategory(Intent.CATEGORY_LAUNCHER); final ComponentName cn = new ComponentName(packagename, class);

[android-developers] how to create driving direction?

2012-02-11 Thread Fachdian
Hallo... My nama fachdian From indonesia... I'm newbie in android I want create driving direction... In my position to my university. but my position is always changing according to the position of the GPS. Help me please... For my final lecture -- You received this message because you are

[android-developers] Android Library Content Provider Bug/Documentation Issue

2012-02-11 Thread kjsteuer
Per the documentation the Content Provider authority must be unique and describes nothing about the name needing to be unique. A Content Provider works fine in a library if it is the only application on the device with the library installed. The behavior I see with multiple apps when pointing

[android-developers] How to compile iproute2

2012-02-11 Thread jlanza
Hi, I'm trying to compile iproute2 package for my nexus S but I'm unable to do so. Here is the procedure: $ source build/envsetup.sh $ cd external/iproute2 $ mm PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=2.3.4 TARGET_PRODUCT=full_crespo

[android-developers] Switch from physical to software keyboard

2012-02-11 Thread iid
Hi all, I'm developing an application that will run on a tablet with Android 3.2. I attached a physical keyboard to tablet then the software keyboard disappear. Now I need to use the software keyboard in some activities, but I don't figure out how I can do that. I tried different ways:

[android-developers] Re: webview resets when I change orientation

2012-02-11 Thread Flowers
Technically, the Activity is shutdown and a new Activity is started for the new orientation. You can prevent orientation changes altogether as Kris stated. If you do switch to a full Application instead of your Activity, you may be able to store your state outside of your activity so when the

[android-developers] tabs

2012-02-11 Thread Faheem Ansari
hello i am new in android development..i am creating a web browser in androidi created a whole browser and now i want to add it in a tabsi am using android version 2.2.how can i do it...please reply... -- You received this message because you are

[android-developers] Fwd: Layout Problem

2012-02-11 Thread Musa Ulker
Hello, I have a problem with webview. the filled area of the webview is depending on the content of the webview. i've selected it as fill_parent for height but if the content on the webview is small the webview doesnt fills my layout and there will be a black gap. how can i solve it? Layout xml:

Re: [android-developers] How to create multiple ListViews with fragments in Android

2012-02-11 Thread Passion Android
how to open a new application from the current application? please help.i had tried with intent but its not working.if possible please send me the code snippets. On Thu, Feb 9, 2012 at 12:23 PM, Abhishek Kumar Gupta akgaec2...@gmail.comwrote: Actually I want to create three listviews with the

[android-developers] How can I calculate temperature of battery?

2012-02-11 Thread mc
When I use ACTION_BATTERY_CHANGED to get temperature of BATTERY, but the number of temperature is about 280. How can I transform it into '°C or °F? -- 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] Address format in Honeycomb / ICS

2012-02-11 Thread Mr. K
I have an app which can retrieve the mailing address from contact information on the device. I retrieve the information for street address, post code, city etc. using the contacts API using code similar to below. I then display the address on separate lines and the user can accept it or change

[android-developers] Problema con imagen GIF en una VIEW dentro de un LINEARLAYOUT. AYUDA! - Problem with GIF image in a VIEW inside a LINEARLAYOUT. HELP!

2012-02-11 Thread LGP
Tengo un problema con una imagen GIF, está dentro de una VIEW de 320x50 que esta dentro de un LINEARLAYOUT, la imagen tiene las mismas dimensiones que la VIEW pero me aparece pixelada en la pantalla del teléfono. Es como si la escalara o no sé que hace, pero he intentado de todo desde probar todos

[android-developers] how can i import or export the contacts phone into txt file

2012-02-11 Thread Ketin Febrina
im actually trying to develope import export contacts phone ... can you teach us and bring the source code about it ? -- 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] XMLbeans on Android

2012-02-11 Thread int0
Dear Android Developers, I have the following problem: I have a java lib that uses XMLbeans for compiling its XSD files. To use those generated files I have to add XMLbeans libs to buildpath (stax or rather jsr173). The problem is if I do so i get the error that I cannot use an external lib that

[android-developers] ShowDialog throws IllegalStateException in Android

2012-02-11 Thread Yizhao Lang
There is a strange bug in my code that wasted my whole night and I still couldn't find where the real problem is. Basically, I have a tabhost and many tabviews in it, each is a separate activity. When I launch a dialog from the first tabview activity, everything was fine, a dialog pop up and

Re: [android-developers] Re: i want to create simple android appln

2012-02-11 Thread Passion Android
Follow this tutorial. http://developer.android.com/resources/tutorials/hello-world.html you can ask these question on stack developer. On Thu, Feb 9, 2012 at 2:05 PM, Ali Chousein ali.chous...@gmail.com wrote: i want to create simple android appln. how can i do it? Follow this tutorial:

[android-developers] Re: AwesomePagerAdapter initial position

2012-02-11 Thread Adi
These are two tutorials that will help you find out where/how you have to set the awesomeAdapter and awesomePager. Hope it helps! https://github.com/coomar2841/SimpleViewPager http://thepseudocoder.wordpress.com/2011/10/05/android-page-swiping-using-viewpager/ On Jan 14, 2:01 pm, sheamuso

[android-developers] how to perform multitouch on android devices using monkeyrunner

2012-02-11 Thread rilwan
hi, Is there any way to perform multitouch using monkeyrunner. i want to touch 2 points on the screen simultaneously. say BT Wifi.Somebody please help. thanks, rilwan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Display svg image dynamically in webview when page is loaded

2012-02-11 Thread Praveen Varadarajulu
In web view html page I have a embed tag containing a image: embed src=sample.svg width=1024px height=600px type=image/svg +xml id=emdVal Now I have to dynamically load this image into embed tag when the page is loaded, for which I guess I need to pass value from activity, how can this be done.

[android-developers] Re: testing tools for android

2012-02-11 Thread Satyam
Following testing tools are recommended on the android development portal: UI/Application Exerciser Monkey http://developer.android.com/guide/developing/tools/monkey.html Monkeyrunner http://developer.android.com/guide/developing/tools/monkeyrunner_concepts.html --Satyam (

[android-developers] Intent from adb shell not reaching the application

2012-02-11 Thread KNR
Hi, I am trying to send an custom event with the command: adb -d shell am start -a android.intent.action.CLOSE -n com.android.myapp/com.android.myapp.MyAppActivity but its not hitting the intent handler. The same code works and the same command for emulator works fine. What can be issue of not

[android-developers] Re: How much text a TextView fits

2012-02-11 Thread Adi
Hey, I have the same problem. Thanks for your link. I shall check it out. Here's the post containing suggestions for me, you might find helpful. http://stackoverflow.com/questions/9232515/viewpager-and-pageradapter-in-a-document-reader/9233834#9233834 Cheers! On Feb 11, 5:39 am, luciofm

[android-developers] Re: Using ViewPager with dynamic view sets

2012-02-11 Thread Adi
@tatebn - Hi, I desperately needed this post! But as yours seems to be an internal web view, mine is an external file on the SD-Card. I'm trying to read it using this, BufferedReader in = new BufferedReader(new FileReader(/sdcard/ TextFiles/post.txt)); And I cannot further decide how to split

[android-developers] Re: testing tools for android

2012-02-11 Thread Satyam
Following tools can be used for testing: UI/Application Exerciser Monkey ( http://developer.android.com/guide/developing/tools/monkey.html ) Monkeyrunner ( http://developer.android.com/guide/developing/tools/monkeyrunner_concepts.html ) --Satyam ( http://satyamsing.blogspot.in/ ) On Feb 10,

[android-developers] Consuming a SAP MII webservice.

2012-02-11 Thread RGudipati
Hi All, I am new to the Android Development. I am building an app which connects to SAP MII by consuming the webservices exposed by SAP MII. But the problem is I dont know how to connect a webservice that is Generated by SAP MII. Could some one please help? Webservice:

Re: [android-developers] Fwd: logo

2012-02-11 Thread sachin 007
after few days i will tell and ur logo is best but something is missing -- 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

  1   2   >