[android-developers] Pendencies

2017-09-10 Thread Marcus Vinicius
após instalar o android studio, esta dando esses erros, alguem pode me 
ajudar?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/29c7192c-1823-4fa5-bea2-8d7dbd4e0e5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Android WebView not loading dynamic content?

2016-12-17 Thread Marcus Avrelius


When I open the site with a stock browser everything works great. But when I 
use WebView that uses same browser stuff that is dynamically generated doesn't 
work even thought I have Java enabled. Not sure what to do?

 Here is my code:

I have a chat button that when you click will popup an chat window that just 
keeps on loading seems like app is not allowing requests to be made from 
already loaded page!


package com.amigote.testing;

import android.app.Activity;
import android.app.ProgressDialog;
import android.graphics.Bitmap;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.Window;
import android.webkit.WebChromeClient;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.ProgressBar;


public class MainActivity extends Activity {
 WebView web;


 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);

 //Hide Title Bar - This Should be done before SetContentView



 setContentView(R.layout.activity_main);
 // Inflation

 web = (WebView) findViewById(R.id.webview);




 // enabling javaScript
 WebSettings webSettings = web.getSettings();
 webSettings.setJavaScriptEnabled(true);
 web.setWebChromeClient(new WebChromeClient());
 webSettings.setBuiltInZoomControls(true);
 web.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);



 web.loadUrl("http://www.amigote.com;);









 }

 @Override
 public void onBackPressed() {
 if (web.canGoBack()) {
 web.goBack();
 } else {
 super.onBackPressed();
 }
 }
}


-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/551b3e16-c00a-4f5b-828e-fd143f558a52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Manually downloading and installing SDK Components

2016-08-22 Thread Marcus B
Hi, I am looking into teaching a class of students using Android Studio, 
but, because of the network configuration, a proxy configuration will not 
work with Android Studio.

The computers are all running Mac OS X El Captain.

I have a room with 24 computers, and even if I were able to download all 
the tools through the automated downloader, that would be a significant 
time and download burden (as the school gets charged per GB).

So I am wanting to manually download and install:
* Studio (done)
* Platform tools
* SDK Tools (done)
* android-23 SDK
* System Image for android-23

And I think that is it, I also need to be able to replicate the 
installation across all computers. I have chosen API 23 as a few students 
still have phones running older Android releases, so I want to aim for the 
widest possible installations.

Is there a way I can do this? I only need a rough idea of what to do to get 
started. My own Android development at home has been on windows, and I, of 
course, don't have proxy issues.

Thanks, 
Marcus B.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/e59865b6-1ef5-41b5-bd28-08fa150bea29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] What happen to app's resources when we install the app?

2016-03-21 Thread Marcus Edward
I created some resources which only apply to API 21+. Will those resources 
be installed along the app or will it be deleted when I install the app on 
lower API level? I ask this because I want the app's size as minimal as 
possible

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/f31b999c-f0a1-4991-8d42-974984b40e52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Gradle sync and internal http does not work in a fresh install of Android Studio 1.5.1

2016-01-15 Thread Marcus Laranjeira


I'm trying to install and start learning Android Development. I have tried 
a lot of things to get Android Studio working, but I simply can't!

There are 2 errors:

Gradle 'MyFirstApp' project refresh failed - Error:Protocol family 
unavailable

and

Internal HTTP server disabled: Cannot start internal HTTP server. Git 
integration, JavaScript debugger and LiveEdit may operate with errors. 
Please check your firewall settings and restart Android Studio

Here what I already did:

For Gradle:

   - tried to uninstall deleting all folders and files regarding AS 1.5.1 
   and reinstall
   - checked for java environment variables
   - reinstall just gradle

For Internal HTTP:

   - disabled Kaspersky Internet Security (version 16.0.0.614(d))
   - checked if any other service or software could be using some known 
   ports, disabled as much as I could
   - uninstall and try a fresh install as I did for gradle

Nothing works!

I always install with Kaspersky temporally disabled and I run the 
installation package as administrator


Also, I have installed on another computer running Windows 10 (home) 64bit 
with Java JDK 1.8 U 66 just like the first attempt, i.e., with both 
firewall & anti-virus software disabled and everything running with 
administrator privileges.


The problem is exactly the same.

