[android-developers] payment suspension

2014-02-14 Thread BearTi
Hi,

how can I set a payment suspension. I don´t have any options in my wallet? 
I´m sellings Apps over the Play Store...

Is it even possible?

Thanks

-- 
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] Re: Problem with "getScanResults()"

2013-10-08 Thread BearTi
Hmm, I don´t think the problem is caused because of my device what can 
you see in this bug-report?

thanks

-- 
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] Re: Problem with "getScanResults()"

2013-10-08 Thread BearTi
How? What do u need?



Am Dienstag, 8. Oktober 2013 21:14:55 UTC+2 schrieb BearTi:
>
> Hi,
>
> I´ve a big problem with the "getScanResults()" function. I always get "0" 
> as result.
>
> Here is my Code (it´s a service):
>
> public void onCreate() {
>> super.onCreate();
>> 
>> wifiMgr = (WifiManager)getSystemService(Context.WIFI_SERVICE);
>> sharedPreferences = 
>> PreferenceManager.getDefaultSharedPreferences(this.getApplicationContext());
>> intentScan = new IntentFilter();
>> intentScan.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION);
>> scanReceiver = new ScanReceiver();
>> 
>> screenOnReceiver = new ScreenOnReceiver();  
>> registerReceiver(screenOnReceiver, new 
>> IntentFilter(Intent.ACTION_SCREEN_ON));
>> 
>> screenOffReceiver = new ScreenOffReceiver();
>> registerReceiver(screenOffReceiver, new 
>> IntentFilter(Intent.ACTION_SCREEN_OFF));
>> }
>> 
>> @Override
>> public void onDestroy () {
>>   unregisterReceiver(screenOnReceiver);
>>   unregisterReceiver(screenOffReceiver);
>> }
>> 
>> @Override
>> public void onStart(Intent intent, int startId) {
>> wifiMgr = (WifiManager)getSystemService(Context.WIFI_SERVICE);
>> 
>> registerReceiver(scanReceiver, intentScan); 
>> 
>> showToasts = sharedPreferences.getBoolean("checkbox_notification", 
>> true);
>> autoSync = sharedPreferences.getBoolean("checkbox_autosync", true);
>> if(wifiMgr.getConnectionInfo().getNetworkId() == -1) {
>> if(wifiMgr.setWifiEnabled(true)) {
>> 
>>if(!wifiMgr.startScan()){ 
>>unregisterReceiver(scanReceiver);
>>}
>> }
>> }else{
>> if(showToasts)
>> Toast.makeText(this.getApplicationContext(),R.string.toast_nochange, 
>> Toast.LENGTH_SHORT).show();
>> }
>> }
>>
>
>>  
>
> public class ScanReceiver extends BroadcastReceiver {
>> @Override
>> public void onReceive(Context context, Intent intent) {
>> Log.d("wifi", "ScanComplete - "+intent.getAction());
>> 
>> List wifiListSupplicant = 
>> wifiMgr.getConfiguredNetworks();
>> List wifiListScan = wifiMgr.getScanResults();
>> 
>>
>> Log.d("wifi", "LIST: "+wifiListScan.size());
>
> } } 
>
>
>
> Somebody an idea?
>
> Thanks"
>

-- 
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] Problem with "getScanResults()"

2013-10-08 Thread BearTi
Hi,

I´ve a big problem with the "getScanResults()" function. I always get "0" 
as result.

Here is my Code (it´s a service):

