Re: [android-developers] How to change Format of the Facebook SDK "Created_Time"

2016-02-23 Thread Ralph Bergmann | the4thFloor.eu
Am 23.02.16 um 16:26 schrieb Mark van Limburg: According to the earlier pasted Class file, where would you paste the SimpleDataFormat code? You have this 2 lines in your code feeds.add(pagefeed.getJSONObject(l).getString("created_time"));

Re: [android-developers] How to change Format of the Facebook SDK "Created_Time"

2016-02-23 Thread Ralph Bergmann | the4thFloor.eu
Am 23.02.16 um 15:22 schrieb Mark van Limburg: Can someone help me where i should post the code and what kind of code for using simple date format? You can use Androids SimpleDateFormat to parse the date http://developer.android.com/reference/java/text/SimpleDateFormat.html If you need more

Re: [android-developers] Use gradle variable in java (Android Studio)

2016-01-27 Thread Ralph Bergmann | the4thFloor.eu
Am 27.01.16 um 17:03 schrieb Adrian Ivasku: > I have in my gradle file something like : > > String packageName = com.test.free > > > Now I want this String packageName to use in my java class. You can access the packageName from your app with BuildConfig.APPLICATION_ID For your own

Re: Future of ADT

2015-05-26 Thread Ralph Bergmann | the4thFloor.eu
Am 11.05.15 um 17:55 schrieb Massimo Montecchi: Please, maintain ADT in a working state for future versions of Eclipse. see https://github.com/eclipse/andmore and http://www.vogella.com/tutorials/EclipseGradle/article.html -- You received this message because you are subscribed to the Google

How to connect a mobile app (Android/iOS) with a Spark backend?

2015-02-18 Thread Ralph Bergmann | the4thFloor.eu
Hi, I have dependency problems to use spark-core inside of a HttpServlet (see other mail from me). Maybe I'm wrong?! What I want to do: I develop a mobile app (Android and iOS) and want to connect them with Spark on backend side. To do this I want to use Tomcat. The app uses https to ask

Re: How to connect a mobile app (Android/iOS) with a Spark backend?

2015-02-18 Thread Ralph Bergmann | the4thFloor.eu
Hi, Am 18.02.15 um 15:58 schrieb Sean Owen: That said, it depends a lot on what you are trying to do. What are you trying to do? You just say you're connecting to spark. There are 2 tasks I want to solve with Spark. 1) The user opens the mobile app. The app sends a pink to the backend. When

Berlin Apache Spark Meetup

2015-02-17 Thread Ralph Bergmann | the4thFloor.eu
Hi, there is a small Spark Meetup group in Berlin, Germany :-) http://www.meetup.com/Berlin-Apache-Spark-Meetup/ Plaes add this group to the Meetups list at https://spark.apache.org/community.html Ralph - To unsubscribe,

spark-core in a servlet