:(


Some data that might be useful:

   - SO: Windows 10 Pro (single language en-us)
   - Android Studio: 1.5.1 (android-studio-bundle-141.2456560-windows)

What else do you need?

Can anyone help me?

Thanks a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8b4ebce4-1967-47e9-8898-a968595ca756%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Load and external Url and Maintain the WebView hidden

2013-04-22 Thread Marcus Baffa
Hi,

I am trying to work with SignalR and the only way I could do that is by 
using a WebView. The Webview will only be used to maintain communication 
with my server so there is no visual use of this.

I am trying to use a WebView with visibility = gone so that it will be 
hidden all the time. The problem is that when I user the loadUrl method it 
opens a new window with the Browser device.

How can I avoid this. How can I use a WebView just to run some javascripts. 
Below is my layout and onCreate method:

?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent
android:background=#ffe3d0
TextView
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=Demo: WebView
android:layout_gravity=center style=@style/MainLabel android:autoText=
false android:id=@id/mainLabel
android:textColor=#3c3f41/
WebView
android:layout_width=fill_parent
android:layout_height=30dp
android:id=@id/webView android:visibility=gone/
TextView
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=@string/secondTextView
android:id=@+id/textView android:textColor=#1635ff 
android:layout_gravity=center/
/LinearLayout


@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

WebView webview = (WebView) findViewById(R.id.webView);

WebSettings webSettings = webview.getSettings();
webSettings.setJavaScriptEnabled(true);

webview.loadUrl(http://google.com/;); 
} 


Can you help me please.
Thanks in advance 

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Load and external Url and Maintain the WebView hidden

2013-04-22 Thread Marcus Baffa
How can I load an external html page in a WebView, originally with 
visiblitiy=gone, and maaintain it as it was.
 
The problem is that when I execute loadUrl the native browser opens with 
the URL.
 
Layout:
 

 ?xml version=1.0 encoding=utf-8?
 LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
   android:orientation=vertical
   android:layout_width=fill_parent
   android:layout_height=fill_parent
   android:background=#ffe3d0
 TextView
 android:layout_width=wrap_content
 android:layout_height=wrap_content
 android:text=Demo: WebView
 android:layout_gravity=center style=@style/MainLabel 
 android:autoText=false android:id=@id/mainLabel
 android:textColor=#3c3f41/
 WebView
 android:layout_width=fill_parent
 android:layout_height=30dp
 android:id=@id/webView android:visibility=gone/
 TextView
 android:layout_width=wrap_content
 android:layout_height=wrap_content
 android:text=@string/secondTextView
 android:id=@+id/textView android:textColor=#1635ff 
 android:layout_gravity=center/
 /LinearLayout

 On Create: 
 
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
WebView webview = (WebView) findViewById(R.id.webView);
WebSettings webSettings = webview.getSettings();
webSettings.setJavaScriptEnabled(true);
webview.loadUrl(http://google.com/;);
}
 
Thanks in advance
 

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Developer fee payment canceled after 2.5 years

2013-01-15 Thread Marcus
Same problem here... just wrote the ticket... now I'm waiting.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Forced Close for Googles Notepad Exercise 2

2012-04-29 Thread Marcus Maximus
Hey guys,

i am doing that 
http://developer.android.com/resources/tutorials/notepad/notepad-ex2.html.
But when I want to run it on Android 2.2 emulator I get an error:

Here is the log file:
04-29 19:58:24.561: I/Process(336): Sending signal. PID: 336 SIG: 9
04-29 19:58:28.651: W/KeyCharacterMap(344): No keyboard for id 0
04-29 19:58:28.651: W/KeyCharacterMap(344): Using default keymap: /
system/usr/keychars/qwerty.kcm.bin
04-29 19:58:29.791: D/AndroidRuntime(344): Shutting down VM
04-29 19:58:29.791: W/dalvikvm(344): threadid=1: thread exiting with
uncaught exception (group=0x4001d800)
04-29 19:58:29.821: E/AndroidRuntime(344): FATAL EXCEPTION: main
04-29 19:58:29.821: E/AndroidRuntime(344):
android.content.ActivityNotFoundException: Unable to find explicit
activity class {com.notepad2/com.notepad2.NoteEdit}; have you declared
this activity in your AndroidManifest.xml?
04-29 19:58:29.821: E/AndroidRuntime(344): at
android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:
1404)
04-29 19:58:29.821: E/AndroidRuntime(344): at
android.app.Instrumentation.execStartActivity(Instrumentation.java:
1378)
04-29 19:58:29.821: E/AndroidRuntime(344): at
android.app.Activity.startActivityForResult(Activity.java:2817)
04-29 19:58:29.821: E/AndroidRuntime(344): at
com.notepad2.Notepad2Activity.createNote(Notepad2Activity.java:111)
04-29 19:58:29.821: E/AndroidRuntime(344): at
com.notepad2.Notepad2Activity.onMenuItemSelected(Notepad2Activity.java:
83)
04-29 19:58:29.821: E/AndroidRuntime(344): at
com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:
730)
04-29 19:58:29.821: E/AndroidRuntime(344): at
com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:
143)
04-29 19:58:29.821: E/AndroidRuntime(344): at
com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:
855)
04-29 19:58:29.821: E/AndroidRuntime(344): at
com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:
532)
04-29 19:58:29.821: E/AndroidRuntime(344): at
com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java:
122)
04-29 19:58:29.821: E/AndroidRuntime(344): at android.view.View
$PerformClick.run(View.java:8816)
04-29 19:58:29.821: E/AndroidRuntime(344): at
android.os.Handler.handleCallback(Handler.java:587)
04-29 19:58:29.821: E/AndroidRuntime(344): at
android.os.Handler.dispatchMessage(Handler.java:92)
04-29 19:58:29.821: E/AndroidRuntime(344): at
android.os.Looper.loop(Looper.java:123)
04-29 19:58:29.821: E/AndroidRuntime(344): at
android.app.ActivityThread.main(ActivityThread.java:4627)
04-29 19:58:29.821: E/AndroidRuntime(344): at
java.lang.reflect.Method.invokeNative(Native Method)
04-29 19:58:29.821: E/AndroidRuntime(344): at
java.lang.reflect.Method.invoke(Method.java:521)
04-29 19:58:29.821: E/AndroidRuntime(344): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:868)
04-29 19:58:29.821: E/AndroidRuntime(344): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
04-29 19:58:29.821: E/AndroidRuntime(344): at
dalvik.system.NativeStart.main(Native Method)

What am I doing wrong ?

greetings and thx in advance

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Import Project form excisting source

2012-04-29 Thread Marcus Maximus
Hey guys,

I want to import the soultion Projects from that source:
developer.android.com/resources/tutorials/notepad/codelab/
NotepadCodeLab.zip

into my eclipse. So I am doing:

File- New- Android Project and then create project from existing
source and then I just pick the for example notepads2 BUT I do not get
the hole import!

For example the source is missing and the AndroidManifest file...

What am I doing wrong and how can I import an existing project in
eclipse that it works?

greetings and thx in advance

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Sending POST data in Android to a database?

2012-04-23 Thread Marcus Maximus
Hey guys,

I want to send android post data(with a servlet) to a database(in fact
google app engines db)

How can I submit data from the phone to the database(for example:
locationbased data...)?

greetings and thx in advance

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Project contains Errors - for new created file

2012-04-02 Thread Marcus Maximus
Hey guys,

I am trying to create my first android project and when I want to
compile the newly created file, eclipse gives me an error message.

here is a picture of that:

http://www.pic-upload.de/view-13539041/Unbenannt.jpg.html

why is that and how can I fix that?

greetings and thx in advance

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Triumph or Exhibit II for testing?

2012-02-15 Thread Marcus
Hi guys,

I'm totally new to Android and need a device for testing purposes
(mostly games). I think I have narrowed it down to Motorola TRIUMPH or
Samsung Exhibit II 4G, but can't decide between them. Motorola should
be faster, but doesn't come with 2.3 (not sure if that's important or
not).

Could someone please help me to choose between those two (or maybe
something else - should be prepaid and up to $250 as I'm not going to
use the device for anything else but testing)?

Thank you all.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: SDK Tools r12 causing aapt to fail

2011-08-25 Thread Marcus Wolschon
So...what is a good public replacement for
parent=android:WindowTitle ?
So everything except the few things you change are inherited from
whatever the current platform uses.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: newbie: onLocationChanged invoked even in sleep mode

2011-08-12 Thread Marcus
No, the code above is the whole thing. There is no other code than
that. But my cofusion is that I get updates even though phone is
appear to be sleeping.

On 11 Aug, 19:55, lbendlin l...@bendlin.us wrote:
 are you canceling your requests for location updates in the onPause()
 function?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: newbie: onLocationChanged invoked even in sleep mode

2011-08-12 Thread Marcus
According to the phone task manager there are no more processes
running. Only the system services are running.


On 11 Aug, 19:17, TreKing treking...@gmail.com wrote:
 On Wed, Aug 10, 2011 at 11:21 AM, Marcus marcussilf...@gmail.com wrote:
  What is going on here?

 Possibly: any of the many apps on your phone requested the device to wake,
 via an alarm for example.

 ---­--
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] newbie: onLocationChanged invoked even in sleep mode

2011-08-11 Thread Marcus
I thought the GPS and Activities were disabled when the phone go into
sleep mode. But when I walk around with my phone in sleep mode for a
couple of minutes and then turns it on again - I can see that
positions has been logged for the time the phone was asleep.

What is going on here?

Here is my code:

public class GetLocation1 extends Activity {
   TextView textView;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

textView = (TextView)findViewById(R.id.posText);
setupListener();
}

