[android-developers] Re: Android "java.util.BitSet" in ICS vs "Ginger Bread"

2012-02-16 Thread Subba
@Lew - I changed the set values using static method rather than using instance method. It does't work. It's something do with Java version compatibility in ICS vs. GB. First of all i see difference in Object it's self comparing ICS to GB. See the below code On Feb 15, 11:21 pm, Lew wrote:

[android-developers] How to create two projects as one apk file.

2012-02-16 Thread android devloper
Hi, iam new to android,i have created two different projects and i have created two different apk files too. but now i want to create those two projects as a single apk file.is it possible? if possible help me in this. Many thanks. -- You received this message because you are subscribed to the G

[android-developers] Common subroutine

2012-02-16 Thread mark2011
Dear All : Could I write some common subroutine in a single program, then I can call these subroutine from other programs. How do I call them? Thanks in advanced. BR, mark -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] handled the android.nfc.action.TRANSACTION_DETECTED event

2012-02-16 Thread Usman
I am struggling to handle android.nfc.action.TRANSACTION_DETECTED event. The device is NFC and also contains secure element which supports SWP to the UICC. I have registered the following BroadCast receiver in my app. public class TransactionReceiver extends BroadcastReceiver { private Str

Re: [android-developers] keyboard dismissing issue

2012-02-16 Thread vani reddy
Hey I have already given this. On Thu, Feb 16, 2012 at 12:42 PM, Ratheesh Valamchuzhy wrote: > add > android:windowSoftInputMode="stateHidden" to the activity tag in manifest > file > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group.

[android-developers] Re: Is NFC card emulation possible on Galaxy Nexus and OS 4?

2012-02-16 Thread Michael Roland
Hallo Paul, card emulation is officially supported since Android 2.3.7 (?) and is used by Google Wallet. However, there is no way (unless you use a modified ROM) to access card emulation capabilities from your own applications. br Michael On Feb 15, 5:35 pm, Paul wrote: > I know last year Goog

[android-developers] hi

2012-02-16 Thread chowdary nani
Hi all, I am working on displaying the image in rounded corner image view when i used to drag the image the image is coming out of the borders and displaying in rectangle please help me Thanks Naveen. -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Re: receive sms application. need help.

2012-02-16 Thread Ali Chousein
Look at the following lines in your logcat: > com.android.project.smsapp.Receiver}: java.lang.ClassCastException: > com.android.project.smsapp.Receiver cannot be cast to > android.app.Activity Then, look at the following lines in your code: > Intent i = new Intent(this, Receiver.clss); > startAc

Re: [android-developers] Re: Re : onclick image redirecting

2012-02-16 Thread Narendra Singh Rathore
Hey Vivek, have u checked what I told u? -- 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...@g

Re: [android-developers] Re: Is NFC card emulation possible on Galaxy Nexus and OS 4?

2012-02-16 Thread s.rawat
Hi Paul, May be you can try this procedure to patch the ICS source code and flash it on ICS based Galaxy Nexus S. The patches's original developer is not me but some one else.I have just bloggeddown the procedure for

[android-developers] Re: Re : onclick image redirecting

2012-02-16 Thread vivek elangovan
wrote : Hey Vivek, have u checked what I told u? hi, not yet thanks for the reply but i got some ideas from ur reply and once i implement that i will inform u On Feb 16, 2:07 pm, Narendra Singh Rathore wrote: > Hey Vivek, have u checked what I told u? -- You received this messag

[android-developers] Re: Facebook Android Application

2012-02-16 Thread Ali Chousein
You need to pull the list of your Facebook friends. Check the Facebook Android SDK to see how to do it. See the following link: https://github.com/facebook/facebook-android-sdk Then you need to match the names of your Facebook friends with the names inside your contacts where you store the phone n

[android-developers] Reads file inside a apk

2012-02-16 Thread Mark Cz
Hi, I am having an android application that is using an external jar that has in addition to regular classes an html file. The final apk root directory looks something like this assests res AndroidManifest.xml classes.dex resources.arsc helloworld.html How can I access from my application to the

[android-developers] Need help with relativelayout

