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"));
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
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
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
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
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
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,
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
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
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
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
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
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,
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
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)
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
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
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
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
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 =
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
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
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
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
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
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
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
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.
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
--
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
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
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
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
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
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
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
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 {
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
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
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
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
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
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:
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)));
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);
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
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
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
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
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
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
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?
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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);
68 matches
Mail list logo