public void setupListener()
{
LocationManager locationManager = (LocationManager)
this.getSystemService(Context.LOCATION_SERVICE);
LocationListener locationListener = new LocationListener()
{
public void onLocationChanged(Location location) {
makeUseOfNewLocation(location);
}
public void onStatusChanged(String provider, int status,
Bundle extras) {}
public void onProviderEnabled(String provider) {}
public void onProviderDisabled(String provider) {}
};
 
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,
0, 0, locationListener);
}
public void makeUseOfNewLocation(Location location)
{
   Calendar cal = Calendar.getInstance();
   SimpleDateFormat sdf = new SimpleDateFormat(-MM-dd
HH:mm:ss);
   String timeStr = Time:  + new String
(sdf.format(cal.getTime()).toString());

   textView.append(timeStr + \r\n +
   Lo= +
Double.toString(location.getLongitude()) + \r\n +
   LA=  +
Double.toString(location.getLatitude()) + \r\n);
}
}

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Deleting Text Messages When Receiving

2011-06-15 Thread Marcus Vinícius de Lima
Hi all,

I'd like to know if its possible to delete a text message when its
received based on the senders number.

Thanks,
Marcus Lima

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: NFC Secure Element

2011-06-14 Thread Marcus
Ok thanks for advices Michael,

I will try to modify the mifare area of the Nexus in order to
reproduce my badge.

Best regards

Marcus



On Jun 11, 11:33 am, Michael Roland mi.rol...@gmail.com wrote:
 Hallo Marcus,

  At time, I'm able to put my devices into emulation mode.
  I'm getting ATR and UID throuth my OMNIKEY CardMan 5321 :
     - ATR: 3B 8A 80 01 00 31 C1 73 C8 40 00 00 90 00 90

 Correct, this is the ATR generated for the SmartMX.

     - The ID of the emulated card is constant even if i start a new
  power cycle .

 Correct, the UID of the SmartMX is static (by default).

  My question is how can I found my UID on the NXP chip ?

 What do you mean by find?

  - Do you want to read the UID value from Android?

 This can be done through some hidden/internalNFCAPIs.

  Can you give me more information about the 0x key? I don't
  understant how to use it ...

 This is the authentication key to the MIFARE Classic area of the
 SmartMX. You can use this key to read  write data to the 4K MIFARE area
 on the SmartMX. You would use this key with your reader's MIFARE access
 methods (either reader specific or compliant to the PC/SC standard for
 access to contactless memory cards).

 With your Omnikey reader it will be quite difficult to use the MIFARE
 area as it automatically activates the SmartMX up to its highest
 protocol level (APDU-based access to the JavaCard). So the MIFARE
 protocol will not work on this activation level. (As far as I remember
 you might be able to disable the automatic protocol activation with some
 registry tweaks.)

 br,
 Michael

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: NFC Secure Element

2011-06-10 Thread Marcus
Hello,

I'm in university and i'm working on NFC in Nexus S for three weeks.

At time, I'm able to put my devices into emulation mode.
I'm getting ATR and UID throuth my OMNIKEY CardMan 5321 :
   - ATR: 3B 8A 80 01 00 31 C1 73 C8 40 00 00 90 00 90
   - The ID of the emulated card is constant even if i start a new
power cycle .

My question is how can I found my UID on the NXP chip ?
Can you give me more information about the 0x key? I don't
understant how to use it ...

Thanks for your help,

Regards,

Marcus

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: In App Billing enhancement request

2011-04-06 Thread Marcus Watkins
Thanks, didn't realize they had a public bug tracker. Posted here:

http://code.google.com/p/android/issues/detail?id=15976

-Marcus

On Mar 29, 3:19 am, Marcin Orlowski webnet.andr...@gmail.com wrote:
 On 25 March 2011 02:41, Marcus Watkins mar...@versatilemonkey.com wrote:

  Would it be possible to allow the in-app billing to check the purchase
  status of an app? I want to switch a paid app to a freemium model, but
  it's not possible to switch and allow existing paid users to keep
  access to the app.

 My thought as well. Maybe you shall fill a bug/feature request?

 Regards,
 Marcin Orlowski

 *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
 WebnetMobile on *Facebook http://webnetmobile.com/fb/* and
 *Twitterhttp://webnetmobile.com/twitter/
 *

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] In App Billing enhancement request

2011-03-28 Thread Marcus Watkins
Would it be possible to allow the in-app billing to check the purchase
status of an app? I want to switch a paid app to a freemium model, but
it's not possible to switch and allow existing paid users to keep
access to the app.

This could easily be remedied with a new reserved product id,
something like 'android.app_purchase' that could be retrieved by the
billing API. It would be present for any users that have purchased the
app. It would, of course, need to be present even if the app is
switched to a free app for those users that previously purchased when
it was paid.

If someone has an alternate mechanism to switch a paid app to freemium
and keep access for existing users, please let me know!

Thanks

-Marcus Watkins
Versatile Monkey

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Conversion to Dalvik format failed with error 1 when using jmDNS.jar

2011-02-21 Thread Marcus Wolschon

Doesn't that mean that the code is compiled but the jar not included
in the apk
= class not found error at runtime unless jmDNS is a part of Android.

On 17 Feb., 01:40, scott_ggle sch...@comcast.net wrote:
 I had resolved this compile error by adding JmDNS as user library. See
 tip posted by CuteAndroid

 athttp://www.cuteandroid.com/tips-for-android-developer-conversion-to-d

 I guess I could extract the source file and add them in my project.
 But that make the project hard to maintain with JmDNS updates.

 Thanks for helping

 -Scott

 On Jan 14, 5:15 am, Kumar Bibek coomar@gmail.com wrote:

  I guess, JMDNS uses a lot of classes in the javax package, that you would
  not be able to compile with Android.

  If you want to use only the JMDNS specific stuff, you can extract those
  classes and add it to your project. That worked for me.

  Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com

  On Fri, Jan 7, 2011 at 12:31 AM, scott_ggle sch...@comcast.net wrote:
   Hi,

   I hope someone can kindly provide me hint on eclipse error “Conversion
   to Dalvik format failed with error 1″. I am building Android
   application with an external jar -”jmDNS.jar”.
   I have tried reboot and clean build with no help. I tried using
   Android 2.3 and 2.2 SDK with latest jmDNS.jar 3.2.2. The later was add
   in project as Referenced Libraries.

   Thanks in advance.

   Scott

   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs
cr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Any plans to make a DownloadManager library/jar available for pre-Gingerbread support?

2011-02-21 Thread Marcus Wolschon


On 18 Feb., 18:48, Dianne Hackborn hack...@android.com wrote:
  I am just
 thinking to only use the networking pieces from it, and write your own
 front-end (posting notifications if that is what you want, or doing whatever
 UI you want).

Then what would be the benefit left?
Before the download manager you wrote your own UI and did the http-get/
post/whatever-request
+error-handling already.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] DNS-lookup