2015-02-17 Thread Ralph Bergmann | the4thFloor.eu
Hi, I want to use spark-core inside of a HttpServlet. I use Maven for the build task but I have a dependency problem :-( I get this error message: ClassCastException: com.sun.jersey.server.impl.container.servlet.JerseyServletContainerInitializer cannot be cast to

[android-developers] Network Service Discovery discovers nothing on Android L

2014-09-28 Thread Ralph Bergmann | the4thFloor.eu
Hello, I played a little bit with this example: http://developer.android.com/training/connect-devices-wirelessly/nsd.html But on Android L it discovers nothing. The same code on KitKat discovers the expected services. Is this a know issue? I found nothing about it at

Re: [android-developers] Screencast in Android

2014-08-22 Thread Ralph Bergmann | the4thFloor.eu
Am 21.08.14 um 19:14 schrieb Rahul Raja: Hey Is there a good app or method by which i can make a screencast for one of my Android application? http://developer.android.com/tools/help/adb.html#screenrecord signature.asc Description: OpenPGP digital signature

Re: [android-developers] TextView maxLines based on height

2014-02-15 Thread Ralph Bergmann | the4thFloor.eu
Am 13.02.14 03:54, schrieb Ankur Avlani: Can someone please suggest me some faster was to achieve my requirement. try this one: /** * Calculates the lines needed to show the text. * * @param paint * the TextPaint from the TextView * @param text * the text for the

[android-developers] Notification with TaskStackBuilder.getPendingIntent() is not open the Activity on Nexus7 2012 with KitKat

2013-12-06 Thread Ralph Bergmann | the4thFloor.eu
Hello, I have a problem to open a activity from a notification with a PendingIntent from a TaskStackBuilder. See this bug report: https://code.google.com/p/android/issues/detail?id=63236 Has anyone run into the same problem? Ralph signature.asc Description: OpenPGP digital signature

[android-developers] Adding Fragments to a LinearLayout programmatically

2013-08-30 Thread Ralph Bergmann | the4thFloor.eu
I am trying to add nested child Fragments into a parent Fragment. All works fine but At first my code: public class FragmentDatasheetWithHeader extends Fragment { private long mRowId; private String mSid; @Override public View onCreateView(final LayoutInflater inflater,

Re: [android-developers] Adding Fragments to a LinearLayout programmatically

2013-08-30 Thread Ralph Bergmann | the4thFloor.eu
Am 31.08.13 02:02, schrieb TreKing: 1 - Debug your app and gather more information. I debugged it. The createUI() method is called once. Ralph -- 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] ShareActionProvider: How to overwrite sharing behaviour?

2013-07-25 Thread Ralph Bergmann | the4thFloor.eu
Hello, I can add a OnShareTargetSelectedListener to the ShareActionProvider to get notified if a share target is selected (boolean onShareTargetSelected (ShareActionProvider source, Intent intent)). public abstract boolean onShareTargetSelected (ShareActionProvider source, Intent intent)

Re: [android-developers] ShareActionProvider: How to overwrite sharing behaviour?

2013-07-25 Thread Ralph Bergmann | the4thFloor.eu
Bergmann | the4thFloor.eu: Hello, I can add a OnShareTargetSelectedListener to the ShareActionProvider to get notified if a share target is selected (boolean onShareTargetSelected (ShareActionProvider source, Intent intent)). public abstract boolean onShareTargetSelected (ShareActionProvider

[android-developers] VM does not provide monitor information

2013-07-21 Thread Ralph Bergmann | the4thFloor.eu
Hello, I want to debug my app but when a breakpoint is reached I got this message: VM does not provide monitor information What's wrong? Ralph -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Updated to ADT 22: 'R cannot be resolved to a variable'

2013-05-16 Thread Ralph Bergmann | the4thFloor.eu
Am 16.05.13 11:18, schrieb BoD: Indeed if I look inside the 'gen' folder, nothing is there. I had the problem too, there is a new Android SDK Bild-tools. Open the Android SDK Manager and make a update, maybe twice. Ralph -- -- You received this message because you are subscribed to the

Re: [android-developers] Re: String.replaceAll with regular expression

2013-04-07 Thread Ralph Bergmann | the4thFloor.eu
Am 07.04.13 09:34, schrieb Lew: Ralph Bergmann wrote: Caused by: java.util.regex.PatternSyntaxException: Invalid value for match mode flags near index 4: (?w=[0-9]+) ^ I found it, the problem is the ? at the beginning. It is also a regex metacharacter. ([?]w=[0-9]+) works

[android-developers] String.replaceAll with regular expression

2013-04-06 Thread Ralph Bergmann | the4thFloor.eu
Hello, I want to replace parts of a string but get an error :-( The code: String reSiezedURL = foo; reSiezedURL = reSiezedURL.replaceAll((?w=[0-9]+), String.format(?w=%d, this.reqWidth)); reSiezedURL = reSiezedURL.replaceAll((w=[0-9]+), String.format(w=%d, this.reqWidth)); reSiezedURL =

[android-developers] reusing AsyncTaskLoader with always fresh data

2013-04-03 Thread Ralph Bergmann | the4thFloor.eu
Hello, I wont to reuse my AsyncTaskLoader. To do it I call: LoaderResult loader = getLoaderManager().initLoader(0, args, this); loader.startLoading(); In this startLoading method is a if-statment: if (info.mHaveData mStarted) { // If the loader has already generated its data, report it

Re: [android-developers] Re: reusing AsyncTaskLoader with always fresh data

2013-04-03 Thread Ralph Bergmann | the4thFloor.eu
Am 03.04.13 15:37, schrieb Streets Of Boston: The call to getLoaderManager().initLoader(0, args, this); is enough to have your Loader run at least the first time it is created. Do *not *call 'startLoading()'. yeah... reading helps :-) startLoading() This function will normally be called

Re: [android-developers] google map problem

2012-11-28 Thread Ralph Bergmann | the4thFloor.eu
Am 20.11.12 15:14, schrieb doğan: I want to use google map api .But i have problem about show the coordinates.I added a screencast and some part of codes.Any idea this problem? do you use the right Maps Api key? https://developers.google.com/android/maps-api-signup You need one for

Re: [android-developers] Re: HttpURLConnection on Galaxy Nexus 4.2

2012-11-28 Thread Ralph Bergmann | the4thFloor.eu
Am 27.11.12 11:40, schrieb Fritjof: Integer.parseInt(Build.VERSION.SDK) 13) why you parse a int to Integer and let it automatically convert (unboxing) to int? http://javarevisited.blogspot.de/2012/07/auto-boxing-and-unboxing-in-java-be.html Ralph -- You received this message because you

Re: [android-developers] Re: You need to enter a valid Youtube address.

2012-11-19 Thread Ralph Bergmann | the4thFloor.eu
Am 19.11.12 09:39, schrieb Keith Wiley: I also tried the youtube short URL, btw, i.e., http://youtu.be/XXX . http://youtu.be/KmBVrga0mGw I have added this video with success http://www.youtube.com/watch?v=zHirwKGEfoE Ralph -- You received this message because you are subscribed to

Re: [android-developers] http post NetworkOnMainThreadException

2012-10-26 Thread Ralph Bergmann | the4thFloor.eu
http://developer.android.com/training/basics/network-ops/connecting.html#AsyncTask Am 26.10.12 11:38, schrieb Amey Bapat: On Thu, Oct 25, 2012 at 4:40 PM, aueddonline commsult...@gmail.com laptop. The webpage outputs some JSON also shown below; However I am getting a

Re: [android-developers] Google Checkout Account

2012-10-24 Thread Ralph Bergmann | the4thFloor.eu
Am 24.10.12 09:27, schrieb katarina: But when we try to open up a Google Checkout account from Canada it will not let us do, because only options for addresses are US and UK. As well as the tax information. read this: https://groups.google.com/d/msg/android-developers/CDUCZVQ_PEA/Q-3ohhhD33AJ

Re: [android-developers] In-app billing for canadian

2012-10-14 Thread Ralph Bergmann | the4thFloor.eu
Am 13.10.12 18:31, schrieb MathieuB: to look at implementing in-app billing, when I faced the fact that canadian CANNOT open google merchant account... I was a bit shocked. are you sure? In-app billing is available to developers in supported locations for merchants.

Re: [android-developers] In-app billing for canadian

2012-10-14 Thread Ralph Bergmann | the4thFloor.eu
Am 14.10.12 19:41, schrieb MathieuB: Thought the same thing when I read it, they said it clear. But when it's time to open a google checkout account so I can receive money, it says only available to US and UK... I have a account in Germany, I think there is something else wrong :-( Ralph --

[android-developers] PARTIAL_WAKE_LOCK and Android 2.3.x

2012-07-24 Thread Ralph Bergmann | the4thFloor.eu
Hello, what is the magic with wake locks? I try to prevent that the phone is going to sleep. Here my code (snippet): public class GPSListenerHandler extends Handler implements GpsStatus.Listener, LocationListener { private WakeLock wakeLock; protected boolean

[android-developers] app crashes when a map view is added

2012-07-21 Thread Ralph Bergmann | the4thFloor.eu
Hello, on all my Android 4.x devices the app crashes when I restart the app via Eclipse and the MapView is visible. You can find a example app here: https://github.com/the4thfloor/AndroidMapViewCrashTest Import this project and press play in Eclipse. In the app press the buttons until the

Re: [android-developers] app crashes when a map view is added

2012-07-21 Thread Ralph Bergmann | the4thFloor.eu
Am 21.07.12 19:31, schrieb TreKing: As the stacktrace explicitly tells you, you have a NullPointer at line 482 of LoadedApk.java. Use your debugger to determine what is null, then make it not null. The LoadedApk.java is from the system not from me. And when you look at the example project the

Re: [android-developers] Re: Handling Bitmap Out of Memory Error

2012-07-17 Thread Ralph Bergmann | the4thFloor.eu
Am 17.07.12 09:22, schrieb Francisco M. Marzoa Alonso: GC does NOT take care of recycling Bitmaps, so the answer is that YOU should do that. public void recycle () ... This is an advanced call, and normally need not be called, since the normal GC process will free up this memory when there are

Re: [android-developers] hierarchy viewer shows nothing/AVDs not being reused

2012-06-21 Thread Ralph Bergmann | the4thFloor.eu
Am 21.06.12 01:29, schrieb nchubrich: From what I understand it has to be run through an emulator unless I have a developer build on my phone. But I still don't get any you can use your phone, take a look at https://github.com/romainguy/ViewServer ralph -- You received this message

[android-developers] debugging USB Host

2012-06-20 Thread Ralph Bergmann | the4thFloor.eu
Hello, When debugging applications that use USB accessory or host features, you most likely will have USB hardware connected to your Android-powered device. This will prevent you from having an adb connection to the Android-powered device via USB. You can still access adb over a

Re: [android-developers] Re: debugging USB Host

2012-06-20 Thread Ralph Bergmann | the4thFloor.eu
Am 20.06.12 12:01, schrieb Hemanth(ヘマント): You can remove the USB cable connected to the host, after step 2. Once the port is forwarded, you can connect from the host over WiFi thanks a lot, it works :-) Ralph -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Long press on the Google map secret?

2012-06-17 Thread Ralph Bergmann | the4thFloor.eu
try this: import java.util.Timer; import java.util.TimerTask; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapView; public class MyLongpressMapView extends MapView {

Re: [android-developers] Long press on the Google map secret?

2012-06-17 Thread Ralph Bergmann | the4thFloor.eu
here the link :-) http://www.kind-kristiansen.no/2011/android-handling-longpresslongclick-on-map-revisited/ -- 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

Re: [android-developers] QR Code Scaning

2012-06-12 Thread Ralph Bergmann | the4thFloor.eu
Am 07.06.12 15:11, schrieb sujit dubey: Is there Way to include qr code scaning in app without using zxing library, as a standalone app, with ui of my choice http://android-developers.blogspot.de/2012/02/share-with-intents.html -- You received this message because you are subscribed to the

Re: [android-developers] Svg to hdpi, mdpi, ldpi

2012-06-02 Thread Ralph Bergmann | the4thFloor.eu
Am 02.06.12 00:31, schrieb Jeremy Villalobos: On build, the plugin creates the png's from the svg's, but the svgs are not added to the release package. Is there such a tool ? http://digitalsquid.co.uk/patchworker/ http://code.google.com/p/svg-android/ -- You received this message because

[android-developers] android:onClick and fragments

2012-05-28 Thread Ralph Bergmann | the4thFloor.eu
Hello, In the layout of my fragment I have a ImageButton where I use the android:onClick option. But when I tap on the button I get this error: Failed to handle callback; interface not implemented, callback:android.view.View$PerformClick@410a5308 java.lang.IllegalStateException: Could not find

[android-developers] SQLiteException: no such table

2012-05-24 Thread Ralph Bergmann | the4thFloor.eu
Hello, my app was released a year ago or so, but now one year later, I get the following error message: android.database.sqlite.SQLiteException: no such table: tracking: , while compiling: SELECT _id, ... How can it happen that the table does not exist? In one installation of thousands? The

[android-developers] java.lang.ClassNotFoundException

2012-05-24 Thread Ralph Bergmann | the4thFloor.eu
Hello, how can the following error happens? The app was build and exported via Eclipse. It has over 2300 installations but one user reports this error. java.lang.RuntimeException: Unable to instantiate application de.sportscheck.SportScheckApplication: java.lang.ClassNotFoundException:

Re: [android-developers] Google Mapview

2012-04-11 Thread Ralph Bergmann | the4thFloor.eu
Am 11.04.12 10:30, schrieb Mini agrawal: Can you please explain in bit more details? On Wed, Apr 11, 2012 at 1:14 AM, Mark Murphy mmur...@commonsware.com mailto:mmur...@commonsware.com wrote: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(geo:45,-110)));

[android-developers] AndroidHttpClient HttpGet with Basic Authorization

2012-04-01 Thread Ralph Bergmann | the4thFloor.eu
Hallo, why I can't add a Authorization header field to my get request? AndroidHttpClient client = AndroidHttpClient.newInstance(useragent); HttpParams httpParams = new BasicHttpParams(); HttpConnectionParams.setConnectionTimeout(httpParams, 15 * 1000);

Re: [android-developers] AndroidHttpClient HttpGet with Basic Authorization

2012-04-01 Thread Ralph Bergmann | the4thFloor.eu
found an example http://www.android-dev-faq.com/2011/11/how-to-make-httpdigest-client.html Am 01.04.12 20:25, schrieb Ralph Bergmann | the4thFloor.eu: Hallo, why I can't add a Authorization header field to my get request? AndroidHttpClient client = AndroidHttpClient.newInstance

Re: [android-developers] date format problem

2012-03-30 Thread Ralph Bergmann | the4thFloor.eu
Am 30.03.12 09:05, schrieb Eyal Berman: i try to format a date from XML file the date is in the format Thu, 15 Mar 2012 00:00:00 +0200 try this: /** * Thu, 04 Aug 2011 09:00:00 +0200 */ protected static final SimpleDateFormat FORMATTER_StringToDate = new SimpleDateFormat(E, dd

Re: [android-developers] XML Parsing w/ DocumentBuilder

2012-03-30 Thread Ralph Bergmann | the4thFloor.eu
I have not tried it but I think the 3rd child of the item element is the title element. But you need the text child from this title element. Ralph -- Ralph Bergmann iOS and Android app developer www http://www.the4thFloor.eu | http://www.dasralph.de mail

Re: [android-developers] Re: Referring other library projects from within a library project.

2012-03-27 Thread Ralph Bergmann | the4thFloor.eu
Am 27.03.12 20:43, schrieb Y2i: It was working for me before R17 tools were available and works with R17 tools too. +1 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Calendar edit event force close error....

2012-03-26 Thread Ralph Bergmann | the4thFloor.eu
A stack trace is this long error log which you have posted :-) The error is a NullPointerException which means: the app try to access a field which has no value. And the error appears here: java.util.TimeZone.getTimeZone(TimeZone.java:286) One possible solution: public static final String

[android-developers] Multi-pane Layout

2012-03-26 Thread Ralph Bergmann | the4thFloor.eu
Hi, I want to know: how to design a multi pane layout with more than 2 panes? I found examples with 2 panes. But how to design the layout when I wont more panes (with different widths)? Example: Main pane a and pane b are visible. The user clicks on an entry on pane b. Pane a goes off to the

Re: [android-developers] facepreview20120218.apk does not install with adb

2012-03-18 Thread Ralph Bergmann | the4thFloor.eu
Am 18.03.12 10:57, schrieb karan hans: Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES] Is it really so difficult to read, understand and/or to google the error message?

