[android-developers] Re: File Handling in Android

2012-01-16 Thread Stephan Wiesner
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

[android-developers] Re: Tool for handling of localisation files

2012-01-16 Thread Stephan Wiesner
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

[android-developers] Re: Creating step-by-step tutorial in app

2012-01-16 Thread Stephan Wiesner
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

[android-developers] Tool for handling of localisation files

2012-01-15 Thread Stephan Wiesner
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

[android-developers] Re: Android fragmentation study

2012-01-12 Thread Stephan Wiesner
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

[android-developers] Tool for localisation file handling (non XML)

2012-01-11 Thread Stephan Wiesner
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

[android-developers] Proguard fails on second run with Conversion to Dalvik format failed with error 1

2012-01-09 Thread Stephan Wiesner
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

[android-developers] Re: Proguard fails on second run with Conversion to Dalvik format failed with error 1

2012-01-09 Thread Stephan Wiesner
, 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

[android-developers] Re: Android unit testing with ContentProviders and databases

2011-12-30 Thread Stephan Wiesner
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

[android-developers] Is it worth to load pictures in parallel ?

2011-12-19 Thread Stephan Wiesner
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

Re: [android-developers] How to install sqllite database browser in android emulator

2011-12-11 Thread Stephan Wiesner
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 .-)

[android-developers] Open Browser with HTML page from sdcard

2011-12-10 Thread Stephan Wiesner
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

[android-developers] Re: Google Maps API Key not working? Only Grid!

2011-04-07 Thread Stephan Wiesner
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

[android-developers] webview No cache file for url

2011-04-06 Thread Stephan Wiesner
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:

[android-developers] Re: webview No cache file for url

2011-04-06 Thread Stephan Wiesner
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

[android-developers] WebActivity: How to prevent page not found messages

2011-04-01 Thread Stephan Wiesner
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

[android-developers] GPS does not stop after ending my app

2011-03-21 Thread Stephan Wiesner
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 =

[android-developers] Re: GPS does not stop after ending my app

2011-03-21 Thread Stephan Wiesner
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

[android-developers] Re: GPS does not stop after ending my app

2011-03-21 Thread Stephan Wiesner
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

[android-developers] Re: GPS does not stop after ending my app

2011-03-21 Thread Stephan Wiesner
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

[android-developers] Re: Make and Imageview go in Fullscreen mode

2011-03-20 Thread Stephan Wiesner
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:

[android-developers] (JSON) Download fails in 2.1 but works in 2.2

2011-03-19 Thread Stephan Wiesner
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 =

[android-developers] Re: (JSON) Download fails in 2.1 but works in 2.2

2011-03-19 Thread Stephan Wiesner
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

[android-developers] Re: Mapview ArrayIndexOutOfBoundsException in java.util.Vector.elementAt

2011-03-13 Thread Stephan Wiesner
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

[android-developers] Re: How to share data among different devices

2011-03-09 Thread Stephan Wiesner
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

[android-developers] Re: How to set ImageView from internal storage (or SDCard)

2011-03-08 Thread Stephan Wiesner
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

[android-developers] Re: How to set ImageView from internal storage (or SDCard)

2011-03-03 Thread Stephan Wiesner
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

[android-developers] How to set ImageView from internal storage (or SDCard)

2011-03-02 Thread Stephan Wiesner
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 =

[android-developers] Re: Can I read .pdf From assert folder?

2011-03-01 Thread Stephan Wiesner
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

[android-developers] Re: Android Apps with HTML5

2011-03-01 Thread Stephan Wiesner
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

[android-developers] How to cache Websites

2011-02-20 Thread Stephan Wiesner
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,

[android-developers] Blackbox testing android apps

2011-02-15 Thread Stephan Wiesner
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

[android-developers] Re: GPS with Map overlay

2011-02-11 Thread Stephan Wiesner
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

[android-developers] Re: For those who are looking for testing their apps on multiple devices:

2011-01-31 Thread Stephan Wiesner
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

[android-developers] Re: XML or JSON in Android

2011-01-30 Thread Stephan Wiesner
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,

[android-developers] For those who are looking for testing their apps on multiple devices:

2011-01-29 Thread Stephan Wiesner
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

