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

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

2014-09-28 Thread Ralph Bergmann | the4thFloor.eu
/android/issues and opened a new ticket: https://code.google.com/p/android/issues/detail?id=76796 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@googlegroups.com To unsubscribe

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
())); final StaticLayout layout = new StaticLayout(text, textPaint, avail, Layout.Alignment.ALIGN_NORMAL, 1.0f, 0.0f, false); final int lineCount = layout.getLineCount(); return lineCount; } Ralph signature.asc Description: OpenPGP digital signature

[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
to foreground the nested Fragments are doubled. But it only appears if the container for the nested Fragments is a LinearLayout. If the container is a FrameLayout the nested Fragments are not doubled. What's going wrong? Ralph -- You received this message because you are subscribed to the Google Groups

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

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

2013-07-25 Thread Ralph Bergmann | the4thFloor.eu
I not understand: How to overwrite the sharing behaviour? I think the method has to return true if the intent is handled and should not be delivered to clients. But the method returns always false :-( Ralph -- -- You received this message because you are subscribed to the Google Groups

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

2013-07-25 Thread Ralph Bergmann | the4thFloor.eu
I forgot, the documentaion of the ShareActionProvider.setOnShareTargetSelectedListener method says: The listener can optionally decide to handle the selection and not rely on the default behavior which is to launch the activity. But how to do this? Ralph Am 25.07.13 18:20, schrieb Ralph

[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

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

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
with my regular expression? Regards, 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

[android-developers] reusing AsyncTaskLoader with always fresh data

2013-04-03 Thread Ralph Bergmann | the4thFloor.eu
flag indicate that the loader has data or not from a previous run. My problem / question: How can I reset the loader after a previous run that it lose its data and info.mHaveData is false? Because I get the onLoadFinished call twice and the first one is wrong :-( Ralph -- -- You received

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

2013-04-03 Thread Ralph Bergmann | the4thFloor.eu
for you automatically by LoaderManager when the associated fragment/activity is being started. If you want to refresh your Loader's data call getLoaderManager().*restart*Loader(0, args, this); that works too :-) Thanks a lo, Ralph -- -- You received this message because you are subscribed

Re: [android-developers] google map problem

2012-11-28 Thread Ralph Bergmann | the4thFloor.eu
for development and one for the release build. 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

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

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
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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options

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

2012-10-14 Thread Ralph Bergmann | the4thFloor.eu
/googleplay/android-developer/bin/answer.py?hl=enanswer=150324 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@googlegroups.com To unsubscribe from this group, send email to android

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

Re: [android-developers] Re: USB Extension Cables Breaks USB Driver/ADB Composite Device

2012-08-30 Thread Ralph Brickley
I think you nailed it. I bought a nice powered hub and had the same problem. The hub does get me closer but still had to use stock cable. I have a nice Scoshe USB 6' cable but obviously it's not nice enough On Aug 29, 2012 4:48 PM, Lew lewbl...@gmail.com wrote: Not all USB cables are equal.

[android-developers] PARTIAL_WAKE_LOCK and Android 2.3.x

2012-07-24 Thread Ralph Bergmann | the4thFloor.eu
) { this.wakeLock.release(); } this.tracking = false; stopLogging(); } } // ... } Now my Android 2.3.x devices going to sleep after round about 10 minutes, my 4.x devices stay awake. What's wrong? Ralph -- You received this message because you

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

2012-07-21 Thread Ralph Bergmann | the4thFloor.eu
:362) at android.app.LoadedApk.getClassLoader(LoadedApk.java:305) at android.app.LoadedApk.makeApplication(LoadedApk.java:474) ... 11 more What's going wrong? Ralph -- You received this message because you are subscribed to the Google Groups Android Developers group

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

