[android-developers] Layout Problem Listview in Scrollview

2009-03-12 Thread guruk
Hi, (sorry if this mail is twice, but i dont see my first posting online:) I have a Scrollview with an Gallery at the top, bellow two lines textview and a Listview) 1. Problem. Listview with height=Fill_parent or wrap_content does not work (it only shows me a tiny part of the listview) So i did

[android-developers] Create Drawable IDs in a loop??

2009-03-27 Thread guruk
Just on Question. hope you have a sec to help me. if i have many drawables to request like mbs[0] = (Button) findViewById(R.id.cmd_door_0);mbs [0].setOnClickListener(myOcl); mbs[1] = (Button) findViewById(R.id.cmd_door_1);mbs [1].setOnClickListener(myOcl); mbs[2] =

[android-developers] create an image on the fly and assign it to a button

2009-04-02 Thread guruk
I have an array of buttons. (calendar) now i know i set the background with a drawable. fine. but HOW can i create a image (best a nine png (so its stretchable) lets say with 3 rows each a different color) and finaly set it as a drawable?? a short demo would be great 1. create simple image

[android-developers] Re: create an image on the fly and assign it to a button

2009-04-02 Thread guruk
: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;...http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;... On Thu, Apr 2, 2009 at 10:52 AM, guruk ilovesi...@gmail.com wrote: I have an array of buttons. (calendar) now i know i set the background

[android-developers] Re: create an image on the fly and assign it to a button

2009-04-02 Thread guruk
thanks for the tip with the bitmap drawable. i really miss small examples in the api description like in the php api or so :) Do you have a small demo (that would fit best with my needs) to create a bitmapdrawable with 3 rows, different colors and assign in onto a button? Thanks Chris

[android-developers] Re: create an image on the fly and assign it to a button

2009-04-02 Thread guruk
a complete redesign... :) for sure always a nice idea.. just not practical now. #1 what you mean with view#setbackgroundcolor().. than I can just change to on color... thats how i already do.. or how do you mean... small example somewhere would be helpful. #2 come one.. i dont like to shoot

[android-developers] Re: Accessing System Brightness

2009-04-24 Thread guruk
hmm but i also dont like that so much. for example right now i was thinking to write a simple app just changing the brightness in a simple way. not just for a window, for the whole system. Often I am out and just like a simple change brightness, without searching through the setup (imagine i am

[android-developers] screenshot for scrolling display

2009-04-25 Thread guruk
hi, i have a calendar app with monthly display. how could i do realize a soft scrolling from one month to another. I thought about doing a screenshot of the act. calendar and creating a screenshot of the next (hidden) month. but first how to do a screenshot and than realize the scrolling :)

[android-developers] simple demo multiple alarms

2009-04-26 Thread guruk
Hi, i like to create multiple alarms, but i does not work. how to set and how to request in my receiver what alarm intent came activated in my alarm.java i call this function like: setalarm(5); setalarm(10) (it works but only remember the last) public void setalarm(int delay) {

[android-developers] Problems with Widget

2009-11-08 Thread guruk
Hi There, I have 4 Widgets 2 collected in / small widgets - works both fine 2 collected in / big widgets - here one works and the other crash its strange because the second widget from the big widget is so similar build that i dont find an error. Finaly it causes MyDays to crash often when the

[android-developers] Re: Problems with Widget

2009-11-08 Thread guruk
: guruk wrote: Hi There, I have 4 Widgets 2 collected in / small widgets  - works both fine 2 collected in / big widgets - here one works and the other crash its strange because the second widget from the big widget is so similar build that i dont find an error. Finaly it causes

[android-developers] Re: Problems with Widget

2009-11-08 Thread guruk
thx... hmmm strange, just because it was working fine can u just see an significant error of mine in the following function?? still researching :) public static Bitmap CNewBitmap(Resources resources, int color) { Log.d(test, updatewidget CNewBitmap 1); ob =

[android-developers] Re: Problems with Widget

2009-11-08 Thread guruk
checked with the log.d I get: ob.getWidth == 18 ob.getHeight == 18 ob.getConfig == NULL h and now? :) -- 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: Problems with Widget