public void onCreate() {
> super.onCreate();
> 
> wifiMgr = (WifiManager)getSystemService(Context.WIFI_SERVICE);
> sharedPreferences = 
> PreferenceManager.getDefaultSharedPreferences(this.getApplicationContext());
> intentScan = new IntentFilter();
> intentScan.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION);
> scanReceiver = new ScanReceiver();
> 
> screenOnReceiver = new ScreenOnReceiver();  
> registerReceiver(screenOnReceiver, new 
> IntentFilter(Intent.ACTION_SCREEN_ON));
> 
> screenOffReceiver = new ScreenOffReceiver();
> registerReceiver(screenOffReceiver, new 
> IntentFilter(Intent.ACTION_SCREEN_OFF));
> }
> 
> @Override
> public void onDestroy () {
>   unregisterReceiver(screenOnReceiver);
>   unregisterReceiver(screenOffReceiver);
> }
> 
> @Override
> public void onStart(Intent intent, int startId) {
> wifiMgr = (WifiManager)getSystemService(Context.WIFI_SERVICE);
> 
> registerReceiver(scanReceiver, intentScan); 
> 
> showToasts = sharedPreferences.getBoolean("checkbox_notification", 
> true);
> autoSync = sharedPreferences.getBoolean("checkbox_autosync", true);
> if(wifiMgr.getConnectionInfo().getNetworkId() == -1) {
> if(wifiMgr.setWifiEnabled(true)) {
> 
>if(!wifiMgr.startScan()){ 
>unregisterReceiver(scanReceiver);
>}
> }
> }else{
> if(showToasts)
> Toast.makeText(this.getApplicationContext(),R.string.toast_nochange, 
> Toast.LENGTH_SHORT).show();
> }
> }
>

>  

public class ScanReceiver extends BroadcastReceiver {
> @Override
> public void onReceive(Context context, Intent intent) {
> Log.d("wifi", "ScanComplete - "+intent.getAction());
> 
> List wifiListSupplicant = 
> wifiMgr.getConfiguredNetworks();
> List wifiListScan = wifiMgr.getScanResults();
> 
>
> Log.d("wifi", "LIST: "+wifiListScan.size());

} } 



Somebody an idea?

Thanks"

-- 
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] cookie management under webviews

2013-06-21 Thread BearTi


Hi,

when I´m set 180 Cookies in my WebView, these 180 cookies are saved and can be 
displayd again. When I´m create 181 Cookies, just 150 are stored (Number 
32-181). Now when I set 181 Cookies, just 151 are stored and so on...

Why is this so? Is it a bug or what are the maximum values for cookies 
respectively how many cookies can be stored?

-- 
-- 
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] Webviews: Problem with onReachedMaxAppCacheSize and setAppCacheMaxSize

2013-06-04 Thread BearTi
Hi,

I´ve a little problem with my WebView. I´ve added a WebChromeClient it an 
want now to response when the cache is reached. 

Problem: The method "onReachedMaxAppCacheSize" is never called! Is this a 
bug? Want can I do?

Also  myWebView.getSettings().setAppCacheMaxSize(1024); seems not to 
work... 

Any ideas?

Thanks

-- 
-- 
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] Is there an Intent or so when an app is starting?

2013-05-17 Thread BearTi
Hi,

short question: Is it possible to get information about what app is 
launched in foreground respectively which app is starts? 
For example I want to get an information (maybe intent) when google-maps 
starts.

Thanks

-- 
-- 
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] WebViews JavascriptInterface - Java Reflection

2013-05-15 Thread BearTi
Hi,

I´m testing something with WebViews and the JavascriptInterface.

Problem/Question: It it possible/How is it possbile to call a Method like 
this on the Website: 

Android.getClass().getMethod("Test", String.class).invoke(this, "Reflect 2")
>


I always get *Uncaught Error: Error calling method on NPObject. at 
file:///android_asset/www/index.html:31*


I think the Problem is that in JS it is not possbilr to call "String.class" 
in the 2nd parameter? Or?

Someone an idea?

Thanks


-- 
-- 
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] Re: WebViews: return an array to javascript-interface

2013-04-30 Thread BearTi
I´ve a defined a WebView with a JavaSciptInterface:

myWebView.addJavascriptInterface(new WebAppInterface(this), "Android");
>

 
In this Interface I have a Method like:

@JavascriptInterface
> public String [] getTest() {
> String [] test = new String[5];
> test [0] = "0..";
> test [1] = "2..";
> return test; 
> }
>


Now on my website i want to receive this array: 


>   var array = new Array();

  array = Android.getTest(); //didn´t work
>
  array = JSON.parse(Android.getTest()); // didn´t work, too
> 
>


The array alwas is displayed as "undefined". Am I doing something wrong or 
is it just not possible?

Thanks! 

-- 
-- 
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] WebViews: return an array to javascript-interface

2013-04-29 Thread BearTi
Hi,