2012-07-21 Thread Ralph Bergmann | the4thFloor.eu
the you can see that I only show a MapView. There is nothing what I can make wrong. And the app crashes only if the MapView is the 3rd view. If the MapView is the 2nd view all works fine. Ralph -- You received this message because you are subscribed to the Google Groups Android Developers group

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
? 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit

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
a method close(View) in the activity class xxx for onClick handler on view class android.widget.ImageView Why the callback method must be in the FragmentActivity class and not in the Fragment class? Ralph -- You received this message because you are subscribed to the Google Groups Android

[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
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61) at java.lang.ClassLoader.loadClass(ClassLoader.java:501) at java.lang.ClassLoader.loadClass(ClassLoader.java:461) at android.app.Instrumentation.newApplication(Instrumentation.java:948) at android.app.LoadedApk.makeApplication(LoadedApk.java:520) Ralph

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
, Base64 encoded String); everything works fine (without the authorization). What's going wrong? Is that the right way to do a basic authorization? How to add the header field? Ralph -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

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
HH:mm:ss Z, Locale.ENGLISH); Ralph -- Ralph Bergmann iOS and Android app developer www http://www.the4thFloor.eu | http://www.dasralph.de mail ra...@the4thfloor.eu skypedasralph xing http://www.xing.com/profile/Ralph_Bergmann3 linkedin

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 ra

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
ALL_DAY Is the event all day (time zone independent). Column name. Try to set the right timezone. Ralph Am 26.03.12 09:56, schrieb Jast Vacaty: Well.I don't know what is stack trace. and I can't understand what this message mean... 03-26 15:53:22.707: E/AndroidRuntime(2065): Caused

[android-developers] Multi-pane Layout

2012-03-26 Thread Ralph Bergmann | the4thFloor.eu
to the left and from right comes pane c in. Just as in the email app. 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@googlegroups.com To unsubscribe from this group, send email

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

2012-03-18 Thread Ralph Bergmann | the4thFloor.eu
-uninstal 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

Re: [android-developers] ListFragment fails on setContentView

2012-03-18 Thread Ralph Bergmann | the4thFloor.eu
layout xml file. http://android-developers.blogspot.de/2011/02/android-30-fragments-api.html http://developer.android.com/resources/samples/Support4Demos/src/com/example/android/supportv4/app/FragmentListArraySupport.html Ralph -- You received this message because you are subscribed

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 android-developers

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

2012-03-16 Thread Ralph Bergmann | the4thFloor.eu
does not use this new calendar api. So you can use this api but you can't see the results because there is no calendar which shows you the results. Ralph -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

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
filter 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

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

2011-12-23 Thread Ralph Bergmann | the4thFloor.eu
automatically a notification if the content provider has saved the data. 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@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: No luck with new ICS CalenderContract