2012-02-16 Thread Kristoffer
Hello. Iam kinfa new to relativelayout so iam not sure how to make this happens: I have a relativelayout width fill parent, height wrap content. I have a image in the top right corner: android:layout_alignParentTop="true" android:layout_alignParentRight="true" The image is not always there (depen

Re: [android-developers] keyboard dismissing issue

2012-02-16 Thread Ratheesh Valamchuzhy
InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(uicontrol object.getWindowToken(), 0); uicontrol object edittext, listview which causes to show soft keyboard -- You received this message because you are subscribed to the G

Re: [android-developers] Talk Back feature.

2012-02-16 Thread Anirudh Loya
I feel you are unaware of Talk Back. It reads the data from the screen. It is used for reading disability ppl. N I m sure there wont be any book available on it as of now but I am expecting someone in the group doing any RnD on it or at least writing a blog. Hope things are clear to you now. On

Re: [android-developers] Talk Back feature.

2012-02-16 Thread Harsh Vardhan
Hi Anirudh, You can refer to the eyes free shell code. It is open source and you can check it here: http://code.google.com/p/eyes-free/source/checkout. On Thu, Feb 16, 2012 at 3:45 PM, Anirudh Loya wrote: > I feel you are unaware of Talk Back. It reads the data from the > screen. It is used for

[android-developers] Re: Problem in using frame layout

2012-02-16 Thread moktarul anam
Hi, 1. In frameLayout use focusable false and clickable also false 2. in imageView use give some padding (android:padding="5dip" for selection color) next will tell u later Enjoy Moktarul - Hide quoted text - On Thu, Feb 16, 2012 at 3:38 PM, chowdary nani wrote:  Hi moktarul anam. Thanks f

[android-developers] Conversion of Adobe Air app code to Eclipse

2012-02-16 Thread ALi
Hi, I want to convert code of Adobe air app to Eclipse Android SDK, Air app has swf and mxml files , not just animation, it talks to sever and show some values, is it possible make swf and mxml functional in Eclipse. Thanks -- You received this message because you are subscribed to the Google G

[android-developers] Re: Facebook Android Application

2012-02-16 Thread moktarul anam
Hi Rickky There are two way to create facebook apps on android 1.install android sdk and use there api( dont think this s good idea) 2.. user facebook api for getting all contact (friends name, email, phone number etc) then parse there api and then enjoy Moktarul On Feb 15, 11:16 am, Passion An

[android-developers] Re: Need help with relativelayout

2012-02-16 Thread Kristoffer
Maye i should try to explain some more what i need. Lets say that i add one more images, so that iam up to three, if all images is "active" it would look like this: CBA if B is "gone" i would now look like this C A i wanna have it like this CA with no space for B. On 16 Feb, 10:39, Kristoffer wr

Re: [android-developers] Re: Problem in using frame layout

2012-02-16 Thread chowdary nani
Hi Moktarul, Thanks for replay, thanks for time But i am getting same problem will u please help me. Thanks Naveen. On Thu, Feb 16, 2012 at 3:52 PM, moktarul anam wrote: > Hi, > > > > > 1. In frameLayout use focusable false and clickable also false > 2. in imageView use give some padding (an

Re: [android-developers] How to create two projects as one apk file.

2012-02-16 Thread news.anand11
u should link all the file of another project into one project as an activity and create a new apk file. u can take an example of tictactoe game which is give as example in android sdk. On Thu, Feb 16, 2012 at 1:44 PM, android devloper < android.devlope...@gmail.com> wrote: > Hi, > iam new to and

[android-developers] Sometimes 9-patch drawables and alignments are not applied properly

2012-02-16 Thread Amokrane
Hi everyone, I have noticed an issue regarding certain layout attributes and 9- patch drawables. Sometimes, it seems that they don't get 'compiled' with the rest of the code. I don't know much about the process by which 9-patch drawables are interpreted but I assume there are metadata associated t

Re: [android-developers] Sometimes 9-patch drawables and alignments are not applied properly

2012-02-16 Thread iñaki
Hi, when I have this issue, I clean project and 9 drawable works fine Iñaki On 16 February 2012 11:58, Amokrane wrote: > Hi everyone, > > I have noticed an issue regarding certain layout attributes and 9- > patch drawables. Sometimes, it seems that they don't get 'compiled' > with the rest o

Re: [android-developers] Re: Need help with relativelayout

2012-02-16 Thread Kostya Vasilyev
Have you tried android:layout_alignWithParentIfMissing ? http://developer.android.com/reference/android/widget/RelativeLayout.LayoutParams.html#attr_android:layout_alignWithParentIfMissing 16 февраля 2012 г. 14:45 пользователь Kristoffer написал: > > Maye i should try to explain some more what i

[android-developers] Buttons labels

2012-02-16 Thread Ricardo Santos
Hi everyone! I am trying to implement internationalization in my app and I am having a problem with the button label. Because of my button's art, I need to make the label not be centralized, and I can't find any method on the button class that can help me with that. Will I have to customize a

[android-developers] How to restrict my app??

2012-02-16 Thread muhammad.ume...@hotmail.com
hi, I want to restrict my android app to just open on specific No. of mobiles that i want. how can i do that? Thanks and Regards umer -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

Re: [android-developers] How to restrict my app??

2012-02-16 Thread James Black
Why not email it to those people, then? Otherwise your program will need to query a server for permission, so if there is no network connection the program won't start. On Feb 16, 2012 6:30 AM, "muhammad.ume...@hotmail.com" < muhammad.ume...@hotmail.com> wrote: > hi, > I want to restrict my

RE: [android-developers] How to restrict my app??

2012-02-16 Thread Muhammad UMER
hi, thanks for reply, i have a server client app, client is my mobile, and i give the IP address of my server so you mean it's enough. or i have to qurey for verfication? Regards umer Date: Thu, 16 Feb 2012 06:41:54 -0500 Subject: Re: [android-developers] How to restrict my app?? From:

[android-developers] Workaround NullPointerException TabWidget?

2012-02-16 Thread Jan Burse
Dear All, Is there some workaround for a null pointer exception in TabWidget. It basically happens in the following code: tabHost.clearAllTabs(); tabHost.addTab(spec); The clearAllTabs sets the mSelectedTab to -1. The problem is some sloppy code in the Android 2.3.7 version of T

Re: [android-developers] Workaround NullPointerException TabWidget?

2012-02-16 Thread Kostya Vasilyev
You could try extending the framework class and overriding relevant methods. 16 февраля 2012 г. 15:58 пользователь Jan Burse написал: > Dear All, > > Is there some workaround for a null pointer exception > in TabWidget. It basically happens in the following code: > >        tabHost.clearAllTabs()

[android-developers] Re: Workaround NullPointerException TabWidget?

2012-02-16 Thread Jan Burse
Hi, Just did this. Actually the problem was not a mSelectedTab = -1, but rather a mSelectedTab = 1 and a getChildCount = 1. This problem I do not seen on Android 4.0.3. The workaround code that works for me is: public class TabWidgetFix extends TabWidget { private final View dummy; /**

[android-developers] Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-16 Thread Jan Burse
Dear All, To manage tabs I use the following code: tabHost.clearAllTabs(); tabHost.addTab(spec); /* for multiple specs */ I can add and remove tabs this way. Since the specs contain a tag, sub activities are refound. When I remove a tab, I also call: getLocalActivityManager().de

[android-developers] Re: hi

2012-02-16 Thread Seshu
Hi Naveen, See this code and pass the parameters bitmap and round i.e., by how much rounded u want... private static Bitmap getRoundedCornerImage(Bitmap src, float round) { // TODO Auto-generated method stub int width = src.getWidth(); int height =

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-16 Thread lbendlin
Have you tried setting the focus? -- 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...@googlegr

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-16 Thread Jan Burse
lbendlin schrieb: Have you tried setting the focus? -- 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+u

[android-developers] Sip calling

2012-02-16 Thread Jagruti Sangani
Hello, I am using the SIP demo example from "developer.android.com/resources/ samples/SipDemo/index.html". When The application start to run it will register the sip user two times.I have use the asterisk and i had seen that two times unregister and register occure .so can anybody know why this was

Re: [android-developers] How to communicate with sim card on android?

2012-02-16 Thread Mark Murphy
Other than TelephonyManager, none of what you seek is available at the SDK level. On Wed, Feb 15, 2012 at 9:28 PM, john wrote: > Does android suuport PC/SC ? > > l want to get some information from sim card, on windows can use > winscard.dll, but on android l can't find any usrful function. > do

Re: [android-developers] Re: Getting access to a UI Context safely from anywhere

2012-02-16 Thread Mark Murphy
A variation on that theme is to use an ordered broadcast, so it can be picked up by a foreground activity (if one exists) or raise a Notification (if not): http://commonsware.com/blog/2010/08/11/activity-notification-ordered-broadcast.html https://github.com/commonsguy/cw-advandroid/tree/master/Br

Re: [android-developers] Re: Getting access to a UI Context safely from anywhere

2012-02-16 Thread TreKing
On Thu, Feb 16, 2012 at 12:28 AM, Weston Weems wrote: > I also tried to have in my base callback a context we pass through... > could be activity or app context and thats fine... and say I want to > spawn dialog if context is a subclass of Activity... seems like that > works decent... but seems l

Re: [android-developers] Talk Back feature.

2012-02-16 Thread Mark Murphy
However, you claim to want to make a "Talk Back app", and it is unclear what you mean by that. I am going to guess that you want to create a plugin for Android offering alternatives to TalkBack. These are called AccessibilityServices: http://developer.android.com/reference/android/accessibilityse

Re: [android-developers] Reads file inside a apk

2012-02-16 Thread Mark Murphy
On Thu, Feb 16, 2012 at 4:24 AM, Mark Cz wrote: > Hi, > I am having an android application that is using an external jar that > has in addition to regular classes an html file. > > The final apk root directory looks something like this > > assests > res > AndroidManifest.xml > classes.dex > resour

Re: [android-developers] Building ICS on Ubuntu 10.04 - java-6-sun

2012-02-16 Thread Mark Murphy
On Thu, Feb 16, 2012 at 1:13 AM, s.rawat wrote: > Hi , > I am trying to the build the ICS on Ubuntu 10.04 This has nothing to do with this list, which is focused on building applications with the Android SDK. For assistance with building firmware, see http://source.android.com. -- Mark Murphy (

Re: [android-developers] Common subroutine

2012-02-16 Thread TreKing
On Thu, Feb 16, 2012 at 2:25 AM, mark2011 wrote: > Could I write some common subroutine in a single program, then I can call > these subroutine from other programs. How do I call them? > Yes, Google "java libraries". This nothing to do with Android Development. -

Re: [android-developers] Conversion of Adobe Air app code to Eclipse

2012-02-16 Thread TreKing
On Thu, Feb 16, 2012 at 4:22 AM, ALi wrote: > I want to convert code of Adobe air app to Eclipse Android SDK, Air app > has swf and mxml files , not just animation, it talks to sever and show > some values, is it possible make swf and mxml functional in Eclipse. > There are very few mentions of

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-16 Thread lbendlin
so, have you tried to manually set the focus? (who knows, that might get your cursor back?) -- 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 g

Re: [android-developers] Buttons labels

2012-02-16 Thread TreKing
On Thu, Feb 16, 2012 at 5:26 AM, Ricardo Santos < ricardo.c.r.san...@gmail.com> wrote: > I am trying to implement internationalization in my app and I am having a > problem with the button label. > Because of my button's art, I need to make the label not be centralized > If by "label" you mean

[android-developers] Audio not work in emulator

2012-02-16 Thread Jagruti Sangani
hello, I am using the fedora 15.when i start the emulator then the warning is display that "emulator: warning: opening audio output failed".so what is the solution.Is it problem of emulator not support or fedora?. -- You received this message because you are subscribed to the Google Groups "Andro

Re: [android-developers] Re: Facebook Android Application

2012-02-16 Thread Passion Android
Thanks Mokarul On Thu, Feb 16, 2012 at 3:59 PM, moktarul anam wrote: > Hi Rickky > > There are two way to create facebook apps on android > 1.install android sdk and use there api( dont think this s good idea) > 2.. user facebook api for getting all contact (friends name, email, > phone number e

[android-developers] Error

2012-02-16 Thread aru padam
Hi all, I am developing an app contains edit fields. sometime i am enter some text in this an error is occurred(Sorr! – Use *#9900# to take log-). How i can fix this issue. Please help me.. Thanks and Regards Deepesh -- You received this message because you are subscribed to the Google Gro

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-16 Thread Jan Burse
What "do you mean by manually set the focus"? For the new tab I call setCurrentTab() when I add it. The old tabs are focused via the TabHost/TabWidget interaction, which I do not intercept. Both the old and the new tab receive the focus. But the cursor is not blinking for the old tab. You can ty

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-16 Thread Jan Burse
Mostlikely some pause/resume problem I guess... Jan Burse schrieb: What "do you mean by manually set the focus"? For the new tab I call setCurrentTab() when I add it. The old tabs are focused via the TabHost/TabWidget interaction, which I do not intercept. Both the old and the new tab receive

Re: [android-developers] keystore files

2012-02-16 Thread New Developer
Thanks I'm trying to configure it to use the publish one for the Debug/Run AS the default when I copy publish.keystore to debug.keystore I get Error generating final archive: java.io.IOException: Keystore was tampered with, or password was incorrect I'm guessing because debug.keystor

RE: [android-developers] How to restrict my app??

2012-02-16 Thread James Black
If you are the only user, or a small group, then just distribute it via email, but you need to trust they won't send that email to others. On Feb 16, 2012 6:58 AM, "Muhammad UMER" wrote: > hi, > thanks for reply, i have a server client app, client is my mobile, and > i give the IP address of

[android-developers] Re: Reads file inside a apk

2012-02-16 Thread Mark Cz
Thanks Mark. But I don't want to use the assets directory, since it's not my project. I am just giving the developers a jar with an html file inside. Of course I can give them two files, a jar to put in their classpath and a html file to put in their assets directory, but i want to avoid that. Anyh

Re: [android-developers] keystore files

2012-02-16 Thread New Developer
Okay reading Signing your apps Signing in Debug Mode The Android build tools provide a debug signing mode that makes it easier for you to develop and debug your application, while still meeting the Android system requirement for signing your .apk. When using debug mode to build your app,

Re: [android-developers] Re: Reads file inside a apk

2012-02-16 Thread Mark Murphy
On Thu, Feb 16, 2012 at 9:39 AM, Mark Cz wrote: > But I don't want to use the assets directory, since it's not my > project. I am just giving the developers a jar with an html file > inside. Of course I can give them two files, a jar to put in their > classpath and a html file to put in their asse

Re: [android-developers] keystore files

2012-02-16 Thread Felix Long
Hi: You need change the password of yout publlish key to "android" which same as debug.keystore: http://developer.android.com/guide/publishing/app-signing.html 2012/2/16 New Developer > Thanks > I'm trying to configure it to use the publish one for the Debug/Run AS > the default >

Re: [android-developers] keystore files

2012-02-16 Thread New Developer
Thanks Is it not possible to change the other way around? so to change the debug parameters to not use android as the password etc.. surely this is stored somewhere ? so that it knows what password to pass ? thanks again On 02/16/2012 09:54 AM, Felix Long wrote: Hi: You need change the p

[android-developers] Re: The web page contains error message in Android 3.0

2012-02-16 Thread ramya
bounce... On Feb 15, 5:49 pm, ramya wrote: > I am usingandroid3.0and phonegap for my development,when ever I > pass the url with query string(parameters) ,I get error message > "Application error-The webPage contains error".I tried to bypass it > using local storage ; > But for search form,I need

Re: [android-developers] keystore files

2012-02-16 Thread TreKing
On Thu, Feb 16, 2012 at 8:24 AM, New Developer wrote: > If I have different keystores then I have to continually uninstall the app > because the keystore changes > Trying to get around this > Why? How frequently are you running your app in "release" mode that this is an issue? I expect that abou

Re: [android-developers] keystore files

2012-02-16 Thread Felix Long
Hi: Unless you change the DDMS plugin code。 I think this is hard code into these tools. 2012/2/16 New Developer > Thanks > Is it not possible to change the other way around? > so to change the debug parameters to not use android as the password > etc.. > surely this is stored somewhere ? so

[android-developers] How can i export my sqlite database from intellj idea?

2012-02-16 Thread Duygu Kahraman
I am using intellj idea and i am working with **ORMLite**. My question is, i create a database but i want to export database for looking my data.When i use Eclipse i can export my sqlite database a few ways but i have no idea about **intellj**. Can anybody know something about that?

[android-developers] Re: Adding extraneous files to APK?

2012-02-16 Thread Mark Winchester
Can I access files in "assets" like they were files located in ./ assets/ from my native code? When I shell into the emulator, I noticed that the files aren't pushed out to the /data/data/blah... folder with the library files. -Mark On Feb 15, 11:27 am, JackN wrote: > I put files into assetts f

[android-developers] Scan files on network storage with android MediaScannerConnection.scanFile

2012-02-16 Thread Robert Auger
In Android SDK the fonction "scanFile" from "MediaScannerConnection" class allows to add files in the MediaStore, and then to use nice android apps to display and play multimedia files. The "ScanFile" method need a "path" parameter (the path to the file to be scanned). Is there a way to build a c

Re: [android-developers] Re: Adding extraneous files to APK?

2012-02-16 Thread Mark Murphy
On Thu, Feb 16, 2012 at 10:21 AM, Mark Winchester wrote: > Can I access files in "assets" like they were files located in ./ > assets/ from my native code?  When I shell into the emulator, I > noticed that the files aren't pushed out to the /data/data/blah... > folder with the library files. AFAI

[android-developers] Re: Getting access to a UI Context safely from anywhere

2012-02-16 Thread Weston Weems
Mark, Thanks for the tip. If I understand the source right, the idea is that when those events occur, you just broadcast it... say like {some network error message}... and have my base activity listen for those broadcasts? Then because they are implemented on an activity, I should theoretically b

Re: [android-developers] keystore files

2012-02-16 Thread New Developer
true But then each time you have to delete all data files and uninstall in order to switch and then repeat this back again to continue developing , it is this shortdebug -> release testing release -> debug period that I'm wanting to streamline without having to delete and u

Re: [android-developers] Re: Adding extraneous files to APK?

2012-02-16 Thread Nikolay Elenkov
On Fri, Feb 17, 2012 at 12:50 AM, Mark Murphy wrote: > On Thu, Feb 16, 2012 at 10:21 AM, Mark Winchester > wrote: >> Can I access files in "assets" like they were files located in ./ >> assets/ from my native code?  When I shell into the emulator, I >> noticed that the files aren't pushed out to

Re: [android-developers] keystore files

2012-02-16 Thread Nikolay Elenkov
On Fri, Feb 17, 2012 at 12:56 AM, New Developer wrote: > true > But then each time  you have to delete all data files and uninstall in order > to switch  and then repeat this back again > to continue developing , it is this short        debug -> release   testing > release -> debug       period  t

[android-developers] Hello Everyone, i am developing an android App with Bluetooth.

2012-02-16 Thread Soyer
Hello Everyone, i am developing an app on android to catch bluetooth, and i am facing an error which i couldn't understand what its source can be, the error is on the logcat as the following: "02-13 13:02:11.538: E/AndroidRuntime(196): java.lang.RuntimeException: Unable to start activity Component

Re: [android-developers] Hello Everyone, i am developing an android App with Bluetooth.

2012-02-16 Thread Kostya Vasilyev
I'm having a sense of deja vu all over again :) The issue is in your layout XML. The first ... has children - a TextView and another ListView. ListView does not allow child views (other than those it creates itself). To resolve this, move the TextView and the second ListView from inside the firs

[android-developers] Re: Getting access to a UI Context safely from anywhere

2012-02-16 Thread Weston Weems
Kristopher, This is a completely custom build of the os for very specific hardware. Our software doesn't really have the concept of notification bar. Thats not to say the facilities dont exist, but a user of our hardware doesn't have access to notifications generally. Believe me in out of box AOS

Re: [android-developers] Re: Getting access to a UI Context safely from anywhere

2012-02-16 Thread Mark Murphy
On Thu, Feb 16, 2012 at 10:52 AM, Weston Weems wrote: > Thanks for the tip. If I understand the source right, the idea is that > when those events occur, you just broadcast it... say like {some > network error message}... and have my base activity listen for those > broadcasts? Yup, with the acti

RE: [android-developers] How to restrict my app??

2012-02-16 Thread Muhammad UMER
hi, These are my client's, so how can i trust on them. please give me another solution, may i create database on server side that first authenticate user. if that user exist then he able to use that app. but how can you help me like this kind solution. Thanks and Regards, umer Date:

Re: [android-developers] How to restrict my app??

2012-02-16 Thread Kristopher Micinski
On Thu, Feb 16, 2012 at 11:29 AM, Muhammad UMER wrote: > hi, > >   These are my client's, so how can i trust on them. please give me > another solution, may i create database on server side that first > authenticate user. if that user exist then he able to use that app. but how > can you help

Re: [android-developers] Error

2012-02-16 Thread TreKing
On Thu, Feb 16, 2012 at 7:45 AM, aru padam wrote: > I am developing an app contains edit fields. sometime i am enter > some text in this an error is occurred(Sorr! – Use *#9900# to take log-). > How i can fix this issue. > Read the documentation section on debugging. Then, debug your app. ---

[android-developers] Re: Camera TextureView scaleX/scaleY problems

2012-02-16 Thread Jon Sutherland
Found my own problem, I was referencing an older instance of my TextureView object... it was being replaced in my onResume method and this caused the confusion. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

Re: [android-developers] Hello Everyone, i am developing an android App with Bluetooth.

2012-02-16 Thread Mohamed Gougam
loll yeah, thanks, i'll try it right away, thanks alot :) On Thu, Feb 16, 2012 at 8:10 PM, Kostya Vasilyev wrote: > I'm having a sense of deja vu all over again :) > > The issue is in your layout XML. > > The first ... has children > - a TextView and another ListView. ListView does not allow chi

[android-developers] Re: Android "java.util.BitSet" in ICS vs "Ginger Bread"

2012-02-16 Thread Lew
On Thursday, February 16, 2012 12:05:31 AM UTC-8, Subba wrote: > > @Lew - > > I changed the set values using static method rather than using > instance method. It does't work. > > It's something do with Java version compatibility in ICS vs. GB. First > of all i see difference in Object it's sel

[android-developers] Password application

2012-02-16 Thread Farhan Tariq
Hi guys, I am thinking of making an application that would lock the phone unless it is unlocked with a user's password. I need to know where to begin from, what part of API's i need to look at, what classes and for what purpose. In short, I just want some keywords that i should explore to get start

Re: [android-developers] Password application

2012-02-16 Thread Mark Murphy
On Thu, Feb 16, 2012 at 3:27 PM, Farhan Tariq wrote: > I am thinking of making an application that would lock the phone unless it > is unlocked with a user's password. The operating system already provides this. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsgu

Re: [android-developers] Password application

2012-02-16 Thread Farhan Tariq
Yes, I know that the OS already provides it. But i wanted to write my own code, with my own UI. I want to write my own layer that hides the android's security application from coming to front. How do i go about it? @Mark Murphy -> Sir, I really want to be knowledgeable about android like you! You

Re: [android-developers] Password application

2012-02-16 Thread Mark Murphy
On Thu, Feb 16, 2012 at 3:45 PM, Farhan Tariq wrote: > Yes, I know that the OS already provides it. But i wanted to write my own > code, with my own UI. I want to write my own layer that hides the android's > security application from coming to front. How do i go about it? Personally, as far as I

Re: [android-developers] Password application

2012-02-16 Thread Farhan Tariq
Any way you can think of which is NOT the right way? like a hack or something that would let me achieve this? On Fri, Feb 17, 2012 at 1:53 AM, Mark Murphy wrote: > On Thu, Feb 16, 2012 at 3:45 PM, Farhan Tariq > wrote: > > Yes, I know that the OS already provides it. But i wanted to write my own

Re: [android-developers] Password application

2012-02-16 Thread Mark Murphy
On Thu, Feb 16, 2012 at 3:59 PM, Farhan Tariq wrote: > Any way you can think of which is NOT the right way? like a hack or > something that would let me achieve this? To be honest, there are none that I care to discuss publicly. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://git

Re: [android-developers] Re: Reads file inside a apk

2012-02-16 Thread Dianne Hackborn
Please don't do that. The correct way to retrieve the content of your .apk is with Resources and AssetManager. On Thu, Feb 16, 2012 at 6:39 AM, Mark Cz wrote: > Thanks Mark. > But I don't want to use the assets directory, since it's not my > project. I am just giving the developers a jar with a

[android-developers] to develop an app

2012-02-16 Thread amit pandey
Implement a listView in which each contains a Title(text), Description and an image at right. Read the data from xml file and fill it into list view. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

[android-developers] to develop an app in which a text follows a z path

2012-02-16 Thread amit pandey
Write an application to show a text(“INOXAPPS SOLUTIONS PVT. LTD.”. The text shall enter with animation such that it follows the path of a ‘Z’. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-dev

[android-developers] use of inbuilt application

2012-02-16 Thread Siddharth Chopra
Hi , I want to design an application that would use the android's inbuilt "Email" application by clicking on button. Like , in my application, It would take image from gallery and by clicking on a button it should redirect to inbuilt email application. Thanks & Regards Siddharth -- You received

[android-developers] Re: Detect Sent Message!

2012-02-16 Thread Gigi
just use "content://sms/sent" On 6 fév, 14:26, Pedrito wrote: > Yes, but that intent action is not documented, so it may be > outdated... > > I also read > thishttp://stackoverflow.com/questions/5808577/android-listen-outgoing-sm... > but that doesn't work, It works if I use "content://sms/" bu

[android-developers] Sms Manager

2012-02-16 Thread Gigi
Hi all, I'm devellopind an app with Java/Eclise and use Sms manager. After having sent a message, there is no trace of this sms in sen box or elsewhere is it normal ? Gigi (French) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Re: How to screen capture through fb0?

2012-02-16 Thread sky tree
Dear Sir: I found the same GPU type(SGX 540) in Nexus S and Galaxy nexus, the I don't know why the Nexus S can work but Galaxy nexus can not. Could you give me some suggestion and commend? thank you so much, BRs, Allen On 2月15日, 上午5時39分, Dianne Hackborn wrote: > This has never been guara

Re: [android-developers] Why canvas.translate() do not work well in ICS???

2012-02-16 Thread Dianne Hackborn
You would use Canvas.translate() to modify immediately following drawing code. It does not have anything to do with how touch is handled for focus is set. On Tue, Feb 14, 2012 at 2:13 AM, Kandyguan wrote: > Hi : > My app is used canvas.translate() to move a panel up and down, it > work well

[android-developers] Re: How to screen capture through fb0?

2012-02-16 Thread sky tree
Dear Sir: I found the same GPU type(SGX 540) in Nexus S and Galaxy nexus, the I don't know why the Nexus S can work but Galaxy nexus can not. Could you give me some suggestion and commend? thank you so much, BRs, Allen On 2月15日, 上午5時39分, Dianne Hackborn wrote: > This has never been guara

[android-developers] ICS calendar event setup issue

2012-02-16 Thread Greg Lozano-Buhl
I've noticed that ICS no longer shows the day of the week corresponding to the selected date when setting up a calendar event. This makes it hard to setup a multi-day event in the instance that I want the event to end on, say, Thursday when I do not know what date Thursday is. Is there a way to mak

[android-developers] How to screen capture by fb0 normally on Galaxy Nexus?

2012-02-16 Thread sky tree
Dear Sir: I found the same GPU type(SGX 540) in Nexus S and Galaxy nexus, the I don't know why the Nexus S can work but Galaxy nexus can not(the captured raw data are always zero!). Could you give me some suggestion and commend? thank you so much, BRs, Allen On 2月15日, 上午5時39分, Dianne Hac

[android-developers] to know about how to use variable accross differnt activities

2012-02-16 Thread amit pandey
how to use a variable across different activities -- 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+unsu

[android-developers] Help with Maps problem on emulator

2012-02-16 Thread Gene
Hello all. I'm developing an Android Maps API app behind a business proxy/firewall using an emulator. Mac OS X is the host machine. It took a lot of fiddling, but I finally found a -http-proxy and -dns settings that got the emulator through to the Internet. I also had to set the proxy settings

  1   2   >