I´ve a little problem with my app which displays a webview.

I declare a javascript interface in my activity. Now I want to call a 
function on the website which returns an string-array.
Problem: I always get "undefined" when I want to get the content of this 
array. *Android.getArray().length* for example.

I it even possbiel to return arrays to the javascript on my website? 
I also tried it with* JSON.parse*, but it din´t work too.

Thanks

-- 
-- 
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] how to download several apps automatically from the play-store

2013-03-04 Thread BearTi
Hey,

how can i download several apps automatically from the play-store, like the 
top 10 of all categories.
Is there something like a crawler?

Thanks

-- 
-- 
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] Re: Catch network traffic?

2013-02-14 Thread BearTi
Allright, thanks! Hmm but where can I get tcpdump? 
It´s in the store right?

-- 
-- 
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] Catch network traffic?

2013-02-14 Thread BearTi
I want to intercept the packeges/I want to see what data goes out of the 
mobilephone or what sites are called from a specific app.
I don´t want to just count the traffic... thanks


Am Donnerstag, 14. Februar 2013 01:27:57 UTC+1 schrieb Kristopher Micinski:
>
> Agreed: do you want to intercept and proxy it, or just account for it? 
>
> Kris 
>
> On Wed, Feb 13, 2013 at 4:33 AM, BearTi > 
> wrote: 
> > Hi, 
> > 
> > is it possble to catch all network traffic respectively to get all the 
> > network traffic that comes from a specific app? 
> > (My phone is rootet) 
> > 
> > Thanks 
> > 
> > -- 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Android Developers" group. 
> > To post to this group, send email to 
> > android-d...@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. 
> > 
> > 
>

-- 
-- 
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] Catch network traffic?

2013-02-13 Thread BearTi
Hi,

is it possble to catch all network traffic respectively to get all the 
network traffic that comes from a specific app?
(My phone is rootet)

Thanks

-- 
-- 
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] W-Fi Connectivity Receiver

2012-12-21 Thread BearTi
With " wi-fi function is enabled/disabled" i mean that the wi-fi "modul" is 
turned off
I tried it with NETWORK_STATE_CHANGED_ACTION, I turned off my router and so 
the connection to it broke up, but there was no intent fired :-/


Am Freitag, 21. Dezember 2012 23:04:21 UTC+1 schrieb Irfan Sheriff:
>
> On Fri, Dec 21, 2012 at 1:54 PM, BearTi  >wrote:
>
>> I alos tried this, but here i only get a notify when the wi-fi function 
>> is being enabled/disabled... not when i lost the connection to a hotspot :-/
>>
>
> I do not follow you entirely - what do you mean by wi-fi function is 
> enabled/disabled ?
>
> This intent includes NetworkInfo extra which will tell you everytime Wi-Fi 
> was connected or disconnected.
>  
>
>>
>>
>> Am Freitag, 21. Dezember 2012 22:44:41 UTC+1 schrieb Irfan Sheriff:
>>>
>>> http://developer.android.com/**reference/android/net/wifi/**
>>> WifiManager.html#NETWORK_**STATE_CHANGED_ACTION<http://developer.android.com/reference/android/net/wifi/WifiManager.html#NETWORK_STATE_CHANGED_ACTION>
>>>
>>>
>>> On Fri, Dec 21, 2012 at 1:35 PM, BearTi  wrote:
>>>
>>>> Hi,
>>>>
>>>> I need a broadcast-receiver which react on state changes of the wi-fi 
>>>> connectivity. 
>>>> I don´t want to get an intent when the wi-fi is enabled or disabled by 
>>>> the user... 
>>>> I just want a message when for the connection to one of the, in my 
>>>> phone configured wi-fi networks (supplicant), has been lost.
>>>>
>>>> I tried it with the ConnectivityManager.**CONNECTIVITY_ACTION, but 
>>>> here I get more intens i need.
>>>>
>>>> Any idea? Thanks
>>>>
>>>>  -- 
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Android Developers" group.
>>>> To post to this group, send email to android-d...@**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<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-d...@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 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] W-Fi Connectivity Receiver

