[android-developers] Re: custom attributes in library projects

2010-12-27 Thread schwiz
Ag!! hopefully a hot fix soon?? On Nov 23, 12:13 pm, Leif wrote: > And same here too... > > On 9 Nov, 07:01, Open wrote: > > > > > > > > > Same problem here. > > > On Sep 14, 9:58 pm, Tom wrote: > > > > i'm also hitting this issue.  can't create a xml-configurable custom > > > view in alibr

[android-developers] Re: How to populate a ViewStub using different ImageButtons?

2010-08-02 Thread schwiz
> > > On Sat, Jul 31, 2010 at 8:20 PM, schwiz wrote: > > viewswitcher is probably better for what you are wanting to do > >http://developer.android.com/reference/android/widget/ViewSwitcher.html > > you can even assign animations for the views as they come and go if &g

[android-developers] Re: How to recreate and reinflate a ViewStub?

2010-08-02 Thread schwiz
check out the panel example here in this project its easy to reuse and makes sliding drawers in any direction http://code.google.com/p/android-misc-widgets/ On Aug 1, 8:01 pm, Victoria Busse wrote: > I am trying to create a  SlidingDrawer that holds a menu with imagebuttons > and each > imagebutt

[android-developers] Re: Scrolling text (marquee) in an AppWidget

2010-08-02 Thread schwiz
I just do a findViewById().setSelected(true); after set content view. You may have to cast it as a textview. On Jul 22, 6:35 pm, Matt wrote: > Does anyone have a working example of scrolling text in a widget? > > Thanks! -- You received this message because you are subscribed to the Google Grou

[android-developers] Re: How to populate a ViewStub using different ImageButtons?

2010-07-31 Thread schwiz
viewswitcher is probably better for what you are wanting to do http://developer.android.com/reference/android/widget/ViewSwitcher.html you can even assign animations for the views as they come and go if you want. On Jul 30, 3:51 pm, Victoria Busse wrote: > Hi there, > > I am trying to populate a

[android-developers] Re: live stream error

2010-07-01 Thread schwiz
I take that back updating to 85b has only spaced the errors out but they are still there and there is horrible cracks and pops. Anyone know a workaround for this? On Jun 30, 11:02 pm, schwiz wrote: > updating to release 85b fixed this issue > > On Jun 30, 4:40 pm, schwiz wrote: >

[android-developers] Re: live stream error

2010-06-30 Thread schwiz
updating to release 85b fixed this issue On Jun 30, 4:40 pm, schwiz wrote: > I am making a basic activity to stream this live > showhttp://ice2.securenetsystems.net/WHBRM here is the pastebin of my > activityhttp://pastebin.com/N5g69j7i > > I realize that it is better to be i

[android-developers] live stream error

2010-06-30 Thread schwiz
I am making a basic activity to stream this live show http://ice2.securenetsystems.net/WHBRM here is the pastebin of my activity http://pastebin.com/N5g69j7i I realize that it is better to be in a service but this is just a test. Anyways it seems to be working fine except for in froyo my error l

[android-developers] Re: Moto Droid ADB Drivers no longer work after HTC Evo was used.

2010-06-26 Thread schwiz
when it detects the device goto the properties and select install driver and then pick from existing installed drivers and pick adb from another android phone. On Jun 26, 5:54 pm, pcm2a wrote: > When I uncheck the Show compatible hardware box the ADB selection > disappears. > > My ADK drivers are

[android-developers] Re: onKeyDown not being called in TabActivity

2010-06-20 Thread schwiz
of it whilst sitting in the movie theater today and couldn't wait till I got home to try it :P BTW I saw two of your books on the shelf at Barnes and Noble today :) On Jun 20, 10:25 am, Mark Murphy wrote: > On Sun, Jun 20, 2010 at 11:08 AM, schwiz wrote: > > thanks for the sugges

[android-developers] Re: onKeyDown not being called in TabActivity

2010-06-20 Thread schwiz
menu button? On Jun 20, 6:06 am, Mark Murphy wrote: > On Sun, Jun 20, 2010 at 3:02 AM, schwiz wrote: > > Hello all I am trying to override the behavior of a TabActivity that > > has other Activities as children.  I have made all of the children > > activities return false in

[android-developers] onKeyDown not being called in TabActivity