Re: [android-developers] ListFragment fails on setContentView

2012-03-18 Thread Ralph Bergmann | the4thFloor.eu
Am 18.03.12 12:29, schrieb Jim Andresakis: and heres the layout were I call my fragment. ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=match_parent android:layout_height=match_parent

Re: [android-developers] facepreview20120218.apk does not install with adb

2012-03-17 Thread Ralph Bergmann | the4thFloor.eu
Am 17.03.12 16:41, schrieb karan hans: Failure [INSTALL_FAILED_ALREADY_EXISTS] ^^ Ralph -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] CalendarContract on Samsung's ICS update

2012-03-16 Thread Ralph Bergmann | the4thFloor.eu
Am 16.03.12 13:51, schrieb roee88: It works fine on Galaxy Nexus and other ICS devices and ROMs. On Samsung SGSII with their recent ICS update it simply doesn't do anything. I think this happens because the SGS2 does not have the Google calendar app. Samsung use their own calendar app which

Re: [android-developers] Facebook integration

2012-03-12 Thread Ralph Bergmann | the4thFloor.eu
Am 12.03.12 11:55, schrieb Live Happy: i have integrate face book in my android application but it there a way to get the online friends and also can i write a message to the inbox not to the wall of friends ? is a little bit off-topic

Re: [android-developers] [Android - developers] Exponential Smoothing on Latitude and Langitude