[android-developers] Re: Map View Error!

2011-01-27 Thread Stephan Wiesner
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 --

[android-developers] Re: Testing on Different Devices

2011-01-25 Thread Stephan Wiesner
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

[android-developers] Re: Pretty sure Google Analytics for Android not working

2011-01-22 Thread Stephan Wiesner
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?

[android-developers] Re: Pretty sure Google Analytics for Android not working

2011-01-22 Thread Stephan Wiesner
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

[android-developers] Re: Performance issue with mapview when using large number of items

2011-01-21 Thread Stephan Wiesner
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

[android-developers] Re: Which phone for hardware testing?

2011-01-20 Thread Stephan Wiesner
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

[android-developers] Re: Marking points in a MapView

2011-01-19 Thread Stephan Wiesner
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,

[android-developers] Re: Performance issue with mapview when using large number of items

2011-01-19 Thread Stephan Wiesner
-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

[android-developers] Re: How to implemennt OnZoomListener on MapView

2011-01-18 Thread Stephan Wiesner
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

[android-developers] Re: Relief view on mapActivity?

2011-01-18 Thread Stephan Wiesner
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

[android-developers] Re: Google maps reading data off XML

2011-01-18 Thread Stephan Wiesner
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?

[android-developers] Re: Version code being displayed instead of Version Name in Samsung Galaxy S - GT I9000 device?

2011-01-17 Thread Stephan Wiesner
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

[android-developers] Re: Problem with large number of markers on google map

2011-01-17 Thread Stephan Wiesner
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

[android-developers] Re: GPS turned on automatically on some devices?

2011-01-17 Thread Stephan Wiesner
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

[android-developers] GPS turned on automatically on some devices?

2011-01-16 Thread Stephan Wiesner
(); 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

[android-developers] Re: Performance issue with mapview when using large number of items

2011-01-13 Thread Stephan Wiesner
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

[android-developers] Re: Performance issue with mapview when using large number of items

2011-01-13 Thread Stephan Wiesner
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

[android-developers] Re: Performance issue with mapview when using large number of items

2011-01-13 Thread Stephan Wiesner
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

[android-developers] Performance issue with mapview when using large number of items

2011-01-12 Thread Stephan Wiesner
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

[android-developers] Re: How to investigate a system crash reported by user?

2011-01-11 Thread Stephan Wiesner
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

[android-developers] Re: How to exit the application..?

2011-01-10 Thread Stephan Wiesner
 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

[android-developers] When is an app movable to sd card?

2011-01-07 Thread Stephan Wiesner
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

[android-developers] Re: When is an app movable to sd card?

2011-01-07 Thread Stephan Wiesner
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

[android-developers] Re: webview show map problem?help me

2011-01-04 Thread Stephan Wiesner
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);        

[android-developers] Re: GPS MapView: animate to current position

2010-12-31 Thread Stephan Wiesner
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

[android-developers] How to read file from assets dir?

2010-12-30 Thread Stephan Wiesner
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

Re: [android-developers] How to read file from assets dir?

2010-12-30 Thread Stephan Wiesner
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

[android-developers] GPS MapView: animate to current position

2010-12-30 Thread Stephan Wiesner
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

[android-developers] How to display HTML formatted text in a TextView contained in a ListView

2010-12-23 Thread Stephan Wiesner
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

[android-developers] Re: How to display HTML formatted text in a TextView contained in a ListView

2010-12-23 Thread Stephan Wiesner
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

[android-developers] Re: where is my data?

2010-12-21 Thread Stephan Wiesner
, 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

Re: [android-developers] Re: where is my data?

2010-12-21 Thread Stephan Wiesner
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

Re: [android-developers] Re: where is my data?

2010-12-21 Thread Stephan Wiesner
ä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

[android-developers] where is my data?

2010-12-20 Thread Stephan Wiesner
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

[android-developers] How to include line break in notification?

2010-12-13 Thread Stephan Wiesner
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

[android-developers] Facebook connect works in Emulator but not on Mobile

2010-12-10 Thread Stephan Wiesner
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

[android-developers] How to deploy and display images in App

2010-12-06 Thread Stephan Wiesner
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