2012-12-21 Thread BearTi
I alos tried this, but here i only get a notify when the wi-fi function is 
being enabled/disabled... not when i lost the connection to a hotspot :-/


Am Freitag, 21. Dezember 2012 22:44:41 UTC+1 schrieb Irfan Sheriff:
>
>
> http://developer.android.com/reference/android/net/wifi/WifiManager.html#NETWORK_STATE_CHANGED_ACTION
>
>
> On Fri, Dec 21, 2012 at 1:35 PM, BearTi  >wrote:
>
>> Hi,
>>
>> I need a broadcast-receiver which react on state changes of the wi-fi 
>> connectivity. 
>> I don´t want to get an intent when the wi-fi is enabled or disabled by 
>> the user... 
>> I just want a message when for the connection to one of the, in my phone 
>> configured wi-fi networks (supplicant), has been lost.
>>
>> I tried it with the ConnectivityManager.CONNECTIVITY_ACTION, but here I 
>> get more intens i need.
>>
>> Any idea? Thanks
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> android-d...@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 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] W-Fi Connectivity Receiver

2012-12-21 Thread BearTi
Hi,

I need a broadcast-receiver which react on state changes of the wi-fi 
connectivity. 
I don´t want to get an intent when the wi-fi is enabled or disabled by the 
user... 
I just want a message when for the connection to one of the, in my phone 
configured wi-fi networks (supplicant), has been lost.

I tried it with the ConnectivityManager.CONNECTIVITY_ACTION, but here I get 
more intens i need.

Any idea? Thanks

-- 
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] Read out status bar messages?

2012-09-18 Thread BearTi
Ok, thanks... are u really sure? :-)




Am Dienstag, 18. September 2012 19:05:02 UTC+2 schrieb Kristopher Micinski:
>
> It is not.  Why do you want to? 
>
> kris 
>
> On Tue, Sep 18, 2012 at 12:51 PM, BearTi > 
> wrote: 
> > Hi, 
> > 
> > short question: 
> > 
> > (How) Is it possible to read out and/or delete the message in status bar 
> > from another app? 
> > 
> > 
> > Thanks! 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Android Developers" group. 
> > To post to this group, send email to 
> > android-d...@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 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] Read out status bar messages?

2012-09-18 Thread BearTi
Hi,

short question:

(How) Is it possible to read out and/or delete the message in status bar 
from another app?


Thanks!

-- 
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] EditTextPreference: Problems with "android:dialogMessage"

2012-09-07 Thread BearTi
Hi,

I got two questions:

1.) How can I make the Text "android:dialogMessage" in an 
"EditTextPreference" bold? I tried "Test1 Test2", but this don´t 
work!

2.) This "android:dialogMessage" is not shown direct over the Textfield 
where the User can type something... there es a padding of (i think 2-3 
Lines). How can I remove this breaks?


Thanks!

-- 
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] Widgets change in landscape mode

2012-07-16 Thread BearTi
Hi,

I´ve a little problem with my widgets.
I change the e.g. background color over remoteviews. 
Now every time I rotate my phone to landscape mode, the design (background 
color) is changes to the default value specified in the config file.

How can handle this?

thanks

-- 
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] Broadcast-Intent on cell/position change?

2012-05-23 Thread BearTi
Hi,

is there any Broadcast-Message which is send when my phone is connected to 
another Cell or when the position changed?
I don´t want to pull for this information (for example every 5 minutes).

Thanks

-- 
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] Extract a special SMS

2012-05-17 Thread BearTi
Hi,

Is it possible to extract a special SMS (from a restricted sender) so that 
the normal SMS App don´t show a notification?
I tried something like this:

final IntentFilter filter = new IntentFilter();
filter.addAction("android.provider.Telephony.SMS_RECEIVED");
filter.setPriority(2147483647);

this.smsReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
  
  
  *abortBroadcast*() 
 }


But it didn´t work. Is there another trick? My SMS can Block SMS so i must 
be possible or?

  

-- 
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] AlarmManager with "NightModus"

2012-05-03 Thread BearTi
Hi,

I´ve implement an AlarmManager to update a widget every (for example) 2 
hours. 
Now I want to develope a night modus so that for example the Alarm/Update 
is not fired beetween 0:00 to 8:00am.

