Re: [android-developers] In App purchase Google Checkout Testing In Pakistan

2011-05-13 Thread Nasif Noorudeen
need android market version morethan 3.2 is the reason On Fri, May 13, 2011 at 12:04 PM, Piyasa wrote: > I am implementing In App purchase through Google CheckOut in my app. I > live in Pakistan > I can test In App billing only on Sprint CDMA device but not on Nexus > S, Milestone II ,HTC desire

Re: [android-developers] Re: How to make an app in Android to add support of Urdu Language in SMS Program of Android

2011-05-13 Thread Nasif Noorudeen
eiteher you have to make a databses which contain all the words in urdu On Sat, May 14, 2011 at 12:06 PM, Aitor Mendaza Ormaza < aitorthe...@gmail.com> wrote: > http://developer.android.com/guide/topics/resources/localization.html > >

Re: [android-developers] Re: How to make an app in Android to add support of Urdu Language in SMS Program of Android

2011-05-13 Thread Aitor Mendaza Ormaza
http://developer.android.com/guide/topics/resources/localization.html http://developer.android.com/resources/tutorials/localization/index.html On Fri,

Re: [android-developers] Re: Transition from solid to transparent

2011-05-13 Thread Aitor Mendaza Ormaza
I guess that if the third drawable is transparent over green, then you will see only green... On Fri, May 13, 2011 at 11:02 AM, crios wrote: > Ok, so now I'm trying to use this transition as the background of the > textview: > > http://schemas.android.com/apk/res/ > android"> > > > > > >

Re: [android-developers] Newbie running HelloWorld

2011-05-13 Thread Aitor Mendaza Ormaza
What version of the SDK did you installed? What OS? eclipse version? Provide us with more information On Fri, May 13, 2011 at 5:51 PM, quique123 wrote: > Hi, I installed: > > android sdk > jdk > eclipse > adt plugin > > Im following the developer.android.com guide for HelloWorld and here > is my

[android-developers] String Array help

2011-05-13 Thread Big Al
I need help with my programme. I am creating an epandable list from an xml file that contains data that can change at anytime. My question is the data in the xml file is stored in a string-array and I need to transfer it to a multi dimensional string array so I can use it to create the children for

[android-developers] Re: Device admin policy receiver failing on boot in Froyo but not Gingerbread

2011-05-13 Thread Brill Pappin
More info. I ended up rooting this device so I could check the policy storage. It was recorded, which is why I at least get the boot message that loading failed. # cat device_policies.xml Not sure if this give anyone a clue, but may rule out a problem. -- You received this message beca

[android-developers] Re: Official Stock Rom Downloads

2011-05-13 Thread Brill Pappin
The "stock" ROM would come from the phone manufacturer, not directly from Google as I understand 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 unsubscribe f

Re: [android-developers] How did you get into Android development

2011-05-13 Thread Brill Pappin
haha, particularly since 25 years ago, hardly anyone knew java (if it was even released). I have something between 15 or 16 years of experience with java now now (exact numbers are fuzzy in my old age)... and I started with java 1.1 :) In fact i think its only about 17 years old! Anyway. If your

[android-developers] Re: android input method framework

2011-05-13 Thread Brill Pappin
InputMethodService is just that... a service that runs waiting for you to need your keyboard and provides the hooks for the system to ask for it when needed. If its too complex for you to get while you are sitting in front of all the documentation, what makes you think its not too complex to co

[android-developers] Re: Min SDK version vs target SDK vs actual android version app runs on

2011-05-13 Thread Brill Pappin
If your running in gingerbread, you get gingerbread libraries. There is no magic "library selector" that looks at your manifest first. -- 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

[android-developers] Official Stock Rom Downloads

2011-05-13 Thread pea
Hello. I did a stupid a while back when trying out roms for the first time and forgot to backup. Now I want to go back to the stock rom but don't want to download a compiled version off 'some forum' in case they're dodgy. I'm sure they're fine, but I just get that itching feeling. 1. Is there any

[android-developers] Official Stock Rom Downloads

2011-05-13 Thread pea
Hello. I did a stupid a while back when trying out roms for the first time and forgot to backup. Now I want to go back to the stock rom but don't want to download a compiled version off 'some forum' in case they're dodgy. I'm sure they're fine, but I just get that itching feeling. 1. Is there any