2011-02-17 Thread Marcus Wolschon

Is there any way to do DNS-lookups of other records then just A and
?
I need to look up MX-records and parse the results.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Controlling LEDs on Notification

2011-02-17 Thread Marcus Wolschon

RTFM

http://developer.android.com/guide/topics/ui/notifiers/notifications.html#Lights



On 17 Feb., 14:44, Jake Colman col...@ppllc.com wrote:
 On my HTC EVO I see that my running apps have two forms of typical
 notification:

 1) Tweets, for example, vibrate and make a sound once upon arrival only.
 2) SMS, for example, vibrate and make a sound once upon arrival, but
    flash the LED until the SMS is acknowledged.

 In my app I create a new Notification and set the flags as follows:

 theNotification.defaults |= Notification.DEFAULT_ALL;
 theNotification.flags |= Notification.FLAG_AUTO_CANCEL;

 This performs notification as per example #1.  How do I change this so
 that I get notification as per example #2?  Ideally, I'd also like to
 control whether the LED flashes red or green.

 Thanks.

 ...Jake

 --
 Jake Colman -- Android Tinkerer

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] No update notification when app-title changed

2011-01-14 Thread Marcus
Hello,

I have an android app on the market for some time (7 month) that was
labeled as Beta in the title. Yesterday I published a new version
and thought it's time to leave the beta state. Therefore I switched
the app-title in the market backend and removed the beta tag.

The problem is: now, the users don't receive any update notification!
If you search for the app in the market, the red update label is shown
correctly. But in the my apps section, the update label and the
notification is never shown. The user doesn't see that there's an
update.

It didn't work on my two phones (both 2.2, I cleared the market cache)
and it seems like, nearly all users continue to use the old version.

So, is this a known problem? Or was it just a temporary problem on my
phone? Can anybody confirm this behaviour?

And, what can I do now? Switching the title back doesn't seem to help.

Thanks a lot

Marcus

(This question was also posted on StackOverflow
http://stackoverflow.com/questions/4686909/no-update-notification-when-app-title-changed)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Problems with rotated screens compared to accelerometer on Dell Streak

2010-09-16 Thread Marcus
Hello,

I have update our game to be able to handle devices with rotated
screens (http://android-developers.blogspot.com/2010/09/one-screen-
turn-deserves-another.html#links). I used a Motorola Flipout as a
reference device and that one works great. The problem is that when
the update with that fix came out I started to get reports that our
game had stopped working for Dell Streak.

Do anyone know if there are special problems with  screen rotation
related to accelerometer output on Dell Streak?

And do anyone know what Dell Streak returns on the
android.view.Display.getRotation() function call?

Would appreciate if someone would help me with this. I don't have the
possibility to get hold of a Dell Streak.

/Marcus

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: List of Android Devices with specifications to use in Emulator

2010-09-07 Thread Marcus Wolschon

Thanks.
That should be quite useful.


On 7 Sep., 21:50, Andrew Brampton bramp...@gmail.com wrote:
 Hi,
 I'm going to try something here, and hopefully it'll work.

 I've written a few apps and occasionally I'll have someone email me
 saying it doesn't work correctly on their phone. As I don't have
 access to their phone I try and recreate their device in the emulator
 by using the same Android version, screen size, and whatever else I
 think is important.

 Until now I've been keeping a list of all the different specifications
 of the devices, as I couldn't find a good list online. So I figure
 today I'd put what little research I've done into a spreadsheet and
 share it with the Android community. What I also hope is that people
 will start to add devices that I'm missing.

 So please take a look at this spreadsheet and fill free to edit it (in
 a sensible way). If there is another column of data you would like to
 add then feel free and hopefully any blanks will be filled in.

 https://spreadsheets.google.com/ccc?key=0AlXAdnQtmZFZdHBBcnBmNlkwU0Jx...

 Thanks
 Andrew

 P.S Of course in a perfect world we shouldn't need such as list as our
 apps should just work on any Android device, but I've noticed a few
 minor quirks which have annoyed me in the past.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Intent filter for email forward

2010-08-21 Thread Marcus
Hi to all,

I'm trying to develop a simple application to handle mail forwards
(basically a proof of concept on intent filters). My starting poing
was: 
http://www.rainbowbreeze.it/android-e-intent-filters-per-registrare-unapplicazione-tra-quelle-per-mandare-sms/

For non-italian readers, this blog sample declares intent filters to
handle sms composition with a custom activity. This works perfectly,
here my manifest, copied (and refactored) from the link above:

?xml version=1.0 encoding=utf-8?
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=com.ms.test android:versionCode=1
android:versionName=1.0
application android:icon=@drawable/icon android:label=@string/
app_name
activity android:name=.Main android:label=@string/app_name
intent-filter
action 
android:name=android.intent.action.MAIN /
category 
android:name=android.intent.category.LAUNCHER /
/intent-filter
!-- Sends sms for someone --
intent-filter
action 
android:name=android.intent.action.VIEW /
action 
android:name=android.intent.action.SENDTO /
category 
android:name=android.intent.category.DEFAULT /
category 
android:name=android.intent.category.BROWSABLE /
data android:scheme=sms /
data android:scheme=smsto /
/intent-filter
!-- Sends text to someone --
intent-filter
action 
android:name=android.intent.action.SEND /
category 
android:name=android.intent.category.DEFAULT /
data android:mimeType=text/plain /
/intent-filter
/activity
/application
/manifest

When you go to Contact - (context menu on contact) Send SMS, the
Complete action with dialog appears, letting users choose
application to use (my Sample app or default messaging application).

I want to realize something similar on email context menu, for the
Forward option, implementing an Activity that reads forwarded email
text/attachments. I've tried a number of change in manifest, with
different action, category and data (scheme/mime) but with no luck
(Complete action with dialog never appears on Forward menu
selection).

Someone can point me in the right direction?

Thanks a lot.

Bye, M

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] SyncAdapter and android:contentAuthority

2010-08-12 Thread Marcus Wolschon
For a SyncAdapter I need to provide a syncadapter.xml like
http://developer.android.com/resources/samples/SampleSyncAdapter/res/xml/syncadapter.html

in a Manifest like
http://developer.android.com/resources/samples/SampleSyncAdapter/AndroidManifest.html

1)
What should I enter as android:contentAuthority if I am not syncing
the anything that is provided by a content-provider? (In this case I
am syncing files using the account to access a remote system.)

2)
What is the general meaning of android:supportsUploading? I cannot
find it documented anywhere.


Marcus

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Authenticator-Accounts gone after reboot!!! due to Removing non-system package

2010-08-12 Thread Marcus Wolschon
I am using a custom Authenticator (app1 named
biz.wolschon.android.dropbox.authenticator)
and a custom SyncAdapter (separate app2)
and a client-application (named biz.wolschon.android.dropbox.sendto)
very similar to the example at
http://developer.android.com/resources/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/AuthenticatorActivity.html