2012-03-12 Thread Ralph Bergmann | the4thFloor.eu
Am 12.03.12 14:50, schrieb agung wiguna johan: Can somebody help me ? I don't have idea what filtering that i can use to clean noise from latitude and longitude I had the same problem. I've filtered the data as follows. 1) max. accuracy 2) max. speed from one point to the next point 3) Kalman

Re: [android-developers] Re: Data written to SQLite database not immediately available

2011-12-23 Thread Ralph Bergmann | the4thFloor.eu
Am 23.12.11 00:06, schrieb lbendlin: it's not a bug, that's how SQLite works. You can't have concurrent writes. Not sure how the content provider buffers this but if you do plain SQLite you are basically blocking the database with each write, and you need to use semaphores to manage that. I

Re: [android-developers] ListView scroll lag with images

2011-10-18 Thread Ralph Bergmann | the4thFloor.eu
Am 18.10.11 13:27, schrieb Sharief Shaik: thread. The problem is the ListView scroll is very laggy. What should we do to fix this problem? try this: http://www.vogella.de/articles/AndroidListView/article.html#listsactivity_performance -- You received this message because you are subscribed

Re: [android-developers] How to display search button in actionbar on tablet (app minSdk = 8)

2011-10-09 Thread Ralph Bergmann | the4thFloor.eu
take a look at http://developer.android.com/guide/topics/search/search-dialog.html#UsingSearchWidget and http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/SearchViewActionBar.html Am 09.10.11 22:58, schrieb Jean-Michel: Hi guys, I just (late and

