[android-developers] gradle and libs

2013-02-19 Thread Daniel Rindt
Hello, my android lib makes use of some other libs which reside in /libs as usual in android projects. My gradle file looks like this: buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.2' } } apply plugin: 'an

[android-developers] Re: Application not Visible on emulator Screeen

2013-02-19 Thread Daniel Rindt
Am Dienstag, 19. Februar 2013 11:43:17 UTC+1 schrieb Sagar Rout: > > Hey Bob, > > I already tried that option i mean that application is not visible on the > application list on the home screen > I doubt that an application can direct appear on the home screen without user interaction. -- --

[android-developers] Re: Multiple HTTP requests

2013-02-19 Thread Daniel Rindt
> > *HttpConnectionParams.setConnectionTimeout (httpParameters, 3);* > > *HttpConnectionParams.setSoTimeout (httpParameters, 3);* > > > I did a test using apache jmetter sending multiple requests to this server > and had no problems. > > > This can be a limitation of the network? SO? > t

[android-developers] Re: gradle and libs

2013-02-19 Thread Daniel Rindt
Am Dienstag, 19. Februar 2013 16:13:32 UTC+1 schrieb bob: > > You say "lib" in one place and "libs" in another. Make sure you pick one > name and use it everywhere. > a qualified answer would be much better than this answer to a totally clear situation what's meant! -- -- You received this me

[android-developers] Re: gradle and libs

2013-02-19 Thread Daniel Rindt
Am Dienstag, 19. Februar 2013 19:52:59 UTC+1 schrieb Jonathan S: > > You already have > > dependencies { > compile fileTree(dir: 'libs', include: '*.jar') > } > > you have to put all *.jar file inside the libs directory. If any *.jar > file outside of the libs folder wouldn't be compiled. >

[android-developers] Re: gradle and libs

2013-02-20 Thread Daniel Rindt
You already have > > dependencies { > compile fileTree(dir: 'libs', include: '*.jar') > } > > you have to put all *.jar file inside the libs directory. If any *.jar > file outside of the libs folder wouldn't be compiled. > The documentation says that compile is only using the classes on com

[android-developers] Problem with gradle build version 0.3 and signing (signingConfigs)