Everything works fine until you shutdown and reboot your phone.
The Google-Accounts are still there but the custom accounts
are gone!!!

I am using Android 2.2 on a Nexus One.
What could possible be the reason for such a thing to happen?


During device-shutdown the log shows: (I greped for biz)

D/VoldCmdListener(   54): asec path
biz.wolschon.android.dropbox.authenticator-1
D/VoldCmdListener(   54): asec path
biz.wolschon.android.dropbox.sendto-2
I/PackageManager(   93): Removing non-system
package:biz.wolschon.android.dropbox.sendto
I/ActivityManager(   93): Force stopping package
biz.wolschon.android.dropbox.sendto uid=10070
I/PackageManager(   93): Removing non-system
package:biz.wolschon.android.dropbox.authenticator
I/ActivityManager(   93): Force stopping package
biz.wolschon.android.dropbox.authenticator uid=10102
I/ActivityManager(   93): Force stopping package
biz.wolschon.android.dropbox.sendto uid=10070
I/ActivityManager(   93): Force stopping package
biz.wolschon.android.dropbox.authenticator uid=10102
D/AccountManagerService(   93): deleting account mar...@wolschon.biz
because type dropbox no longer has a registered authenticator
D/ContactsProvider(  215): removing data for removed account Account
{name=mar...@wolschon.biz, type=dropbox}
D/VoldCmdListener(   54): asec unmount
biz.wolschon.android.dropbox.sendto-2 force
D/vending (  533): [27] LocalAssetCache.updateOnePackage(): No local
info for biz.wolschon.android.dropbox.authenticator
D/vending (  533): [25] LocalAssetCache.updateOnePackage(): No local
info for biz.wolschon.android.dropbox.sendto
D/VoldCmdListener(   54): asec unmount
biz.wolschon.android.dropbox.authenticator-1 force



I can not find any known bugs using
http://code.google.com/p/android/issues/list?can=1q=Removing+non-system+packagecolspec=ID+Type+Status+Owner+Summary+Starscells=tiles
or
http://code.google.com/p/android/issues/list?can=1q=Authenticatorcolspec=ID+Type+Status+Owner+Summary+Starscells=tiles

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Share AccountAuthenticator between multiple applications

2010-08-11 Thread Marcus Wolschon

I have 2 applications that both require the same account-type from the
same, custom AccountAuthenticator .

1)
How do I deploy the custom AccountAuthenticator?
Separately or with both applications?
Will it be shown once or twice in the account-manager if supplied by 2
apps?
If supplied separately, how do I reference it as a requirement for the
market?
(App cannot be used without this AccountAuthenticator.)

2)
If I make the AccountAuthenticator-project a library-project, Eclipse
complains
that the service+activity-classes of the entries for the
AccountAuthenticator
are not found on the classpath of the app-project.
It also complains that the xml/auth.xml  -resource supplied by the
library-project is not found
in the Manifest of the app-project.
* I have to add all service and activity-entries of the library to
the app-project
* The app-project does have the auth-library-project listed as a used
library in eclipse.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] deploying AccountAuthenticator for multiple apps

2010-08-09 Thread Marcus Wolschon

How should I go about deploying the same AccountAuthenticator
for multiple projects that use the same kind of account?
Should each project include the AccountAuthenticator as a library-jar
or should it be it's own apk?
What happens if the same AccountAuthenticator is exported
from multiple apks in the system? Are they listed once or
multiple times (thus confusing the user)?


Marcus

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Website for your app, how important do you feel it is?

2010-08-08 Thread Marcus Wolschon


On 8 Aug., 04:33, Brad bradfull...@gmail.com wrote:
 So I'm scaling back my
 website and focusing more on Facebook for now - we'll see how it goes.

So what about all the people NOT on facebook?
No matter how that thing is growing, the complementary
group is still the majority.

 Oh and why oh why oh why can't someone at Google bump up the 325 char
 limit?

1)
Often there is no way to list the changes when people
get an update-notification and ask themself what the benefit of
upating would be. (So it's often not done.)
2)
It's definately too little to explain why your app needs each listed
access-permission. (So not a single app I've seen does that.)
3)
There is no way to answer to comments. People often enter bugs or
wishes there but never update their comment even month later when
a new version already adressed that issue.

Marcus

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Request different IME for TextEditField

2010-08-08 Thread Marcus Wolschon

Hello,

Background:
In Vespucci (editor for OpenStreetMap) I have input-fields
for key+value. Many people use Swype but that one is broken
with AutoCompleteTextFields as it only transmits finished words
to the TextField and not the individual characters. Thus the list
of autocompletion-results is never updated during typing and
the dictionary learns lots of incomplete words as users press
enter before they are actually finished typing.