2010-06-20 Thread schwiz
Hello all I am trying to override the behavior of a TabActivity that has other Activities as children. I have made all of the children activities return false in onKeyDown so that the key will propagate through to the parent. However, this is not the case. The only key that is being recognized i

[android-developers] Re: how to launch applications installed in a phone?

2010-06-14 Thread schwiz
There are apps like beautiful widgets that give you a list of all of the apps installed on your phone and give you a choice of what to launch when you press a certain button. Also, the various homescreen replacements that know what acitivities are installed on the phone and how to launch them. I

[android-developers] Re: Service Vs Thread

2010-06-14 Thread schwiz
your service will want to spawn its own thread or asynctask to do your heavy work or else you will get a forceclose. On Jun 13, 8:46 am, "tarek.attia" wrote: > Hi all, > > I have a question what to Use ,Service Or Thread,as both run in the > background -- You received this message because you a

[android-developers] Re: jpeg from binary?

2010-06-14 Thread schwiz
ok thanks for the reply, so even though my byte array was created from a jpeg the bitmap factory will know what to do with it? If so this is great news :) On Jun 14, 9:31 am, Yahel wrote: > > Does Android have a native library that can make a jpeg from binary > > data from say, a json object? >

[android-developers] jpeg from binary?

2010-06-14 Thread schwiz
Does Android have a native library that can make a jpeg from binary data from say, a json object? -- 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 t

[android-developers] onPreferenceChangeListener question

2010-06-11 Thread schwiz
I was just checking out the developer docs and came across this http://developer.android.com/reference/android/preference/Preference.OnPreferenceChangeListener.html I have an idea I want to possibly use for this but one quick question if anyone knows. It says in the documentation "Called when a Pr

[android-developers] streaming service example?

2010-06-10 Thread schwiz
Anyone know of a good code example of how to run a service that streams music from the internet and also binds to an activity to give a gui? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develo

[android-developers] Re: Developing Android REST client applications

2010-06-08 Thread schwiz
wow great video, although I really wish he had some example code to look at I get the general idea but now I feel like I have a schematic for a wheel... Anyone know of any open source projects (twitter app when are you coming?!?!) that use any of these techniques? On Jun 8, 10:35 am, Andrew Bramp

[android-developers] Re: ListView

2010-06-08 Thread schwiz
There has got to be an example of this somewhere in the source code to Launcher2 or somewhere in the 2.x framework, this is exactly what they do for contacts in 2.x On Jun 8, 7:06 pm, Sandy wrote: > Any tips on how to do this ? > > On Jun 8, 2:24 pm, Sandy wrote: > > > > > Is it possible to hav

[android-developers] Re: statelistdrawable in xml

2010-06-08 Thread schwiz
ml folder and then access it. > > > On Tue, Jun 8, 2010 at 11:13 PM, schwiz wrote: > > > How do you make a StateListDrawable xml file in eclipse.  While trying > > > to follow this tutorial > > >http://developer.android.com/resources/tutorials/views/hello-t

[android-developers] Re: EditTextPreference Properties

2010-06-08 Thread schwiz
I love you Mark <3 On Jun 8, 7:00 pm, Mark Murphy wrote: > schwiz wrote: > > Is there a way to change the properties of the EditText Widget nested > > inside the dialog box of an editTextPreference.  For example, I want > > the user to only be able to enter

[android-developers] EditTextPreference Properties

2010-06-08 Thread schwiz
Is there a way to change the properties of the EditText Widget nested inside the dialog box of an editTextPreference. For example, I want the user to only be able to enter a number for one of the preferences. I suppose I could make my own dialog box from scratch and extend everything, but it seem

[android-developers] statelistdrawable in xml

2010-06-08 Thread schwiz
How do you make a StateListDrawable xml file in eclipse. While trying to follow this tutorial http://developer.android.com/resources/tutorials/views/hello-tabwidget.html eclipse won't let me make an android xml file in the drawable folder, it forces me to pic a resource other than drawable. --

[android-developers] Re: How to update a Widget dynamically (Not waiting 30 min for onUpdate to be called)?

2010-05-28 Thread schwiz
I haven't done any widget work but perhaps doing a database with a managed cursor would update it as the database changed. -or- that could be a horrible idea that would never work /shrug On May 28, 8:43 am, "draf...@gmail.com" wrote: > I am currently learning about widgets in Android. > > I want