2011-11-04 Thread Ralph
with the calendar subscription (visible and sync'ed) already set up and let them confirm it. Thanks, Ralph On Nov 3, 2:29 pm, Michael Chan mc...@android.com wrote: Hi, I believe the GoogleCalendarSyncAdapter was not included in the emulator. That's why you can't sync Google Calendars in the emulator

[android-developers] Re: No luck with new ICS CalenderContract

2011-11-04 Thread Ralph
supported way to do this? Also what do you mean by using the browser? Can I make the calendar visible and sync'ed via the browser? Thanks, Ralph private void subscribeCalendar() { CalendarUrl url = CalendarUrl.forAllCalendarsFeed(); Log.i(TAG,ADD NEW CALENDAR: + url

[android-developers] Re: No luck with new ICS CalenderContract

2011-11-03 Thread Ralph
, Zsolt Vasvari zvasv...@gmail.com wrote: The ICS has not been relased.  There are no Intents.  It's a ContentProvider. On Nov 3, 11:04 am, Ralph fed...@gmail.com wrote: Hi And thanks. I see in the ICS announcement that the calender API and intents are documented or at least

[android-developers] Re: No luck with new ICS CalenderContract

2011-11-03 Thread Ralph
orCalendarContract.Events.CONTENT_URI. I have not tried these yet. On Thu, Nov 3, 2011 at 6:56 AM, Ralph fed...@gmail.com wrote: But the announcement below refers to intents but it also says once the new apis arrive when do the new apis arrive? From google: We want to see lots of good calendar apps

[android-developers] Re: No luck with new ICS CalenderContract

2011-11-03 Thread Ralph
in the SDK. I do not know if the content provider works in the emulator. I was planning on waiting until the source code for ICS ships, at which point we can start to fill in the documentation gaps. On Thu, Nov 3, 2011 at 9:57 AM, Ralph fed...@gmail.com wrote: Hi Mark, Thanks so much

[android-developers] Re: No luck with new ICS CalenderContract

2011-11-02 Thread Ralph
calendar. Also, the emulator does not seem to support Google calendar accounts. The only thing that seems to work with calendar is Exchange. Which seems odd. Does anyone have the emulator working with google calendars? Thanks, Ralph On Oct 25, 4:50 am, Zsolt Vasvari zvasv...@gmail.com wrote

[android-developers] Re: No luck with new ICS CalenderContract

2011-11-02 Thread Ralph
and I find no reference to CalendarContract On Nov 2, 9:54 pm, Zsolt Vasvari zvasv...@gmail.com wrote: No, Google Account seem to be broken on the ICS emulator: http://groups.google.com/group/android-developers/browse_thread/threa... On Nov 3, 5:44 am, Ralph fed...@gmail.com wrote: Hi

[android-developers] NFC read sometimes gets stuck

2011-10-19 Thread Ralph
Hi I use NFC chips and the Nexus S NFC reader for a lot of sequential reads. We sometimes find that the NFC read process gets stuck and I have to go to settings and uncheck the NFC read option in Wifi and Networks. And then re-check it. This forces the NFC reader to stop and start and then

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
on my XOOM, but it works without any changes on my LG Slate. But it looks that it works on a XOOM, see http://community.developer.motorola.com/t5/MOTODEV-Blog/Code-to-Launch-Foam-Missiles-Over-USB/ba-p/17889 Ralph -- You received this message because you are subscribed to the Google Groups

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
/AndroidSupportV2/src/android/support/v2/view/ViewPager.java http://developer.android.com/reference/android/widget/ViewAnimator.html -- Ralph Bergmann iOS and Android app developer www http://www.the4thFloor.eu | http://www.dasralph.de mail ra...@the4thfloor.eu skype

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

2011-09-15 Thread Ralph Bergmann | the4thFloor.eu
this: im.setImageDrawable(getResources().getDrawable(R.drawable.help1_l)) take also a look at: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ImageSwitcher1.html Ralph -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] JSON android

2011-09-05 Thread Ralph Bergmann | the4thFloor.eu
); } else if (test instanceof JSONArray) { Log.i(test, JSONArray); } test = jArray; if (test instanceof JSONObject) { Log.i(test, JSONObject); } else if (test instanceof JSONArray) { Log.i(test, JSONArray); } -- Ralph Bergmann iOS and Android app developer www http

Re: [android-developers] Read ms word document

2011-08-29 Thread Ralph Bergmann
Am 29.08.11 03:19, schrieb imsmooth: I know how to read a text file How do I read a ms word (doc) file? http://poi.apache.org/ -- 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] Image manipulation similar to google+ app

2011-08-27 Thread Ralph Bergmann
/android/photostream/ImageUtilities.java 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@googlegroups.com To unsubscribe from this group, send email to android-developers

Re: [android-developers] how to get the view size after orientation changed

2011-08-24 Thread Ralph Bergmann
are wrong? I only want to know the size of an ImageView after the change of the device orientation. I need this to calculate a Matrix for this ImageView. Ralph -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] TextToSpeech / OnUtteranceCompletedListener not working

