[android-developers] WifiManager: Can't activate WiFi Hotspot with Android > v7.1

2017-09-18 Thread Jens Doose
We use a method of the WifiManager to open and close a WiFi Hotspot. An external device (navi) connect via Bluetooth an Android smartphone and then our app open a WiFi hotspot. After this, die navi have connection to the internet via the smartphone WiFi hotspot. It works until Android 7.0.

[android-developers] Problems using YouTubePlayerFragment, “the YouTubePlayerView is 0dp wide and 0dp high”

2016-05-27 Thread Jens Wangenheim
I am really struggling with using the `YouTubePlayerFragment` in my application. My implementation looks like this: private void loadYouTubeVideo(final YouTubeViewHolder h, final Content content) { final YouTubePlayerFragment youTubePlayerFragment = YouTubePlayerFragment.newInstance();

Re: [android-developers] android.provider.Settings.System.FONT_SCALE -- Does this do anything (Android 2.0)?

2012-08-25 Thread Jens
...now, on Android 4.1.1 the following method still does NOT update the system's font scale: Settings.System.putFloat( getContentResolver(), Settings.System.FONT_SCALE, newFontScale ); Any ideas? On Friday, 13 November 2009 00:34:03 UTC+1, Romain Guy wrote: It's supposed to scale the size

[android-developers] Re: E/dalvikvm: Could not find class 'xxx', referenced from method yyy

2012-04-10 Thread Jens Axelsson
I have the same issue. Even just following the example https://developers.google.com/mobile-ads-sdk/docs/android/fundamentals I get 04-05 22:31:17.203: E/dalvikvm(28635): Could not find class 'com.google.ads.AdView', referenced from method se.phidev.yxa.YxaActivity.onCreate, this was working fine

[android-developers] Re: How to install both applications using 1 apk file?

2011-09-29 Thread Jens
If you mean add/bind the widget to the users Homescreen by installing that is not supported for non-system/signed applications. Otherwise, do as Mark said and put them both in the same APK. On Sep 23, 2:59 pm, Oleksandr Fesak oleksandr.fe...@gmail.com wrote: Additionally to main application I

[android-developers] Re: Android is worst os mobile is this true

2011-09-22 Thread Jens
Let's assume that 3.x is not suitable for mobile phones. If Google were to release 3.x you can take your pick of the available 3rd world Asian countries that would be putting 3.x in shitty low-end mobile phones. Result: Bad-will against Google for putting out such a horrible product that doesn't

[android-developers] Re: Always getting GET on the server eventhough POST was sent

2011-09-22 Thread Jens
Well, for a starter your #addHeader(Content-Type, application/ json) doesn't really make sense since you're in fact sending application/x-www-form-urlencoded when you're pushing an UrlEncodedFormEntity to the server - otherwise it looks about right. Are you getting a HTTP 3xx redirect - that

[android-developers] Re: how to show numbers before each string in ListView

2011-09-22 Thread Jens
Assuming that you are using a SimpleCursorAdapter you should look into using a SimpleCursorAdapter.ViewBinder and maybe a custom list item layout - useful if you want to further dress up your list in the future.

[android-developers] Re: How to insert special character into Database

2011-09-21 Thread Jens
One hint: MITHUL'S http://www.sqlite.org/faq.html#q14 Or .. you know .. you could stop doing hardcoded queries and use the supporting functionality present in Android. On Sep 21, 8:44 am, Bishan tvbis...@gmail.com wrote: @  Zsolt no. i got this error. 09-21 12:07:26.876:

[android-developers] Re: Publish and Debug

2011-09-21 Thread Jens
leonardomasc...@gmail.com wrote: I really have to unsintall the market downloaded apk to run the debug? No. or there is another way to do this? Yes. Four easy steps to compromise security: 1. Whip out Portecle (http://portecle.sourceforge.net, no install required). 2. MAKE A COPY OF YOUR

[android-developers] Re: ViewFlipper class does not support SurfaceView like it should

2011-09-20 Thread Jens
That would be the gist of what both Dianne Romain Guy said yes. On Sep 20, 2:13 pm, MobileVisuals eyv...@astralvisuals.com wrote: GLSurfaceView extends SurfaceView. Does that mean that it is not possible to animate GLSurfaceView with a viewflipper? On Sep 20, 9:54 am, Romain Guy

[android-developers] Re: Send message with C2DM to selected devices

2011-09-20 Thread Jens
Each device has its own registration ID so you can push messages to a specific device. On Sep 19, 9:24 am, Joshua Partogi joshua.part...@gmail.com wrote: hi there, I am interested to use C2DM for my application. Is it possible to send push messages to selected devices only? Or will it send to

[android-developers] Re: Have problem with compare arraylists in Android

2011-09-16 Thread Jens
You typically do not do String comparison using ==, try using the equals(..) method instead - in your case directly on your ArrayLists. if (user.equals(mine)) { // Start a new activity. } Btw, you should consider using generics for your lists, e.g. ArrayListString mine = new

[android-developers] Re: How to get an interval of bytes from a file?

2011-09-16 Thread Jens
Try java.io.RandomAccessFile. Call RandomAccessFile#seek() to position the file pointer correctly and then call one or more of the read(..) methods available in the RandomAccessFile class. Or you could go balls deep and use a FileChannel, but that is about as fun as pleasuring yourself with a

[android-developers] Re: How is RockPlayer doing hardware decoding?

2011-09-16 Thread Jens
Or, crack open their app and check the build of the ffmpeg library. If they forgot to do the mandatory sanity checks on their build (i.e. forgot to read http://ffmpeg.org/legal.html that has useful build instructions) you could always request a copy of the now GPL- licensed source code to their

[android-developers] Re: Hide Phone Number in the Dialer

2011-09-11 Thread Jens
Have you tried supplying your own account manager implementation, adding a contact with the display name My Special Number and then sending your dialer Intent? Since you cannot override (afaik) the dialer from appspace that'd pretty much be the only way of doing it. On 11 Sep, 01:44, mwllace

[android-developers] Re: can Wi-Fi and 3G establish network connections individually and simutaneously on a single android?

2011-07-21 Thread Jens
Yes. Using http://developer.android.com/reference/android/net/ConnectivityManager.html#TYPE_MOBILE_HIPRI you should be able to do short, explicitly routed transmissions on the mobile network while maintaining a WiFi connection. There's a timeout on the TYPE_MOBILE_HIPRI request and you may need

[android-developers] Re: CursorAdapter over multiple columns

2011-07-04 Thread Jens
Yeah, you should just do a join between table A and table B that includes the required column from B and use that in your cursor adapter. A simple google search for sqlite join would give you a clear how-to. On 29 Juni, 07:39, jjoe64 g.jjo...@googlemail.com wrote:  i don't understand your

[android-developers] Re: Initial setup after app install/update?

2011-06-16 Thread Jens
If your app includes a broadcast listener for one of the more spammy intents you can create a somewhat delayed setup this way. Plz remember to disable the listener afterwards using PackageManager#setComponentEnabledSetting(..) On 15 Juni, 16:29, Joshua Partogi joshua.part...@gmail.com wrote: Hi

[android-developers] Re: How to add APP icon to desktop automatically

2011-06-15 Thread Jens
You cannot obtain the required permissions unless your application is installed as a system package. On 14 Juni, 09:41, June_Hello junehelloworld.he...@gmail.com wrote: Hi folks, I find that when  switch on the mobile, some icon of the application (for example. Mms , Phone, Contacts) has been

[android-developers] Re: How to add APP icon to desktop automatically

2011-06-15 Thread Jens
it into the system.img, so there is no need to install it. I think it is a system package, is it right? On Wed, Jun 15, 2011 at 3:30 PM, Jens dunkingbikk...@gmail.com wrote: You cannot obtain the required permissions unless your application is installed as a system package. On 14

[android-developers] Re: opening a url in browser with post data from an activity

2011-06-14 Thread Jens
WebView webView = ; ListNameValuePair parameters = new ArrayListNameValuePair(); parameters.add(new BasicNameValuePair(parameter1, someValue)); parameters.add(new BasicNameValuePair(id, 12345)); parameters.add(new BasicNameValuePair(encodingTest, \;)); UrlEncodedFormEntity entity = new

[android-developers] Re: How to get manifest values?

2011-06-10 Thread Jens
AFAIK the GET_INTENT_FILTERS flag in PackageManager has never been implemented (even though it's been declared since version 1 of the API). If it's your own manifest file you want to access Dougs advice is spot on - if you want to inspect the intent-filters of other applications your SOL. On 9

[android-developers] Re: Encoding image into Base64

2011-06-10 Thread Jens
That depends wholly on your backend - although a backend that requires you to use Base64 encoding seems a tad bit pointless. Are you sure you're not supposed to post the image directly (using a FileEntity or InputStreamEntity for instance) - with the correct Content-Type set of course? On 9

[android-developers] Re: Android MD5 Hash doesn't match Hash generated from .NET application

2011-06-07 Thread Jens
EncodingUtils#getString(byte[], String) is for byte array to String conversions, given a *character set* - not a *transfer encoding* (such as Base64). You want to use android.util.Base64 (available since 2.2). On 6 Juni, 13:13, Mark Murphy mmur...@commonsware.com wrote: You are not generating

[android-developers] Re: How to read data from ./asset/ files correctly?

2011-05-31 Thread Jens
i think this is incorrect and slow. Hell yes. Do you need the entire asset in-memory? Then you should either consider reading it into a ByteArrayOutputStream or allocate the required bytes as an array after determining the size of the asset. I do not know how to get datasize from inputstream and

[android-developers] Re: Connecting to https server from java

2011-05-23 Thread Jens
It's also quite possible the certificate chain is a bit iffy. You can check this quite easily by surfing to the URL with the *built- in browser* in your Android phone. If the certificate works there but *not* in your app (i assume you are using the Apache HttpClient?) its most often your chain

[android-developers] Re: regarding HTTPClient : How to get the HTTP request posted by the native browser

2011-05-20 Thread Jens
Apache - as in the HttpClient, org.apache.http.* or the web server? Further - the browser in the phone typically doesn't use the apache HTTP client library, it's JNI to WebKit. The good thing is that you're not going to be able to sniff either without building your own firmware and flashing the

[android-developers] Re: How to get synced Google contact group programmatically ?

2011-05-19 Thread Jens
I assume you mean : http://developer.android.com/reference/android/provider/ContactsContract.Groups.html http://developer.android.com/reference/android/provider/ContactsContract.CommonDataKinds.GroupMembership.html Groups group membership information is in the same ContentProvider that stores

[android-developers] Re: How to enable and disable OpenGL2.0 in andorid

2011-05-18 Thread Jens
1. You need a real device. OpenGL ES 2.0 is not something you can play with on the emulator. 2. Go here: http://code.google.com/p/gdc2011-android-opengl/wiki/TalkTranscript https://code.google.com/p/gdc2011-android-opengl/source/browse/trunk/ On 17 Maj, 07:52, Jetti jettima...@gmail.com wrote:

[android-developers] Re: good 2d physics engine

2011-05-12 Thread Jens
JBox2D is decent enough. If you're writing a game using the NDK you should probably use the normal Box2D, it compiles readily on Android. On 11 Maj, 20:28, bob b...@coolgroups.com wrote: Can anyone recommend a good 2d physics engine for Android? -- You received this message because you are

[android-developers] Re: Building C code for Android (no Java/jni)

2011-05-03 Thread Jens
Yeah, using NativeActivity (2.3+) from the NDK you can sometimes get away without writing any java code at all. On 3 Maj, 18:28, Justin Anderson magouyaw...@gmail.com wrote: Without using the NDK it is not possible... Thanks, Justin Anderson MagouyaWare

[android-developers] Re: Force Close on Click in Calendar after i delete all information set in it

2011-05-02 Thread Jens
It's especially problematic if you're trying to work with closed source, such as Android 3.0 - you should consider setting maxSdkVersion to prevent people from seeing your app on 3.0. On 2 Maj, 15:34, Dianne Hackborn hack...@android.com wrote: You can expect individual devices to behave

[android-developers] Re: How do you counter repeated bogus reviews from competitors?

2011-04-25 Thread Jens
 I am wondering how do you deal with this? What steps do you take to prevent such abuse of Android Market? Payback - it can be a bitch. Step 1. Download app from offending party. Step 2. Decompile app from offending party. Step 3. Fill it to the brim with malware. Step 4. That's not enough!

[android-developers] Re: SAXParser throws exception for bad character in CDATA block, bug???

2011-04-22 Thread Jens
-- is not. It really has nothing to do with CDATA or XML at all. Jens' approach operates at this level -- it turns a byte stream that is not a valid ISO-8859-1-encoded byte stream, into one that at least *appears* to be an ISO-8859-1-encoded byte stream. If it happens to be a UTF-8 byte stream (ISO-10646 encoded

[android-developers] Re: I am developing android application and I have to take my photo using browse button.

2011-04-22 Thread Jens
If you're looking for a way to use the gallery applications image picker in your form to allow the user to select an image you should refer to ACTION_PICK in the Intent class. Or, lmgtfy: http://stackoverflow.com/questions/550905/access-pictures-from-pictures-app-in-my-android-app This will

[android-developers] Re: SAXParser throws exception for bad character in CDATA block, bug???

2011-04-21 Thread Jens
No its a bug in your feed. CDATA is not parsed in the sense that characters that otherwise would be recognized as mark-up are ignored - it's not a carte blanche to add binary junk/illegal characters to XML. Try passing something like this instead (wrapped in an InputSource) to the

[android-developers] Re: How to produce a closed source library ?

2011-04-21 Thread Jens
I'm guessing he wants to build a .jar file and distribute it to customers. It can be done relatively easily as long as you *do not have any dependencies into the res/ folder* in your jar - a custom ant script that runs aidl (if necessary), compiles the code (including your android.jar in the

[android-developers] Re: which is the best way to play encrpted song instantly?

2011-04-21 Thread Jens
What is the output of your decrypted stream? If it is PCM you can dump it directly in an AudioTrack and play it that way. If its something else, i.e. MP3, you can include a decoder for your format and decode to PCM yourself and still use AudioTrack. On 20 Apr, 06:01, Hitendrasinh Gohil

[android-developers] Re: Intercepting HTTP Requests in Android

2011-04-21 Thread Jens
Not using the SDK (thankfully). In a custom platform build, sure. On 21 Apr, 12:32, gauri gauri.v...@gmail.com wrote: Hello,          I want to intercept outgoing HTTP requests. Are there any intents in Android which are broadcasted when such requests are sent? Or are there any methods in

[android-developers] Re: This is True / False or a bug!?

2011-04-21 Thread Jens
You could start with your broken string comparison. (xx==Local1); Use String#equals(String) instead if you're not trying to ascertain if xx and Local1 are both *instances* of the same String object. On 20 Apr, 06:08, Perry168 perry...@netvigator.com wrote: Hi, Today, I wrote a program. The

[android-developers] Re: How to force use only gprs even though wifi is available

2011-04-15 Thread Jens
It is. http://developer.android.com/reference/android/net/ConnectivityManager.html#TYPE_MOBILE_HIPRI On 15 Apr, 07:18, kiran saikiran@gmail.com wrote: Yes you are right, But thing is my application itself making wifi on. Is it not possible to on wifi and gprs at a time? On Apr 14, 2:34 

[android-developers] Re: Reusable HttpResponse in android network programming?

2011-04-12 Thread Jens
You can wrap the HttpEntity in a BufferedHttpEntity and reuse that. DefaultHttpClient client = new DefaultHttpClient(); HttpGet get = new HttpGet(http://www.somearbitraryurl.com;); HttpResponse response = client.execute(get); HttpEntity reusableEntity = new

[android-developers] Re: Using Google Calendar API

2011-04-11 Thread Jens
Are you running this on an emulator? They typically do not contain the calendar or calendar provider applications. You can build (from the platform sources) and install your own calendar provider APK on the emulator though. On 10 Apr, 21:08, New Developer secur...@isscp.com wrote: anyone

[android-developers] Re: Using Google Calendar API

2011-04-11 Thread Jens
of Android (such as the different URI authorities used by the provider) and vendors (We've patched this particular provider for one phone manufacturer already). On 11 Apr, 09:52, New Developer secur...@isscp.com wrote: Thanks,  Jens Yes this is on the emulator Can you please tell me more about

[android-developers] Re: how do i devlope an android keybord

2011-04-11 Thread Jens
The developer sample doesn't work anymore? http://developer.android.com/resources/samples/SoftKeyboard/index.html On 9 Apr, 21:13, ariel arielgordon...@gmail.com wrote: so i will try to rephrase my question. how i can build a keybord. On Apr 9, 2:10 am, Spiral123 cumis...@gmail.com wrote:

[android-developers] Re: Parsing data from a calender on a website

2011-04-08 Thread Jens
You should probably include the URL of the calendar application (if you can) if you expect any sort of useful response. But, since you've posted a question for an online calendar that apparently (?) loads the calendar dynamically with javascript you could try checking if the calendar uses any

[android-developers] Re: OpenGL ES for Android tutorial

2011-04-08 Thread Jens
GDC 2011 had a better example for OGLES2.0 https://code.google.com/p/gdc2011-android-opengl/ On 5 Apr, 18:41, J javier.sed...@gmail.com wrote: Hi,   anybody can sugest a tutorial for OpenGL ES on Android?   The official documentation is not very extensive... Thanks, J -- You received

[android-developers] Re: Parsing data from a calender on a website

2011-04-08 Thread Jens
Yeah.. that's not going to work for most/any sites. The output of the average brainless HTML-monkey will not parse with a proper XML parser - which is why Google themselves saw fit to use TagSoup internally for HTML rendering (its used for instance to render HTML in TextView:s). You can include

[android-developers] Re: Android Contacts backup and sync application

2011-04-06 Thread Jens
Uh, there's a complete sort-of-working-if-you-disregard-the- embarrassingly-huge-glaring-holes-in-the-default-contacts-app-that- Google-will-never-fix example @ developer.android.com. http://developer.android.com/resources/samples/SampleSyncAdapter/index.html On 31 mar, 14:25, Udayan Warnekar

[android-developers] Accessing raw (uncompressed) image data from the camera via takePicture(...) callbacks impossible

2011-04-06 Thread Jens
There is an issue concerning accessing raw (uncompressed) image data on the Android device. The Android API provides a method public final void takePicture (Camera.ShutterCallback shutter, Camera.PictureCallback raw, Camera.PictureCallback postview, Camera.PictureCallback jpeg) to take a picture

[android-developers] Re: MPlayer for Android

2011-03-28 Thread Jens
You could do like all the others, write a JNI wrapper for ffmpeg and bundle it with your application - which, depending on how you build your version of ffmpeg would either be GPL or LGPL - and probably be .. somewhat problematic to sell in that epic train-wreck that the US calls a patent system.

[android-developers] Re: Joins vs. Content provider

2011-03-11 Thread Jens
Did they ever fix that horrible bug in CursorJoiner that used a string comparison on INTEGER values? Hepp.. nope they didn't: http://code.google.com/p/android/issues/detail?id=3707 So, the advice regarding CursorJoiner is still Avoid it like the plague. On 10 mar, 21:07, Kostya Vasilyev

[android-developers] Re: Contacts.NAME_RAW_CONTACT_ID cant be edited, bug or a future feature?

2011-03-03 Thread Jens
You cannot. First, look at the code for the provider, http://www.google.com/codesearch/p?hl=en#cbQwy62oRIQ/src/com/android/providers/contacts/ContactsProvider2.javaq=ContactsProvider2.javal=3887 and you'll notice that it only allows updates for the non-managed fields on Contacts, i.e. the

[android-developers] Re: Could I exec some codes after my app is installed

2011-01-20 Thread Jens
Yes. Which is bad. Adding a BroadcastReceiver to your app for something that is spammed often enough start your app without user interaction .. eventually. For that extra abusive touch i recommend listening for ACTION_USER_PRESENT - whenever the user wakes up his device goes past the key guard

[android-developers] Re: How to copy contacts in phone to another account ?

2011-01-17 Thread Jens
When your SyncAdapter is initialized by the system you should get a flag in the Bundle you receive from the SyncManager. http://developer.android.com/reference/android/content/ContentResolver.html#SYNC_EXTRAS_INITIALIZE So if this flag is present, copy the contacts to your account. On 17 Jan,

[android-developers] Re: Programmatically specifying a particular APN to be used in my application

2010-12-16 Thread Jens
Afaik the answer is a resounding no. It's possible for the MMS application to use the MMS APN but that's about as far as it goes. On 14 Dec, 17:38, Accandme a...@accandme.com wrote: I am writing a chat application (still demo stage) for an operator, and they want to be able to use a specific

[android-developers] Re: Import Contacts from .vcf file in Android 2.1

2010-11-28 Thread Jens
Afaik there is no standard way to insert contacts from a vcf file into the contacts provider. The entire package that deals with vCards, android.pim.vcard is hidden in the SDK and not available unless you're a big fan of abusing Java Reflection - in short, you should lift the parser from the

[android-developers] Re: SAX- \n \r not recognized

2010-11-25 Thread Jens
A single LF is the expected output for CR LF sequences. Normalization is part of the deal with XML. http://www.w3.org/TR/REC-xml/#sec-line-ends In short: Find a non-conformant XML parser or encode your content. On 23 Nov, 06:04, Android Humanoid droid.hu...@gmail.com wrote: SAXParserFactory

[android-developers] Re: 2.1 vs 2.2 ZipInputStream

2010-10-17 Thread Jens
Tim Brays blog entry on multithreading mentions this error and how to fix it: http://android-developers.blogspot.com/2010/07/multithreading-for-performance.html On 16 Okt, 00:34, Adam Hammer adamhamm...@gmail.com wrote: I have some code that takes a zip in /assets/raw opens it and reads

[android-developers] Re: writing Events into Google Calendar in Android failed

2010-10-11 Thread Jens
You're adding an event that's not linked to a row in the calendars table for one. Typically you need to set the value of calendar_id to something. This something better be a valid _id value from the calendars table or your app will just be filling the provider with crap. If you're going to be

[android-developers] Re: Using 3G and WLAN simultaneously

2010-10-02 Thread Jens
Asked and answered. http://groups.google.com/group/android-developers/browse_thread/thread/4a4d8fbc87d20c/ec0177df1fa1534c?lnk=gstq=We+have+an+application+where+we%27d+like+to+use+the+Wifi+connection+on+a+#ec0177df1fa1534c Only works on 2.2+ - and the current solution is somewhat hackish.. On 1

[android-developers] Re: How can I query the sms by conversation?

2010-09-29 Thread Jens
The URI you're looking for is content://mms-sms/conversations?simple=true and the sort order is date DESC And as usual, with undocumented APIs from Google - they may change in the future / differ between handsets etc. - i.e. your app may stop working and your users start whining. If you're

[android-developers] Re: Synchronization period

2010-09-26 Thread Jens
If you are using 2.2 / api level 8 you could use http://developer.android.com/reference/android/content/ContentResolver.html#addPeriodicSync(android.accounts.Account,%20java.lang.String,%20android.os.Bundle,%20long) For 2.1 you're going to have to use the AlarmManager to schedule your

[android-developers] Bluetooth scanning: Issue with HTC Desire - not scanning

2010-09-23 Thread Jens
Hi: I'm developing an application which does scans for nearby bluetooth devices which are in discoverable mode. On the Google Nexus One device, the device scanning is working perfectly. But on the HTC Desire, ACTION_DISCOVERY_FINISHED is called once and does not call the action

[android-developers] Re: Custom Account / Sync adapter: inability to edit contacts?

2010-09-17 Thread Jens
You will most likely not see a fix for either 2.1 or 2.2 for this issue. Keep your fingers crossed for 3.0? On 15 Sep, 09:59, BoD bodl...@gmail.com wrote: Thank you so much, that confirms what I was afraid of. Starred it; hope this will be taken care of soon. Until then, making a custom

[android-developers] Re: Adding Contacts in Custom account 2.2

2010-09-17 Thread Jens
There's an old issue filed for this bug: http://code.google.com/p/android/issues/detail?id=5988 You can either supply your own contact editor and supply activities for editing and adding contacts to your account or wait for a fix from Google. The first option results in a very shabby user

[android-developers] Re: Fetch recurrent events

2010-09-09 Thread Jens
ecosystem and reputation. On Sep 8, 8:46 am, TreKing treking...@gmail.com wrote: On Wed, Sep 8, 2010 at 7:12 AM, Jens dunkingbikk...@gmail.com wrote: Or, if one doesn't reply with a snarky one-liner: I think you mean Or, if you insist on using private APIs which Google specifically

[android-developers] Re: Fetch recurrent events

2010-09-08 Thread Jens
Or, if one doesn't reply with a snarky one-liner: For Android 2.1 and earlier you could query content://calendar/ events with the following selection rrule IS NOT NULL For Android 2.2 the authority of the calendar provider was changed, so you query content://com.android.calendar/events instead.

[android-developers] Re: Can Android 2.X connect to 3G and Wifi data networks simultaneously?

2010-09-01 Thread Jens
, Aug 31, 2010 at 7:36 AM, Jens dunkingbikk...@gmail.com wrote: Look into the ConnectivtyManager#startUsingNetworkFeature(TYPE_MOBILE, ENABLE_HIPRI) There is no ENABLE_HIPRI constant in the Android SDK. There is a FEATURE_ENABLE_HIPRI constant on an internal Phone class, but that is not part

[android-developers] Re: Can Android 2.X connect to 3G and Wifi data networks simultaneously?

2010-08-31 Thread Jens
With Android 2.2 you can route data over the 3G connection explicitly while still using WiFi. The feature exists in Android 2.1 also but is *broken* as the high-priority 3G data connection is torn down incorrectly almost directly. Look into the

[android-developers] Bluetooth signal strength on Google Nexus One running Android 2.2 (FroYo)

2010-07-22 Thread Jens
Hi! Is there a possibility to get the bluetooth signal strength to not connected bluetooth devices? Regards -- 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

[android-developers] Re: Permanent socket connection drains battery

2010-07-16 Thread Jens
So you're holding a wake lock that keeps the network and CPU on at all times? Which would prevent the device from sleeping? Yeah, that's a pretty sure-fire way of draining the battery. On 15 Juli, 15:41, Namrata puranik.namr...@gmail.com wrote: Do you really need to have a socket open at all

[android-developers] Sections in ListView

2010-07-13 Thread Jens
What is the preferred way to sectionize a ListView by declaring a header before each section? -- 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

[android-developers] Re: Setting and testing state of WiFi Tether hotspot setting in 2.2

2010-07-02 Thread Jens
I'm interested in this too. Is there already any experience with this? -- 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] Record audio separately from both microphones on Google Nexus One

2010-07-02 Thread Jens
Hi: The Google Nexus One uses noise cancellation and has therefore two microphones. My question is, if it is possible to record audio individually for both microphones? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Picking up contacts: difference in behaviour between HTC and NexusOne - SDK 2.1-update1

2010-06-26 Thread Jens Finkhaeuser
, but on my user's Hero (HTC's version of 2.1-update1) it doesn't. Seems that HTC misread deprecated as unsupported. Ugh. Ah, well, if you solved your problem that way, I can do too. Thanks! Jens -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Picking up contacts: difference in behaviour between HTC and NexusOne - SDK 2.1-update1

2010-06-25 Thread Jens Finkhaeuser
Hi! Any news on this? I'm seeing the same - rather, one of my users is seeing the same on their Hero, and on my N1 everything works. Thanks, Jens -- 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] Recognize clicks on screen in background service

2010-06-24 Thread Jens
Hi: I have a background service and want to listen to clicks on the screen by the user. Is there any standard procedure or experience in doing this? -Jens -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] GPS fix status detection

2010-06-18 Thread Jens MF
called... At least the status bar icon seems to know when it has a fix and when not ... -Jens -- 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: Unable to edit the SyncAdapter Contacts

2010-04-10 Thread Jens
There's a bug report about this intentional misdesign already: http://code.google.com/p/android/issues/detail?id=5988 On 5 Apr, 18:03, Jegadeesan M jeg...@gmail.com wrote: Hi All , Actually i tried the SampleSyncAdapter (Sample Sync Adapter examples), its working fine for me. but i am not

[android-developers] Re: Contacts FAQ?

2010-03-11 Thread Jens
android:resource=@xml/contacts /.  Has anyone figured out an answer to this problem yet?  I've seen a few posts, but nothing with a solid answer. On Jan 12, 4:45 am, Jens dunkingbikk...@gmail.com wrote: You could check the Email app - its the current location of the Exchange ActiveSync

[android-developers] Re: HTML parsing with JAVA

2010-02-24 Thread Jens
Tagsoup. You can add the lib to your project or (ab)use reflection to obtain it from your platform - Google is using themselves. http://home.ccil.org/~cowan/XML/tagsoup/ On 22 Feb, 06:54, Alisha alisha.a...@gmail.com wrote: Hi All, I have to parse a html file using java. I have gone through a

[android-developers] Re: how to deal complex sql in ContentProvider

2010-02-08 Thread Jens
Sure, but in almost all cases it is backed by SQLite - so intentionally gimping the API that's supposed to be used for exchanging data across applications is monumentally stupid - since JDBC is not an alternative on Android. Designing for the lowest common denominator != good. ContentProvider

[android-developers] Re: Forcibly using 3G or CDMA network even though wi-fi is available.

2010-02-06 Thread Jens
. And operator want us to make use operator's network, not wifi, even though wifi is available. It's very difficult to find solution. May I need to search alternative way. Anyway, thanks for your advice. Best regards, Dongjoon. On 1월15일, 오후7시17분, Jens dunkingbikk...@gmail.com wrote

[android-developers] Re: Adding contacts to a custom account

2010-01-22 Thread Jens
The problem lies within the broken parts of the Contacts app, so a proper implementation of custom contacts sync is effectively dead for all devices running 2.0.1 (and probably 2.1). On 21 Jan, 00:05, sazilla sazi...@gmail.com wrote: did anyone fix this problem? any suggestion? does it mean

[android-developers] Re: Forcibly using 3G or CDMA network even though wi-fi is available.

2010-01-15 Thread Jens
that allows the MMS application to work can be used by you? Br Jens On 14 Jan, 19:07, Dianne Hackborn hack...@android.com wrote: Sorry, I don't believe you can.  Why do you want to do this? On Thu, Jan 14, 2010 at 12:39 AM, Dongjoon Lee sky...@gmail.com wrote: Hello. My question is, as you can

[android-developers] Re: Contacts FAQ?

2010-01-12 Thread Jens
You could check the Email app - its the current location of the Exchange ActiveSync SyncAdapter implementation. http://android.git.kernel.org/?p=platform/packages/apps/Email.git;a=summary Note that this adapter isn't the complete story as any contacts you create with your custom accounts will be

[android-developers] Re: Contacts FAQ?

2010-01-12 Thread Jens
the com.google authenticator is already added. br Jens On 15 Dec 2009, 12:45, sazilla sazi...@gmail.com wrote: Hi everyone, I encountered an issue while configuring my own account for androidcontactssync. When the user choses to add a new contact to the custom account, only the name fields and the photo

[android-developers] Re: Extending contacts

2010-01-11 Thread Jens
This needs to be addressed... The whole ContactsContract API is starting to look like a perfect lesson in how not to publish an API. -- 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: Playing a audio stream not working using MediaPlayer

2009-11-30 Thread Jens-Christian Larsen
to look into making it a service too. best regards Jens-Christian On 30 Nov., 11:57, Nugman klaus.nuta...@googlemail.com wrote: First of all the MediaPlayer does not support all music streaming formats, as I understood. I also struggeling with it. For me it is working to play a mp3 file located

[android-developers] Playing a audio stream not working using MediaPlayer

2009-11-28 Thread Jens-Christian Larsen
I am trying to make a very simple radio player for Android and I cannot get the audio streaming to work. In my latest attempt it plays for about 1 second and stops for some streams and it doesnt work at all for some other streams. Logcat doesn't give much useful information to me. I am testing on

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-03 Thread Jens Finkhaeuser
Hey all! My submission is PackRat. It's a media collection manager... I collect a lot of books, CDs, you name it, and hardly remember what exactly I have and don't have. Writing that app scratched a fairly persistent itch for me. You can find out more about it on http://packrat.unwesen.de/ Jens

[android-developers] Re: Invoking Activity from PendingIntent in NotificationManager

2009-06-23 Thread jens hohl
Thanks, finally i got it working. The Log was empty but i forget to declare it in the Manifest.xml On 22 Jun., 19:42, Josh Guilfoyle jast...@gmail.com wrote: Check with adb logcat to see if there was a problem launching your activity.  My initial guess is that you forgot to declare this

[android-developers] Voice calls which uses its own audio instead of the build-in microphone

2009-04-22 Thread Jens K.
, Jens --~--~-~--~~~---~--~~ 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