[android-developers] Re: FYI EVO/Incredible ADB How-To

2010-05-27 Thread schwiz
you can just say use existing driver and pick android phone and then adb in windows 7 On May 28, 1:36 am, Ted Chien wrote: > Check the SD card that comes with your EVO. There should be a "HTC > Sync" folder for you to install the HTC Sync program and the USB > driver. > > Ted > > On 5月28日, 上午6時27

[android-developers] official twitter app source

2010-05-27 Thread schwiz
I can't wait much longer the anticipation is killing me :) Discuss -- 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 androi

[android-developers] Re: samsung app store

2010-05-23 Thread schwiz
samsung had a really sick looking phone at IO I wanted it really bad :P On May 19, 9:24 pm, Nathan wrote: > SamsungApps.com is apparently registered to Samsung Electronics CO., > Ltd. according to WHOIS information. > > So they want Android apps? I heard Samsung wanted to do their own > operating

[android-developers] sqlite3 in adb not in 2.2?

2010-05-23 Thread schwiz
So I just watched the talk at Google I/O where they showed how to use sqlite3 in ADB to help debug your database. I didn't know you could do that way cool. So I was doing it on my nexus which is rooted and it was working fine. Then I went ahead and installed 2.2 and now when I type sqlite3 in th

[android-developers] Re: samsung app store

2010-05-14 Thread schwiz
little while anyway. > > > It looks reasonably legit and the domain name looks like it is > > registered by samsung (e.g. samsung.com contacts). > > > I would be interested to hear what other people thing? > > > Cheers, > > Mike > > > On May 13, 4:11 am,

[android-developers] samsung app store

2010-05-12 Thread schwiz
I have been receiving some emails from someone claiming to be a rep for samsung and they are opening a new app store selling android apps. They have asked that I publish one of my apps they found on the android market on their store. Just wondering if anyone else has been getting emails like that

[android-developers] Re: Cannot see device in DDMS

2010-04-15 Thread schwiz
make sure you have the latest driver installed and for the correct os (32 vs 64 bit) I have had this problem with some but not all devices at once. I can't think of what else it could be but drivers though. On Apr 15, 12:42 am, Ken H wrote: > I have Windows XP and use Eclipse v3.4.1. > > Under D

[android-developers] Re: I have a question in soft keyboard.

2010-04-15 Thread schwiz
I'm not exactly sure what you mean, if you are talking about the activity window resizing when you open your keyboard, that has to do with the activity no the keyboard, try opening your keyboard in dolphin browser or something like that and it won't resize the background. Sorry if that isn't what

[android-developers] Re: how to use yahoo API to import contacts in android

2010-04-15 Thread schwiz
I was trying to figure this out for my wife, it seems yahoo charges users for this kind of functionality. At least as far as I can tell... But motoblur does integrate with yahoo mail perhaps there is a way. On Apr 15, 1:39 am, Omy wrote: > Hi , > I need some help regarding Use Of Yahoo API in a

[android-developers] any lawyer types out there that can get this site down?

2010-04-07 Thread schwiz
http://androidplayground.net/web/ they have been spamming the market all day, hope someone can get them shut down. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Missing Android Phone from Google

2010-04-06 Thread schwiz
hope you learned your lesson, always open a package and inspect it before signing for it. I learned the hard way too with a newegg order once. On Apr 2, 4:47 pm, haleyathena wrote: > Recently Google awarded me with a free brand new Motorola Droid...the > Fed Ex box arrived yesterday and it was E

[android-developers] ad support?

2010-04-05 Thread schwiz
I am wanting to make an ad supported version of my app, any suggestions as who to go with? I was just looking into Admob, anyone like a different company better? thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this grou

[android-developers] Re: Android Dev for Military Applications

2010-04-04 Thread schwiz
Droid does kill people. On Mar 31, 2:59 pm, Nate wrote: > There are a few opportunities out there for Android development in the > military. We'd really like to pull in a developer to help our efforts > out on some of these projects - the bulk of the work would go to you. > If you're interested,

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-01 Thread schwiz
So I got a Droid and also in the box was a Sprint USB 3G/4G modem, I thought it was pretty random, not sure what it has to do with Android. I think I got since my Droid didn't come with a free month like they said it would. On Mar 29, 7:48 am, zneref wrote: > People relax, 6-weeks term doesn't p