[android-developers] Device admin policy receiver failing on boot in Froyo but not Gingerbread

2011-05-13 Thread Brill Pappin
Ok, this problem has me stumped and I'm hoping someone watching the list has an idea of what the problem might be. I've got a device admin policy that installs with an app, however in Froyo it won't start at boot (it *does* seem to work fine in Gingerbread). The exceptions I get are: On Shutdo

[android-developers] horizontal view increasing the size of a text box

2011-05-13 Thread green hoodlum
Hi, i'm currently attempting to work out how to have 4 text boxes, 2 per row. i don't have a problem implementing this with a tablelayout/ tablerow where the text boxes of equal sizes. i.e: box1 box2 box3 box4 what i'd like to try is to have the 4th box to be a larger size. so for instance

[android-developers] Fragments API 11+ vs Compatibility package

2011-05-13 Thread Phil Bayfield
Hi, I've just started playing around with fragments to make some apps work better with tablets. I've got this working nicely with my SGS and Xoom using just the compatibility package (trying to mix both resulted in crashes as I'm using the same fragment classes for both), which means I had to ext

[android-developers] Help with audio streaming?

2011-05-13 Thread Damien
Hello, I am trying to test a simple streaming app, but whenever I run it, I get this error: Prepare failed.: status 0x1 My code is very basic: mp.setDataSource("http://asculta.kno.ro:9090/";); mp.setAudioStreamType(AudioManager.STREAM_MUSIC); mp.prepare(); mp.start(); However, all go

[android-developers] keeping track of time a user is actively using an android app

2011-05-13 Thread laurent bouis
Hi, I am trying to find the best way to keep track of how much time a user spent on an android application (to report it to a server). I am only interested in tracking time where the user seems to use the app, so if it's in the background i shouldn't count that time for example. I did some resear

[android-developers] Re: How did you get into Android development

2011-05-13 Thread harism
On May 13, 1:24 pm, "Knutsford Software" wrote: > How did people on this list get from learning about Android to getting paid > work developing apps. In other words how did you get past the no experience > no work stage? Well, as for me, I joined this list just minutes ago. Installed Android SD

[android-developers] How do I know what encoding the string when I decoded from the media store?

2011-05-13 Thread wang
Hi, I have some Japanese music on device, I try to write program to get every music's detail information from media store using public static final String[] DataProjection = new String[]{ MediaStore.Audio.Media.ALBUM_ID, MediaStore.Audio.Albums.ALBUM, MediaStore.Audi

[android-developers] New Tab Control In New Music App

2011-05-13 Thread flotzam
Anybody notice how the new official Google music app 3.0.338 that they released this week uses a new kind of tab metaphor, where you can scroll across to more tabs than the screen real estate can hold. Like you can see the edge of the Songs tab when you see Artists and Albums, etc? Pretty slick.

[android-developers] EditText stops displaying characters as I'm typing?

2011-05-13 Thread Ben S
Basically what happens is I will start typing on the keyboard (stock and third party), and all of a sudden it stops showing characters I type in the EditText, (sometimes) resets the caret to the beginning, yet I know I'm still typing because the suggestions box shows the characters as I type. I've

[android-developers] Re: adding style in xml breaks onClick events.

2011-05-13 Thread denov
solved it!! if you use style="?sytleItem" in a listview the context menu breaks, onclick still works. using style="?attr/styleItem" fixes it. don't ask why, i figured it out by reading the android source and (LOT of) trial and error. On May 6, 7:34 pm, denov wrote: > the ? references a (custo

Re: [android-developers] android input method framework

2011-05-13 Thread TreKing
On Thu, May 12, 2011 at 5:12 AM, situ wrote: > Can anyone explain me the flow of android InputMethodFrameork.I tried > understanding it but its lille complicated for me to understand.I > wanna know the flow from LatinIme app to InputMethodManagerService. > Buddy, it's unlikely anyone has the tim

Re: [android-developers] About removing all android apps

2011-05-13 Thread TreKing
On Thu, May 12, 2011 at 12:04 AM, bhavani sankari wrote: > I've developed a android app for a device.I have built my app along with > other apps of gingerbread in linux. > If you're modifying the source, you need to go to the appropriate group for that discussion. Check the docs. -

[android-developers] simultaneous download of files - best way to handle it

2011-05-13 Thread droid-stricken
Hi All, I am writing an application targeting API level 9 or higher. So, i have decided to go with DownloadManager Class that SDK offers. My question is 2 part - 1. When i am downloading a single file, how do i display the progress of the download. I see i can get COLUMN_TOTAL_SIZE_BYTES and COLU

Re: [android-developers] Re: Min SDK version vs target SDK vs actual android version app runs on

2011-05-13 Thread Dianne Hackborn
GL10 has nothing to do with SDK version. I really don't understand what you are asking in relation to that. You set the minSdkVersion to the minimum number you will run on. Market will filter your app from older versions of the platform. You set targetSdkVersion to the newest version you have t

Re: [android-developers] Bind to Service in Fragment

2011-05-13 Thread Dianne Hackborn
It is the same as with an activity. On Fri, May 13, 2011 at 9:29 PM, goosedroid wrote: > Hello, > > I was wondering what the best place to bind / unbind to a service in a > Fragment is. I am using the compatibility library, and revision 1 > (v4?) has an issue with onStart/onStop. > > http://code

Re: [android-developers] Broadcast receiver not working in Activity

2011-05-13 Thread TreKing
On Thu, May 12, 2011 at 11:17 AM, Walid wrote: > Can anyone give me working example to receive a broadcast message from a > custom service and update a list in the view.. > http://developer.android.com/reference/android/app/Service.html#LocalServiceSample ---

[android-developers] keyboard, where are you

2011-05-13 Thread bob
Sometimes in my Webviews, the keyboard doesn't pop up when the user clicks a text field. Anyone know how to fix this? Specifically, this is happening when I switch to a Webview from an OpenGL GLSurfaceView so that the user can tweet about the game they are playing. -- You received this message

[android-developers] Re: Android and camera

2011-05-13 Thread Emanuel Moecklin
The manifest stuff looks ok so it's either your code or some other app using the camera without releasing it. If you post some code we might be able to help you. Cheers Emanuel Moecklin On May 13, 1:50 pm, kypriakos wrote: > Hi all, > > I am working on an app to use the phone's cam periodically.

Re: [android-developers] Show default view in activitygroup

2011-05-13 Thread TreKing
On Thu, May 12, 2011 at 9:00 AM, dario wrote: > Any hint? Don't use ActivityGroup. I think Fragments are the new hotness to accomplish this type of "mini-activity" type functionality. - TreKing

Re: [android-developers] Eclipse and Android source code

2011-05-13 Thread TreKing
On Thu, May 12, 2011 at 4:38 AM, Jeje wrote: > These 3 errors disappear but 7500 new errors appear Damn, lol. You need to try on a more appropriate group related to building the platform. Check the docs for more appropriate groups. -

[android-developers] Re: how do i send mouse/touch event system wide

2011-05-13 Thread Indicator Veritatis
Yes, Android does not support the requested operation (global mouse event 'signalling'). And this is a GOOD thing! The Listener pattern is a far superior design, we should be thankful that we cannot broadcast the mouse click event to all apps and services. If the OP is not convinced, he should see

[android-developers] Re: someone please explain this error and how to get rid of it

2011-05-13 Thread Spooky
On May 13, 5:01 pm, Mark Murphy wrote: > On Fri, May 13, 2011 at 5:31 PM, Spooky wrote: > All you do is copy your third-party JAR > into libs/ and add it to your project with Add JAR on the Libraries > tab of the Build Path dialog. I started off by making a NEW project: Yamba2. I copied my

[android-developers] Re: Broadcast before shutting down

2011-05-13 Thread Albert
Thanks for the link! Although I have a feeling that an app installed on the sdcard won't be able to receive that. Will test it... On May 13, 11:03 pm, Filip Havlicek wrote: > http://developer.android.com/reference/android/content/Intent.html#AC... > > 2011/5/13 Albert > > > > > > > > > Hi there

[android-developers] Re: Check permissions

2011-05-13 Thread Brill Pappin
Just came across this thread because i need to do it. Actually there is a case. Library with a component you want to use, but the app that uses it must include a permission to enable a certain part of the library. (in my case auto fill in the users email is GET_ACCOUNT is set) -- You received

Re: [android-developers] Progress circle (NOT indeterminate!)

2011-05-13 Thread B Lyon
Yeah that looks slick On Friday, May 13, 2011, Brill Pappin wrote: > Ahh, thats a nice clean solution :) > I'd go for Romain's solution as it'll be easier to maintain than a series of > 9patch files. > - Brill > > > > -- > You received this message because you are subscribed to the Google > Grou