Question:
Since I cannot fix Swype and my bug-report will not be adressed
any time soon.  Is it possible to force the usage of another keyboard
(e.g. one the user selected in m app's preferences) for the
text-fields in my app to restore user-experience?


Marcus

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to implement your own LocationProvider

2010-08-03 Thread Marcus Wolschon

Hello,

I would like to implement a new LocationProvider.
In this case, one that uses OpenCellID.org.
I figured the pattern wou be quite similar to providing an
AccountAuthenticator
but was stunned that I could not find any documentation on this.

Looking at the source
http://www.netmite.com/android/mydroid/frameworks/base/location/java/android/location/
all the relevant code seems to be in a service providing the
ILocationManager.aidl -interface
that I cannot navigate to or find using Goole Code Search.

Is it supported to provide your own LocationProvider at all?
If so, what do I have to do to acomplish this?

Regards,
Marcus Wolschon

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to position an overlaying activity at the bottom?

2010-04-08 Thread Marcus
I have an activity that comes up over another activity. I'd like to
position the overlying activity at the bottom of the screen without
using an absolute layout, just like the soft keyboard.

I can't figure out if this can be done in an XML layout, and if so,
where does it go?

I have a theme created, and the manifest is set to use it (this
works). But overlaying activity is always positioned in the center of
the screen. This is what I have:

In themes.xml:
style name=Theme.MyTheme
item name=android:windowNoTitletrue/item
item name=android:windowIsFloatingtrue/item
item name=android:backgroundDimAmount0/item
/style

And in my layout:
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_alignParentBottom=true
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=wrap_content
android:gravity=bottom

   []

How do I get the layout to show up aligned to the bottom for the
overlaying window?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to position an overlaying activity at the bottom?

2010-04-08 Thread Marcus
As usual, as soon as I finally resort to asking, I find the answer
myself.

RelativeLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=fill_parent
android:layout_height=fill_parent

LinearLayout
android:layout_alignParentBottom=true
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=wrap_content
android:gravity=bottom


Seems to do the trick.

On Apr 8, 2:30 pm, Marcus vorwal...@gmail.com wrote:
 I have an activity that comes up over another activity. I'd like to
 position the overlying activity at the bottom of the screen without
 using an absolute layout, just like the soft keyboard.

 I can't figure out if this can be done in an XML layout, and if so,
 where does it go?

 I have a theme created, and the manifest is set to use it (this
 works). But overlaying activity is always positioned in the center of
 the screen. This is what I have:

 In themes.xml:
     style name=Theme.MyTheme
         item name=android:windowNoTitletrue/item
         item name=android:windowIsFloatingtrue/item
         item name=android:backgroundDimAmount0/item
     /style

 And in my layout:
 ?xml version=1.0 encoding=utf-8?
 LinearLayout xmlns:android=http://schemas.android.com/apk/res/
 android
         android:layout_alignParentBottom=true
         android:orientation=vertical
         android:layout_width=fill_parent
         android:layout_height=wrap_content
         android:gravity=bottom
         
    []

 How do I get the layout to show up aligned to the bottom for the
 overlaying window?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Building and compiling CTS

2010-04-02 Thread marcus
I have the same problem, can any body provide some suggestions?

On 3月2日, 下午4時39分, navin celebna...@gmail.com wrote:
 Hi,

 I am working on the CTS and i am trying to figure out how to write new
 test cases and then include in the CTS package. I am specifically
 targetting test cases for Bluetooth. So far I could not find any
 success in building and compiling the source code of CTS. I found the
 buildcts.py file inside /src/cts/tools/utils/ but i am not able to
 build the CTS. Is there something i am overlooking ?? what has to be
 done for DescriptorGenerator.java. Inside that file it's written that
 the file cannot be compiled as it has some dependecies.

 Is there any documentation availiable for the same i.e writing new
 test cases and including them in the CTS . Your help in this regard
 will be highly appreciated.

 Thanks and Regards.

 Navin Kumar

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to correctly use / fill an ImageView?

2010-02-23 Thread Marcus
Hi,

I want to show an image file in an ImageView widget.

Since
iv.setImageURI(Uri.fromFile(new File(filepath...)));

does not work (getting INFO/System.out(1624): resolveUri failed on bad
bitmap uri: file:///sdcard/test/photos/photo13.jpg) I tried the
following:

BitmapFactory.Options opts = new BitmapFactory.Options();
opts.inSampleSize = 4;
if(mBitmap != null) {
  imgPhoto.setImageBitmap(mBitmap);
}

But the samplesize is static. So small pictures (like icons and so on)
are blurry. If I don't set a samplesize, the picture might get too big
(for example photos).

So how to do that?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Wrapping horizontal list view?

2010-01-07 Thread Marcus
I'm attempting to create a list view that shows clickable items that
wrap horizontally much like the To/From/CC/BCC fields in OS X and the
iPhone's Mail programs or like the TO field in Facebook's messages
(really like most mail programs). My questions are:

1. Is there a way to do this with a ListView? Everything I've seen and
experimented with is either horizontal scrolling or vertically
stacking, but not horizontal wrapping. If there's a way, would you
point me in the right direction as far as first steps to take to
implement it?

2. Is anyone aware of an existing app with available source that has a
view like this that I could look at as an example? The Google Mail/SMS
apps just have single strings that are not clickable for those fields.
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: AutoCompleteTextView doesn't work with android:style/Theme.Light

2009-12-18 Thread Marcus
The same on my Motorola Milestone (german Droid) with still 2.0

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to test if app is shown on Market for all screensizes

2009-11-27 Thread Marcus
Same with me.

App uses Camera, but is not copy protected.

supports-screens entries in manifest are there and true.

minSDK=3
targetSDK=4

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android GPS implement

2009-10-19 Thread marcus

Hi RichardC~~

Thanks for your reply.

I am implement GPS hardware on my own platform and I have been create
two files named Android.mk and gps_gn7560.c to implement gps interface
defined in 
http://www.netmite.com/android/mydroid/cupcake/development/pdk/docs/gps.html.
The libgps.so have created successfully but still have many questions.

1.I create gps_gn7560.c that refer  to gps_qemu.c and gps.h(mentioned
in http://www.netmite.com/android/mydroid/cupcake/development/pdk/docs/gps.html)
but it seems that my function in gps_gn7560.c not called.
ex:
there is a function in gps_gn7560.c named gps_get_interface( void )

==
const GpsInterface* gps_get_interface( void )
==

and there is a function call in
android_location_GpsLocationProvider.cpp

==
static jboolean android_location_GpsLocationProvider_is_supported
(JNIEnv* env, jclass clazz) {
if (!sGpsInterface)
sGpsInterface = gps_get_interface();
return (sGpsInterface != NULL);
}
==

I found that it does not call gps_get_interface() in my gps_gn7560.c
instead of calling another gps_get_interface() defined in gps.cpp
which provided by Android.

How can I change it to call my gps_get_interface()

2.How to test GPS if gps is implemented successfully. I know there is
a gpstest tool in Android but I don't know how to use it. Can someone
tell me the detail about gpstest tool provided by Android.

Anyway, I appreciate your reply and suggestion and I will do what you
suggest.

Marcus

On 10月18日, 下午3時37分, RichardC richard.crit...@googlemail.com wrote:
 If you are writing a GPS application then I am sorry but I am not
 understanding your questions.

 However if you are implementing GPS hardware on your own platform then
 you will probably get more response in the Android Platform 
 forumhttp://groups.google.com/group/android-platform/topics

 --
 RichardC

 On Oct 18, 6:57 am, marcus lvseis...@gmail.com wrote:

  Can anybody give me some advices...thank you!!

  On 10月16日, 下午6時48分, marcus lvseis...@gmail.com wrote:

   Hi All~~

   I am porting GPS to Android now. I have been look for many web site
   relate to Android GPS porting include this group. However, I also feel
   confused about that.

   I have some questions. Can anyone give me some suggestions and I will
   appreciate about that.

   1.There are 3 files : Android.mk, gps.cpp and gps_qemu.c in hardware/
   libhardware_legacy/gps. What is the functionality about the 3 files in
   directory gps. Should I modify the 3 files to implement GPS.

   2.In this web 
   sitehttp://www.netmite.com/android/mydroid/cupcake/development/pdk/docs/g...,
   it shows that anyone that want to integate GPS with Android should
   create a shared library named libgps.so refer to gps.h. My question is
   how to create a shared library libgps.so.If the libgps.so is created,
   where can I find it. What is the relation between libgps.so and
   libhardware_legacy.so.

   3.How to test GPS if gps is implemented successfully. I know there is
   a gpstest tool in Android but I don't know how to use it. Can someone
   tell me the detail about gpstest tool provided by Android.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android GPS implement

2009-10-17 Thread marcus

Can anybody give me some advices...thank you!!

On 10月16日, 下午6時48分, marcus lvseis...@gmail.com wrote:
 Hi All~~

 I am porting GPS to Android now. I have been look for many web site
 relate to Android GPS porting include this group. However, I also feel
 confused about that.

 I have some questions. Can anyone give me some suggestions and I will
 appreciate about that.

 1.There are 3 files : Android.mk, gps.cpp and gps_qemu.c in hardware/
 libhardware_legacy/gps. What is the functionality about the 3 files in
 directory gps. Should I modify the 3 files to implement GPS.

 2.In this web 
 sitehttp://www.netmite.com/android/mydroid/cupcake/development/pdk/docs/g...,
 it shows that anyone that want to integate GPS with Android should
 create a shared library named libgps.so refer to gps.h. My question is
 how to create a shared library libgps.so.If the libgps.so is created,
 where can I find it. What is the relation between libgps.so and
 libhardware_legacy.so.

 3.How to test GPS if gps is implemented successfully. I know there is
 a gpstest tool in Android but I don't know how to use it. Can someone
 tell me the detail about gpstest tool provided by Android.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Android GPS implement

2009-10-16 Thread marcus

Hi All~~

I am porting GPS to Android now. I have been look for many web site
relate to Android GPS porting include this group. However, I also feel
confused about that.

I have some questions. Can anyone give me some suggestions and I will
appreciate about that.

1.There are 3 files : Android.mk, gps.cpp and gps_qemu.c in hardware/
libhardware_legacy/gps. What is the functionality about the 3 files in
directory gps. Should I modify the 3 files to implement GPS.

2.In this web site 
http://www.netmite.com/android/mydroid/cupcake/development/pdk/docs/gps.html,
it shows that anyone that want to integate GPS with Android should
create a shared library named libgps.so refer to gps.h. My question is
how to create a shared library libgps.so.If the libgps.so is created,
where can I find it. What is the relation between libgps.so and
libhardware_legacy.so.

3.How to test GPS if gps is implemented successfully. I know there is
a gpstest tool in Android but I don't know how to use it. Can someone
tell me the detail about gpstest tool provided by Android.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How could I run a Uri based Intent in a Tab Page?

2009-07-06 Thread Marcus Gustafsson

Will this be supported soon? Is there a another way to achieve the
same result?

On Jul 1, 7:14 am, Dianne Hackborn hack...@android.com wrote:
 Sorry, currently a TabHost can only run activities that are part of your own
 .apk (actually only those with the same uid, but in most cases that is the
 same thing).



 On Tue, Jun 30, 2009 at 8:42 PM, Wang He iptvph...@gmail.com wrote:

  Dear all

  I added following code inside ApiDemos' Tabs3.java

  --
  Intent i=new Intent(Intent.ACTION_PICK,
         Uri.parse(content://contacts/people));

  tabHost.addTab(tabHost.newTabSpec(tab4)
         .setIndicator(contact list)
         .setContent(i));

  --
  Could I do this? (No documents describe any restrictions)
  OR, the

  .setContent(new Intent(this, some_activity_inside_this_package.CLASS))

  is the only intent type that TabHost supports?

  BTW, the error msg I got is:
  1. java.lang.SecurityException: Requesting code from
  com.android.contacts (with uid 10006) to be run in process
  com.example.android.apis (with uid 10052)

  2. The exception path inside Android framework code:
  TabHost.setCurrentTab() : 397
  TabHost$IntentContentStrategy.getCotentView() : 730
  LocalActivityManager.startActivity() : 335
  LocalActivityManager.moveToState() : 122
  ActivityThread.startActivityNow() : 1988
  ActivityThread.performLaunchActivity() : 2041
  ActivityThread.getPackageInfo() :1807

  Could I understand as:
  We cannot leverage ContentResolver's running object into our Tab page?

  Thanks!
  He

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] IllegalStateException: get field slot from row 0 col 9 failed

2009-06-04 Thread Marcus

Hi,

my app has some strange errors on some devices. The problem is that I
cannot reproduce it on my device (ADP1 with JF1.5) and also not in the
emulator (1.1 and 1.5). But some users encounter this error and here
is the log output from him.

onResume only calls to super and to refresh().

And refresh() does eventually (if query changed) query a new
managedQuery cursor and assign it via changeCursor to a derived
ResourceCursorAdapter.

I really don't unterstand what the problem is... can someone help me?

E/AndroidRuntime( 1296): java.lang.RuntimeException: Unable to resume
activity {de.softxperience.android.noteeverything/
de.softxperience.android.noteeverything.NotesList}:
java.lang.IllegalStateException: get field slot from row 0 col 9
failed
E/AndroidRuntime( 1296): at
android.app.ActivityThread.performResumeActivity(ActivityThread.java:
2632)
E/AndroidRuntime( 1296): at
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:
2647)
E/AndroidRuntime( 1296): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2287)
E/AndroidRuntime( 1296): at android.app.ActivityThread.access$1800
(ActivityThread.java:112)
E/AndroidRuntime( 1296): at android.app.ActivityThread$H.handleMessage
(ActivityThread.java:1692)
E/AndroidRuntime( 1296): at android.os.Handler.dispatchMessage
(Handler.java:99)
E/AndroidRuntime( 1296): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1296): at android.app.ActivityThread.main
(ActivityThread.java:3948)
E/AndroidRuntime( 1296): at java.lang.reflect.Method.invokeNative
(Native Method)
E/AndroidRuntime( 1296): at java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime( 1296): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 1296): at com.android.internal.os.ZygoteInit.main
(ZygoteInit.java:540)
E/AndroidRuntime( 1296): at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime( 1296): Caused by: java.lang.IllegalStateException:
get field slot from row 0 col 9 failed
E/AndroidRuntime( 1296): at
android.database.CursorWindow.getLong_native(Native Method)
E/AndroidRuntime( 1296): at android.database.CursorWindow.getLong
(CursorWindow.java:329)
E/AndroidRuntime( 1296): at
android.database.AbstractWindowedCursor.getLong
(AbstractWindowedCursor.java:108)
E/AndroidRuntime( 1296): at
android.database.AbstractCursor.moveToPosition(AbstractCursor.java:
194)
E/AndroidRuntime( 1296): at
android.database.CursorWrapper.moveToPosition(CursorWrapper.java:187)
E/AndroidRuntime( 1296): at android.widget.CursorAdapter.getItemId
(CursorAdapter.java:155)
E/AndroidRuntime( 1296): at
android.widget.AdapterView.getItemIdAtPosition(AdapterView.java:742)
E/AndroidRuntime( 1296): at
android.widget.AdapterView.setSelectedPositionInt(AdapterView.java:
1044)
E/AndroidRuntime( 1296): at android.widget.ListView.setAdapter
(ListView.java:435)
E/AndroidRuntime( 1296): at android.app.ListActivity.setListAdapter
(ListActivity.java:258)
E/AndroidRuntime( 1296): at
de.softxperience.android.noteeverything.NotesList.refresh
(NotesList.java:750)
E/AndroidRuntime( 1296): at
de.softxperience.android.noteeverything.NotesList.onResume
(NotesList.java:153)
E/AndroidRuntime( 1296): at
android.app.Instrumentation.callActivityOnResume(Instrumentation.java:
1225)
E/AndroidRuntime( 1296): at android.app.Activity.performResume
(Activity.java:3530)
E/AndroidRuntime( 1296): at
android.app.ActivityThread.performResumeActivity(ActivityThread.java:
2619)
E/AndroidRuntime( 1296): ... 12 more

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Bug with EditText and Linkifycation?