Re: [android-developers] google map direction jar file

2011-10-05 Thread Ralph Bergmann | the4thFloor.eu
Am 05.10.11 07:45, schrieb Goutom: I want to get the direction from one GeoPoint to another GeoPoint. [...] Any alternate solutions? you can also use the webservice from google http://code.google.com/intl/en/apis/maps/documentation/directions/ ralph -- You received this message because you

Re: [android-developers] ExtentedListView and Fragment.

2011-09-30 Thread Ralph Bergmann | the4thFloor.eu
Am 30.09.11 11:12, schrieb Akhilesh Mani: I want to develop a screen like this(attachment),with help of ExtentedListView and Fragment. Please suggest me. take a look at the Honeycomb Gallery http://developer.android.com/resources/samples/HoneycombGallery/index.html -- You received this

Re: [android-developers] USB Host API on XOOM tablet

2011-09-29 Thread Ralph Bergmann | the4thFloor.eu
Am 23.09.11 16:27, schrieb Anil Sasidharan: It would be great to know if anyone has tested Android's USB Host API on any tablet device especially Motorola XOOM. I would really appreciate your comments/suggestions. I tried the missile launcher app from the sample projects. It does not work on

Re: [android-developers] ProgressBar in ActionBar

2011-09-27 Thread Ralph Bergmann | the4thFloor.eu
Am 27.09.11 09:04, schrieb Isambert: I would like to implement something similar as what is present in Gmail's ActionBar on Honeycomb. I mean, when you click on the refresh take a look at the google io app - http://code.google.com/p/iosched/ there is also a refresh button -- You received