2013-03-01 Thread Daniel Rindt
Hello, using the builder version 0.3 and try to sign my app. Those values are present in ~/.gradle/gradle.properties and worked fine in version 0.2. Here is my definition: apply plugin: 'android' def getCurrentVersionCodeOrBuildNumber() { ext.v = System.getenv().BUILD_NUMBER?.toInteger()

Re: [android-developers] Re: Problem with gradle build version 0.3 and signing (signingConfigs)

2013-03-04 Thread Daniel Rindt
2013/3/1 Jonathan S > Okay, I fixed this. > > signingConfigs { > myConfig { > storeFile file(signingStoreLocation) > storePassword signingStorePassword > keyAlias signingKeyAlias > keyPassword signingKeyPassword > } > } > > b

[android-developers] gradle build with custom views

2013-04-24 Thread Daniel Rindt
Hello, i just experienced a InflateException when i start the app which gradle builds before. The layouts use custom views: The code is working fine when build with eclipse. Someone can confirm this? The result of the layout.xml from gradle build is different to eclipse built ones. Maybe aapt

Re: [android-developers] gradle build with custom views

2013-04-24 Thread Daniel Rindt
2013/4/24 Tor Norbye : > How are the two layout files different? I opened the apk and extracted the binary xml's and they are different. -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

Re: [android-developers] gradle build with custom views

2013-04-29 Thread Daniel Rindt
Hello again, i placed just for testing a view pager in the layout.xml and that is found by the inflater. It seems that here is something wrong with package stuff. But i don't get clued. The build runs inside eclipse but not the gradle builded apk. Really weird. Daniel -- -- You received this m

[android-developers] question about fragment's

2012-03-06 Thread Daniel Rindt
Hello, i built up all contents in a app with fragments, followed the tutorial of the example with the article click listener to replace the fragment through another one. To explain i try to implement a wizard with multiple steps to finish it. By invoking transaction.replace(R.id.wizard_content,

[android-developers] Handling bigger forms, displaying error messages

2012-03-19 Thread Daniel Rindt
Hello, android has such a nice style guide, but i can't find a section in it what's talking about displaying error messages. Meant is a when you had a big form on the screen which the user might fill with contents to later click on a save button. How to handle the display of error messages for

[android-developers] Question about animation

2012-01-24 Thread Daniel Rindt
Hello, i would animate a VideoView what scales up and switch then to fullscreen. My code looks like: final VideoView videoView = (VideoView) findViewById(R.id.video_view); final ObjectAnimator x = ObjectAnimator.ofFloat(this, "x", 0); x.setTarget(videoView); final ObjectAnimator y = ObjectAnimat

Re: [android-developers] Question about animation

2012-01-24 Thread Daniel Rindt
Thanks for your quick answer, i have API Level 11 available for the application, so the compatibility package may help here? Another idea is to render one frame of the video in a hidden fullscreen element, then shrink it down and animate it. I think poeple can neglect that the video is not pla

[android-developers] How to separate 2 WebView's?

2012-02-09 Thread Daniel Rindt
Hello, i have 2 Activities where each contains a WebView. In the first activity i do a loadUrl() to login the user in the view. The website is using cookies. When i leave the activity and come later back to it, the cookie is still in the CookieManager and valid, so everything is working fine. B

[android-developers] Re: MapView works on some devices and others it doesnt

2012-02-09 Thread Daniel Rindt
And a reason could be when the google api's not on the device are present. -- 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 t

[android-developers] How to use a OnClickListener in Fragment

2011-09-17 Thread Daniel Rindt
Hello readers, in a fragment i inflate a xml layout which includes buttons. How can i make use of the OnClickListener to receive the click event nside the fragment? Thanks for reading Daniel -- You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: How to use a OnClickListener in Fragment

2011-10-13 Thread Daniel Rindt
No ability for using the ClickListener in a Fragment? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+

[android-developers] Translation handling

2011-08-17 Thread Daniel Rindt
Hi droids, i am looking for a possibility to access to the translation via the translation key like "my_cart". The reason is that the datasource is more complex and written in xml which is residing in res/raw. So in this xml is just configured which translation key should be used. How can i ach

Re: [android-developers] Translation handling

2011-08-17 Thread Daniel Rindt
2011/8/17 Nick Risaro > On Wed, Aug 17, 2011 at 3:26 PM, Daniel Rindt > wrote: > >> Hi droids, >> >> i am looking for a possibility to access to the translation via the >> translation key like "my_cart". The reason is that the datasource is more >

[android-developers] Designing Wallpapers, Screensaver

2011-08-19 Thread Daniel Rindt
Hello, is there a guide available about to create Wallpapers and Screensavers (gif animated)? Thanks Daniel -- 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 unsub

[android-developers] Calendar Widget

2011-08-22 Thread Daniel Rindt
Hello everyone, i am looking for a calendar view, like used in android 3.x with ability to translate it. Thanks for all suggestions Daniel -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Layout, Canvas questions

2011-08-22 Thread Daniel Rindt
Hello, I have tried asking elsewhere but got no replies so I am now trying here. 1. I want to write an appliction with a LinearLayout containing a Canvas and a Button. When the button is pressed a circle is drawn centered on the canvas, and when the button is pressed again it disappears. 2. Is i

[android-developers] XStream and proguard qestion

2011-08-25 Thread Daniel Rindt
Hello droids, i am using XStream for multiple tasks in a project. But when i release it then it comes that proguard do usual optimizations and obfuscation. Since i am using XStream and let them parse XML into POJO's to work with ease with the XML i run into the problem that XStream won't work p

[android-developers] revision 17 of the Android SDK Tools NoClassDefFoundError

2013-05-21 Thread Daniel Rindt
Hi, after upgrading to revision 17 of the sdk tools i got in my project NoClassDefFoundError. The missed class is not in a library in that case. They reside in the same package as the class initially started from launcher. And this is found well. I used dexdump to ensure this class is really i

Re: [android-developers] revision 17 of the Android SDK Tools NoClassDefFoundError

2013-05-22 Thread Daniel Rindt
Am Mittwoch, 22. Mai 2013 05:11:16 UTC+2 schrieb TreKing: > > > On Tue, May 21, 2013 at 3:25 PM, Daniel Rindt > > > wrote: > >> So i don't know to investigate that error deeper and need assistance for >> that. > > > Do a Google search for the

Re: [android-developers] revision 17 of the Android SDK Tools NoClassDefFoundError

2013-05-22 Thread Daniel Rindt
Am Mittwoch, 22. Mai 2013 12:26:41 UTC+2 schrieb Kostya Vasilyev: > > I ran into the same, with a class defined in the application's project > (not as a library). > > Fixed by marking "Android Private Libraries" as "exported" (Project props > -> Java build path -> Order and export)... even though

[android-developers] detect intrumentation

2013-05-24 Thread Daniel Rindt
Hello, i would like to know how to find out if the app is running in an intrumentation runner? Thanks Daniel -- -- 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] Custom fonts and android-gradle build

2013-06-20 Thread Daniel Rindt
Hai, i use the latest sdk build tools and gradle plugin 0.4.2. for building an app which uses custom ttf fonts. When i build the app with eclipse doesn't matter if a release build or a debug the font is properly shown. If i use the version build by gradle then the font let crashes the app frequ

[android-developers] How to animate a bar which grows in height

2013-08-15 Thread Daniel Rindt
Hello, i try to let grow a bar which actually is a simple View with a color in hight for animating a voting display. My code looks like this: ScaleAnimation anim = new ScaleAnimation(1, 1, 0, 1, 0, 0); anim.setDuration(5000); anim.setFillEnabled(true); anim.setFil

Re: [android-developers] Re: How to animate a bar which grows in height

2013-08-15 Thread Daniel Rindt
2013/8/15 Nobu Games > Hi Daniel, > > can you post the layout in which these bars are embedded? You may be able > to solve it with some "bottom gravity" setting in the parent container > layout > Hey, cool thats what i haven't played with. Here is the layout: http://schemas.android.com/apk/res/

Re: [android-developers] Re: How to animate a bar which grows in height

2013-08-16 Thread Daniel Rindt
Thans Nobu, but after STFU and RTFM i don't get it. :-( Someone is willing to help me paid? -- 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 gr

[android-developers] DialogFragment created twice after orientation change

2014-01-28 Thread Daniel Rindt
Dear readers, i experienced a double call to onCreateDialog also to onCreateView in my project. here is my activity code: public class DialogTestActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

Re: [android-developers] DialogFragment created twice after orientation change

2014-01-29 Thread Daniel Rindt
Am Donnerstag, 30. Januar 2014 00:01:56 UTC+1 schrieb TreKing: > > You are creating a new Dialog in your onCreate method. onCreate gets > called both the first time the app is run (with savedInstanceState set to > null) and after an orientation (configuration) change, with > savedInstanceState s

[android-developers] Activity Back Stack and OutOfMemoryError

2014-05-08 Thread Daniel Rindt
Hello, in the application we open a chooser for selecting photos. I got frequently crashes mostly from sony by doing this which says: OutOfMemoryError which raises by showing the bitmaps. The stacktrace which the system creates doesn't mention a class of our code which confuses me a bit. My assu

Re: [android-developers] Activity Back Stack and OutOfMemoryError

2014-05-08 Thread Daniel Rindt
2014-05-08 17:52 GMT+02:00 Krishna Mahadik : > Increase memory allocated to process bitmap. > > Chunk of code will be more helpful to understand what problem exactly you > are facing. Thanks for your reply, have a look where the error is happen: java.lang.RuntimeException: Unable to start activity

Re: [android-developers] Activity Back Stack and OutOfMemoryError

2014-05-09 Thread Daniel Rindt
2014-05-09 0:12 GMT+02:00 Kostya Vasilyev : > Are you absolutely sure that your code does not leak memory? How to be "absolutely sure". :-) Just kidding. > Have you tried using Eclipse MAT and putting the app through the usual > paces, like rotating the screen, pausing / restarting, etc.? This i