2009-11-08 Thread guruk
ok, looks i solved it with: obm = Bitmap.createBitmap(ob.getWidth(), ob.getHeight(), Bitmap.Config.ARGB_); :) if u have a more professional solution let me know greets chris -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Problems with Widget

2009-11-08 Thread guruk
last and final :) ok it looks fine.. no force close etc. but in my sdk 2.0 it looks the Widget does come not updated when i force it from my app. I was reading somewhere there is a bug in sdk 2.0 emulator... can someone confirm that ? I will try now to install on my mobile with 1.6 and see what

[android-developers] Motorola Cliq Parse Problem

2009-11-16 Thread guruk
Hi, i have a User with a Motorola Cliq. When Users with other Mobiles download a special Application I wrote .apk from my homepage they have no problems ... it downloads 200kb from 200kb and install fine. now this specific Motorola Cliq User does tell me its not working for him. It just say 175kb

[android-developers] WebViewClient dont show YouTube Videos???

2009-11-20 Thread guruk
Hi, when I browse with the normal Browser to m.youtube.com and click a video it starts fine. I have made a simple WebviewClient webview.setWebViewClient(new HelloWebViewClient() and a webview.setWebChromeClient(new WebChromeClient() that works perfect with normal html pages. but when I click on

[android-developers] How to check LoadUrl is successful?

2009-11-24 Thread guruk
HI, i am interested to make simple is Network available check. So can someone tell me for example when I called webview.loadUrl(urlpath); and the page does not load successful how to get that info? Or any other SIMPLE test to check if my network is available. I would prefer to check if loadurl

[android-developers] how to check button on focus?

2009-08-10 Thread guruk
Hi, i have a set of buttons. Usualy i can also move between em also with my trackball. But now I have set styles on my buttons and I dont see anymore if a button is focused. What can I do, is there a specific Styles Tag that I can use till now i use: style name=DoorButton item

[android-developers] Chart API

2009-08-11 Thread guruk
Hi, I got a Mail from Google they would/could a App of mine if I improve my Chart. The Lady recommended to use: http://code.google.com/apis/chart/types.html but how do I implement that in Android? Any Experience in that, Demo Code, whatever? Greets Chris

[android-developers] Problem HTC-Hero and Widget

2009-08-29 Thread guruk
Hi, I have around 100.000 Installations of my App My Days and most looks fine. Now I got 2 Complains just from HTC Hero Users, that when they use my Widgets, they dont appear and crash the app always when the restart their phone? Any Ideas from Widget Probs with HTC Hero greets chris

[android-developers] how to make sound hz?

2009-08-31 Thread guruk
sorry i just dont find that simple thing. how to create a tone lets say 10khz / 5 secs something like that,, just play a individual created sound, not playing a mpg or so? any example will be helpful thx chri --~--~-~--~~~---~--~~ You received this message

[android-developers] Microphone signal ..source

2009-08-31 Thread guruk
Hi, i look for a very simple example what signal arrives at my mic in realtime. It does not need to be saved to sd-card or anything. Just a $vol=GetVolume (0-) $frequ=Getfrequ (0-28000) something like that. The Examples I found are just overloaded and mostly to record some seconds to

[android-developers] Re: how to make sound hz?

2009-09-01 Thread guruk
thanks for all comments. does anyone have a simple source demo. I could try that buffer[i] = (short) ( Math.sin((2. * Math.PI * i * f) / samplerate) * Short.MAX_VALUE ) ... and what afterwards, how to play it? I am just wondering ( please i am a total newbie in sound) when I fill always a buffer

[android-developers] Only onCreate and no onRestart after startActivity ! Please Help

2009-12-20 Thread guruk
Hi, its quiet urgent. I thought my project and now i found a big bug. I have a webview and there I call an activity if (url.indexOf(.mp4) != -1) { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse(url),

[android-developers] After Activity closed, restart of APP??

2009-12-20 Thread guruk
Hi, I check within a Webview for a mp4 than I call: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse(url), video/mp4); startActivity(intent); return true; to start the Videoplayer with that VideoUrl FINE,

[android-developers] Re: After Activity closed, restart of APP??

2009-12-20 Thread guruk
wrote: guruk wrote: Hi, I check within a Webview for a mp4 than I call: Intent intent = new Intent(Intent.ACTION_VIEW);                   intent.setDataAndType(Uri.parse(url), video/mp4);                   startActivity(intent);                   return true; to start

[android-developers] Dont show Link Borders in WebView

2009-12-20 Thread guruk
Hi, first thanks for all your previous help before :) Now I need a solution for HOW to disable the standart LINK Borders in a WebView! I mean. For example I have a page with some Pics or Text and all with Links. So when i Click on them .. the Android Browser shows me a orange Border around of

[android-developers] Re: Dont show Link Borders in WebView

2009-12-21 Thread guruk
...@yahoo.com wrote: What is wrong with CSS? On Dec 20, 8:21 pm, guruk ilovesi...@gmail.com wrote: Hi, first thanks for all your previous help before :) Now I need a solution for HOW to disable the standart LINK Borders in a WebView! I mean. For example I have a page with some Pics