Re: [android-developers] plz help..!!!

2011-09-27 Thread Ralph Bergmann | the4thFloor.eu
Am 27.09.11 18:13, schrieb Divyata P: *how to solve error given below..!!!* read the error message Are you missing a call to unregisterReceiver()? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] [Fragments/supportv4] How do I make ViewPager/TabHost attatch all tabs and not just the current and the one next to it?

2011-09-16 Thread Ralph Bergmann | the4thFloor.eu
Am 15.09.11 12:59, schrieb leson: How can I make the ViewPager/TabHost attach all tabs immediately? I think you can't. You have to choose another holder for your tabs views. I recommend the ViewAnimator. see also:

Re: [android-developers] Re: Out Of Memory Error with Images loaded through XML

2011-09-15 Thread Ralph Bergmann | the4thFloor.eu
Am 15.09.11 06:47, schrieb Sorab Pithawala: I have made a ZIP file containing the code, XML and a small readme. Why do you do it that way: h1 = BitmapFactory.decodeResource(res, R.drawable.help1_l); ImageView im = (ImageView) findViewById(R.id.helpImage); im.setImageBitmap(h1); and not like

Re: [android-developers] JSON android

2011-09-05 Thread Ralph Bergmann | the4thFloor.eu
Am 02.09.11 16:10, schrieb ashish: How to check whether an element is a JSONArray or JSONObject. I wrote the code to check, try this: JSONObject jObject = new JSONObject(); JSONArray jArray = new JSONArray(); Object test = jObject; if (test instanceof JSONObject) { Log.i(test, JSONObject);