[android-developers] Re: Activity lifecycle problem on Nexus One - onStop not called

2010-03-04 Thread schwiz
It should be called when you press back but not home, but I have noticed this problem using openeclair on my G1. Perhaps its a new feature/bug in 2.1? On Mar 4, 1:54 pm, Zuli wrote: > Hi Matias, > thanks for your reply, but that's not the point. Because onStop() is > called when the activity is

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread schwiz
re not a notification or something when you log into the > > > android market? > > > Why is it sites.google.com and not a "real" webpage? > > > > All of these things have me very suspicious... > > > > On Mar 2, 5:33 pm, schwiz wrote: >

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread schwiz
@jeka 5k isn't that big of a deal but having over 3.5 stars with 5k+ downloads is a much bigger accomplishment. On Mar 2, 6:30 pm, jeka wrote: > Is 5K+ that big a deal to begin with? I know most top apps get more > than that per day. Too low a threshold to be real AFAIKT. > > On Mar 2, 7:28 pm, L

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-02 Thread schwiz
yep I met all the requirements so it didn't seem fishy to me. I hope it is real I am excited for my phone :) On Mar 2, 6:28 pm, Larry wrote: > Do ppl who received this email here all have an app on market with 5k+ > downloads? > > On Mar 2, 5:23 pm, wataru wrote: > > > > > I didn't even doubt a

[android-developers] Re: ActivitNotFoundException

2010-02-24 Thread schwiz
you are using the emulator or another device that does not support speech recognition. On Feb 24, 12:42 am, Mukesh kumar wrote: > Hi Everybody > > Problem: When we run this program. then after click the button(voice > Recognition) > > Show message box with exception what we catch > Exception: > a

[android-developers] Re: Need help with small animation

2010-02-24 Thread schwiz
all of this is handled for you if you just use the built in sliding drawer class. On Feb 23, 9:35 am, social hub wrote: > Hi, > > |--- > TEXT VIEW > ---' > SLIDE DRAWER image > > I have a layout like t

[android-developers] Re: Android SDK for Windows 7

2010-02-24 Thread schwiz
been running eclipse on my win7 64 machine since RC and on through release with no issues. On Feb 24, 1:14 pm, Evgeny V wrote: > Both are working fine on Windows 7 32bit > > > > On Wed, Feb 24, 2010 at 9:07 PM, DKIT Android wrote: > > Don't know about Eclipse, but I use IntelliJ IDEA and it work

[android-developers] Re: Intent for editing text

2010-02-24 Thread schwiz
Im thinking you might need to make your app an inputdevice, here is an example here it isn't really just limited to softkeyboards http://d.android.com/resources/samples/SoftKeyboard/index.html On Feb 24, 5:31 am, chris price wrote: > Hello, > > When typing some text a user can press down on the t

[android-developers] Re: How does the imeOptions of EditText work

2010-02-24 Thread schwiz
have your activity implement onEditorActionListener then handle it in the method onEditorAction. On Feb 24, 11:25 am, Mark Nuetzmann wrote: > So if you set android:imeOptions="actionSearch" how do I intercept the > result of the clicking the action/search button on the virtual > keypad?  How do I

[android-developers] Re: To all android developers

2010-02-22 Thread schwiz
sounds like you should buy an iphone :P On Feb 22, 12:59 pm, Greg Donald wrote: > On Sun, Feb 21, 2010 at 7:20 PM, ltjisstinky wrote: > > Lets try and keep the porn/risque apps to a minimum.. > > > Also, if there are google engineers reading this. Do something about > > the adult groups that jus

[android-developers] Re: Example that redraws on a key without using a thread?

2010-02-19 Thread schwiz
you have the right idea, first make you activity implement onClickListener, then pass onClickListener this instead. Then you need to either be extending from TextView instead of view, or be calling canvas.drawText() On Feb 19, 4:01 pm, BobG wrote: > //This actually works. Hope it helps someone.

[android-developers] Re: drawing children in custom linearlayout

2010-02-10 Thread schwiz
Yeah I commented that line out because I decided to just set it in my xml file The Layout is showing up fine because I can see the black outline, its just the textviews inside still aren't showing up. On Feb 9, 11:40 pm, TreKing wrote: > On Tue, Feb 9, 2010 at 6:09 PM, schwiz wrote:

[android-developers] Re: How can I draw a simple shape with shapedrawable?