2009-05-20 Thread Marcus

Hi,

I have an EditText with linkifycation on.

But if the content contains a link and I tap on it or move the cursor
in it, I get an IndexOutOfBoundsException.

Stacktrace below.

I think the problem is the getCapsMode method of TextUtils. They don't
check if the offset is below 0. So it crashes if there is no
selection.


E/AndroidRuntime( 2853): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime( 2853): java.lang.IndexOutOfBoundsException: charAt:
-2  0
E/AndroidRuntime( 2853):at
android.text.SpannableStringBuilder.charAt(SpannableStringBuilder.java:
110)
E/AndroidRuntime( 2853):at android.text.TextUtils.getCapsMode
(TextUtils.java:1562)
E/AndroidRuntime( 2853):at
android.view.inputmethod.BaseInputConnection.getCursorCapsMode
(BaseInputConnection.java:273)
E/AndroidRuntime( 2853):at
android.widget.TextView.onCreateInputConnection(TextView.java:4346)
E/AndroidRuntime( 2853):at
android.view.inputmethod.InputMethodManager.startInputInner
(InputMethodManager.java:933)
E/AndroidRuntime( 2853):at
android.view.inputmethod.InputMethodManager.checkFocus
(InputMethodManager.java:1105)
E/AndroidRuntime( 2853):at
android.view.inputmethod.InputMethodManager.isActive
(InputMethodManager.java:530)
E/AndroidRuntime( 2853):at android.widget.TextView.onDraw
(TextView.java:3880)
E/AndroidRuntime( 2853):at android.view.View.draw(View.java:
5838)
E/AndroidRuntime( 2853):at android.view.ViewGroup.drawChild
(ViewGroup.java:1486)
E/AndroidRuntime( 2853):at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
E/AndroidRuntime( 2853):at android.view.ViewGroup.drawChild
(ViewGroup.java:1484)
E/AndroidRuntime( 2853):at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
E/AndroidRuntime( 2853):at android.view.View.draw(View.java:
5841)
E/AndroidRuntime( 2853):at android.widget.FrameLayout.draw
(FrameLayout.java:352)
E/AndroidRuntime( 2853):at android.view.ViewGroup.drawChild
(ViewGroup.java:1486)
E/AndroidRuntime( 2853):at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
E/AndroidRuntime( 2853):at android.view.ViewGroup.drawChild
(ViewGroup.java:1484)
E/AndroidRuntime( 2853):at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
E/AndroidRuntime( 2853):at android.view.View.draw(View.java:
5841)
E/AndroidRuntime( 2853):at android.widget.FrameLayout.draw
(FrameLayout.java:352)
E/AndroidRuntime( 2853):at
com.android.internal.policy.impl.PhoneWindow$DecorView.draw
(PhoneWindow.java:1847)
E/AndroidRuntime( 2853):at android.view.ViewRoot.draw
(ViewRoot.java:1217)
E/AndroidRuntime( 2853):at
android.view.ViewRoot.performTraversals(ViewRoot.java:1030)
E/AndroidRuntime( 2853):at android.view.ViewRoot.handleMessage
(ViewRoot.java:1482)
E/AndroidRuntime( 2853):at android.os.Handler.dispatchMessage
(Handler.java:99)
E/AndroidRuntime( 2853):at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime( 2853):at android.app.ActivityThread.main
(ActivityThread.java:3948)
E/AndroidRuntime( 2853):at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2853):at java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime( 2853):at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 2853):at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/AndroidRuntime( 2853):at dalvik.system.NativeStart.main
(Native Method)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Parsing #xx; characters in XML