[android-developers] Re: WebView

2011-05-13 Thread bob
Thanks. I changed the code to this and it works import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; import android.webkit.WebViewClient; public class hmm extends Activity { WebView mWebView; /** Called when the activity is first created. */ @

[android-developers] Re: someone please explain this error and how to get rid of it

2011-05-13 Thread Spooky
On May 13, 5:01 pm, Mark Murphy wrote: > On Fri, May 13, 2011 at 5:31 PM, Spooky wrote: > > and > > they are > > the only two JAR files in the Yamba directory on the disk I don't know why I wrote that...android.jar is referenced by the .classpath file, but it is NOT in the Yamba path. Oops.

Re: [android-developers] Broadcast before shutting down

2011-05-13 Thread Filip Havlicek
http://developer.android.com/reference/android/content/Intent.html#ACTION_SHUTDOWN 2011/5/13 Albert > Hi there, > > Does anyone knows what broadcast event gets launched before a device > is turned off (if any) - I want to be able to receive it on an app > that is installed on the sd card, which

Re: [android-developers] Re: someone please explain this error and how to get rid of it

2011-05-13 Thread Mark Murphy
On Fri, May 13, 2011 at 5:31 PM, Spooky wrote: > android.jar and jtwitter.jar are the only two JAR files listed > anywhere in the > project, they are the only two JAR files in the .classpath file, and > they are > the only two JAR files in the Yamba directory on the disk There should be no androi

[android-developers] Broadcast before shutting down

2011-05-13 Thread Albert
Hi there, Does anyone knows what broadcast event gets launched before a device is turned off (if any) - I want to be able to receive it on an app that is installed on the sd card, which complicates things... Cheers, Alberto -- You received this message because you are subscribed to the Google G

Re: [android-developers] Re: Progress circle (NOT indeterminate!)

2011-05-13 Thread Brill Pappin
Ahh, thats a nice clean solution :) I'd go for Romain's solution as it'll be easier to maintain than a series of 9patch files. - Brill -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