2010-02-09 Thread schwiz
hat's in my XML file? > > On Feb 9, 7:02 pm, schwiz wrote: > > > > > You make your own class that inherits from View and in the onDraw > > method you call canvas.drawCircle, drawLine, drawPath, etc > > > On Feb 9, 6:47 pm, Breezy wrote: > > > >

[android-developers] Re: drawing children in custom linearlayout

2010-02-09 Thread schwiz
long clickable. > > > > > > > > > On Feb 9, 3:30 pm, TreKing wrote: > >> On Tue, Feb 9, 2010 at 3:21 PM, schwiz wrote: > >> > The problem with adding them in the constructor is that I want to add > >> > them dynamically, also I need to ad

[android-developers] Re: How can I draw a simple shape with shapedrawable?

2010-02-09 Thread schwiz
You make your own class that inherits from View and in the onDraw method you call canvas.drawCircle, drawLine, drawPath, etc On Feb 9, 6:47 pm, Breezy wrote: > Hmmm, still a little confused...  Are you saying to utilize the > ImageView, but draw on it as if it were a canvas? > > On Feb 9, 6:31 

[android-developers] Re: drawing children in custom linearlayout

2010-02-09 Thread schwiz
for but I have tried this with a regular textView as well just to be sure, and it still doesn't work. On Feb 9, 3:30 pm, TreKing wrote: > On Tue, Feb 9, 2010 at 3:21 PM, schwiz wrote: > > The problem with adding them in the constructor is that I want to add > > them dynamic

[android-developers] Re: drawing children in custom linearlayout

2010-02-09 Thread schwiz
The problem with adding them in the constructor is that I want to add them dynamically, also I need to add the view in my xml file because it is only one small part of a larger layout. Thanks for the advice though. On Feb 9, 3:07 pm, TreKing wrote: > On Tue, Feb 9, 2010 at 2:38 PM, sch

[android-developers] Re: drawing children in custom linearlayout

2010-02-09 Thread schwiz
Its a no go, I stopped the override ondraw and onlayout and I am calling addView but it still isn't showing up, where are you calling it, and do you call anything else before? On Feb 9, 2:26 pm, TreKing wrote: > On Tue, Feb 9, 2010 at 12:07 AM, schwiz wrote: > > Hello I have a

[android-developers] Re: drawing children in custom linearlayout

2010-02-09 Thread schwiz
So nobody has ever tried to do this before? On Feb 9, 11:39 am, schwiz wrote: > Stepping through this code even more closely I found that the onDraw > method isn't even being called at all despite the fact that every > other view in the xml file is showing up custom and otherw

[android-developers] Re: drawing children in custom linearlayout

2010-02-09 Thread schwiz
from View. Is there some special case or something extra I need to be doing? Thanks. On Feb 9, 12:07 am, schwiz wrote: > Hello I have a linear layout that I have overridden because I want to > dynamically add other views to it.  I am trying to add some textviews > to it and I call addV

[android-developers] Re: drawing children in custom linearlayout

2010-02-09 Thread schwiz
Anyone? On Feb 9, 12:07 am, schwiz wrote: > Hello I have a linear layout that I have overridden because I want to > dynamically add other views to it.  I am trying to add some textviews > to it and I call addViewToLayout in the onLayout method, stepping > through the program in d

[android-developers] drawing children in custom linearlayout

2010-02-08 Thread schwiz
Hello I have a linear layout that I have overridden because I want to dynamically add other views to it. I am trying to add some textviews to it and I call addViewToLayout in the onLayout method, stepping through the program in debugger I am sure those are being called but the layout is still show

[android-developers] Re: Canvas drawing

2010-02-03 Thread schwiz
your draw routine should only be called if you call invalidate on your view or its parent view. On Feb 3, 7:46 am, Neilz wrote: > Hi all. > > When overiding onDraw() in my View, is it possible to say "Don't draw > anything new, just keep what was there the last time"? > > In my app, I only want t

[android-developers] Re: Register a new MIME-type with Android

2010-01-28 Thread schwiz
Im not entirely sure but I think you need to implement a broadcast receiver for that mimetype On Jan 28, 8:08 am, Varun Khaneja wrote: > Hi, > > I want to register my application for files of a certain popular and > well-documented MIME-type. > The problem is that Android does not seem to recogni