Re: [android-developers] Activity Back Stack and OutOfMemoryError

2014-05-09 Thread Daniel Rindt
2014-05-09 15:53 GMT+02:00 Kostya Vasilyev : > > > > 2014-05-09 16:59 GMT+04:00 Daniel Rindt : > >> 2014-05-09 0:12 GMT+02:00 Kostya Vasilyev : >> > Are you absolutely sure that your code does not leak memory? >> >> How to be "absolutely sure&q

Re: [android-developers] Re: Activity Back Stack and OutOfMemoryError

2014-05-11 Thread Daniel Rindt
2014-05-11 14:00 GMT+02:00 Piren : > Android has this particular annoying and weird behavior: Once the heap > inflates to a certain size, no matter how much of it is actually used, you > can no longer allocate files that are larger than the remaining memory. > my guess, you're there. > > you should

[android-developers] requestLocationUpdates ignore minTime parameter?

2011-05-11 Thread Daniel Rindt
Hello droids, i use requestLocationUpdates with values like 1000, 15000 and so on. But i experience that onLocationChanged is called in a smaller timeframe than the given from 15000msecs. The documentation says: "minTime - the minimum time interval for notifications, in milliseconds. This field

Aw: Re: [android-developers] requestLocationUpdates ignore minTime parameter?

2011-05-11 Thread Daniel Rindt
Ah ok, yes now i got it. Good when english is your native language. :-) Thanks! -- 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 e

[android-developers] Local Services

2011-03-09 Thread Daniel Rindt
Hello, i have a Problem with bind to a running service. In my activity starts the service with startService() and after that i would bind to that service to communicate with them. I inserted a Log.d to inspect the behavior of the service and the service connection. My summary is that the order is