2009-04-27 Thread Marcus

Thank you for reply. This might be correct.

But the problem for me was, that the file didn't have an encoding set.
Serializing the xml with encoding set (to utf-8) and reading it back
works.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Free paid versions of an app, shared user ID SQLite

2009-04-02 Thread Marcus

Also interesting to me! I have the same problem and no idea for the
best practice.

But I don't even need to use the same database (because I can import
from the free version). But I want to use the same code base. So
should I copy / branch the code? Can I extend from the previous
project?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with setTheme() method

2009-03-19 Thread Marcus

I'm sorry. But even if I put the setTheme on the first line of
onCreate (even beforce super.onCreate), I get a dark black background
and not a transparent/blur background.
But if I set the theme in the manifest, it works.

It's not a great problem, because I can set it in the manifest. But
really strange.

Also if I create an own theme which inherits the Dialog-Theme with
parent=@android:style/Theme.Dialog and change nothing in the body, I
don't get the transparent background!

Is there a trick or something more to consider?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



Re: 回复: [android-developers] Re: Probl em with setTheme() method

2009-03-19 Thread Marcus

That's my code:

protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

setTheme(android.R.style.Theme_Dialog);
setContentView(R.layout.whatsnew);
}

And it doesn't work!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Problem with setTheme() method

2009-03-18 Thread Marcus

I have the same problem!

Would be nice to get a solution...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] React to uninstall of application?

2009-03-17 Thread Marcus

Hi,

my app stores some data on the sd-card.

But when my app is going to be uninstalled, this data will be left.

Is there a possibility to react on the uninstall intent of the user
and delete the data?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Scrolling stops DOM from updating in chrome/webkit browser

2008-11-25 Thread Marcus

I'm coming across an issue developing an Android-specific website
where I'd like to have a footer fixed on the bottom of the browser
page. I'm using some basic CSS to do this (below) that works fine in
other Webkit based browsers (Safari, desktop Chrome), and initially it
works fine in the Android browser as well. The problem is when I
scroll the webpage the footer position doesn't update until I'm done
scrolling causing it to jump suddenly rather than stay in a fixed
position.

The same problem occurs when fixing the footer to the bottom of the
screen with other techniques (e.g. different CSS, Javascript). It
seems like when you begin scrolling all css rendering and JavaScript
execution stops until the scrolling has stopped.

I'm guessing that this was implemented to make scrolling happen more
smoothly, but it seems like there are lots of cases where this
behavior breaks webpages.

Has anyone found a workaround for this? Is there a chance this
behavior could be changed in the future?

For reference, here's the CSS I'm using:

#footer {
background:transparent url(../../images/bottom_bar.png) repeat-x
scroll 0 0;
bottom:0;
height:43px;
left:0;
line-height:normal;
position:fixed;
text-align:left;
width:100%;
z-index:1;
}

On this site you can see the behavior (though it happens with the
sidebar rather than the footer): http://fall.tnvacation.com/

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Does anyone know Puppet Master?

2008-10-30 Thread Marcus

Hi All,

Is there any Python Test Suite for testing in Android?

Thanks in advance,
--Marcus

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---