[android-developers] Re: What is the difference between rooted and Developer phone?

2010-01-28 Thread schwiz
The dev phone is for making custom builds of Android not for debugging APKs you can debug with ANY android phone. On Jan 28, 4:40 pm, Wayne Wenthin wrote: > Or look at moto's stuff.  They have some sort of way you can "rent" time on > a real phone.   Not really sure its Moto but they are the ones

[android-developers] Re: How to create txt file in android programatically?

2010-01-26 Thread schwiz
does it have to be text? it may be easier to just use the xml read/ write libraries to do this. On Jan 24, 11:10 pm, "pramod.deore" wrote: > Hello everybody , > Actually I am new to android. I want to create a .txt file > programatically, save data to it and then retrieve the data. I had > write

[android-developers] Re: Simple question... how do I open the browser?

2010-01-24 Thread schwiz
You need to use an intent startActivity(new Intent(Intent.ACTION_VIEW, newUri )); On Jan 24, 8:59 pm, Breezy wrote: > When a user clicks the "about" button in my app's menu I want it to > open the browser and go to a specific webpage...  Is there like a one- > liner out there somewhere to do thi

[android-developers] Re: Using OS 1.6 and Up , are we penalized on the market ?

2010-01-24 Thread schwiz
Have you explained in your app description what you are requesting sdcard access for? On Jan 24, 2:36 pm, Carlo wrote: > Yes, but that is not my point : if you need to write to external data > storage (the sdcard)  then the permission seems to be granted > automatically if your app is under 1.5 (

[android-developers] Re: newbie question on onDraw

2010-01-23 Thread schwiz
to force onDraw to call you must call invalidate. On Jan 22, 10:23 am, bhupesh wrote: > All references so far I have seen is that the "framework" will call > onDraw.  Which part of the framework specifically calls onDraw.  Can I > control when onDraw gets called or can I call it myself without >

[android-developers] Re: adding voice search

2010-01-21 Thread schwiz
I think you would override onActivityResult like I did in my project. On Jan 21, 12:17 pm, Achanta wrote: > Thank you Schwiz and David for the replies. they were helpful. > > I included the part that David advised and it works great. > > Now I have a requirement with the searc

[android-developers] Re: Dialog sizing question

2010-01-20 Thread schwiz
in the high rez layout folder make a new xml file and give your linear layout a hard coded value, you can check the dev guide to see what the minimum width/height needs to be for it to use the high rez layout so you don't need to worry about making it to big On Jan 19, 8:24 pm, Zsolt Vasvari wro

[android-developers] Re: adding voice search

2010-01-19 Thread schwiz
yep and here is an example in my open source project let me know if you have questions http://code.google.com/p/schwiz-android-apps/source/browse/trunk/WolframQuickLaunch/src/net/schwiz/wolfram/walauncher.java On Jan 19, 6:01 pm, Achanta wrote: > Did you happen to figure this out? >

[android-developers] Re: Unable to start download in default android Browser

2010-01-19 Thread schwiz
looks like the link is broken did you try emailing the developer? On Jan 19, 9:14 am, mariush wrote: > Hi, > I want to download and install widget from page widgets.opera.com, > i enter to this site:http://widgets.opera.com/general/getopera/3529/1.6/ > and i am trying to download widget by pressi

[android-developers] Re: Saving the contents of an array

2010-01-19 Thread schwiz
you could use the xmlSerializer class to write an xml file and sax to read it back in On Jan 19, 9:23 pm, Charlie Collins wrote: > If your array is not too large, I agree with theSmith, using > SharedPreferences is very easy if you are not sure about how to use > other data storage approaches. If

[android-developers] Re: setContentView fails when creating a new activity

2010-01-19 Thread schwiz
what else is going on in onCreate? are you hiding the title bar? On Jan 19, 12:12 pm, oregonduckman wrote: > My code is calling setContentView(R.layout.someLayoutID); from an > activities' onCreate method. The activity is launched with the > following: >                         Intent myIntent =

[android-developers] Re: Getting a TextView to span the length of the screen

2010-01-18 Thread schwiz
there may be a better way but I start with a large text size and run a loop checking if the paint.measurestring > getwidth and decrement text size each time. On Jan 18, 7:39 am, Breezy wrote: > I've a textview I want to span almost the length of the screen, then 2 > buttons at the bottom. > > Rig

[android-developers] Re: RadialGradient question

2010-01-16 Thread schwiz
ok I think it is that it doesn't work with 2 colors, it seems the positions variable doesn't effect the inner most color. Is this by design, a bug, or am I doing it wrong? On Jan 16, 5:24 pm, schwiz wrote: > I have to bump this I have tried every number combination there is and

[android-developers] Re: RadialGradient question

2010-01-16 Thread schwiz
ust 2 colors? what is going on here, can anyone help please? On Jan 15, 12:08 pm, schwiz wrote: > I appreciate the reply, however I don't think I understand, I have 2 > colors I set the positions to  {.75f,.99f}  but it looks exactly the > same as if I just leave it as null.  I have

[android-developers] Re: Android 2d graphics help

2010-01-16 Thread schwiz
an Activity is the same as your midlet, you will make a View and override onDraw instead of paint, and you call invalidate on the view instead of repaint. There are a few different ways to draw images from pngs depending on what you want to do. Look into the imageview class or make your own view

[android-developers] Re: Android Pirate Site

2010-01-16 Thread schwiz
shut one down 3 more pop up, its an unavoidable part of software development. On Jan 16, 10:13 am, MakeMobile wrote: > I stumbled upon this site offering 1000's of Android apps for free > (including mine!). > > http://www.reddit.com/r/Android/comments/ap6z0/redditapps_a_1000_list...http://www.med

[android-developers] Re: RadialGradient question

2010-01-15 Thread schwiz
1 == > outside.) > > > > > > On Fri, Jan 15, 2010 at 1:33 AM, schwiz wrote: > > Ok I was making a stupid mistake and not calling new before I set the > > floats in the array, so my forceclose is fixed, however it doesn't > > matter what numbers I put the in the arr