[android-developers] setFocusableInTouchMode(false) AND Keyboard ??

2010-01-04 Thread guruk
Hi, I use: webview.setFocusableInTouchMode(false); for my WebView to avoid that Orange Border when I click a Link. But now when I click into a Formfield the virtual Keyboard does not open :( So how can I avoid that Orange Border around Links while clicking on them and at the same Time the

[android-developers] Android setBackgroundResource release memory?

2010-08-21 Thread guruk
Hi, I have 2 quiet big Animations each 50pics a 20kb Both defined as Animations .xml One I let start from the beginning and the second after a button click. //Start immediatly imgView.setBackgroundResource(R.layout.anim1); rocketAnimation = (AnimationDrawable)

[android-developers] Min SDK Bug ???

2010-08-24 Thread guruk
Hi, i have a nexus one with firmware 2.2 = sdk 8 when i dont use: uses-sdk android:minSdkVersion=8 / the app works just fine. But when I add this (and as my device is 2.2 = sdk 8, so it should be same) my imagepositions are wrong and the app totaly slow down ? How do I set the minSDk

[android-developers] Re: Min SDK Bug ???

2010-08-24 Thread guruk
just for info .. I made the design in adp1 . so i thought it would fit with more devices (as it resized fine) But the mainproblem and I cant believe its on that.. when I set minSDK the APP comes unbelievable slow !!! Its totaly strange .. remember by nexus is 2.2 sdk8 so what comes different when

[android-developers] Soundpool / isplaying or length of audio

2010-08-26 Thread guruk
Hi, I am playing a audiofile with Soundpools .play backstreamid=mSoundPool.play(playid, streamVolume, streamVolume, 1, 0, 1.3f); but I need to know when the sound stops playing, how could I realize this? Any solution (even if its not with soundpool) is welcome.. i just would need the pitch

[android-developers] Re: Sound levels in games

2010-08-29 Thread guruk
did you tried: float streamVolume = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); streamVolume = streamVolume / mAudioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC); On Aug 26, 10:41 pm, Neilz neilhorn...@gmail.com wrote: I'm having very

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

2010-04-06 Thread guruk
Also no shipping till today for ROMANIA how does it looks actual in other EU Countries? -- 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,

[android-developers] manipulate/generate a drawable

2009-04-28 Thread guruk
hi, is it possible to generate a drawable dynamicaly. for example i like to place a drawable on a button. but the design (gfx) is generated dynamicly. is that possible and how? thanks chris --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Text in of a custom drawable

2009-04-28 Thread guruk
is there a chance to design new drawables dynamicly. for example right now i have a calendar, each day does have a color . now i like that its possible that each day does have a drawable that includes three bars with different colors. that mean i can create many drawables that fit all possible