[android-developers] Re: Local Services

2011-03-12 Thread Daniel Rindt
On 10 Mrz., 02:52, Mark Murphy wrote: Hello Mark, > First, you do not typically use both startService() and bindService(), > but rather one or the other. I'm confused about that. So please let me explain a bit more about what i want to do. Try to implement a service what is getting gps informatio

[android-developers] Dialog doesn't show in a ListActivity

2011-03-14 Thread Daniel Rindt
Dear reader, my code is pasted here http://rifers.org/paste/show/1254. The problem is that the dialog showContextDialog() is not displayed. The dialog code is directly used from android examples. I played a lot around put that code directly in onResume and so on - no efforts. I'm thankful for all

[android-developers] AVD with Google-API crash

2011-03-14 Thread Daniel Rindt
Hello, created an avd with google-api's API Level 9. My application uses GPS when i simulate via GPX File the AndroidRuntime crashes. Here is the stack: === 8< === D/dalvikvm( 1188): GC_EXTERNAL_ALLOC freed 104K, 51% free 2678K/5447K, external 2094K/2137K, paused 68ms D/GPSRecorder( 1188): Track M

Re: [android-developers] Dialog doesn't show in a ListActivity

2011-03-14 Thread Daniel Rindt
Am Montag, den 14.03.2011, 07:44 -0500 schrieb TreKing: > Well, a dialog is not going to be displayed if you don't tell the > system to display it, which is done with the show() method. > Can you post the examples you got that from? Because that's wrong in > so many ways. http://developer.and

Re: [android-developers] Dialog doesn't show in a ListActivity

2011-03-14 Thread Daniel Rindt
Am Montag, den 14.03.2011, 08:53 -0500 schrieb TreKing: > Creates a AlertDialog with the arguments supplied to this builder. It > does not show() the dialog. This allows the user to do any extra > processing before displaying the dialog. Use show() if you don't have > any other processing to do and

[android-developers] TabView, ListActivity Problem

2011-03-14 Thread Daniel Rindt
Hi, in my TabView you can show it here: http://fpaste.org/sEnm/ i would like to display a ListActivity with a usual ListView. That works so far but, the ListView is not stretching over the entire rest of the screen as they usually do because the parent element defines a "fill_parent" you can see

[android-developers] Dialog, TabView

2011-03-21 Thread Daniel Rindt
Hello, in my Tabhost is an activity shown which has a button. The button has assigned an OnClickListener. The listener calls showDialog(DIALOG_ASK_NAME) which is implemented in onCreateDialog(). But when the layout changes the Dialog disappears and never comes back until i press again the key. I r

Re: [android-developers] Dialog, TabView

2011-03-21 Thread Daniel Rindt
Am Montag, den 21.03.2011, 13:37 -0600 schrieb Justin Anderson: > Change your TabHost to display views instead of activities... TabHost > doesn't handle activities very well. From what I understand it is > only partially implemented and dates back to the Android 1.1 days. Hello Justin, thanks for

[android-developers] Problems by testing on different devices

2011-03-24 Thread Daniel Rindt
Hello, testing my application on different devices with different screens. The QVGA-small-ldpi device brings startup errors. === 8< === E/AndroidRuntime( 874): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.viselabs.myroutes/com.viselabs.myroutes.activity.TabView}: andro

[android-developers] MapView

2011-04-03 Thread Daniel Rindt
Hello, i would build a layout where i can have on top a google map on the bottom should appear a table layout with some content and a button. How to implement such a layout, i tried it a couple of hours now, and my summary is that the map is all the time over the entire screen. I can set the heigh

[android-developers] Re: MapView

2011-04-03 Thread Daniel Rindt
On 3 Apr., 19:01, Mark Murphy wrote: > Use a LinearLayout as the container for the map and the TableLayout. > Give the map a height of 0 and a weight of 1. Give the table whatever > height makes sense and no weight. This is unfortunately not really working. Here is my code: http://fpaste.org/oqJv/

[android-developers] Re: google maps that place where I am now.

2011-04-03 Thread Daniel Rindt
On 3 Apr., 19:58, Andrei wrote: > Hello. > How do you open downloaded google maps that place where I am now. > Place to be determined by GPS. Thank you Not sure to right understand you, but you can obtain those informations with easy from the MyLocationOverlay: http://code.google.com/intl/de-DE/an

[android-developers] Re: MapView

2011-04-03 Thread Daniel Rindt
On 3 Apr., 20:22, Mark Murphy wrote: > You declined to explain what "not really working" is, forcing us to guess. I followed your suggestions, but the table and the button is not visible. That i forgot to mention in my previous post. The map uses the entire screen again. My last summary was to sho