[android-developers] Re: someone please explain this error and how to get rid of it

2011-05-13 Thread Spooky
On May 13, 3:27 pm, Mark Murphy wrote: > Also, you may wish to visit that book's official support point: > > https://marakana.com/forums/android/learning_android_book/ Already posted this there. No response yet. I'm guessing that I'm more likely to get a response here. I seem to recall seei

[android-developers] Re: Progress circle (NOT indeterminate!)

2011-05-13 Thread Brill Pappin
Do you really need so much accuracy that you need to draw every point on your "progress circle"? Likely you don't unless you have something very specific for it to do. If thats the case, simply use a series 9patch png files and create a level drawable. You can use as many levels as you need. -

[android-developers] Re: Scrollbar in AdapterView derived object

2011-05-13 Thread Ga
I spent more time on it and it the method ViewRoot.draw throw a nullpointer exception. I implemented every compute method and add this code to enable scrollbars : setHorizontalScrollBarEnabled(true); setScrollContainer(true); setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY); setScrollbarFadingEn

Re: [android-developers] Re: Android renders RGB values wrong.

2011-05-13 Thread cg-dev
I know, but in Eclair it's not working. If you put Bitmap option to RGBA. You get a RGBA image but the image is altered. Maybe I'm wrong, but I remember I face this issue on my Eclair phone and take this workaround using libpng. In eclair release, if the bitmap has no alpha it was converted to

[android-developers] Re: someone please explain this error and how to get rid of it

2011-05-13 Thread Spooky
On May 13, 3:10 pm, Mark Murphy wrote: > Either the JAR you added has java.nio.CharBuffer in it The JAR file is jtwitter-yamba.jar (renamed to jtwitter.jar), and there is no sign of java. anything anywhere in it. > or you > accidentally messed up your build path to include some other Java JAR

[android-developers] Bind to Service in Fragment