[android-developers] Re: simple demo multiple alarms

2009-04-29 Thread guruk
wrote: Hi,Try using am.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis()+(delay * 1000) , sender); This will set the alarms according to the delay that you specify. On Sun, Apr 26, 2009 at 3:42 PM, guruk ilovesi...@gmail.com wrote: Hi, i like to create multiple alarms, but i does

[android-developers] paint individual button - please help!

2009-04-30 Thread guruk
hi, i know i can set a drawable as background to a button. but HOW can i for example: create/paint a small image in the size of a button and set this as the backgroundimage of that button? please help. just some lines how to create an image *for example just two different dots* and how to set

[android-developers] Re: create an image on the fly and assign it to a button

2009-04-30 Thread guruk
someone else knows a better tutorial for stateful drawables? Peliwww.openintents.org On Apr 2, 11:01 pm, guruk ilovesi...@gmail.com wrote: a complete redesign... :) for sure always a nice idea.. just not practical now. #1 what you mean with view#setbackgroundcolor().. than I can just

[android-developers] why thread died? need background thread..

2009-05-02 Thread guruk
hi, bellow just a test sample source for a background thread. i would like that when my app is closed it still run in the background (like at my tracks) to collect data even when it is closed. but it always dies after a while by itself, why? thanks chris package com.chris.alarmer; import

[android-developers] Re: why thread died? need background thread..

2009-05-02 Thread guruk
update: it looks the thread comes only killed after a while when i close the app with the back button. when i go out with the home button. the thread works endless. so when i click the back button i guess it calls onDestroy, but there i have the same call to my thread. So whats going on, it

[android-developers] signed 1.5 does not work.. probs with 1.5

2009-05-06 Thread guruk
hi, i have quit a strange problem. my app developed on sdk 1.1 was fine to install on g1 1.1 - direct from eclipse run - as exported unsigned - as the .apk from the /bin now i developing it on sdk 1.5 - works direct from eclipse run - DOES NOT install the exported unsigned - DOES NOT install

[android-developers] Re: signed 1.5 does not work.. probs with 1.5

2009-05-06 Thread guruk
also when I bring the source i developed on sdk 1.5 to my sdk 1.1 and compile there no error.. but i can not install the /bin .apk not the exported unsigned and even not the exported signed. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: signed 1.5 does not work.. probs with 1.5

2009-05-06 Thread guruk
shit.. and now when i compile it from my sdk 1.5 and make run from eclipse i also get an Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE [2009-05-06 19:07:49 - My Days 07] Please check logcat output for more details. [2009-05-06 19:07:49 - My Days 07] Launch canceled! so what !!.. now I

[android-developers] Re: signed 1.5 does not work.. probs with 1.5

2009-05-06 Thread guruk
thanks, but i targeted already in eclipse to 1.1 (api 2) why you say level one ? api 3 is 1.5 and google apis as i see. now i was able to install my old app,, deinstalled from the app manager and now i can compile again from eclipse and it runs on my 1.1 g1 now.. tripple Check: delete

[android-developers] Skin Size 800x600px .. how to

2009-05-07 Thread guruk
Hi, I would like to see how my app works on a 800x600 android netbook. how can i setup an emulator with this size? thanks chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] run signed apps from eclipse

2009-05-08 Thread guruk
is there a way to let eclipse compile always a signed app and run it on the mobile/emulator I nearly never use debug and so always when i switch between my developing app and the app i publish i have to deinstall the app. quit nerving. would be way cool if there is an option to automate the

[android-developers] Re: Skin Size 800x600px .. how to

2009-05-08 Thread guruk
scale itself of course. :) On Thu, May 7, 2009 at 2:01 PM, Raphael r...@android.com wrote: On Thu, May 7, 2009 at 1:44 PM, guruk ilovesi...@gmail.com wrote: Hi, I would like to see how my app works on a 800x600 android netbook. how can i setup an emulator with this size? $ android

[android-developers] run signed apps from eclipse