[android-developers] Re: RadialGradient question

2010-01-15 Thread schwiz
25 am, schwiz wrote: > I am having problems with the constructor RadialGradient (float x, > float y, float radius, int[] colors, float[] positions, > Shader.TileMode tile) If I don't pass null into positions I get a > force close the logcat spits out a bunch of stuff about frame layou

[android-developers] RadialGradient question

2010-01-15 Thread schwiz
I am having problems with the constructor RadialGradient (float x, float y, float radius, int[] colors, float[] positions, Shader.TileMode tile) If I don't pass null into positions I get a force close the logcat spits out a bunch of stuff about frame layout. So my question is what exactly do they m

[android-developers] Re: Archos Approval on an app

2010-01-14 Thread schwiz
I actually recieved a response from them on one of my many emails and tweets, they said do not worry US developers will get their vouchers and they will expire in March. I am guessing they are handing them out on March 30th. On Jan 14, 7:37 pm, Andrei wrote: > still did not get anything from Arc

[android-developers] Re: attaching a slidingdrawer to my activity

2010-01-11 Thread schwiz
according to the dev guide its fair game, there is just no guarantee that they are going to look the same across all of the releases but they imply that the icons for menu and notifications will always work. On Jan 11, 2:56 pm, jotobjects wrote: > Another best-practices note! > > How about the dr

[android-developers] Re: Moving Image Over Another Image

2010-01-11 Thread schwiz
You need to use a framelayout or make your own view class On Jan 11, 1:03 pm, k_day wrote: > You will probably want to write your own layout.  See here for more > information: > > http://developer.android.com/guide/topics/ui/custom-components.html > > The SDK has a pretty easy to use animation fr

[android-developers] Re: attaching a slidingdrawer to my activity

2010-01-10 Thread schwiz
oh so you just put the sliding drawer along with the rest of your normal layout then? they are making it too easy. Is that sample from one of your books? I have a subscription but I couldn't find anything on drawers in them. On Jan 10, 2:27 pm, Mark Murphy wrote: > schwiz wrote:

[android-developers] attaching a slidingdrawer to my activity

2010-01-10 Thread schwiz
Can anyone explain how to attach a sliding drawer to an activity. I get the xml creation part but what do you need to call to actually attach your xml creation to the activity, or even better to a layout within the activity. -- You received this message because you are subscribed to the Google Gr

[android-developers] Re: any nexus discount for developers?

2010-01-09 Thread schwiz
they never sold the actual developer phones to developers cheaper, I doubt they will discount the nexus one for us. On Jan 9, 11:22 pm, ian wrote: > Does anybody know if developers will be able to buy a Nexus for less > than $529? > >  I need a phone for testing my apps soon but the price seems s