How can I do this?
The update frequency and the "night off modus" should be set dynamically.

Thanks!

-- 
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] Widget-Layout Problems/Questions

2012-04-10 Thread BearTi



Hi,

I want to develope a Widget with a Shape (round edge) as background and 2 
textviews in it.
Here is what I got at the moment:



 http://schemas.android.com/apk/res/android";
android:layout_width="fill_parent" 
android:layout_height="fill_parent" 
android:orientation="horizontal" 
android:padding="@dimen/widget_margin" >
  





Now i want to have anothet textview in this layout which can be hide 
programmatically 
(or not).
I can not get out how to do thi on the same background...

Hmm, i hope you can understand my problem... the second textview should be 
displayd in the button of the widget...


-- 
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] Change Shape backgroundcolor programmatically

2012-03-25 Thread BearTi
Hi,

I´ve an LinearLayout with a TextView und the TextView gets as
Background a Shape.

So, how can I programmatically change the shapes Backgroundcolor?
I don´t get it!

Thanks

-- 
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: Requires Android in GooglePlay

2012-03-23 Thread BearTi
Ahh ... thanks! :)

On 23 Mrz., 13:52, JP  wrote:
> That would be the uses-sdk part of the 
> Manifesthttp://developer.android.com/guide/topics/manifest/uses-sdk-element.html
>
> On Mar 23, 5:03 am, BearTi  wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > a  few weeks ago I published my own app on google play.
> > On the right site (in "about this app") there stand "Requires Android:
> > 2.3.7 and up" ...
> > Question: How can I change the Version?
>
> > Thanks

-- 
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] Requires Android in GooglePlay

2012-03-23 Thread BearTi
Hi,

a  few weeks ago I published my own app on google play.
On the right site (in "about this app") there stand "Requires Android:
2.3.7 and up" ...
Question: How can I change the Version?

Thanks

-- 
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] AlarmManager.RTC don´t work

2012-03-20 Thread BearTi
Hi,

I want to start a service for example every hour. I implement an
AlarmManager:

AlarmManager mgr
=(AlarmManager)Main.this.getSystemService(Context.ALARM_SERVICE);
Intent i = new Intent(this.getApplicationContext(),
UpdateWidgetService.class);
PendingIntent pi =
PendingIntent.getService(this.getApplicationContext(), 0, i,
Intent.FLAG_ACTIVITY_NEW_TASK);
mgr.cancel(pi);
mgr.setRepeating(AlarmManager.RTC, System.currentTimeMillis(),
Integer.parseInt(listUpdate.getValue())*360, pi);


So I cancel the manager which was startet before and then create a new
one.

I thought the parameter "RTC" ensures that the Alarm not beeing fired
when the device is in sleep mode (i turned the display off and the
device was 1 hour not turned on)... But nevertheless the service is
started...

So what am I doing wrong? Thanks

-- 
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: Color-Ring

2012-02-24 Thread BearTi
Thanks! That what I mean! :)

On 24 Feb., 04:30, Nikolay Elenkov  wrote:
> On Fri, Feb 24, 2012 at 2:49 AM, BearTi  wrote:
> > Hi,
>
> > I´m creating an widget and now I want (in the config app) to have a
> >color-selection (ring).
> > Is there a predefined method or something like this for that?
>
> The SDK samples come with a ColorPickerDialog what can
> be used pretty much as is. You might want to make ti scale
> automatically though, because, it rather small on higher density
> screens.

-- 
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] Color-Ring

2012-02-23 Thread BearTi
Hi,

I´m creating an widget and now I want (in the config app) to have a
color-selection (ring).
Is there a predefined method or something like this for that?

thanks!

-- 
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] read out a aesbite with javascipt content

2012-02-08 Thread BearTi
Hi,

I want to write an App which reads out an Website. The problem is,
that on this website content is loaded from a javascript and when i
read out the response in my app this content is not displayed... I
think the javascript need more time to load the content?

So, how can I solved it? I hope I was able to describe the problem
well enough

-- 
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] GPS Status Listener

2011-12-22 Thread BearTi
Hi, I want to receive Events when GPS is tuned on and off.

Here my Class:

public class Main extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