2011-05-13 Thread goosedroid
Hello, I was wondering what the best place to bind / unbind to a service in a Fragment is. I am using the compatibility library, and revision 1 (v4?) has an issue with onStart/onStop. http://code.google.com/p/android/issues/detail?id=16490 Perhaps there is a workaround or a better lifecycle call

[android-developers] Re: Min SDK version vs target SDK vs actual android version app runs on

2011-05-13 Thread Leo
Hi Dianne, That page lists what each version number's code name is but that is not I am seeking. I have more fundamental question. Say if I have opengl GL10 calls in my app and I have set minSDK level to 4 and targetSDK level 5 in my manifest and the app runs on a phone that has 2.3 Gingerbread

Re: [android-developers] Re: Progress circle (NOT indeterminate!)

2011-05-13 Thread Romain Guy
You don't need to do all this. All you need is a drawable that supports levels. Android even provides a circle drawable that gets filled when you change the progress. Here's an example: http://schemas.android.com/apk/res/android";>

[android-developers] Re: Progress circle (NOT indeterminate!)

2011-05-13 Thread Nicholas Johnson
Here's what you can do: Extend the AbsSeekBar class, and implement the onDraw method to your liking. You can capture the height and width of your custom view by capturing those values in the onSizeChanged method. By drawing

[android-developers] Use your Machine as ADK with libusb

2011-05-13 Thread mdc
Hi everyone, I am really excited about the ADK but do not yet have a USB-Host Board. If you are like me and want to start testing and programming over the weekend then you can do this using your computer as accessory :) If you are running Linux then you can just use my little piece of C code to c

Re: [android-developers] Min SDK version vs target SDK vs actual android version app runs on

2011-05-13 Thread Dianne Hackborn
The mappings between code names, version numbers, and API levels is here: http://developer.android.com/reference/android/os/Build.VERSION_CODES.html On Fri, May 13, 2011 at 8:55 PM, Leo wrote: > > Can somebody clarify where the java libraries get pulled from with > regard to > > Min SDK version

[android-developers] Min SDK version vs target SDK vs actual android version app runs on

2011-05-13 Thread Leo
Can somebody clarify where the java libraries get pulled from with regard to Min SDK version vs target SDK version vs actual device android version. When compiling in SDK I see min SDK version android*.jar getting pulled into referenced libraries by the eclipse plugin. But how does that referenc

[android-developers] Min SDK version vs target SDK vs actual android version app runs on

2011-05-13 Thread Leo
Can somebody clarify where the java libraries get pulled from with regard to Min SDK version vs target SDK version vs actual device android version. When compiling in SDK I see min SDK version android*.jar getting pulled into referenced libraries by the eclipse plugin. But how does that referenc

Re: [android-developers] Synchronization with the web server

2011-05-13 Thread Miguel Morales
By programming it, and probably by using that specific social network android sdk or general api. It other words, by researching and implementing. On Fri, May 13, 2011 at 1:50 PM, Andrei wrote: > Good afternoon. > Tell how you can make the following function. > I call the dialog with fields of a

[android-developers] Re: Progress circle (NOT indeterminate!)