2011-08-24 Thread Ralph Grove
I'm having a problem with the OnUtteranceCompletedListener in TextToSpeech. In execution of the code below, the listener is registered successfully, but OnUtteranceCompleted is never executed. I tried this with both the Eclipse emulator (2.3) and an HTC phone (2.2). I saw some earlier reports of

Re: [android-developers] Re: how to retrieve images from a sql database?

2011-08-24 Thread Ralph Bergmann
Am 24.08.11 16:21, schrieb Abhi: The field type for image column is BLOB. And I have no idea what that means. I am trying to figure out a way to retreive BLOB data into my Android application and display it on the screen. write: ByteArrayOutputStream out = new ByteArrayOutputStream(); Bitmap

[android-developers] how to get the view size after orientation changed

2011-08-23 Thread Ralph Bergmann
= this.content.getWidth(); final int viewHeight = this.content.getHeight(); Log.i(ImageDetailActivity, String.format(onConfigurationChanged width: %d - height: %d, viewWidth, viewHeight)); } But after the first change I get the size before the change and not after the change. Ralph -- You received

[android-developers] ViewAnimator

2011-07-13 Thread Ralph Bergmann
method from the view? 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] rounded corner // Shape Drawable (via xml) vs. PNG

2011-07-07 Thread Ralph Bergmann
and not a png file (9-patch)? Why is a shape drawable better? 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@googlegroups.com To unsubscribe from this group, send email to android

[android-developers] ViewAnimator - animation is finished?

2011-06-26 Thread Ralph Bergmann
Hi, I use a ViewAnimator and want to know when the showNext() / showPrevious() animation is finished. How can I do this? Is there a listener for that? The LayoutAnimationListener doesn't help me, it doesn't get any events. Ralph -- You received this message because you are subscribed

[android-developers] search suggestions

2011-06-26 Thread Ralph Bergmann
. What goes 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

Re: [android-developers] search suggestions

2011-06-26 Thread Ralph Bergmann
Am 26.06.11 17:26, schrieb Ralph Bergmann: What goes wrong? I found it, I forgot android:searchSuggestIntentAction=android.intent.action.VIEW android:searchSuggestIntentData=content://xxx -- You received this message because you are subscribed to the Google Groups Android Developers group

Re: [android-developers] About Google Maps Api without google add-on

2011-05-25 Thread Ralph Bergmann
-on. In this way my Have you also changed the target for the emulator? 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@googlegroups.com To unsubscribe from this group, send email to android

[android-developers] extra data for search suggestions content provider

2011-05-23 Thread Ralph Bergmann
Hi, when I overwrite public boolean onSearchRequested() I can send some extra data to the search activity. [1] But how can I access this data in my suggestions content provider? Ralph [1] ... http://developer.android.com/guide/topics/search/search-dialog.html#SearchContextData -- You

[android-developers] 9patch only stretchable

2011-05-20 Thread Ralph Bergmann
Hi, Is a 9-patch only stretchable or is it also compressible? What happens when the 9-patch is too big? 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@googlegroups.com

[android-developers] Why is my progress bar not visible?

2011-05-10 Thread Ralph Bergmann
it is not visible when I call setProgressBarIndeterminateVisibility(true); ? In another activity it works. Ralph -- Ralph Bergmann www http://www.dasralph.de/ mail ra...@dasralph.de skypedasralph facebook http://www.facebook.com/dasralph xing

Re: [android-developers] Async Task or Spawn a Thread?

2011-05-07 Thread Ralph Bergmann
://developer.android.com/resources/articles/painless-threading.html -- Ralph Bergmann www http://www.dasralph.de/ mail ra...@dasralph.de skypedasralph facebook http://www.facebook.com/dasralph xing http://www.xing.com/profile/Ralph_Bergmann3

Re: [android-developers] Motorola xoom is xhdpi?