2009-05-08 Thread guruk
is there a way to let eclipse compile always a signed app and run it on the mobile/emulator I nearly never use debug and so always when i switch between my developing app and the app i publish i have to deinstall the app. quit nerving. would be way cool if there is an option to automate the

[android-developers] Widget in 1.5 not deleted???

2009-05-15 Thread guruk
Hi, i created a widget and when i look what widgets are still open i do this like: public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { final int N = appWidgetIds.length; for (int i=0; iN; i++) { int appWidgetId =

[android-developers] Re: Widget in 1.5 not deleted???

2009-05-15 Thread guruk
I tested right now also the addwidgetdemo from the api 1.5 examples. also there: 1. it always calls : static void updateAppWidget(Context context, AppWidgetManager appWidgetManager, int appWidgetId, String titlePrefix) 2. but never comes to the : public void onDeleted(Context context, int []

[android-developers] Re: AppWidget issues

2009-05-16 Thread guruk
Thanks, thats a real HELP, - Roman Guy.. I like your Info, but please its not enough to know that a bug, would be great you all help us with Turnarounds. Now Jeff, one Question, i did not implemented you code right now. But does this remove still the Problem, that the broadcasts are still firing

[android-developers] Re: AppWidget issues

2009-05-16 Thread guruk
thanks but what is this extras.getInt when I copy your code extras is not defined maybe you have a short workaround for that: @Override public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {

[android-developers] Re: AppWidget issues

2009-05-16 Thread guruk
ok.. i am a bit further (extras = Bundle extras = intent.getExtras ();) :) but as i understood, So i just can handle when a widget come deleted. But that doesnt change anything in the fact, that the internal int[] appWidgetIds still list them all. Could I delete the deleted Widget from that

[android-developers] Re: AppWidget issues

2009-05-16 Thread guruk
:) now step by step i come closer. I can catch when a widget come deleted but still the phantom widgets are in the appWidgetIds listed Is there any way to delete this phantom widgets from my list or get a working list of the active installed widgets? or is the only way to make my own list of

[android-developers] Dynamic Widget Size

2009-05-18 Thread guruk
Hi, I define once in my /xml/widget.xml the minwidth. but what can i do when I need to inflate different sizes from my widget layouts for example. right now i have in my /xml/widget.xml android:minWidth=81dip android:minHeight=72dip for 1 one my 3 widgets thats fine, but the last 2

[android-developers] Re: Dynamic Widget Size

2009-05-18 Thread guruk
OK, thanks, but how does this looks in practice let say i have a /xml/widget_word.xml --- appwidget-provider xmlns:android=http://schemas.android.com/apk/res/ android android:minWidth=74dip android:minHeight=72dip android:updatePeriodMillis=2160

[android-developers] no package identifier when getting value for resource

2009-05-19 Thread guruk
When I start my program I get this for 3 from 35 entries in the R.Java no package identifier when getting value for resource xxx I checked what could be wrong but the enries looks fine like similar where it does not come to a message like that? What could that be? greets chris

[android-developers] Update View after OnTouch, does not work?!?

2009-05-21 Thread guruk
Hi, hope you can help: I have : 1. private static class SampleView extends View implements OnGestureListener { //init variables } 2. public SampleView(Context context) { super(context); buildPoints ();} 3. @Overrideprotected void onDraw(Canvas canvas) { paintchart (canvas,param); } 4.

[android-developers] Re: Update View after OnTouch, does not work?!?

2009-05-21 Thread guruk
Dear Romain, thanks, that was the reason.. did not know about! Greets Chris --~--~-~--~~~---~--~~ 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] onTouchEvent dont start onScroll!?

2009-05-21 Thread guruk
Hi again :) I have a GestureListener and while it works perfect in another app of mine within an extends Activity I have problem now within an extends View. public boolean onTouchEvent(MotionEvent me) { return gestureScanner.onTouchEvent(me);} @Override public boolean

[android-developers] SetOnClickListener in Dialog???

2009-05-21 Thread guruk
Hi, I have a an AlertDialog where I inflate a View. In that View is also a Button. But when I add the command setOnClicklistener my Code crash? Can you tell me why.. I guess there was a moment it worked.. but I never got it back Can't I include an OnClicklistener to a Button in View I like to

[android-developers] Re: SetOnClickListener in Dialog???

2009-05-21 Thread guruk
in the logcat it shows me: D/dalvikvm( 889): VM cleaning up D/dalvikvm( 889): LinearAlloc 0x0 used 639228 of 4194304 (15%) D/dalvikvm( 890): GC freed 2404 objects / 288488 bytes in 103ms I/ActivityManager( 568): Displayed activity com.chris.mydays_15_basic/.datepick er: 2489 ms

[android-developers] Re: SetOnClickListener in Dialog???

2009-05-21 Thread guruk
the dialog comes opened from another dialog. how do i get the current view (i guess thats what you mean with Parent view... ... but as I understand its possible to include a OnClicklistener to a button in a AlertDialog??? Because I started to doubt about. :)

[android-developers] how to register keypressed button?

2009-05-21 Thread guruk
Hi, when I use setonclicklistener onto a button it register just one hit. But how can i catch if the user still press the button? I would like to make a counter that increase a number faster and faster as long i press the button, there is another button, doing just the opposite and decrease the

[android-developers] Out of Memory Error in BitmapFactory.decodeFile

2009-05-22 Thread guruk
Hi, I was reading in some other posts that some developers have the same Problem, but till now, no solution. its about the gallery: I have a string array with photos, but when the gallery does show the 2nd Picture it crash with: --- D/votw(18078): --- DebugMark 1

[android-developers] Re: Out of Memory Error in BitmapFactory.decodeFile

2009-05-22 Thread guruk
:) I got it now already up to 15 :) bm = BitmapFactory.decodeFile(/sdcard/dcim/Camera/ + photoList[i]); bphotos.add(Bitmap.createScaledBitmap(bm, 480, 320, true)); bm.recycle(); when I always use bm.recycle() ok, but lets look on your insamplesize... i will also try. but how to use in