2011-05-13 Thread Serdel
I want a progress circle 'bar' , because this is how it must be displayed in the graphic layout. I think I can do this with implementing the onDraw method and drawing the circle. Another problem which I see here is that the circle is quite strictly fit to the graphics around it (fitting correctly o

[android-developers] Synchronization with the web server

2011-05-13 Thread Andrei
Good afternoon. Tell how you can make the following function. I call the dialog with fields of a login and password. The user must enter a username and password and login on a social network. How can this be implemented? Thank you. photo http://s43.radikal.ru/i102/1105/05/1d2c3263e24f.jpg -- You

[android-developers] Re: AVD Emulator Opens Wrong Dpi

2011-05-13 Thread jtoolsdev
Look at the note under Table 2: http://developer.android.com/guide/practices/screens_support.html On May 12, 3:07 pm, canalrun wrote: > Thanks. Even if the device is actually a high density display device > (240)? > I will have to search through the docs to see how I missed this. > Thanks. > > B

[android-developers] Re: how to skip loading drivers at startup and load them all later on?

2011-05-13 Thread longingtoadopt.com
ok, apologies. On May 13, 1:54 pm, Justin Anderson wrote: > This is probably not the right group for this question...  This group is for > SDK questions and this definitely cannot be done with the SDK > > Thanks, > Justin Anderson > MagouyaWare Developerhttp://sites.google.com/site/magouyaware >

Re: [android-developers] How did you get into Android development

2011-05-13 Thread Miguel Morales
I sent my app to the hiring manager, they liked it. I got hired. The end. On Fri, May 13, 2011 at 8:15 AM, Marcin Orlowski wrote: > > On 13 May 2011 15:02, Knutsford Software wrote: > > I am a programmer. The point is how do you get paid Android work if you >> haven't already done some that you

Re: [android-developers] someone please explain this error and how to get rid of it

2011-05-13 Thread Mark Murphy
On Fri, May 13, 2011 at 4:01 PM, Spooky wrote: > While trying to build the Yamba example code from "Learning Android", > I am getting the following error.  I suspect that it > may have something to do with the external jar file, jtwitter.jar (the > book version which has one error from the origina

Re: [android-developers] Re: Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
hi , thank u all guys i did it :) thanks 4 ur support On Sat, May 14, 2011 at 1:51 AM, Justin Anderson wrote: > The best way to do that is to use a StateListDrawable: > > http://developer.android.com/reference/android/graphics/drawable/StateListDrawable.html > > That's what I did with "AppSwipe!"

Re: [android-developers] Re: Gallery image should navigate with textview

2011-05-13 Thread Justin Anderson
The best way to do that is to use a StateListDrawable: http://developer.android.com/reference/android/graphics/drawable/StateListDrawable.html That's what I did with "AppSwipe!" on the Android Market. The selected item has a blue background with a gradient. Everything else in the list has a tran

Re: [android-developers] Re: Replay monkey execution

2011-05-13 Thread Dianne Hackborn
The main thing we use monkey for is automated testing for statistical tracking of stability and performance. That is, for a particular build there is a lab that runs multiple monkeys on the build and collects statistics on how many events they were able to perform before failing and what kinds of

Re: [android-developers] How to convert dimensions in to dp?

2011-05-13 Thread Brill Pappin
Yah, that's what I said :) Thanks for your assistance! - Brill -- 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-

Re: [android-developers] someone please explain this error and how to get rid of it

2011-05-13 Thread Mark Murphy
Either the JAR you added has java.nio.CharBuffer in it or you accidentally messed up your build path to include some other Java JAR that has java.nio.CharBuffer in it. That class should only come from the android.jar supplied by the Android SDK, which is automatically put in your build path when yo

Re: [android-developers] Re: Replay monkey execution

2011-05-13 Thread B Lyon
When I first read about the monkey runner, I thought I could use it for all kinds of stuff, but after learning a little more I'm not sure you would want to use it for controlled tests (like regression checks, functional tests). Maybe great to throw a bunch of random stuff at your app (and it's fun

Re: [android-developers] Re: Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
Hi , thanks 4 reply Now m setting ID for every imageview that m creating dynamically like * int * imageview_id=1; *for*(*int* i=0;i arg0, View arg1, *int* position, *long* arg3) { // *TODO* Auto-generated method stub //Toast.makeText(HotelViewScreen.this, ""+arg2, Toast.LENGTH_LONG).show

Re: [android-developers] Re: Replay monkey execution

2011-05-13 Thread Dianne Hackborn
Again, monkeys are NOT deterministic. On Fri, May 13, 2011 at 7:52 PM, avi wrote: > Hi Diego, > > Thank you for your post..I tried the exact same steps..Running monkey > with verbose option and post processed the file to replay Monkey...but > there was slight deviation from the original run..If

[android-developers] someone please explain this error and how to get rid of it

2011-05-13 Thread Spooky
While trying to build the Yamba example code from "Learning Android", I am getting the following error. I suspect that it may have something to do with the external jar file, jtwitter.jar (the book version which has one error from the original patched): --- CUT HERE

[android-developers] Re: Gallery image should navigate with textview

2011-05-13 Thread ashutoshmimani
Can you not save references to your image views when you are creating them? On May 13, 3:34 pm, gaurav gupta wrote: > hi justin >  i want to just change my textview and imageview with gallery. > my imageview showing the current position of gallery . like if gallery's > currenit position is 2 , th

[android-developers] Re: Replay monkey execution

2011-05-13 Thread avi
Hi Diego, Thank you for your post..I tried the exact same steps..Running monkey with verbose option and post processed the file to replay Monkey...but there was slight deviation from the original run..If you have tried it, could you please share your solution with me? Thanks again On May 8, 10:5

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
hi justin i want to just change my textview and imageview with gallery. my imageview showing the current position of gallery . like if gallery's currenit position is 2 , the 2nd imageview will be yellow,now it is gray its just like a indicator in footer that will show the postion of gallery's sel

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread Justin Anderson
I'm not entirely sure what you are trying to accomplish... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 13, 2011 at 1:23 PM, gaurav gupta wrote: > HI , > i have a new issue , my using small dots to show the current image position > of a gall

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
HI , i have a new issue , my using small dots to show the current image position of a gallery. these images are creating in runtime using this code for (*int* i=0;iwrote: > Thanks Justin > Its works , > :) > > On Sat, May 14, 2011 at 12:32 AM, Justin Anderson > wrote: > >> The way I did it in A

Re: [android-developers] help with new class declaration

2011-05-13 Thread Mark Murphy
A constructor does not have a return type. Your EncounterGenerator constructor attempts to return a String. Since you are new to Java, I heartily recommend spending time learning Java before getting into Android development. Here is a blog post where I outline some key Java topics that newcomers t

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
Thanks Justin Its works , :) On Sat, May 14, 2011 at 12:32 AM, Justin Anderson wrote: > The way I did it in AppSwipe! was with a RelativeLayout that contains a > Gallery and a TextView. I used an OnItemSelectedListener to change the text > displayed in the text view. > > > http://developer.andro

[android-developers] help with new class declaration

2011-05-13 Thread cmt
I added a new class to my Android project and then declared it in my main .java file like this: Encounter EncounterGenerator; However, I'm getting this error: "Encounter cannot be resolved to a type" My new class is in a separate file with the code listed below. Is there anything I'm doing wro

Re: [android-developers] Gallery image should navigate with textview

2011-05-13 Thread Justin Anderson
The way I did it in AppSwipe! was with a RelativeLayout that contains a Gallery and a TextView. I used an OnItemSelectedListener to change the text displayed in the text view. http://developer.android.com/reference/android/widget/AdapterView.OnItemSelectedListener.html It is pretty straightforwa

[android-developers] Android (GingerBread) compliance with AT&T requirements

2011-05-13 Thread sahil gupta
Hello, Just want to get some details about how shall i go about studying Android (GingerBread) compliance with AT&T's device requirements (ADAPT), if someone has carried out this study kindly share your experience and inputs. Any pointers on this?? Regards Sahil Gupta -- You received this mess

[android-developers] Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
Hti guys m making a gallery that contain 10 images , each images have a different name . i want that if i scroll the gallery , selected or focused image's name should be appear. Name should change on onFoucs or OnItemSelected. Suggest me. Thanks in advance. -- You received this message because y

Re: [android-developers] how to skip loading drivers at startup and load them all later on?

2011-05-13 Thread Justin Anderson
This is probably not the right group for this question... This group is for SDK questions and this definitely cannot be done with the SDK Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 13, 2011 at 12:42 PM, longingtoadopt.com wrote: > I am tr

Re: [android-developers] how to skip loading drivers at startup and load them all later on?

2011-05-13 Thread Mark Murphy
This list is for developing applications with the Android SDK. Questions regarding the firmware belong elsewhere, such as the Google Groups listed over on: http://source.android.com/community/index.html On Fri, May 13, 2011 at 2:42 PM, longingtoadopt.com wrote: > I am trying an experiment to swi

[android-developers] Re: Android: how to draw an ImageView with the same size regardless of device?

2011-05-13 Thread Ab
Ok, I finally figured out what is going on: The problem is that a image button who's with is specified as 10mm, shows as about 7mm on my Galaxy tab, and about 9mm on my Iconia Tab. There are 2 reasons for this rather significant difference: 1. The Iconia Tab reports its xdpi as ~160, when its

[android-developers] how to skip loading drivers at startup and load them all later on?

2011-05-13 Thread longingtoadopt.com
I am trying an experiment to switch out drivers dynamically - on demand. On Android 2.2, how to skip loading drivers at startup? I want to load them at a later time. Is there a blanket command to skip loading the drivers? Is there another one to start loading all of them? -- You received this mes

Re: [android-developers] Re: help with TextView

2011-05-13 Thread B Lyon
cool - had you already tried cleaning the project in eclipse before you did that? On Fri, May 13, 2011 at 2:36 PM, cmt wrote: > FIXED IT.  I am not sure exactly how I fixed it, but I just deleted > the TextView from the XML file, then re-added it. Now it works! > > Thanks! > > > On May 13, 11:33

Re: [android-developers] Re: On CRC32, LVL and tamper-proof app

2011-05-13 Thread Kostya Vasilyev
Makes sense. -- Kostya 13.05.2011 22:25, Nikolay Elenkov пишет: It replaces all Method.invoke() calls with it's own invokeHook() that does something like this: if ( methodClassName .equals("android.app.ContextImpl$ApplicationPackageManager") || methodClassName .equals("android

[android-developers] Re: help with TextView

2011-05-13 Thread cmt
FIXED IT. I am not sure exactly how I fixed it, but I just deleted the TextView from the XML file, then re-added it. Now it works! Thanks! On May 13, 11:33 am, Brill Pappin wrote: > Based on what you and others have posted for this thread, my gut feeling is > that your layout is hiding the Tex

Re: [android-developers] Re: On CRC32, LVL and tamper-proof app

2011-05-13 Thread Nikolay Elenkov
On Sat, May 14, 2011 at 2:53 AM, Nikolay Elenkov wrote: > On Sat, May 14, 2011 at 2:27 AM, Kostya Vasilyev wrote: >> Reflection too can be bypassed, by hooking getClass / getMethod and friends, >> and it's only a matter of time before it's scripted. > > The antilvl tool does reflection too. It r

Re: [android-developers] How to use Notification service from Broadcast receiver

2011-05-13 Thread Nicholas Johnson
What kind of notification service are you talking about? Status bar notification? Text only (i.e. Toast) notification? Here's some code for a status bar notification. I won't c

Re: [android-developers] Development Patterns

2011-05-13 Thread Adam Ratana
Cory, you and I have basically done the same thing. I think an upgrade to this approach is being suggested by TreKing and Kostya, which is, simply using the delegation, but ditching the base classes. That way, if we need different delegates we can pick and choose on the fly as necessary. A l

Re: [android-developers] How to use Notification service from Broadcast receiver

2011-05-13 Thread Justin Anderson
Maybe... but I doubt anyone will. See, we have enough on our hands doing our own work and don't want to do your for you as well. http://www.catb.org/~esr/faqs/smart-questions.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 13, 2011 at 4:4

Re: [android-developers] WebView

2011-05-13 Thread Mark Murphy
On Fri, May 13, 2011 at 12:53 PM, bob wrote: > When I do this, > > mWebView.loadUrl("http://www.google.com/";); > > the web page loads in the view. I doubt it. This usually pops up the user's choice of browser, due to a redirect. > However, when I do this: > > mWebView.loadUrl("http://twitter.co

Re: [android-developers] How does one detect when an animation has finished?

2011-05-13 Thread Justin Anderson
http://developer.android.com/reference/android/view/animation/Animation.AnimationListener.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 13, 20

[android-developers] Re: Using transparent png textures won't work

2011-05-13 Thread Forsaken
> There is no transparency in JPEG. You mean 2 jpeg and 1 png. Of course i know there is no transparency in JPEG, I just wrote that to state clearly that the jpg textures (those are 3) do not vanish like the png. Afaik the PNG texture should be white if it fails to load for some reason not ivisible

[android-developers] Widget size problem

2011-05-13 Thread Alexey Onuchin
Hi to all, I faced with one strange issue designing my widget layout. At first I decided to make it 3x2 cells for all supported screens. So I use minWidth=220dip and minHeight=146dip in my xml/widget.xml: http://schemas.android.com/apk/res/ android" android:minHeight="220dip"

[android-developers] Newbie running HelloWorld

2011-05-13 Thread quique123
Hi, I installed: android sdk jdk eclipse adt plugin Im following the developer.android.com guide for HelloWorld and here is my code: package com.santiapps.helloandroid; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class HelloAndroid extends Acti

  1   2   3   >