2011-05-02 Thread Ralph Bergmann
-programming-tips/?utm_campaign=xoompsutm_medium=mwsutm_source=specs -- Ralph Bergmann www http://www.dasralph.de/ mail ra...@dasralph.de skypedasralph facebook http://www.facebook.com/dasralph xing http://www.xing.com/profile

[android-developers] PDF

2011-04-07 Thread Ralph Bergmann
Hi, I would like to know is there a way/framework to open/show a PDF in my own App? Or is the only way to open it with an PDF reader (external app)? Ralph -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Android Maps for Mobile 5 Vector Mapping SDK availability

2011-01-14 Thread Ralph
. Thanks for any help. And thanks for vector maps. I use them in the subway and it's so cool to follow the tunnels underground and actually see what street we're under. Ralph On Dec 9 2010, 11:01 pm, TreKing treking...@gmail.com wrote: On Wed, Dec 8, 2010 at 8:16 AM, Dangerous Daren

[android-developers] Re: Market has the All option disabled :)

2011-01-04 Thread Ralph
One question what is the difference between pre-teen and all? Does all include infants? Do infants really use the android market? I apologize for the question, but I'm curious? Thanks, Ralph On Nov 30, 8:21 pm, Brad Gies rbg...@gmail.com wrote: My apps all use GPS... so I would guess

[android-developers] App Challenges for Rock Bands!

2010-11-29 Thread Ralph Cochrane
Make an App for Rock legends Muse, Faithless, Metric or Eliza Doolittle. We also have app contests for Coca-Cola, Diet Coke, Coke Zero and charity mWomen. Win cash prizes, come to the Mobile World Congress App Planet as our guest and potentially work with your heroes! Contests close on 10th

[android-developers] how to catch a http 403 error

2010-07-06 Thread Ralph Bergmann
Hi @all, how can I catch a HTTP 403 error? I use the HttpURLConnection to establish a HTTP connection with Base Authentication. When the authentication fails I get a FileNotFoundException :-( Why I doesn't get a HttpResponseException? Ralph -- You received this message because you

[android-developers] accessing contentprovider

2010-07-01 Thread Ralph Bergmann
hi, how can i access a content provider from a pojo? all ways i found depends on that my class extends Activity :-( ralph p.s. api version 3 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

Re: 回复: [android-developers] Re: capture outgo ing sms in android

2010-05-21 Thread Ralph Bergmann
Am 21.05.10 11:33, schrieb Jiang: 2, Register an content observer for content://sms but remember: http://android-developers.blogspot.com/2010/05/be-careful-with-content-providers.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] content://sms/

2010-05-14 Thread Ralph Bergmann
Hi, I have a question about the content://sms/ provider. I use it in my app but can't find any official documentation about it :-( Is it to old? Or to new? Can I use it or is it deprecated and will removed in future? Ralph -- You received this message because you are subscribed

[android-developers] Eclipse setup - how can I run the Email app from the plattform source

2010-04-05 Thread Ralph Bergmann
Hello, I set up my Eclipse as it is described on http://source.android.com/using-eclipse. But how can I run the Email app on my device? An run as... on the source folder miss the Android simulator. When I use the Email sources to build a Android project, it miss a lot of dependencies. Ralph

[android-developers] email crashed

2010-03-29 Thread Ralph Bergmann
Hi, since a couple of days the com.android.email app crashes. How can I found out why it crashed? I only see the following message: The application Email (process com.android.email) has stopped unexpectedly. Please try again. I have a Nexus One with Android 2.1-update1 (build ERE27). Ralph

Re: [android-developers] Re: email crashed

2010-03-29 Thread Ralph Bergmann
Am 29.03.10 13:41, schrieb Kumar Bibek: Use the SendLog app to see the log okay... but who can fix it? Ralph 03-29 14:45:50.629 E/AndroidRuntime( 2987): Uncaught handler: thread Thread-7 exiting due to uncaught exception 03-29 14:45:50.629 E/AndroidRuntime( 2987

  1   2   >