[android-developers] Re: Out of Memory Error in BitmapFactory.decodeFile

2009-05-22 Thread guruk
thanks for your help, i will give it a try. ... also when I have a bphotoList (an array of bitmaps) and I reload this Array with new Bitmaps, what do I have to do that they gallery use them. I thought it come automaticly, because I just change the content, but it looks the gallery cache the old

[android-developers] Re: Out of Memory Error in BitmapFactory.decodeFile

2009-05-22 Thread guruk
:) ok.. thats quit a lot of new ideas i can play with keep your good vibes and thanks again chris --~--~-~--~~~---~--~~ 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] get intent getStringExtra in a View??

2009-05-22 Thread guruk
Hi, i have a: public class basal extends GraphicsActivity { -- @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);setContentView(new SampleView (this));} private static class SampleView

[android-developers] Re: get intent getStringExtra in a View??

2009-05-22 Thread guruk
init in the view. Get an extra in your activity and pass to View. On May 22, 3:45 pm, guruk ilovesi...@gmail.com wrote: Hi, i have a: public class basal extends GraphicsActivity { --         @Override       protected void onCreate(Bundle savedInstanceState

[android-developers] get color from ImageView (x/y)?

2009-05-23 Thread guruk
Hi, i have a ImageView with a Picture in it. When I touch the Picture through the TouchScreen, how can i get the ColorCode (eg. 0xff0033933) from the x/y Coordinate I clicked? Something like: onTouch.GetColorCode (from the pixel bellow my finger) Any Idea? Thanks Yours Chris

[android-developers] how to get installed api?

2009-05-24 Thread guruk
I would like to check from my app what api is installed on the phone for example: a=getapiv(); // a=1 (api 1.1) a=2 (api 1.5) so i can see if Cupcake is installed or not and disable or enable specific services on the run. thanks chris --~--~-~--~~~---~--~~ You

[android-developers] Re: how to get installed api?

2009-05-24 Thread guruk
woh mark.. that was quit a fast answer, thanks... this groups comes better and better. just do you have a small code how to use that (still i mostly need a small example and dont catch the api description from android) anyhow thanks chris --~--~-~--~~~---~--~~

[android-developers] Re: how to get installed api?

2009-05-24 Thread guruk
Thanks I got it! just for anyone else who may have the same question: Log.d(xxx,--+Build.VERSION.INCREMENTAL); Log.d(xxx,--+Build.VERSION.RELEASE); Log.d(xxx,--+Build.VERSION.SDK); Chris

[android-developers] api or sdk Id to check for widget?

2009-05-24 Thread guruk
Hi, i asked already in another post and got the help how to get the api/ sdk version. But now... what is better to check for (API oder SDK) when I like for example check if widgets are able to use. Just to go sure, for now we only have 1.1 and 1.5 it may no prob, but from an expert side, what

[android-developers] Re: how to get installed api?

2009-05-24 Thread guruk
Thanks so much Dianne, and at that Point I also like to thank all Users from this Group and especially the hole Android Framework Team you do an amazing Job. Best Regards Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Start virtual Keyboard???

2009-05-25 Thread guruk
Hi, in my app i have 2 areas where a user have to make an input. 1. with a notefield (5rows high).. there the virtual Keyboard comes up automaticly 2. where is just one row .. the virtual keyboard DOES NOT appear automaticly How can i make that the Virtual Keyboard always comes up while Input

[android-developers] Re: Start virtual Keyboard???

2009-05-25 Thread guruk
ok.. the problem seems the SetKeylistener... but how can i use the virtual Keyboard including the Keylistener??? in the moment the following code is included.. the virtual keyboard do not appear! dapikeyfield.setKeyListener(new NumberKeyListener(){

[android-developers] Problem SetKeyListener Virtual Keyboard

2009-05-25 Thread guruk
Hi, I have an Input in a Dialog and when I invoke SetkeyListener the Virtual Keyboard does not appear? With the hardware keyboard not Prob. What can I do that the Virtual keyboard also appear with seKeyListener Or how do i Make a accepted Chars with the virtual keyboard?

[android-developers] Re: Possible IMF issue for existing applications

2009-05-25 Thread guruk
Hi Tom, that works ok mPin.setKeyListener(DigitsKeyListener.getInstance(0123456789)); but I need ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ; it even works with the command above, but it starts the softkeyboard with the Numeric Field.(even i can choose to go to the alphabetic keyboad)

[android-developers] Re: Problem SetKeyListener Virtual Keyboard

2009-05-25 Thread guruk
ok, maybe i can without keylistener. but when i add in my layout xml for the editText android:inputType=textPhonetic or anything else it always allow also 1234... but I jus need the alphabet ABCD...abcde and Space?? hope anyone know greets chris

[android-developers] SoftKeyboard ONLY with ABCDE....

2009-05-25 Thread guruk
Hi, i really dont find a solution how I can tell the SoftKeyboard to accept only ABCDE abcde... and space. Its easy in the layout xml to say only numeric=integer or so but... how to make only LETTERS?? thanks Chis --~--~-~--~~~---~--~~ You received this

[android-developers] Re: SoftKeyboard ONLY with ABCDE....

2009-05-25 Thread guruk
no ideas? just to tell the SoftKeyboard only to allow ABCD? --~--~-~--~~~---~--~~ 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: SoftKeyboard ONLY with ABCDE....

2009-05-25 Thread guruk
Thanks Dianne, please can you give me a small example.. HOW?? I am near to give up. I tried so much. EditText dapikeyfield = (EditText) apiEntryView.findViewById (R.id.api_edit); dapikeyfield.setKeyListener(DigitsKeyListener.getInstance( abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ));

[android-developers] Colorize Drawable

2009-05-25 Thread guruk
Hi, is there a simple Solution to colorize a Drawable? I have a PNG with a Symbol (just one Color) on a transparent Background Now I would need to give the Bitmap of the Symbol just another Color. (think about a green Circle on a alpha Bitmap.. and I wish to make the green circle by a simple

[android-developers] Re: Colorize Drawable

2009-05-25 Thread guruk
Hi Romain, thanks... any short Example? right now its: updateViews.setImageViewResource(draws2[i + 10], R.drawable.mydaysminipic_td) how would this looks like when I like to have my drawable for example in Red #ff thanks Chris --~--~-~--~~~---~--~~ You

[android-developers] Re: SoftKeyboard ONLY with ABCDE....

2009-05-25 Thread guruk
yeah filter.. thanks diana.. but a small example is always helpful. thanks to blindfold ! thats the solution... you are great greets chris p.s. should u have still time (big smile) you maybe also have a solution for my next big trouble (same.. look in the api answer :)

[android-developers] Re: Colorize Drawable

2009-05-25 Thread guruk
my test public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button tdummy = (Button) findViewById(R.id.Button01); Drawable d1 = getResources().getDrawable (R.drawable.mydaysminipic_ov);

[android-developers] Re: Colorize Drawable

2009-05-25 Thread guruk
:) right now i am quit near Drawable dx = resources.getDrawable(R.drawable.mydaysminipic_ov); dx.setColorFilter(0xff00ff00, Mode.SRC_ATOP); //even Mode.Multiple works but now i have to get the sourceid of this colored drawable so instead of: updateViews.setImageViewResource(draws2[i + 10],

[android-developers] How to get ID from created Drawable?

2009-05-26 Thread guruk
Hi, I created a new Drawable with: Drawable dx = resources.getDrawable(R.drawable.mydaysminipic_ov); dx.setColorFilter(0xff00ff00, Mode.SRC_ATOP); and for: updateViews.setImageViewResource(predefinedDraw, -- ID from dx); I need the ID from it... but how to get? Or any other Idea how to

[android-developers] Re: How to get ID from created Drawable?

2009-05-26 Thread guruk
or maybe you know how to transform a Drawable into a Bitmap so I could use: updateViews.setImageViewBitmap(viewId, bitmap) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Create Bitmap from BitmapDrawable?

2009-05-26 Thread guruk
Hi, how can i convert a BitmapDrawable into a Bitmap (hopefully it keeps the Alphachannel from the BitmapDrawable) thanks Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Create Bitmap from BitmapDrawable?

2009-05-26 Thread guruk
:) Hi Tom, indeed, look good, but it looks it does not include my manipulations I did on the Drawable Bitmap BitmapOrg = BitmapFactory.decodeResource (resources,R.drawable.mydaysminipic_td);//its a green icon on a transparent background BitmapDrawable bmd = new

[android-developers] Re: Create Bitmap from BitmapDrawable?

2009-05-26 Thread guruk
Hi Tom, thanks for your help do you mean something like that: (till now i did not worked) Bitmap ob = BitmapFactory.decodeResource (resources,R.drawable.mydaysminipic_td); Bitmap obm = Bitmap.createScaledBitmap(ob, 18, 18,false);

[android-developers] Re: Create Bitmap from BitmapDrawable?

2009-05-26 Thread guruk
Hi Tom, hi Streets of Boston, I use this now and it works.. if there is a shorter way... always welcome :) Bitmap ob = BitmapFactory.decodeResource (resources,R.drawable.mydaysminipic_td); Bitmap obm = Bitmap.createBitmap(ob.getWidth(),

[android-developers] Re: Create Bitmap from BitmapDrawable?

2009-05-26 Thread guruk
Tom, Thanks for clarification so i use the way you showed me... also when i my perspective its quit a lot of routines for a simple effect :) ... great work... keep your good vibes. Also best Thanks again to Street of Boston! Yours Christian

[android-developers] Re: android service utilizing custom usb device

2009-05-27 Thread guruk
do you have a blog or something for your work. I very like the Idea to connect external usb devices. Could be a great improvment to know a page where that stuff is explained a bit, also technicalwise what wires etc.. you know :) greets chris --~--~-~--~~~---~--~~

  1   2   >