LocationManager locMgr =
(LocationManager)this.getSystemService(Context.LOCATION_SERVICE);
locMgr.addGpsStatusListener(mGPSStatusListener);

}

public Listener mGPSStatusListener = new GpsStatus.Listener() {
public void onGpsStatusChanged(int event) {
switch(event) {
case GpsStatus.GPS_EVENT_STARTED:
Log.d("POWER", "GPS ON > "+event);
break ;
case GpsStatus.GPS_EVENT_STOPPED:
Log.d("POWER", "GPS OFF > "+event);
break ;
}
}
};
}


Whats wrong here? I don´t receive any Events :-(
In the Manifest I´ve set 

Thanks

-- 
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] Unique ID, but not IMEI, IMSI, MAC, AndroidID

2011-12-03 Thread BearTi
Hi,

I´m building an App and now I need an unique ID fpr every phone which
installs my App.

* I know that the IMEI can be broken and set to an android backup IMEI
(something like 0049990...).
* Read out tThe IMSI or Phonenumber is not supported by all SIM-Cards
* AndroidID can be change by the User
* MAC Adress only available if WLAN in online

Which options do I have?

Thanks a lot!

-- 
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] BroadcastReceiver and result vom SMS_DELIVERED

2011-11-02 Thread BearTi
Hi,

I´ve a BroadcastReceiver() which received the result when a send SMS
was delivered... My Problem... when I send the first SMS, which cannot
yet being delivered, and then I send a second SMS... how can I differ
which SMS was delivered?

Thanks

-- 
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] SMS delivered receiver

2011-10-29 Thread BearTi
Hi,

I´ve a SMS App which can send SMS. I also have a send and delivered
Broadcastreceiver...

Question:
Is it possible to find out from which SMS e.g. the delivered-receiver
was called, so that I can discern the SMS?

Thanks

-- 
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: Direct SMS send with saved outgoing SMS

2011-10-19 Thread BearTi
Is there a possibility to add the SMS after I send it via SmsManager
in the SMS history?


On 19 Okt., 15:33, Mark Murphy  wrote:
> On Wed, Oct 19, 2011 at 9:17 AM, BearTi  wrote:
> > No one an idea? Is it not possible?
>
> Either use SmsManager (no button click, but not recorded by any SMS
> client, since you are not using an SMS client) or ACTION_SENDTO (uses
> default SMS client, but user gets the chance to edit or cancel the
> SMS).
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 3.1 Programming Books:http://commonsware.com/books

-- 
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: Direct SMS send with saved outgoing SMS

2011-10-19 Thread BearTi
No one an idea? Is it not possible?


On 18 Okt., 18:56, BearTi  wrote:
> Hi,
>
> in my App I want to send a SMS via...
>
> Uri uri = Uri.parse("smsto:1234567891012");
> Intent it = new Intent(Intent.ACTION_SENDTO, uri);
> it.putExtra("sms_body", "The SMS text");
> startActivity(it);
>
> ... because I want that the SMS that has being sent is in my built in
> SMS-App... with the PendingIntent it is not saved there...
>
> Is it possible that I send the SMS directly, so that the User don´t
> have to push the send Button?
>
> Thanks

-- 
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] Direct SMS send with saved outgoing SMS

2011-10-18 Thread BearTi
Hi,

in my App I want to send a SMS via...

Uri uri = Uri.parse("smsto:1234567891012");
Intent it = new Intent(Intent.ACTION_SENDTO, uri);
it.putExtra("sms_body", "The SMS text");
startActivity(it);

... because I want that the SMS that has being sent is in my built in
SMS-App... with the PendingIntent it is not saved there...

Is it possible that I send the SMS directly, so that the User don´t
have to push the send Button?

Thanks

-- 
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: Read SMS without "content://sms/" ??

2011-10-14 Thread BearTi
Okay, thank u very much! :)

I will try it via content-provider :-/