[android-developers] Re: "Something wrong here" error message

2010-01-09 Thread schwiz
it is an issue for me because for some reason when this happens it calls my oncreatdialog On Nov 27 2009, 12:55 pm, Dianne Hackborn wrote: > Don't worry about it, it's not an issue. > > 2009/11/27 Per Sandström > > > > > > > I have had a few reports coming in from Droid-users using my apps and >

[android-developers] Re: upgrade my G1 to android 2.0

2010-01-08 Thread schwiz
if you root your phone and head over to xda there are a few 2.0 builds for G1 but last time I checked the camera wasnt working yet. On Jan 8, 11:05 am, Mark Murphy wrote: > DAVIDT wrote: > > I want to upgrade my G1, which is currently running on andriod 1.6, to > > andriod 2.0 or 2.1. Is it possi

[android-developers] Re: Android Books?...

2010-01-05 Thread schwiz
Hello Android has a decent couple chapters on graphics and shows how to make a basic sudoku game. There is a link to it in the page Mark shared. If you find anything really good let me know :D Also, here is an open source game engine for android that may help you http://code.google.com/p/rokon/

[android-developers] Re: UI design for Board Game

2010-01-05 Thread schwiz
yeah should be fairly easy just look into the 2d graphics api, you might check out a book called 'hello android' it has a pretty good chapter on the 2d api. On Jan 5, 12:17 am, prakhy wrote: > Hi, > > I need to design a board UI using android platform. i was planning to > take one image as board

[android-developers] Re: Possible to awake the phone by touching the screen?

2010-01-05 Thread schwiz
I don't think its possible, plus its a horrible idea cause it would unlock the phone everytime you put it in your pocket. On Jan 4, 8:25 pm, Nazgulled wrote: > Hi, > > As an heads-up, I'm an amateur developer and a university student in > the area but I have not knowledge at all about Android dev

[android-developers] Re: Android Dev Phone with Verizon?

2010-01-04 Thread schwiz
I remember reading a hack somewhere a long time ago to enable the phones on verizon, but honestly if you are going to spend that much money on buying a dev phone, might as well save up an extra 100 bucks and buy yourself a droid if you are going with verizon. On Jan 4, 1:07 pm, "to...@webpro.com"

[android-developers] Re: Conventions about using SD card

2010-01-03 Thread schwiz
Well as you have seen from your own experience there doesn't seem to be any real convention. I would do whatever you find the most convenient as a user. I personally like it when they make a folder with the app name not the package name. On Jan 3, 10:18 am, Andriy Zakharchuk wrote: > Hello all,

[android-developers] when is onDraw called, how to force it?

2010-01-02 Thread schwiz
I am working on a custom view which has text in it. I have a touch even that opens a dialog to change the text but after the text is updated in memory it still doesn't update in my view until I touch the screen again. I am calling invalidate() in my function to update the value of the text. To t

[android-developers] Re: Any Tips for implementing free versions of applications?

2010-01-02 Thread schwiz
If it gets busy, then maybe I could put pay per > > click adverts on it or something, but I doubt it will get that busy. > > > On Jan 2, 5:06 am, schwiz wrote: > > > > upload a paid version too, and in the free version keep track of how > > > many times they play or

[android-developers] Re: Any Tips for implementing free versions of applications?

2010-01-01 Thread schwiz
upload a paid version too, and in the free version keep track of how many times they play or how long they play with preferences and then don't allow them to start a new game and also give them a button to take them directly to the market with your paid version. On Dec 31 2009, 10:49 am, "dan.x.sh

[android-developers] how do you draw a new line?!

2010-01-01 Thread schwiz
This is really frustrating, I am trying to get a carriage return drawn in my custom view and nothing is working. I have tried 'System.getProperty("line.separator")' but that makes it say null and I have tried '\r' and '\n' and those just both draw a little square. I am using the canvas.drawText me

[android-developers] Re: custom keyboard

2009-12-31 Thread schwiz
;  If you need some app-specific input, you should build it into your UI > rather than pushing it out to a generic IME. > > > > > > On Thu, Dec 31, 2009 at 4:46 PM, schwiz wrote: > > what a bummer, wish I had more room in the app description to explain > > to my use

  1   2   >