you can use most normal Java File operations. If you want to access
the sd card you will need to set the necessary permissions.
Sunny greetings from Zurich,
Stephan Wiesner
On 13 Jan., 10:47, tejas_muley tejasmule...@gmail.com wrote:
Hi Android Team,
I try to create folder in android app
Thanks, that looks very interesting. Not the thing I am looking for in
my current project but certainly worth looking at for others :-)
Anybody else? Don't tell me you are all using the default Eclipse XML
editor for your translations?
Stephan
On 16 Jan., 11:11, Pent supp...@apps.dinglisch.net
be a navigation bar to make sure that the user can skip the tutorial
or whatever you want him to be able...
Greetings from Lucerne,
Stephan Wiesner
On 17 Jan., 04:55, Kookamonga site...@yahoo.ca wrote:
Excellent, SurfaceView, just learned something new. Thanks, I'll have
a look.
On Jan 16, 10:48 pm
than a pure XML editor to handle translations?
Thanks and greetings from Lucerne,
Stephan Wiesner
--
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
clients to have us test their apps on
different devices/Android versions.
As Dianne mentioned there are actually not _that_ many differences/
bugs, but they are real and they can get very expensive (again think
lagfix).
Greetings from Zurich,
Stephan Wiesner
On 11 Jan., 23:31, Christopher Van Kirk
a pure XML editor to handle translations?
Thanks and greetings from Lucerne,
Stephan Wiesner
--
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
Hi I am trying to get proguard running but keep running into problems.
I use Eclipse and have a fresh system (Java, Eclipse, everything freshly
installed and updated, keystore created new in eclipse)
Export of signed APK works exactly once!
On second run (no changes in the code or the
, Stephan Wiesner
testexpe...@googlemail.com wrote:
Export of signed APK works exactly once!
On second run (no changes in the code or the configuration) I get an error
(see below)
This happens on different apps, even newly created with no custom code of
mine at all, and on different machines
I guess you gave the obvious answer yourself: Don't hardcode the name.
Use a variable, maybe a system setting or something from a config file
that can be accessed by all your apps and put an if/else block in your
provider
Greetings from Berne,
Stephan
On 31 Dez., 01:05, barry
Hi,
I am creating an app for a foto-community and it displays, well, photos .-)
On opening the gallery I am loading the latest 30 thumbnails (15kb each)
into a Gallery and the first large picture (about 350kb). There is a swipe
navigation and that becomes very painfull it one has to wait for each
You can just pull the database file to your computer and open it with any
sqlite browser. Firefox has a nice extension.
personally i usually write some dump-methods for convenience sake so that i
can dump certain testdate to logcat on the device and only use a real tool
if I am really stuck .-)
Hi,
I need to open a html file that sits on my sdcard in my default
browser.
The code works fine if the file is on the net or in my asset folder,
but if I want to open it from the sdcard I get an
12-11 08:06:34.650: E/AndroidRuntime(6829):
android.content.ActivityNotFoundException: No Activity
You need to have two keys. The one shown looks like a production key?
Then it only works if you export your app. For development you need to
use your development cert file (see google docu).
Sunny greetings from Zurich,
Stephan
On Apr 5, 8:43 pm, BroOf kontaktpl...@googlemail.com wrote:
I just
Hi,
I have a webview and use caching. This worked fine until now. On my Motorola
Defy (Android 2.1) I can not open webpages anymore. I have not changed
anything on the code of the webview activity.
Under preferences/applications I can see that the cache size is 0.
04-06 21:50:35.452:
in 2.1
Of cource I tried to deinstall everything, etc, but no use :-(
Stephan
On Apr 6, 10:21 pm, Kostya Vasilyev kmans...@gmail.com wrote:
06.04.2011 23:57, Stephan Wiesner ?:
// didn't work for me without this line
webView.getSettings().setAppCachePath(/data/data/ch.gipfelbuch/cache
Hi,
when using WebActivites, I want to display a friendly page not found
message to the user when the phone is offline. I do not want to display the
default message that shows the URL that could not be loaded.
Any way I can catch those page not found messages and display a local html
file
Hi,
I have an app that uses MapView to display data. It uses locationManager to
determine the position of the user and if use of GPS is allowed by the user,
GPS is used.
The problem is that the app does not stop using the GPS (and draining
battery).
I start it using:
locationManager =
Hi TreKing,
thanks for your answer. I removed the new GeoUpdateHandler, but that
does not help.
My Activity extends LocationListener:
public class ShowMap extends MapActivity implements LocationListener
so if I provide this on both methods it should work, should it not?
@Override
only it does not stop the GPS :-(
On Mar 21, 3:03 pm, TreKing treking...@gmail.com wrote:
On Mon, Mar 21, 2011 at 8:53 AM, Stephan Wiesner testexpe...@googlemail.com
wrote:
so if I provide this on both methods it should work, should it not?
Yes. I would pair onStart() with onStop
Got it. I have to use
MyLocationOverlay.disableMyLocation()
as well. Works fine now.
Thanks for your advice!
Stephan
On Mar 21, 4:49 pm, TreKing treking...@gmail.com wrote:
On Mon, Mar 21, 2011 at 10:32 AM, Stephan Wiesner
testexpe...@googlemail.com wrote:
only it does not stop the GPS
Hi Pedro,
I have a gallery with previews and when the user taps one he gets a
large image. Depending on portrait/landscape mode of the mobile and
the picture, the picture fills all the screen below the gallery (no
sense in hiding the gallery).
There is a preview here:
Hi,
I use JSON as an interface and my code works fine on 2.2 devices but fails
on motorola 2.1 devices
The reason is that not the whole JSON file is downloaded, but only some
(always the same) part and than it stops.
URL url = new URL(http://www.somelink;);
picCounter = 0;
URLConnection ucon =
Solved it by using:
/**
* This seems to work in both Android 2.1 and 2.2
*/
public static String loadStream(String link) throws Exception {
URL url = new URL(link);
Log.d(TAG, Loading from URL= + url);
InputStream
You might have to do some catching of exceptions in your
ItemizedOverlay and/or LocationOverlay classes. There are some bugs eg
on Motorola phones that lead to unexpected exceptions on some phones/
versions of phones/versions of Android.
I can't find the links at the moment, there is a discussion
Well, you can always implement a sync service on a remote server.
Using JSON objects this is surprisingly easy
Sunny greetings from Zurich,
Stephan
On Mar 8, 12:34 am, ez qzh...@gmail.com wrote:
If a user has a Android phone and Android tablet, how to share the
preference data and database
Thanks, got it :-)
Sunny greetings from Lucerne,
Stephan
On Mar 4, 11:27 pm, Streets Of Boston flyingdutc...@gmail.com wrote:
BTW: There is a BitmapFactory.decodeFile(String pathName) as well... you
could skip the second and third step from my post above :-)
--
You received this message
beafd...@gmail.com wrote:
Use BitmapFactory and feed it the path of the file you saved, wherever
you saved it.
On Mar 2, 2:15 am, Stephan Wiesner testexpe...@googlemail.com wrote:
Hi,
my app displays some pictures I want to replace at certain intervals by
downloading them from
Hi,
my app displays some pictures I want to replace at certain intervals by
downloading them from a webpage.
I can set the image from my drawable folder, assets folder or by downloading
it from a webpage:
ImageView im = (ImageView) findViewById(R.id.SplashLogo);
// url =
YOU can, but Acrobat reader does not have the permission.
Had the same problem and decided to save the pdfs on the SD card...
Greetings from Zurich,
Stephan
On Feb 28, 9:29 pm, Sunil Lakhiyani slakhiyaniandr...@gmail.com
wrote:
Hi Developers,
I have .pdf in assert folder, also i have pdf
Hi,
we have evaluated PhoneGap and JQTouch for my current project, as we
are developing the app for IPhone and Android.
We found the tools somewhat lacking on Android, though. I am sure that
they will be great tools in the future but at the moment we prefere to
go native. We do try to put as much
Hi,
I develop an app that is very content centered. Content consists mostly of
html pages (its basically an app version of an existing homepage with some
added features like GPS and camera), so most of the app will just run inside
a webview.
The app is intended to be used mostly offline, though,
Hi,
anybody using testing tools for end2end/regression testing? As apps are
often developed by outside contractors we do not have (full) control over
the source code and need to be able to do blackbox testing.
We are seeing more and more apps getting into trouble because of the
explosion of
Whats the stack trace?
On 11 Feb., 08:59, Poifull unique.poif...@gmail.com wrote:
Hi, I have got the following code but my application crash. Can anyone
tell me what is wrong? Thanks!
public class GPS extends MapActivity{
--
You received this message because you are subscribed to
of interface they provide
to the different devices ?
Or how the interaction during test should happen ?
Do they provide a web cam view to the ui ?
Thanks ! Frank
On 30 Jan., 07:57, Stephan Wiesner testexpe...@googlemail.com wrote:
For those who are looking for testing their apps
I find JSON faster and much easier to use. Easier to produce the data
as well :-)
Stephan
On 28 Jan., 20:20, Kumar Bibek coomar@gmail.com wrote:
JSON is lighter, and is simple. :)
Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
On Fri, Jan 28, 2011 at 1:17 PM,
For those who are looking for testing their apps on multiple devices:
I had the chance to meet a guy from Device Anywhere last week. They wire
mobile phones and put them into server racks. This allows remote control of
them. No simulation, the real thing. Pretty cool…
They offer a device pool
import com.google.android.maps.MapActivity;
On 27 Jan., 10:57, peria abirami periaabir...@gmail.com wrote:
If I put Classname extends MapActivity, it can't resolve that.
If i put name extends Activiy, it resolve but the application forced to
close..
Can any one help me on this issue
--
Ask your friends to beta test it :-)
Stephan
--
Interessiert an Android?
http://android-schweiz.blogspot.com/
Whant to learn German?
http://german-podcast.blogspot.com
On 25 Jan., 07:15, Nathaniel Warner warner.nathan...@gmail.com
wrote:
I want to test my free app on android phones other that
GA works fine for me. Use it for about two weeks now and worked all
the time.
I use pageviews and event tracking and both are great things to
improve my apps.
Greetings from Lucerne,
Stephan
--
Interessiert an Android?
http://android-schweiz.blogspot.com/
Whant to learn German?
As an add on, here is my code. I have set up TWO GA configurations, so
that I can differ what my beta testers are doing and what my real
users do. I needed that as well to be able to figure out how GA works.
As you can see, I use automatic dispatching.
Custom variables are used as well, but I have
Thanks.
My current solution is still that I only display markers in a certain
radius of the center. That works fine, as the markers are peaks/cabins
in the swiss alps and the user knows where the peaks are anyway.
If I want to expand my app, though, I need a solution that scales. By
now I have
Thats what I bought my SE Xperia Mini Pro for. Its not too expensive,
small enough that i can carry it around with me all the time and has a
hardware keyboard, which is great to make sure the app can be used
with it. As it has only 600 MHz, I use it for performance testing,
though in many cases it
Here is an example that draws a point at the current center of the
map. Move the map and you get another point with a line in between.
You can see the result here:
http://android-schweiz.blogspot.com/
Be careful, I am in the middle of writing the code,it's ugly but it
does work.
As you can see,
-podcast.blogspot.com
On 14 Jan., 05:45, Stephan Wiesner testexpe...@googlemail.com wrote:
Now, thats an interesting idea. I will look into the bitmaps right
away.
I did check a lot of performance checking and tuning loading and
creting my objects, thats smooth by now. I am not very experienced
Don't forget about all those SE phones that do not have pinch zoom (I
am one of those). You might at least want to include the zoom
controls.
Stephan
On 18 Jan., 22:40, bobetko bobe...@gmail.com wrote:
I would like to have onZoomListener on my MapView.
The code below is what I have done. It
No (at least I did not find a way to do that) :-( Would be great
though.
Stephan
--
Interessiert an Android?
http://android-schweiz.blogspot.com/
Whant to learn German?
http://german-podcast.blogspot.com
On 15 Jan., 00:38, José Gil jgilrin...@gmail.com wrote:
Hi all!
Is it possible to
If you want to display the data on your map you need to parse the xml
file and do something with the data. Mind the thread of last week
about performance with many objects, though.
Stephan
--
Interessiert an Android?
http://android-schweiz.blogspot.com/
Whant to learn German?
Here is what I get for two phones:
phone_model android_version board brand device model product
Orange San Francisco2.1-update1 blade ZTE blade Orange San
Francisco
P729B_ORANGE_CH
GT-I90002.2 GT-I9000samsung GT-I9000GT-I9000
Guess we read the same tutorial :-)
Like TreKing wrote: Remove all those populate calls and pay attention
to your draw method.
I can handle 7000 objects on a Samsung Galaxy S (but not on slower
phones).
Greetings from Lucerne,
Stephan
On 17 Jan., 17:52, TreKing treking...@gmail.com wrote:
On
MyLocationOverlay.enableMyLocation() to start
updates in your MapView's onResume() and
MyLocationOverlay.disableMyLocation() to stop in the onPause() and see
if your GPS problem goes away.
On Jan 17, 2:19 am, Stephan Wiesner testexpe...@googlemail.com
wrote:
Hi,
my HTC users keep complaining that i
();
locationManager.removeUpdates(this);
and
@Override
protected void onResume() {
super.onResume();
locationManager.requestLocationUpdates(bestProvider, 1, 10, this);
Anybody knows if HTC turns on GPS by default?
Greetings from foggy Zurich,
Stephan Wiesner
--
Interessiert an Android?
http://android
if there is a performance
penalty for each point.
Stephan
On 13 Jan., 16:28, TreKing treking...@gmail.com wrote:
On Thu, Jan 13, 2011 at 1:10 AM, Stephan Wiesner testexpe...@googlemail.com
wrote:
Any hints?
Don't show 7,000 items. Seriously, what user needs to see or interact with
7,000 items
seems to be a versatilbe body part you have there :-)
Thanks for the input.
Stephan
On 13 Jan., 18:10, TreKing treking...@gmail.com wrote:
On Thu, Jan 13, 2011 at 10:38 AM, Stephan Wiesner
testexpe...@googlemail.com wrote:
Thanks for your reply. I have thought about that, but can't find
of that diameter.
On Jan 12, 11:10 pm, Stephan Wiesner testexpe...@googlemail.com
wrote:
Hi,
my app is supposed to display about 7000 items on a mapview (distributed
over a whole country), but I have serious performance issues with this.
Currently I only display the items
Hi,
my app is supposed to display about 7000 items on a mapview (distributed
over a whole country), but I have serious performance issues with this.
Currently I only display the items that are in an 15km radius of the center
of the map (user has to press a button for this) and everything works
Try http://code.google.com/p/acra
If there is a normal exception it should be reported.
Greetings from Zurich,
Stephan
On 11 Jan., 15:39, Mark Carter mjc1...@googlemail.com wrote:
A user has reported that running my paid app (interestingly the free
version runs fine using almost the same
It comes back to designing Apps that do not need to be stopped.
Let me guess, you do not own a Samsung Galaxy S I9000?
I was constantly switching to the taskmanager trying to kill
processes, uninstalling all apps that ran in the background, etc until
the 2.2.1 patch. . . Android might kill a
Hi,
what do I have to do in order for my app to be movable to sdcard?
App2SD for example lists my app as not movable.
Thanks and greetings from Zurich,
Stephan
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Super, thanks :-)
Stephan
On 7 Jan., 12:11, YuviDroid yuvidr...@gmail.com wrote:
These docs are
helpful:http://developer.android.com/guide/appendix/install-location.html
On Fri, Jan 7, 2011 at 11:59 AM, Stephan Wiesner testexpe...@googlemail.com
wrote:
Hi,
what do I have
What is your error?
Greetings from lucerne,
Stephan
On 5 Jan., 00:20, CaryWang wangjf...@gmail.com wrote:
I try webview show map,but is error.
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Solved it:
I have set different criteria:
Criteria criteria = new Criteria();
//criteria.setAccuracy(Criteria.ACCURACY_FINE);
// more criteria
If I remove those, the code works fine. . .
Stephan
2010/12/31 Stephan Wiesner testexpe...@googlemail.com
Hi,
I have a MapActivity, using Google
Hi,
I want to read a txt file that is deployed with my application.
The file is in the assets directory and I try to read it with:
String url = file:///android_asset/text.txt;
InputStream instream = openFileInput(url);
This results however in:
12-31 07:05:46.638: DEBUG/GMAP(14396): Read
thanks :-)
2010/12/31 Dianne Hackborn hack...@android.com
API demo here:
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/content/ReadAsset.html
On Thu, Dec 30, 2010 at 10:09 PM, Stephan Wiesner
testexpe...@googlemail.com wrote:
Hi,
I want to read
Hi,
I have a MapActivity, using Google Maps and need to center that map on my
current position.
The map is displayed correctly and I can even mark my current location with
MyLocationOverlay here = new MyLocationOverlay(this, mapView);
here.enableCompass(); // compass is displayed
Hi,
I try to display HTML formatted text in a TextView contained in a ListView
and can't get any formatting displayed. Linebreaks are displayed correctly,
so the HTML formating is executed (at least to some extend).
I download the text from the web and it contains br-tags (which are
displayed
A, thanks a lot. That was a quick fix :-)
Happy greetings from Lucerne,
Stephan
On 23 Dez., 17:48, Kostya Vasilyev kmans...@gmail.com wrote:
23.12.2010 19:10, Stephan Wiesner ?:
*Spanned text = Html.fromHtml(text);*
titles.add(text.toString());
Take out the second line (toString
, non-rooted
Android devices. Your application data will be stored wherever
getFilesDir() says it will be stored.
On Tue, Dec 21, 2010 at 2:50 AM, Stephan Wiesner
testexpe...@googlemail.com wrote:
Hi,
after updateing my Samsung Galaxy i9000 to the latest patch (still
running Android
a file there and it should work fine.
On Tue, Dec 21, 2010 at 10:37 AM, Mark Murphy mmur...@commonsware.com
wrote:
On Tue, Dec 21, 2010 at 4:34 AM, Stephan Wiesner
testexpe...@googlemail.com wrote:
thanks for the fast reply.
only thing is: getFilesDir() returns /data/data/de.stephanwiesner
ähm, actually, i do not have an (external) SD Card. The phone has 8 GB
on its own, so no need for a card.
Its actually very interesting to see how many apps don't work without a card .-)
Writing to the internal card would be great, though. Did not think of
that and I will try that right away.
I
Hi,
after updateing my Samsung Galaxy i9000 to the latest patch (still
running Android 2.1) I can not find the data of my apps anymore.
They used to be in /data/data/package name
Now there is no such directory anymore. /data is empty. I tried to
find it using DDMS in Eclipse and ASTRO app on the
Hi,
i want to include line breaks in the long text of notifications. \n
does not work.
I want to display my information in 2 blocks and need a visual
distinction between these blocks.
notification.setLatestEventInfo(context, expandedTitle, longText, launchIntent);
Thanks,
Stephan
--
You
Hi,
i have downloaded the facbook sdk from github and the sample code
works for me - on the emulator.
The same code does not work on my Samsung Galaxy i9000, though. I get
a key error.
I use a key genereated by adding an application to Facebook, as
described in the facebook sdk.
I have not
Hi,
i have a little app that just displays a number of pictures and texts
(think quizz).
I can load the text and filenames from an XML file and display them as
text. And I can display pictures from a webpage (using ImageSwitcher)
if I provide the full URL as a filename. This requires an
73 matches
Mail list logo