On 14 Okt., 15:23, Mark Murphy  wrote:
> On Fri, Oct 14, 2011 at 9:10 AM, BearTi  wrote:
> > Hmm, so every SMS Backup App does it that way, too. Right? :-/
>
> Presumably. They suffer from the same limitations.
>
> > (Alternative I could root my Device and read out directly the sqlite
> > database mmssms.db or?)
>
> That does not help.
>
> What you are saying is the equivalent of "I am going to write an app
> to back up a user's email on Windows. I will do this by copying
> outlook.pst." However:
>
> -- not everybody uses Outlook
> -- people who have Outlook installed may not be using it
> -- Outlook users might have their email stored on Exchange or in some
> other PST file
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.6 Available!

-- 
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: Read SMS without "content://sms/" ??

2011-10-14 Thread BearTi
Thanks!

Hmm, so every SMS Backup App does it that way, too. Right? :-/

(Alternative I could root my Device and read out directly the sqlite
database mmssms.db or?)


On 14 Okt., 14:53, Mark Murphy  wrote:
> On Fri, Oct 14, 2011 at 8:42 AM, BearTi  wrote:
> > how can I read out the SMS?
>
> There is no support for this in the Android SDK, as storing SMS is the
> job of an SMS client, not the operating system.
>
> > I´ve read somewhere that solution by "content://sms/" is not good and
> > future-proof , is that right or is this the only and best way?
>
> It is the only way. I would not be the least bit surprised to find
> this undocumented/unsupported provider locked down in the future the
> way they recently locked down Gmail. I am hoping they don't -- I'm
> really hoping this provider gets formal SDK support someday.
>
> Also, there is no guarantee that this provider exists on any given
> device or is used by the user's chosen SMS client on any given device.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 3.6 Available!

-- 
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] Read SMS without "content://sms/" ??

2011-10-14 Thread BearTi
Hi,

how can I read out the SMS?
I´ve read somewhere that solution by "content://sms/" is not good and
future-proof , is that right or is this the only and best way?

Thanks!

-- 
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 with seperators, checkboxes...

2011-10-14 Thread BearTi
Ok, thats what I wanted... It works perfect...
One last question: When I store/set for example a boolean value to my
"sharedprefences" object checkbox1...
Ist this value stored until I deinstall this app?



On 12 Okt., 17:44, TreKing  wrote:
> On Wed, Oct 12, 2011 at 10:37 AM, BearTi  wrote:
> > Whith which adapter or listview can I do this?
>
> That is a PreferenceScreen.
>
> -
> 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] Re: List with seperators, checkboxes...

2011-10-12 Thread BearTi
Ah, okay... :) Thanks!
On 12 Okt., 17:44, TreKing  wrote:
> On Wed, Oct 12, 2011 at 10:37 AM, BearTi  wrote:
> > Whith which adapter or listview can I do this?
>
> That is a PreferenceScreen.
>
> -
> 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] Re: List with seperators, checkboxes...

2011-10-12 Thread BearTi
Thanks. I found this exmaple:
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList1.html

What I want is something like this:
http://androidpartaker.files.wordpress.com/2010/07/android_preferences_1.jpg

Whith which adapter or listview can I do this?



On 11 Okt., 17:22, Studio LFP  wrote:
> Your description is a bit vague, but maybe check out the ExpandableListView
> here:
>
> http://developer.android.com/reference/android/widget/ExpandableListV...
>
> It's a ListView with expandable sections.  To get checkboxes, you'll need to
> create a layout or extend a view to make it like you want.
>
> Steven
> Studio LFPhttp://www.studio-lfp.com
>
>
>
>
>
>
>
> On Tuesday, October 11, 2011 4:03:09 AM UTC-5, BearTi wrote:
>
> > Hi,
>
> > I´ve problems to built a list for my app.
> > This list should have seperators, drop down menus and checkboxes.
>
> > I´ve read many tutorials, but I can´t find a good one that solves my
> > problem. (for expample which adapter I have to choose and so on)
>
> > Do you have a good axample for my or some tipps?
>
> > Thanks! :)

-- 
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] List with seperators, checkboxes...

2011-10-11 Thread BearTi
Hi,

I´ve problems to built a list for my app.
This list should have seperators, drop down menus and checkboxes.

I´ve read many tutorials, but I can´t find a good one that solves my
problem. (for expample which adapter I have to choose and so on)

Do you have a good axample for my or some tipps?

Thanks! :)

-- 
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