[android-developers] Directly accessing the e-mail app.

2012-04-12 Thread Put_tiMe
How do I directly choose the default e-mail app, without going through the 
chooser?

I would also like to set some of the values through the intent, like:

emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, recipients);
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "blah");
emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "Wow! direct email 
works");
emailIntent.setType("text/plain");


Is there any way I can do it, without going through the chooser?


-- 
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: Directly accessing the e-mail app.

2012-04-12 Thread Put_tiMe
I want to do this on Android 2.2 or later.


On Thursday, April 12, 2012 12:42:12 PM UTC+5:30, Put_tiMe wrote:
>
> How do I directly choose the default e-mail app, without going through the 
> chooser?
>
> I would also like to set some of the values through the intent, like:
>
> emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, recipients);
> emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "blah");
> emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "Wow! direct email 
> works");
> emailIntent.setType("text/plain");
>
>
> Is there any way I can do it, without going through the chooser?
>
>
>

-- 
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: Automatic silent update for corporative app

2012-04-12 Thread AlexD
> There's a user interaction required. Installing an APK is done by
> means of an activity, requiring user interaction.

Exactly! And this is the problem. We've trying to find 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] Google's 1099-K

2012-04-12 Thread Zsolt Vasvari
Can any of you make heads and tails of the 1099-K sent by Google?

First of all, it appears to show the payments INCLUDING the 30% cut Google 
gets.  But even if I take off the 30%, the number is still too high when I 
compare it to the amount I actually got.

I am not too surprised it is screwed up, as what isn't when it comes to the 
Android Market, but in this case, you can get a nasty audit from the IRS if 
you don't report your income as stated by Google.

-- 
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: App will not run after SDK and ADT plugin update

2012-04-12 Thread opaQue
Check this 
http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17

On Apr 12, 4:19 am, Ash  wrote:
> Hi All,
>
> This morning I updated the Android SDK tools to revision 18 and
> Android  SDK platform-tools to revision 11. Once the update was
> complete, eclipse started complaining that ADT needs to be updated to
> version 18 (installed version was 16). So I updated ADT aswell.
>
> After this updated, I find that when I now try to load my app (right
> click project -> run as -> android application), I seem to getting
> errors which stops my app from running. My app is using a 3rd party
> library.so and my eclipse project is using a .jar file which contains
> all the function prototypes.
>
> Notes:
> 1. I am using a rooted device.
> 2. The library.so and .jar file has not changed or modified.
> 3. My application code has not changed.
> 4. I have a old version of my app.apk which was build using ADT
> version 16. When I install that using adb install, my application runs
> as normal.
> 5. I am sure this problem is related to ADT - as confirmed by step 3.
>
> The errors I see in logcat is that the class/functions are not found
> in the library - however, the library is loaded successfully.
>
> Has anyone had any issue after updating SDK and ADT plugin?
>
> Any advice will be appreciated.
>
> 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: Directly accessing the e-mail app.

2012-04-12 Thread Johan Appelgren
What do you mean with default e-mail app? If the user has selected a 
default e-mail app the user wont get the chooser. If the user hasn't 
selected a default e-mail app the user will get the chooser. 

On Thursday, April 12, 2012 9:12:12 AM UTC+2, Put_tiMe wrote:
>
> How do I directly choose the default e-mail app, without going through the 
> chooser?
>
> I would also like to set some of the values through the intent, like:
>
> emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, recipients);
> emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "blah");
> emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, "Wow! direct email 
> works");
> emailIntent.setType("text/plain");
>
>
> Is there any way I can do it, without going through the chooser?
>
>
>

-- 
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: Problems locking the screen orientation with ActivityInfo.SCREEN_ORIENTATION_NOSENSOR

2012-04-12 Thread Ali Chousein
Handling screen orientation manually could be helpful for your case.
My blog on this subject might be useful for you: 
http://android-screen-layout.blogspot.com/

-
Ali Chousein
http://socialnav.blogspot.com | http://twitter.com/socialnav1
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
http://www.codeproject.com/KB/android/PayGol-Android.aspx
http://geo-filtered-assistant.blogspot.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: custom application icon in view

2012-04-12 Thread Live Happy
i find what im looking for its call quick action and thc for all

On Wed, Apr 11, 2012 at 2:12 PM, Live Happy  wrote:

> i want to add in my application a custom view who content some icon
> application as gallery and map and voice record and etc to share photo and
> all other things so how i can create this view its similar to what appear
> in the attached pic  maybe someone help me
>  thx for help
>

-- 
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: Play maket and reviews

2012-04-12 Thread Ali Chousein
Goto https://support.google.com/googleplay/android-developer/?hl=en
and then to "Inappropriate content in comments and applications".
Maybe will be useful for your case. You can also try contacting
support, but many developers have not that good experience getting
real support from Android support.

-
Ali Chousein
http://socialnav.blogspot.com | http://twitter.com/socialnav1
http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
http://www.codeproject.com/KB/android/PayGol-Android.aspx
http://geo-filtered-assistant.blogspot.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Image to Video Converter In android

2012-04-12 Thread Giuseppe
Hi Arun,
I am looking for similar solution but not for facebook, did you found a way?

-- 
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] Problem with RemoteViews

2012-04-12 Thread Giuseppe
Hi TreKing, 
I need two different setting:

1) stop just the timer
2) continue from stop time

-- 
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: SMS application for iPhone - http://alturl.com/jfzi4

2012-04-12 Thread Ali Chousein
> We have recently developed SMS Application (Beta version) for iPhone. Find
> below the link for your reference.

Good for you man, thumps f@#~!*@& up. And what do you want us to do
after your great achievement? Give up any interest developing apps for
Android and spend 3K-4K $$$ just to get started doing iOS development?
Hhmmm, I'll take a second to think about it. Hhmmm, I think my answer
is No.

-- 
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 superpose 2 ScrollableViews

2012-04-12 Thread Amokrane
Hi everyone,

In order to implement a navigation bar ala 
FacebookI
 have the following 
Layout . 

So the basic idea is that when I want to open the navbar I just shift the *
TopLayer* to the right and the navbar will be 
revealed
.
Now this works well and I can interact with the navbar's *ListView* in 
order to navigate through the application, as far as the view that gets 
injected inside the *TopLayer* isn't a *ScrollableView *(like another *
ListView*, a *ScrollView *or a *WebView*).

For instance, when the *TopLayer* is a *WebView *instance, I can't scroll 
and interact with the navbar's *ListView* because it is the *WebView* that 
gets scrolled (althoough I shifted it to the right).

I guess it's not trivial to superpose many *ScrollableView*'s but I hope 
there are hacks to overcome these issues. 

I have been looking for a solution for almost a week now (including posting 
it on 
StackOverflow)
 
but I haven't found anything relevant. I'll really appreciate any help 
regarding 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] Re: Play maket and reviews

2012-04-12 Thread Zsolt Vasvari

>
> Maybe will be useful for your case. You can also try contacting 
> support, but many developers have not that good experience getting 
> real support from Android support. 
>

I wouldn't even waste my time.  
 

-- 
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] Help ! Need to fix an Error

2012-04-12 Thread Clevin Dsouza
package com.example.rand;
import com.example.rand.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class NewSaying extends Activity
{
private Button NewSaying;

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

TextView mInfoTextView = (TextView)
findViewById(R.id.newsaying);

   }

private class ButtonclickListener implements View.onclickListener
{
int location;

public ButtonclickListener(int location)
{
 this.location = location;
}

public void onclick(View view)
{
TextView mInfoTextView = null;
mInfoTextView.setText(R.string.saying1);

}
}
}


No errors while compiling but when i run it i dont get the output. I
have written these codes to build an app that generates random strings
on the press of  a button.

the string.xml



Hello World, AndroidRandomSayingsActivity!
AndroidRandomSayings
A change is as good as a rest
A friend in need is a friend indeed
A miss is as good as a mile
A penny saved is a penny earned
A word to the wise is enough
Actions speak louder than words


main.xml

http://schemas.android.com/apk/res/
android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>



 







-- 
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] is Calendar class designed by singleton pattern?

2012-04-12 Thread Ack
coz call getInstance() static method is the only way to get calendar's
instance.

but the constructor of Calendar  is not "private",  so we can create
2+ calendar instances??

It's seems not singleton pattern.

ref: http://developer.android.com/reference/java/util/Calendar.html

-- 
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: bluetooth sniffer for android

2012-04-12 Thread Avinash Jain
Hi, Myself Avinash Jain. I'm a regular android developer. I want to know is
it possible to sniff bluetooth packets in android. If yes, please let me
know do I need any external hardware tools?

-- 
Regards,
avinash
(+91) 9502681447

-- 
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: add a scan barcode button to my webpage

2012-04-12 Thread akanit supatawaraporn
I want to do like you. If so, please tell me. 

On Wednesday, February 17, 2010 8:59:02 PM UTC+7, JB wrote:
>
> Does anyone know how to add a scan barcode button to a webpage like
> google has in the shopping page?  I am wanting to allow my clients
> using a droid phone to press the button scan a barcode and post the
> data back into my webpage.
>
> any suggestions?
>
> thanks JB
>
>

-- 
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] ics problem with google maps compass

2012-04-12 Thread Cherry Chu
Dear all,

  It  seems Google Maps(v6.x) cannot see the compass on ICS.On older
versions of Maps (v5.12), the feature also works.And if I choose the other
maps,such as AMAP,compass works well .

  When I search this problem by Internet, I find some else phones without
gyro that maybe meet the same problem.
  Here are their URL:
http://forum.xda-developers.com/showthread.php?t=1445181
http://forum.xda-developers.com/showthread.php?t=1573950
http://forum.xda-developers.com/showthread.php?t=1558737
http://forum.xda-developers.com/showthread.php?t=1524716
http://forum.xda-developers.com/showthread.php?t=1512132

Hope you for some suggestions,thanks!

Best Regards,
Cherry

-- 
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] Getting an App for Read an RFID Reader Device.

2012-04-12 Thread jai
Hi Android experts,

I Would like to develop an app which can read the RFID Reader Device
through the USB
is it possible to do it please give me support

Thanks in advance



Regards,
jai

-- 
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] tabbed layout and gravity

2012-04-12 Thread Sebastian
Hello all, just subsribed, i'n new, i used this tutorial to make mai
tabbed application.
 the problem is that in one of the tabs a want gravity set cu bottom,
the main.xml is similar to the one on the site, and my tab layout is
like this:

http://schemas.android.com/apk/res/android";
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:layout_gravity="bottom">

  
  


but the tab uses top gravity, can anyone give me a hint of what i'm
doing wrong?
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


[android-developers] Re: Crop ImageView that fits to the image

2012-04-12 Thread Akhil sharma
I hae posted the answer on stackoverflow :
http://stackoverflow.com/questions/10095306/crop-imageview-that-fits-to-the-image-in-android/10096381#10096381

On Apr 10, 10:00 pm, Android Developer 
wrote:
> Hi All,
>
> I have an imageview and i set background and source for that. How to crop
> the imageView that fits exactly with image alone.
>
> In the attachment oval is the image. how do i set that while background
> color only for the image.
>
> I tried with scaleType but no luck and i attached the code i tried
>
>  android:layout_width="wrap_content" android:scaleType="centerCrop"
>             android:src="@drawable/circle" android:background="#ff"
> android:id="@+id/image">
>
> Thanks in Advance.
>
>  imagebackground.png
> 25KViewDownload

-- 
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] nfc Pendingintent always create new activity that already exist

2012-04-12 Thread Andro ID
public class CheckinActivity extends Activity{
private boolean mResumed = false;
private boolean mWriteMode = false;
NfcAdapter mNfcAdapter;
PendingIntent mNfcPendingIntent;
IntentFilter[] mWriteTagFilters;
IntentFilter[] mNdefExchangeFilters;

public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
   
mNfcAdapter = 
NfcAdapter.getDefaultAdapter(this);  
mNfcPendingIntent = PendingIntent.getActivity(this, 0,new 
Intent(this, 
getClass()).addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP),0);
   
}

@Override
//void main utk inputan nfc
protected void onResume() {
super.onResume();
mResumed = true;   
// Sticky notes received from Android
if 
(NfcAdapter.ACTION_NDEF_DISCOVERED.equals(getIntent().getAction())) 
{
NdefMessage[] messages = getNdefMessages(getIntent());
byte[] payload = 
messages[0].getRecords()[0].getPayload();
setIntent(new Intent()); // Consume this intent.
}
enableNdefExchangeMode();
}   
private void enableNdefExchangeMode() { 
mNfcAdapter.enableForegroundDispatch(this, mNfcPendingIntent, 
mNdefExchangeFilters, null); }  

@Override
protected void onNewIntent(Intent intent) { // NDEF exchange 
mode
if (!mWriteMode && 
NfcAdapter.ACTION_NDEF_DISCOVERED.equals(intent.getAction())) {
NdefMessage[] msgs = getNdefMessages(intent);
byte[] payload = 
msgs[0].getRecords()[0].getPayload();   
  

}
}   
NdefMessage[] getNdefMessages(Intent intent) {// Parse the 
intent
NdefMessage[] msgs = null;
String action = intent.getAction();
//jika ada action
if (NfcAdapter.ACTION_TAG_DISCOVERED.equals(action) || 
NfcAdapter.ACTION_NDEF_DISCOVERED.equals(action)) {
//baca pesan, masukkan ke rawMsgs
Parcelable[] rawMsgs = 
intent.getParcelableArrayExtra(NfcAdapter.EXTRA_NDEF_MESSAGES);
if (rawMsgs != null) {
msgs = new NdefMessage[rawMsgs.length];
for (int i = 0; i < rawMsgs.length; i++) {msgs[i] = 
(NdefMessage) rawMsgs[i]; }
}
} 
return msgs;
}
}

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

2012-04-12 Thread Alexander Sytnik


Great work! It helped me very much. My current goal - to download into the 
Secure Element a cardlet, which can securely manage MIFARE part and 
communicate with our own TSM through an additional application in a phone. 
But this possibility, that can be used even in old Nokia 3220 with NFC 
cover, seems to be blocked in new Android platforms.

Additional information (how I understand it):

-  Google wallet is Mastercard PayPass payment application;

-  Document that defines the requirements for UICCs intended to 
host a payment system’s mobile payment application within mobile consumer 
device are called “EMVProfiles of Global Platform UICC 
Configuration”. 
It can be free downloaded. It can be useful for understanding architecture 
of infrastructure that used by Google to download and manage Google Wallet. 
Also there is second interesting document “EMV Contactless Mobile Payment - 
Application Activation User Interface”.

-  The document with may describe a target state of secure element 
it the phone (how I think) is Global Platform UICC Configuration 
v1.0.1. 
But it cost about 1.5K and it is silly to download the document that can’t 
help you download your applet in NFC phone.

Resume: Joe doesn’t share food! Google wants to use single-handedly new 
business possibilities which are given to us by new technologies. Nick 
Pelly: “*So we did not put card emulation APIs in Gingerbread because we 
want to make sure that we have a compelling user story before we do that. 
And we really think that peer-to-peer is the way to go for future NFC uses.*”, 
“*There are a bunch of different reasons. Again, the secure element is a 
very limited resource. It can't hold a large amount of data in there. And 
if we open it up to any third-party application, there's going to be a huge 
resource contention over the secure element.*”.

P.S.: Please correct me if I'm wrong.

P.P.S.: Sorry for my English.

-- 
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] Disable USB Mass Storage or Protect SD Card folder

2012-04-12 Thread Julio Cesar Munoz
Hello Android team,

I'm developing an application for view movies in the airplanes. We
need to assure that the movies files  will not be copied by the
passengers when they plug the usb cable.

Exists any way to prevent this in android, the device that we use is a
Samsung Galaxy Tab 8.9

Regards,

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To 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] Getting a captcha-image without redownloading.

2012-04-12 Thread efi
Hi guys,
I'm a newbie and I'd like to obtain an image from an already
downloaded page shown in WebView. The thing is, it's a captcha-image,
so i can't just get it from its source url, because I get a different
captcha-image every time. I need the one I already downloaded.

What would be the best way to do this?

I thought I would be able to find it as a temp file somewhere, or in a
cache, but I had no luck. Maybe it is possible to intecept the image
while being downloaded...

(In case you wonder: I'm planning to hide the webview, and show the
image inside an ImageView so the user can type its code within the
app, or maybe even find a way to OCR it).

Any advice?

-- 
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] So urgent, need an example program please help! :(

2012-04-12 Thread symeramon
Hi there all,

Let me start with telling my story, I am a developer in an electronic
firm. Yesterday, my boss came and tell that he wants an android
application that sends string messages (like when pressing a button)
to ip addresses (computer)  via wlan (android phone)... I wonder if
you have a basic example program??? Please help, it is so urgent and
vital...

-- 
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] Mediaplayer Close and Reopen Http connection

2012-04-12 Thread Maypeur
Hi !

I'm using a MediaPlayer on android 4.0.3 to streaming a mp3 music. But this 
mediaplayer lost the connection and reopen a newone with a range byte. It 
doing it for every music.

- It's happening with 3G and Wifi connection


here the logcat :

We can see the readcomplete with status 4 and later the reconnect wich send 
an header with a range byte :


04-11 21:13:36.295: D/dalvikvm(31723): GC_FOR_ALLOC freed 1146K, 23% free 
4205K/5411K, paused 66ms
04-11 21:13:36.305: D/AudioSink(115): close L=1648
04-11 21:13:36.305: W/TimedEventQueue(115): Event 447 was not found in the 
queue, already cancelled?
04-11 21:13:36.315: D/AudioSink(115): close L=1650
04-11 21:13:36.315: D/MediaPlayer(31723): reset() out
04-11 21:13:36.325: I/AwesomePlayer(115): 
setDataSource_l('http://www0streamsideplayer.com/m=2964')
04-11 21:13:36.325: I/ChromiumHTTPDataSource(115): Duplicat disconnecting
04-11 21:13:36.325: I/ChromiumHTTPDataSource(115): Duplicat disconnecting
04-11 21:13:36.325: D/TimedEventQueue(115): pThread_join:30914952 E
04-11 21:13:36.325: D/TimedEventQueue(115): pThread_join:30914952 X
04-11 21:13:36.325: I/ChromiumHTTPDataSource(115): Duplicat disconnecting
04-11 21:13:36.325: I/ChromiumHTTPDataSource(115): Duplicat disconnecting
04-11 21:13:36.325: V/ChromiumHTTPDataSource(115): connect on behalf of uid 
10111
04-11 21:13:36.325: I/ChromiumHTTPDataSource(115): connect to 
http://www.streamsideplayer.com/m=2964 @0
04-11 21:13:36.375: E/msm8660.hwcomposer(112): invalid gralloc handle (at 
0x64a4c8)


04-11 21:13:53.712: I/ChromiumHTTPDataSourceSupport(115): OnReadCompleted, 
read failed, status 4
04-11 21:13:53.712: E/NuCachedSource2(115): source returned error -1004, 10 
retries left
04-11 21:13:53.732: E/msm8660.hwcomposer(112): invalid gralloc handle (at 
0x64a4c8)
04-11 21:13:56.395: D/PhoneStatusBarPolicy(510): Network Type: 8
04-11 21:13:56.715: I/ChromiumHTTPDataSource(115): Reconnecting...
04-11 21:13:56.715: I/ChromiumHTTPDataSource(115): connect to 
http://www.streamsideplayer.com/m=2964 @196608
04-11 21:13:56.775: E/msm8660.hwcomposer(112): invalid gralloc handle (at 
0x64a4c8)
04-11 21:13:57.666: D/WifiStateMachine(231): BroadcastRSSIForIMS, newrssi 
=-80 , oldRssi= -77
04-11 21:13:57.776: E/msm8660.hwcomposer(112): invalid gralloc handle (at 
0x64a4c8)
04-11 21:13:57.796: I/NuCachedSource2(115): retrying a previously failed 
read succeeded.
04-11 21:13:58.047: D/MediaPlayer(31723): pause() in
04-11 21:13:58.047: I/AwesomePlayer(115): Lock success within 0 us
04-11 21:13:58.047: D/MediaPlayer(31723): pause() out


Thank you !!!

-- 
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] Custom clickable component

2012-04-12 Thread derHarri
Hallo,

at first i want to indruduce what i want to do:

I want to create a custom view element which i can handle input events
from.
Custom view component should be a real custom figure i draw on myself,
no image file.
Lets say e.g a snake.

How i tried to do this:

1.) View class ClickableShape
I created a class ClickableShape inheriting from View.
I overrided the method onDraw where i draw my "snake" figure.

2.) Input event handling
I also overrided the method onTouchEvent of ClickableShape.
But now all "klicks" on any place on canvas is recognised.
What i want to do is just capture the events on the figure itself.
Lets say on the snakes body.

Is that possible with standard mechnism?

Maybe i have to get the click coordinates and the coordinates of the
snake body itself and check whether the click coordinate is inside?
If so, is there a known way to get the neccessary information? (Snake
as coordinate list?)

Or am i totally on the wrong way? Maybe i took the wrong approach?

Kind regards
Harri E.

-- 
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] Bluetooth Android SPP, send commands in series to device?

2012-04-12 Thread pcarnut


I'm working with this elegantly written piece of code from Matt Bell's 
blog, located here: 
http://bellcode.wordpress.com/2012/01/02/android-and-arduino-bluetooth-communication/

source located here: 
http://project-greengiant.googlecode.com/svn/trunk/Blog/Android%20Arduino%20Bluetooth

Without chopping up the code too badly, I'm trying to fit in a way to 
elegantly send commands serially to the attached modem, each time waiting 
until a complete response is received before sending the next command. (I 
know this is not the Android way of doing things, and I could handle this 
in a heartbeat using other languages).

Here's what I'm working with so far (you'll see I haven't made it very far, 
in fact this code works fantastically up until the point where I need to 
wait for the first command to complete before sending more commands). I 
omitted as much code as I could that doesn't pertain to this question. Or 
perhaps someone knows of a better example than the above source which 
already has this solved.  Thanks in advance.

> public class BluetoothTest extends Activity
> {
> TextView myLabel;
> BluetoothAdapter mBluetoothAdapter;
> BluetoothSocket mmSocket;
> BluetoothDevice mmDevice;
> OutputStream mmOutputStream;
> InputStream mmInputStream;
> int counter;
> Thread workerThread;
> byte[] readBuffer;
> int readBufferPosition;
> volatile boolean stopWorker;
>
> @Override
> public void onCreate(Bundle savedInstanceState)
> {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.main);
>
> myLabel = (TextView)findViewById(R.id.label);
>
> try 
> {
> findBT();
> openBT();
> sendData("enable");
>   //insert some code to wait for response before 
> sending (or handle that in the above line, or otherwise)
> sendData("password");
>   //insert some code to wait for response before 
> sending (or handle that in the above line, or otherwise)
> sendData("conf t");
>   //insert some code to wait for response before 
> sending (or handle that in the above line, or otherwise)
> sendData("interface eth0");
>   //insert some code to wait for response before 
> sending (or handle that in the above line, or otherwise)
>   //etc...etc...etc...
> }
> catch (IOException ex) { }
>
> }
>
> }
>
> void openBT() throws IOException
> {
> UUID uuid = 
> UUID.fromString("1101--1000-8000-00805f9b34fb"); //Standard 
> SerialPortService ID
> mmSocket = mmDevice.createRfcommSocketToServiceRecord(uuid);  
>   
> mmSocket.connect();
> mmOutputStream = mmSocket.getOutputStream();
> mmInputStream = mmSocket.getInputStream();
> beginListenForData();
> myLabel.append("Bluetooth Opened" + "\n");
> }
>
> void beginListenForData()
> {
> final Handler handler = new Handler(); 
> final byte delimiter = 62; //This is the ASCII code for a > 
> character indicating all data received
>
> stopWorker = false;
> readBufferPosition = 0;
> readBuffer = new byte[1024];  
>
> workerThread = new Thread(new Runnable()
> {
> public void run()
> {
>
> while(!Thread.currentThread().isInterrupted() && !stopWorker) 
>
>{
> try 
> {
> int bytesAvailable = mmInputStream.available();   
>  
> if(bytesAvailable > 0)
> {
> byte[] packetBytes = new 
> byte[bytesAvailable];
> mmInputStream.read(packetBytes);
> for(int i=0;i {
> byte b = packetBytes[i];
> 

[android-developers] remote site converted to android gallery

2012-04-12 Thread droopie
i have a personal website and was wondering how i could take the
images from my website to strip out all the websites text and display
the thumbnails only and making them clickable to open the full sized
image? i know a bunch of apps on the market can do this for like
reddit's funny pictures which is similar to what i want for my
personal site but i cant find an example code. easiest way i can
explain it is reddit has pages of thumbnails with clickable images to
open them in full size. the app strips everything out leaving only the
thumbnails in a gallery style view of thumbnails in rows and columns.
when clicked they open in full size. this is an easy way to only
manage the online pc website and changes are updated on the android
app without having to compile a new apk each time. thanks in advance
for those who have read this and those who reply.

-- 
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] hide recent app list / restart own app when others start ? kids lock

2012-04-12 Thread coersum
Hi there,

I decided to make an app for my daughters "abc, 123" in french because I 
couldn't find any that I liked
I have it almost done, now I am trying to secure my tablet/wife's tablet 
and phones when she is using the app (oldest is 2). One of the main reason 
why I don't like most of them is the lack of lock system against her 
curiosity,

I have made my app be the home default (unlock-able through option so I can 
switch back easily).

My problem: how to stop them from launching other apps from 
the long-press Home button (or popup list in android 3.x, 4.x).

I tried to restart my main activity in onStop(), but doesn't work. I know 
there are a lot of controversy on the subject but would love to find a 
solution. 

I know quite a few apps out there "blink" for a second when pressing on a 
different app on the recent list so I know it is possible but I can't 
figure how they do it :( I thought that was a restart kind of thing, I read 
about people reading logs to see when a new app is started etc... and with 
all the controversy on the subject I thought maybe someone had an idea for 
me.

Any help is greatly appreciated.
Thank you.

-- 
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: GridLayout Text Clipping using Support Library

2012-04-12 Thread Dave Rozsnyai
Same here. GridLayout library hasn't been user friendly. The
documentation doesn't make any note of the fact that you need to use
your own namespace for columnCount if you are targeting 4.0 and now
this... I would advise people to use something else unless then really
need the grid.

On Apr 10, 9:55 am, Scott Olcott  wrote:
> This is happening on Gingerbread and ICS.  When will the source for the
> support library GridLayout be available in AOSP?  Currently there is no way
> to debug what is happening because there is no source available.
>
>
>
>
>
>
>
> On Monday, April 9, 2012 11:28:46 AM UTC-6, Romain Guy (Google) wrote:
>
> > You set the width of GridLayout to "wrap_content" so it will extend as
> > far as its content can go.
>
> > On Mon, Apr 9, 2012 at 10:24 AM, Scott Olcott  wrote:
> > > I am using the GridLayout that is in r7 of the support library.  I am
> > having
> > > an issue with text being clipped at the edge of the screen instead of
> > being
> > > wrapped.  Here is a layout that reproduces the issue.
>
> > >  > > xmlns:android="http://schemas.android.com/apk/res/android";
> > >  android:layout_width="wrap_content"
> > >  android:layout_height="wrap_content" >
>
> > >      > >       android:minWidth="100dp"
> > >       android:text="test123" />
>
> > >      > >         android:text="test test test test tes test tes test test test
> > test
> > > test test test" />
> > > 
>
> > > When using the ICS version of GridLayout I can just add
> > > android:layout_width="0dp" and android:layout_gravity="fill_horizontal"
> > to
> > > the TextView and it wraps the text instead clipping.  However when I try
> > > that using the support library GridView the whole TextView disappears.  I
> > > attached a screenshot from the Graphic Layout view in Eclipse that
> > > demonstrates what is happening.  It looks like the second TextView is not
> > > inheriting it's size from it's container but is the same width as the
> > > device.
>
> > > Is there a different way to get this to work correctly?
>
> > > --
> > > 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
>
> > --
> > Romain Guy
> > Android framework engineer
> > romain...@android.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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Play maket and reviews

2012-04-12 Thread Mady Zaid
i like that very much

2012/4/11 Kostya Vasilyev 

> It seems like this particular user doesn't know about the 15 minute refund
> window, so his order is still valid, and that's how he was able to post the
> comment.
>
> Now, looking at this more broadly -- yes, this and more happens.
>
> As time goes on and your app gets more downloads, you will see comments
> stating that your app:
>
> - doesn't work on device X, where X is your primary development device
> - broke the device's phone call function / battery / GPS
> - erased some valuable data in another application
> - is malware because of permission Z, the need for which you carefully
> explained in the app's description
> - causes early hair loss in men and weight gain in women
>
> You will get some emails from users asking you to explain if a particular
> comment of this kind is true or not.
>
> Of those who won't email you, some will figure out on their own which
> comments have no value, some others will not care and just not install your
> app.
>
> And no, there is no way to respond to a comment, to contact the user who
> wrote it, or to cross-reference comments to orders.
>
> This can cause you a lot of stress and unhappiness.
>
> It did for me, and so at some point I chose to not read any more Market
> comments for my apps, ever.
>
> Those users who really wish to contact me can do so over email, and I
> always make the effort to provide good answers.
>
> The rest are posting comments for each other to read, and since there is
> no way for me to participate in those discussions, I don't.
>
> -- K
>
> 11.04.2012 13:08, Giuseppe написал:
>
>  I have an user that bought our app, didn't understand how to use, then
>> wrote a bad review and ask for money back via device.
>>
>> Result:
>>
>> app not sold
>> bad review from incapable user
>>
>> Google must not allow people that delete orders to write reviews, there
>> are many people in the world that in 15 minutes want to understand what a
>> group of developers wrote in two years.
>>
>> Any comment?
>> --
>> 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
>>
>
> --
> Kostya Vasilyev
>
>
> --
> 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 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 record and Save to FLAC file format

2012-04-12 Thread Syarif Hidayatullah
Hi Android developer,

I want to be able to record a sound in android and save it as FLAC Audio 
Format.
is there any example source code?

tnx.
BR/Syarif

-- 
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] Stretching Video to full screen in VideoView

2012-04-12 Thread raja chidambaram
Dear All,

I am using Android 2.3.4 and I am using VideoView to play an http
mpeg2 video link.The video is playing fine but only gets displayed in
default video resolution 720x576(4:3 aspect).But I have Android based
STB box which is 1080P resolution. I want to scale the movie to full
1080P resolution and  I tried over-riding "OnMeasure" method and tried
all possible ways but video is only getting displayed in 720x576. Is
there any way to stretch the videoview to display to fullscreen.

Sample of my layout.

http://schemas.android.com/apk/res/android";
 android:layout_width="fill_parent"
android:layout_height="fill_parent">









-- 
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] XML layout and Views

2012-04-12 Thread yyyogev
Hi
When I edit the graphic layout, the editor automaticly add 
setcontentview(r.layout.main). and I know that if I want to displays Views 
that I created I should use setcontentview(MainView).

How do I display both?

-- 
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-sdk-linux/tools/lib/proguard.cfg (No such file or directory)

2012-04-12 Thread zousey
I have installed freshed ADT 18.0.0
and SDK Tools, r18 on  Eclipse :Version: Indigo Service Release 2
Build id: 20120216-1857
on ubuntu 11.10 64bits.
but when I try to create App Engine Connected Android project I
get the following error
/home/test/DEVS2/android-sdk-linux/tools/lib/proguard.cfg (No such
file or directory)

-- 
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] Clarification needed: Broadcast intent and paused activity

2012-04-12 Thread Numan Salati
If a service sends a broadcast intent to an activity but the activity is in 
paused/stopped state (i.e not foreground) then what happens to the 
broadcast intent? 

is it lost? or does the system deliver it when the activity regains focus?

i couldn't find anything in the official docs on this.

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

[android-developers] Video capture

2012-04-12 Thread Vishwas Mukund
Does any one know how to get RGB frame format information when videos are
captured??  I just can't find the apis

-- 
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] Local Bound Service vs a static Reference

2012-04-12 Thread Lindsay Mathieson
Been going through the Local Bound Servcie example here:

  http://developer.android.com/guide/topics/fundamentals/bound-services.html


And kinda wondering whats the point - "public IBinder onBind(Intent arg0)"
is essentially being used to retrun a reference to the service class so its
methods can be called directly by the activity. Why not just store a
reference to the Service in a static global and have the Activity call that
directly - it would seem much easier.

e,g

public class MainService extends Service
{

public MainService()
{
}
}
-- 
Lindsay

-- 
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] Call events from an iframed page

2012-04-12 Thread Ruben Royo
Hello,

I want to create an application that has an iframe containing a
webpage. Also, this application would have a menu that calls events of
the iframed webpage.

For example, a webpage with a login functionality. The menu should
have the options to enter user and password and then call the event of
the "click login button" of the iframed webpage.

Is that something doable? If so, how could I do it? I am new in
Android :)

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


[android-developers] sdk doesnt installl

2012-04-12 Thread delobb
Unexpected Error installing 'SDK Platform Android 4.0.3, API 15,
revision 3': org.eclipse.swt.SWTException: Widget is disposed
this is the message i always get in the log ..why doesnt it install??
can anyone help me..i would be grateful

-- 
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: Local Bound Service vs a static Reference

2012-04-12 Thread Lindsay Mathieson
Dammit, premature sending :)


e,g

public class MainService extends Service
{
static public MainService mMainService = null;


public MainService()

{
   mMainService = this;

}

}




On 11 April 2012 17:59, Lindsay Mathieson wrote:

> Been going through the Local Bound Servcie example here:
>
>
> http://developer.android.com/guide/topics/fundamentals/bound-services.html
>
>
> And kinda wondering whats the point - "public IBinder onBind(Intent arg0)"
> is essentially being used to retrun a reference to the service class so its
> methods can be called directly by the activity. Why not just store a
> reference to the Service in a static global and have the Activity call that
> directly - it would seem much easier.
>
> e,g
>
> public class MainService extends Service
> {
>
> public MainService()
>  {
> }
> }
> --
> Lindsay
>



-- 
Lindsay

-- 
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] What Kind of statistics do I get for my apps in play store?

2012-04-12 Thread tobias -AppPlusMobile
As newbie, I'd like to understand what details about downloads, where
they have proceeded, user data like age, gender and so forth I might
get.
Is there a web page about that out there in internet?

Cheers and thanks,
Tobias appplusmobile.info

-- 
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] My item in listview cannot be selected

2012-04-12 Thread Maxim Belskiy
hi,
I have next problem:
My ListView does not want to handle clicks. What could be the problem?

Activity class:

package com.ilsy.android.activity;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.AdapterView.OnItemSelectedListener;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.SimpleCursorAdapter;
import android.widget.TextView;

import com.ilsy.android.R;
import com.ilsy.android.db.DBHelper;
import com.ilsy.android.db.TableItem;

public class List extends Activity implements OnItemClickListener,
OnItemSelectedListener {
DBHelper dbHelper;
ListView list;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
list = (ListView) findViewById(R.id.listItems);
list.setClickable(true);
list.setOnItemClickListener(this);
list.setOnItemSelectedListener(this);
}

@Override
public void onStart() {
super.onStart();
dbHelper = new DBHelper(this);
SQLiteDatabase db = dbHelper.getWritableDatabase();
Cursor c = db.query(TableItem.ITEM_TABLE_NAME, null,
null, null, null, null, null);
String[] from = new String[] {TableItem.ITEM_FIELD_NAME,
TableItem.ITEM_FIELD_DESCRIPTION, 
TableItem.ITEM_FIELD_TYPE,
TableItem.ITEM_FIELD_UNITS_AVAILABLE,
TableItem.ITEM_FIELD_UNITS_PER_SM};
int[] to = new int[] {R.id.nameTextView,
R.id.descriptionTextView, R.id.typeTextView,
R.id.hideUnitsAvailableTextView,
R.id.hideUnitsPerSquareMeterTextView};
SimpleCursorAdapter scAdapter = new SimpleCursorAdapter(this,
R.layout.cell, c, from, to);
list.setAdapter(scAdapter);
dbHelper.close();
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
/* ... */
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
/* ... */
}

public void clickCalc(View v) {
/* ... */
}

@Override
public void onItemSelected(AdapterView parent, View view, int
position,
long id) {
Log.d("test", "itemSelected: position = " + position + ", id = "
+ id);
}

@Override
public void onNothingSelected(AdapterView parent) {
Log.d("test", "itemSelect: nothing");
}

@Override
public void onItemClick(AdapterView parent, View view, int
position,
long id) {
Log.d("test", "itemClick: position = " + position + ", id = "
+ id);
}
}

-- 
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] sipdemo not running on gingerbread 2.3

2012-04-12 Thread sam
sipdemo is running perfectly on emulator but when i run on gingerbread
2.3 it doesnt show any thing , how to solve dis problem

-- 
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] App will not run after SDK and ADT plugin update

2012-04-12 Thread Raghu Kasavajhula
Hi,

Library management has changed, moved from "lib" to "libs".

I removed all libraries from the build path except google api and android
dependecies.

Move your jars to "lib".

Clean your project.

Hope this helps.
On Apr 11, 2012 8:28 PM, "Ash"  wrote:

> Hi All,
>
> This morning I updated the Android SDK tools to revision 18 and
> Android  SDK platform-tools to revision 11. Once the update was
> complete, eclipse started complaining that ADT needs to be updated to
> version 18 (installed version was 16). So I updated ADT aswell.
>
> After this updated, I find that when I now try to load my app (right
> click project -> run as -> android application), I seem to getting
> errors which stops my app from running. My app is using a 3rd party
> library.so and my eclipse project is using a .jar file which contains
> all the function prototypes.
>
> Notes:
> 1. I am using a rooted device.
> 2. The library.so and .jar file has not changed or modified.
> 3. My application code has not changed.
> 4. I have a old version of my app.apk which was build using ADT
> version 16. When I install that using adb install, my application runs
> as normal.
> 5. I am sure this problem is related to ADT - as confirmed by step 3.
>
> The errors I see in logcat is that the class/functions are not found
> in the library - however, the library is loaded successfully.
>
> Has anyone had any issue after updating SDK and ADT plugin?
>
> Any advice will be appreciated.
>
> 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 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] Have you ever created this app?

2012-04-12 Thread Raja Revanth
I would like to know if any of you have created a App using
accelerometer and orientation sensor to for drunk driving detection.
It checks for the vehicle movement and the turning radius, pitch yaw
and roll and calculates a few variables such as lateral and
longitudinal acceleration and so on and later compares them with a
threshold values and sends an sms if the detected values have crossed
the threshold values after multiple matching patterns.

-- 
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] web link to mp3 file to open in builtin MediaPlayer

2012-04-12 Thread Yahav
Hello guys,

i'm looking for a method to create a web link to mp3 file which will open 
in the built in mediaplayer and will allow the downloader to continue 
surfing while the file is playing.
is there any way achieving this?

another thing is, this is actually a streaming mp3, is there any playlist 
file format that the default mediaplayer will recognize? 

Regards.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To 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] 'Google Play' was telling him that My Android application is not compatible with his phone, HTC Desire

2012-04-12 Thread Wayne Smith
I had publish one android application in Google Play and that
application has successfully come in Google play but one of my client
want to download  this application on this HTC Desire (A8183)  then
'Google Play' was telling him that this application  is not compatible
with his phone, HTC Desire (A8183). According to Developer Account ,
Before  publishing this application i checked that list of compatible
devices which Google play provided  HTC Desire is there.

Please provide solution of this problem ...

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


Re: [android-developers] How to import a jar that uses other jar to work?

2012-04-12 Thread deb-account

On 11/04/12 04:17, rafuru wrote:

Hi :)

Recently i updated the ADT plugin for eclipse and that gives me problems
with the library references, so i created a "libs" folder where i put the
jars needed.

But, when i run my application i get a ClassdefnotfoundError , saying that
one class that is imported from a jar on my own jar imported is not found.

It's some like..

-org.rNetworks.myApp
|
|-lib
|---myLib.jar< This is my library on a jar (non executable)
and...
|--otherjars.jar< Need this other jars to work
   

Did you rename "lib" ?


The "otherjars" have been included on the build path of the library project
and included when i do the export. ... But i still having that error.

A solution that someone said me is "copy the  to the Android
Project" but that duplicates the size of my application (from 3-4 MB to 11
- 12 MB) and constantly i'm getting errors about "inner class" with a
Failed to convert to Dalvik format error.

Someone can help me with this huge problem?

   

You may try this:
http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17



   


--
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] NDK r7b: crtbegin_so.o: No such file

2012-04-12 Thread David Turner
On Tue, Apr 3, 2012 at 6:29 AM, greno  wrote:

> I have this linking problem with ndk r7b:
>
> ...arm-linux-androideabi/bin/ld: crtbegin_so.o: No such file: No such
> file or directory
>
> I have not found a solution yet.  Any ideas?
>
>
You don't give any explanation about how you're trying to compile/link your
program.

This "error" typically means you're invoking the toolchain binaries
directly (e.g. calling
$NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/$SYSTEM/bin/arm-linux-androideabi-gcc/g++/ld)
without specifying an appropriate sysroot. I.e. you're not using the NDK
build system, not a standalone toolchain that was setup with
make-standalone-toolchain.sh.

Read the $NDK/docs/STANDALONE-TOOLCHAIN.html documentation, it will explain
you how you can solve your issues.


> --
> 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 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] http post to ASP form, not submitting

2012-04-12 Thread Farhan Tariq
If anyone here is interested in answering, they may answer at :
http://stackoverflow.com/questions/10120280/http-post-not-going-through-i-dont-think-i-am-missing-a-parameter


On Thu, Apr 12, 2012 at 8:49 AM, Farhan Tariq  wrote:

> I did, I guess it is the problem with the request I am making and not with
> android httpclient.
>
>
> On Thu, Apr 12, 2012 at 8:41 AM, Kumar Bibek  wrote:
>
>> Try sending this request through your browser, and see what happens. Or
>> get some server logs.
>>
>> *Thanks and Regards,
>> Kumar Bibek*
>> *
>> http://techdroid.kbeanie.com
>> http://www.kbeanie.com*
>>
>>
>>
>> On Thu, Apr 12, 2012 at 9:09 AM, Farhan Tariq wrote:
>>
>>>
>>>
>>> httpPost.setHeader("Content-Type", "application/x-www-form-urlencoded");
>>>
>>> Did not have any effect...
>>>
>>> On Thu, Apr 12, 2012 at 8:28 AM, Farhan Tariq wrote:
>>>
 I thought it had something to do with android's http classes. If I am
 wrong, I am sorry about that, but any help is welcome though.


 On Thu, Apr 12, 2012 at 8:19 AM, Nikolay Elenkov <
 nikolay.elen...@gmail.com> wrote:

> On Thu, Apr 12, 2012 at 12:14 PM, Farhan Tariq 
> wrote:
> > I get response code 200, response OK. But the html that gets
> generated has
> > the form itself. I think I am making the correct post request, but
> can't
> > figure out why it is not going through. Could it possibly have to do
> with
> > the form page being in ASP ?
> >
>
> First, this has nothing to do with Android.
>
> If you get an error, you will most probably be redirected to the same
> form.
> Make sure your input is correct, test with a browser first. Dump the
> response, look for errors, etc.
>
> --
> 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 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 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 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] Displaying Image

2012-04-12 Thread Ambika Kulkarni
Hello Folks,

I am a beginner in Android platform. I am reading the content and
displaying it. With this I want to display an image. Top image should
come and followed by the text. I am done with reading the content from
a file and displaying it and also the image. But the image is taking
the full screen, I want to display a small image and not as a
background image.

Here is my layout and class file.
SMSMessage.java

package com.example.message;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

import android.app.ActionBar.LayoutParams;
import android.app.Activity;
import android.os.Bundle;

import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;

public class SMSMessage extends Activity {
/** Called when the activity is first created. */
 private ImageView imageView;
 private LinearLayout  sampleLayout;

public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
TextView tv1 = new TextView(this);

try {
InputStream is = this.getResources().openRawResource(
R.raw.my_base_data);

// i have kept my_base_data.txt in the raw folder
if (is.available() > 0) // check if file exist
{
// Read text from file
StringBuilder text = new StringBuilder();
BufferedReader reader = new BufferedReader(
new InputStreamReader(is));
String line;
while ((line = reader.readLine()) != null) {
text.append(line);

text.append('\n');

}


tv1.setBackgroundResource(R.drawable.flora);
tv1.setText(text.toString());
//setContentView(imageView);
setContentView(tv1);
} else {

Toast.makeText(
this.getApplicationContext(),
"File not found. Please upload 
it!!!",
Toast.LENGTH_LONG).show();
}
}
catch (IOException e) {
// You'll need to add proper error handling here
}
}
}

main.xml

http://schemas.android.com/apk/res/
android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" android:id="@+id/samplelayout">

 




Please help to resolve this.

ImageText

In this format I am looking for

Thanks all
Ambika

-- 
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: is Calendar class designed by singleton pattern?

2012-04-12 Thread Ack
Hi,
I got the answer at another group in few hours ago.
Calendar class is designed on factory pattern...

On 4月11日, 下午11時20分, Ack  wrote:
> coz call getInstance() static method is the only way to get calendar's
> instance.
>
> but the constructor of Calendar  is not "private",  so we can create
> 2+ calendar instances??
>
> It's seems not singleton pattern.
>
> ref:http://developer.android.com/reference/java/util/Calendar.html

-- 
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] Help ! Need to fix an Error

2012-04-12 Thread Jake Lin
First, where is the "newsaying" TextView
Then, you didn't add Button ClickListener

On 11 April 2012 21:49, Clevin Dsouza  wrote:

> package com.example.rand;
> import com.example.rand.R;
> import android.app.Activity;
> import android.os.Bundle;
> import android.view.View;
> import android.widget.Button;
> import android.widget.TextView;
>
> public class NewSaying extends Activity
> {
>private Button NewSaying;
>
>public void onCreate(Bundle savedInstanceState) {
>super.onCreate(savedInstanceState);
>setContentView(R.layout.main);
>
>TextView mInfoTextView = (TextView)
> findViewById(R.id.newsaying);
>
>   }
>
>private class ButtonclickListener implements View.onclickListener
>{
>int location;
>
>public ButtonclickListener(int location)
>{
> this.location = location;
>}
>
>public void onclick(View view)
>{
>TextView mInfoTextView = null;
>mInfoTextView.setText(R.string.saying1);
>
>}
> }
> }
>
>
> No errors while compiling but when i run it i dont get the output. I
> have written these codes to build an app that generates random strings
> on the press of  a button.
>
> the string.xml
>
> 
> 
>Hello World, AndroidRandomSayingsActivity! string>
>AndroidRandomSayings
>A change is as good as a rest
>A friend in need is a friend indeed string>
>A miss is as good as a mile
>A penny saved is a penny earned
>A word to the wise is enough
>Actions speak louder than words
> 
>
> main.xml
> 
> http://schemas.android.com/apk/res/
> android"
>android:orientation="vertical"
>android:layout_width="fill_parent"
>android:layout_height="fill_parent"
>>
>
>  android:layout_height="wrap_content"
> android:layout_alignParentTop="true"
> android:layout_alignParentLeft="true" android:layout_marginTop="55dp"
> android:id="@+id/textView1">
>
>android:layout_width="fill_parent"
>  android:layout_height="wrap_content"
>  android:text="Click button to generate a random
> saying!:" />
>
>  android:layout_width="150px"
> android:layout_height="70px"
> android:textSize="15px"
> android:textColor="#0066CC"
> android:id="@+id/one"
> android:layout_alignParentBottom="true"
> android:layout_centerHorizontal="true"
> android:layout_marginBottom="134dp">
>  android:layout_width="fill_parent"
> android:layout_height="wrap_content" android:id="@+id/label2"
> android:layout_below="@+id/textView1"
> android:layout_alignParentLeft="true">
>
>
> 
>
> --
> 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




-- 
The quiter you become,the more you are able to hear.

-- 
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] Help ! Need to fix an Error

2012-04-12 Thread Jake Lin
public class TestActivity extends Activity {
private Button NewSaying;
private TextView mInfoTextView;

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

mInfoTextView = (TextView) findViewById(R.id.newsaying);
NewSaying = (Button)findViewById(R.id.one);
NewSaying.setOnClickListener(new ButtonclickListener());

}

private class ButtonclickListener implements OnClickListener {

public void onClick(View v) {
mInfoTextView.setText(R.string.saying1);
}
 }
}

On 12 April 2012 18:00, Jake Lin  wrote:

> First, where is the "newsaying" TextView
> Then, you didn't add Button ClickListener
>
>
> On 11 April 2012 21:49, Clevin Dsouza  wrote:
>
>> package com.example.rand;
>> import com.example.rand.R;
>> import android.app.Activity;
>> import android.os.Bundle;
>> import android.view.View;
>> import android.widget.Button;
>> import android.widget.TextView;
>>
>> public class NewSaying extends Activity
>> {
>>private Button NewSaying;
>>
>>public void onCreate(Bundle savedInstanceState) {
>>super.onCreate(savedInstanceState);
>>setContentView(R.layout.main);
>>
>>TextView mInfoTextView = (TextView)
>> findViewById(R.id.newsaying);
>>
>>   }
>>
>>private class ButtonclickListener implements View.onclickListener
>>{
>>int location;
>>
>>public ButtonclickListener(int location)
>>{
>> this.location = location;
>>}
>>
>>public void onclick(View view)
>>{
>>TextView mInfoTextView = null;
>>mInfoTextView.setText(R.string.saying1);
>>
>>}
>> }
>> }
>>
>>
>> No errors while compiling but when i run it i dont get the output. I
>> have written these codes to build an app that generates random strings
>> on the press of  a button.
>>
>> the string.xml
>>
>> 
>> 
>>Hello World, AndroidRandomSayingsActivity!> string>
>>AndroidRandomSayings
>>A change is as good as a rest
>>A friend in need is a friend indeed> string>
>>A miss is as good as a mile
>>A penny saved is a penny earned
>>A word to the wise is enough
>>Actions speak louder than words
>> 
>>
>> main.xml
>> 
>> http://schemas.android.com/apk/res/
>> android"
>>android:orientation="vertical"
>>android:layout_width="fill_parent"
>>android:layout_height="fill_parent"
>>>
>>
>> > android:layout_height="wrap_content"
>> android:layout_alignParentTop="true"
>> android:layout_alignParentLeft="true" android:layout_marginTop="55dp"
>> android:id="@+id/textView1">
>>
>>  >  android:layout_width="fill_parent"
>>  android:layout_height="wrap_content"
>>  android:text="Click button to generate a random
>> saying!:" />
>>
>> > android:layout_width="150px"
>> android:layout_height="70px"
>> android:textSize="15px"
>> android:textColor="#0066CC"
>> android:id="@+id/one"
>> android:layout_alignParentBottom="true"
>> android:layout_centerHorizontal="true"
>> android:layout_marginBottom="134dp">
>> > android:layout_width="fill_parent"
>> android:layout_height="wrap_content" android:id="@+id/label2"
>> android:layout_below="@+id/textView1"
>> android:layout_alignParentLeft="true">
>>
>>
>> 
>>
>> --
>> 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
>
>
>
>
> --
> The quiter you become,the more you are able to hear.
>



-- 
The quiter you become,the more you are able to hear.

-- 
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: Automatic silent update for corporative app

2012-04-12 Thread lbendlin
So how come that programs are updated automatically on my phone when I 
check the "Allow automatic update" box? All I get is a notification in the 
status bar that the app has been updated. No user interaction required 
(apart from the optional dismissal of the status message).
 
One thing I don't know is how this works when the app in question is 
currently running. But if that is an issue then my proposal with the 
secondary, monitor app would still be valid.
 
 

On Thursday, April 12, 2012 3:21:42 AM UTC-4, AlexD wrote:

> > There's a user interaction required. Installing an APK is done by 
> > means of an activity, requiring user interaction. 
>
> Exactly! And this is the problem. We've trying to find 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] send email with velocity template in android

2012-04-12 Thread Android Developer
Hi All,
How to send email from android with velocity template. I tried using with
apache velocity jar but it seems android runtime excludes these velocity
class

E/AndroidRuntime(8721): java.lang.VerifyError: common/util/VelocityUtil

How to i use velocity template in android to send a mail.

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

[android-developers] sending a text file from an android phone to a system through wifi

2012-04-12 Thread bhuvan
Hey guys

As part of my project i have to send a text file from an android
mobile to a system (with some i.p.addrress) , I mean my mobile and my
system are both connected to some wifi, what should be my java code to
send a text file from my mobile which is connected to wifi to a system
(with some i.p.address) which is also connected to wifi. Basically i
want the code to send the data from a mobile to a system through wifi

-- 
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: Automatic silent update for corporative app

2012-04-12 Thread Nikolay Elenkov
On Thu, Apr 12, 2012 at 7:33 PM, lbendlin  wrote:
> So how come that programs are updated automatically on my phone when I check
> the "Allow automatic update" box? All I get is a notification in the status
> bar that the app has been updated. No user interaction required (apart from
> the optional dismissal of the status message).
>

Those updates are handled by the Market/Play app which has the necessary
system permissions to silently install/update apps.

-- 
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] http post to ASP form, not submitting

2012-04-12 Thread lbendlin
Most likely you are not setting the boundary correctly. As others were 
saying, examine the output and compare with other outputs that are known to 
work.

On Thursday, April 12, 2012 4:50:38 AM UTC-4, Farhan wrote:

> If anyone here is interested in answering, they may answer at :
>
> http://stackoverflow.com/questions/10120280/http-post-not-going-through-i-dont-think-i-am-missing-a-parameter
>  
>
> On Thu, Apr 12, 2012 at 8:49 AM, Farhan Tariq wrote:
>
>> I did, I guess it is the problem with the request I am making and not 
>> with android httpclient.
>>
>>
>> On Thu, Apr 12, 2012 at 8:41 AM, Kumar Bibek wrote:
>>
>>> Try sending this request through your browser, and see what happens. Or 
>>> get some server logs.
>>>
>>> *Thanks and Regards,
>>> Kumar Bibek*
>>> *
>>> http://techdroid.kbeanie.com
>>> http://www.kbeanie.com*
>>>
>>>
>>>
>>> On Thu, Apr 12, 2012 at 9:09 AM, Farhan Tariq wrote:
>>>
 

 httpPost.setHeader("Content-Type", "application/x-www-form-urlencoded");

 Did not have any effect...

 On Thu, Apr 12, 2012 at 8:28 AM, Farhan Tariq wrote:

> I thought it had something to do with android's http classes. If I am 
> wrong, I am sorry about that, but any help is welcome though.
>
>
> On Thu, Apr 12, 2012 at 8:19 AM, Nikolay Elenkov <
> nikolay.elen...@gmail.com> wrote:
>
>> On Thu, Apr 12, 2012 at 12:14 PM, Farhan Tariq  
>> wrote:
>> > I get response code 200, response OK. But the html that gets 
>> generated has
>> > the form itself. I think I am making the correct post request, but 
>> can't
>> > figure out why it is not going through. Could it possibly have to 
>> do with
>> > the form page being in ASP ?
>> >
>>
>> First, this has nothing to do with Android.
>>
>> If you get an error, you will most probably be redirected to the same 
>> form.
>> Make sure your input is correct, test with a browser first. Dump the
>> response, look for errors, etc.
>>
>> --
>> 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 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 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 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: Automatic silent update for corporative app

2012-04-12 Thread Kostya Vasilyev

Ah, but that something Market Google Play does.

This mechanism is not for third party use, in other words, the app has 
to have been originally installed with Market Google Play.


How about "adb install -r" over adb/WiFi? I understand it requires 
rooting, but that's a hell of a lot easier than creating a custom 
firmware build.


-- K

12.04.2012 14:33, lbendlin ???:
So how come that programs are updated automatically on my phone when I 
check the "Allow automatic update" box? All I get is a notification in 
the status bar that the app has been updated. No user interaction 
required (apart from the optional dismissal of the status message).
One thing I don't know is how this works when the app in question is 
currently running. But if that is an issue then my proposal with the 
secondary, monitor app would still be valid.


--
Kostya Vasilyev

--
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: Need help about Play Store banned application.

2012-04-12 Thread Tolriq
The full app was a full app, no donation ask or anything else. Buying the 
full app was the donation, and it's in the Google rules :(

12 days and still no answers from the two mails sended, this is really not 
serious for a big company like Google.

I mean you pay to publish, Google takes 30% of the sales, but they can ban 
what they want when they want without any support or explanation in 
reasonable delays ???

-- 
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] So urgent, need an example program please help! :(

2012-04-12 Thread james pruett
do a google search for "android sample code".
There are at least 30 sample programs that work with source code from
google.
Also, you might benefit from a tutorial like this:
http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/

-cellurl
--
[Speederaser] may be the best automotive accessory since the radar
detector
.

-- 
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] Disable USB Mass Storage or Protect SD Card folder

2012-04-12 Thread Mark Murphy
You cannot prevent it via the Android SDK. Presumably you could
prevent it via custom firmware, but that is not in-scope for this
list.

On Tue, Apr 10, 2012 at 12:06 PM, Julio Cesar Munoz
 wrote:
> Hello Android team,
>
> I'm developing an application for view movies in the airplanes. We
> need to assure that the movies files  will not be copied by the
> passengers when they plug the usb cable.
>
> Exists any way to prevent this in android, the device that we use is a
> Samsung Galaxy Tab 8.9
>
> Regards,
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer 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


Re: [android-developers] Re: What does the mediascanner do?

2012-04-12 Thread Mark Murphy
On Thu, Apr 12, 2012 at 1:13 AM, Nathan  wrote:
>> It is possible that if an app makes lots and lots and lots of
>> small files
> Umm - possibly guilty. But those files don't have media extensions.

MediaScanner scans all files, particularly on Android 3.0+.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer 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


Re: [android-developers] What Kind of statistics do I get for my apps in play store?

2012-04-12 Thread Raghav Sood
The market statistics are notoriously inaccurate. You would be better of
using Flurry or Google Analytics.

Raghav Sood
Sent from my Nexus S
On Apr 12, 2012 2:06 PM, "tobias -AppPlusMobile" <
tobias.diestelk...@googlemail.com> wrote:

> As newbie, I'd like to understand what details about downloads, where
> they have proceeded, user data like age, gender and so forth I might
> get.
> Is there a web page about that out there in internet?
>
> Cheers and thanks,
> Tobias appplusmobile.info
>
> --
> 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 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 transfer the URI reading permissions of an Intent

2012-04-12 Thread elDoudou
Hello.

I am facing the following problem. In my Android application, I have 
attached a special IntentFilter to an Activity named A, which enables this 
A Activity to be launched when clicking the Gmail application "Overview" 
button on an e-mail file attachment. The e-mail file MIME type is 
"application/xxx", and the A Activity IntentFilter states that it handles 
this MIME type. So far, when the end-user hits the Gmail file attachment 
"Overview" button, this properly opens the application A Activity, which is 
able to access to the attachment InputStream via the A Activity provided 
Intent.

Now, in certain cases, I need to delegate the handling of the e-mail 
attachment to another Activity B (which cannot support the same 
IntentFilter). On that purpose, from the A Activity which is launched when 
hitting the "Overview" button, I retrieve the original Intent A, create a 
new Intent B from scratch, add to this B Intent the original "Parcelable" A 
Intent via the "Intent.putExtra()" method. This new B Intent is created 
with the "new Intent(Context, Class)" constructor, by providing B.class 
as a second argument. With this new B Intent, I start the B Activity, but I 
face a runtime exception SecurityException (with a message of type "Uid " + 
callingUid + " does not have permission to uri " + uri), which states that 
B is not allowed to access to the data URI embedded in the original A 
Intent.

My understanding is that the Gmail probably uses a PendingIntent to start 
my application A Activity, but when trying to transmit the original Intent 
to the B Activity, Android detects that my application process is not 
allowed to access to the Gmail ContentProvider through the URI 
"content://gmail-ls/messages/toto%40gmail.com/19203/attachments/0.1/BEST/false" 
URI. I have attempted to bundle a PendingIntent from the A Activity into 
the B Intent, but when executing the PendingIntent in the B Activity, I get 
the same runtime security exception.

Is there a way to handle that delegation properly? Did I miss something on 
Android security architecture?

Thank you for your time and support. Regards,
Édouard

-- 
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: Automatic silent update for corporative app

2012-04-12 Thread AlexD
> How about "adb install -r" over adb/WiFi? I understand it requires
> rooting, but that's a hell of a lot easier than creating a custom
> firmware build.

Thank you very much! We'll try this. In another words there two ways:
1. Get root permissions. And than "adb install -r".
2. Ask vendor create firmware that will grant additional permissions
to our app.

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


Re: [android-developers] Re: Automatic silent update for corporative app

2012-04-12 Thread Kostya Vasilyev
12 апреля 2012 г. 16:32 пользователь AlexD написал:

> > How about "adb install -r" over adb/WiFi? I understand it requires
> > rooting, but that's a hell of a lot easier than creating a custom
> > firmware build.
>
> Thank you very much! We'll try this. In another words there two ways:
> 1. Get root permissions. And than "adb install -r".
>

"adb install" by itself does not require root, it just requires that
debugging support be enabled in the device's settings.

This is the same setting you need to turn on before you can use Android
development tools (including Eclipse), and "adb" is one of those.

http://developer.android.com/guide/developing/tools/adb.html

This works over a USB cable connection. If that's acceptable, and you can
e.g. have a technician walk around with a laptop connecting to devices with
a USB cable and performing updates, well, then you're set.

But, If I remember right, your devices are not easily accessible (mounted
high on a wall?) and that's why I brought up adb/WiFi.

Running adb over WiFi instead of USB requires that the device be rooted.

Other than that, it's the same adb included in the Android SDK, and you'd
perform upgrades the same way ("adb install -r ").

Heck, you'd even be able to do remote debugging on the actual devices.

http://forum.xda-developers.com/showthread.php?t=623828&page=3

Xda-developers is a great resource for this type of thing I'd suggest you
post your questions there.


2. Ask vendor create firmware that will grant additional permissions
> to our app.
>

Yes, if you can arrange for this firmware to grant your "supervisor"
application this permission:

http://developer.android.com/reference/android/Manifest.permission.html#INSTALL_PACKAGES

.. you should be able to install .apks without human involvement. I'd
suggest you do your own research about this, though, since my knowledge
about this is almost non-existent.

-- K



>
> Is it 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 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-sdk-linux/tools/lib/proguard.cfg (No such file or directory)

2012-04-12 Thread zousey
I have installed freshed ADT 18.0.0
and SDK Tools, r18 on  Eclipse :Version: Indigo Service Release 2
Build id: 20120216-1857
on ubuntu 11.10 64bits.
but when I try to create App Engine Connected Android project I
get the following error
/home/test/DEVS2/android-sdk-linux/tools/lib/proguard.cfg (No such
file or directory)

-- 
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] Problem with RemoteViews

2012-04-12 Thread TreKing
On Thu, Apr 12, 2012 at 2:56 AM, Giuseppe wrote:

> Hi TreKing,
> I need two different setting:
>
> 1) stop just the timer
> 2) continue from stop time
>

That doesn't really answer my question or give any more info, but OK.

-
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

Re: [android-developers] 'Google Play' was telling him that My Android application is not compatible with his phone, HTC Desire

2012-04-12 Thread Justin Anderson
https://support.google.com/googleplay/android-developer/?hl=en

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Apr 11, 2012 at 5:33 AM, Wayne Smith  wrote:

> I had publish one android application in Google Play and that
> application has successfully come in Google play but one of my client
> want to download  this application on this HTC Desire (A8183)  then
> 'Google Play' was telling him that this application  is not compatible
> with his phone, HTC Desire (A8183). According to Developer Account ,
> Before  publishing this application i checked that list of compatible
> devices which Google play provided  HTC Desire is there.
>
> Please provide solution of this problem ...
>
> 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 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: add a scan barcode button to my webpage

2012-04-12 Thread James Black
You will probably need to just upload the info to your server.
On Apr 12, 2012 4:30 AM, "akanit supatawaraporn"  wrote:

> I want to do like you. If so, please tell me.
>
> On Wednesday, February 17, 2010 8:59:02 PM UTC+7, JB wrote:
>>
>> Does anyone know how to add a scan barcode button to a webpage like
>> google has in the shopping page?  I am wanting to allow my clients
>> using a droid phone to press the button scan a barcode and post the
>> data back into my webpage.
>>
>> any suggestions?
>>
>> thanks JB
>>
>>  --
> 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 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] XML layout and Views

2012-04-12 Thread Justin Anderson
>
> When I edit the graphic layout, the editor automaticly add
> setcontentview(r.layout.main).
>
Ok...

and I know that if I want to displays Views that I created I should use
> setcontentview(MainView).
>
Ok...

How do I display both?
>
You don't... You choose one or the other.  They are overloaded methods that
do the same thing.

http://developer.android.com/reference/android/app/Activity.html#setContentView%28android.view.View%29
http://developer.android.com/reference/android/app/Activity.html#setContentView%28int%29

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Apr 11, 2012 at 2:46 PM, yyyogev  wrote:

> Hi
> When I edit the graphic layout, the editor automaticly add
> setcontentview(r.layout.main). and I know that if I want to displays Views
> that I created I should use setcontentview(MainView).
>
> How do I display both?
>
> --
> 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 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] android-sdk-linux/tools/lib/proguard.cfg (No such file or directory)

2012-04-12 Thread Justin Anderson
http://lmgtfy.com/?q=android+missing+proguard.cfg

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Apr 11, 2012 at 9:55 AM, zousey  wrote:

> I have installed freshed ADT 18.0.0
> and SDK Tools, r18 on  Eclipse :Version: Indigo Service Release 2
> Build id: 20120216-1857
> on ubuntu 11.10 64bits.
> but when I try to create App Engine Connected Android project I
> get the following error
> /home/test/DEVS2/android-sdk-linux/tools/lib/proguard.cfg (No such
> file or directory)
>
> --
> 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 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] Have you ever created this app?

2012-04-12 Thread James Black
It would gives lots of false positives.

For example, I am dodging a shredded semi truck or roadkill or potholes.

Unless it can see the road and discount those.
On Apr 12, 2012 4:35 AM, "Raja Revanth"  wrote:

> I would like to know if any of you have created a App using
> accelerometer and orientation sensor to for drunk driving detection.
> It checks for the vehicle movement and the turning radius, pitch yaw
> and roll and calculates a few variables such as lateral and
> longitudinal acceleration and so on and later compares them with a
> threshold values and sends an sms if the detected values have crossed
> the threshold values after multiple matching patterns.
>
> --
> 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 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] hide recent app list / restart own app when others start ? kids lock

2012-04-12 Thread Justin Anderson
>
> My problem: how to stop them from launching other apps from
> the long-press Home button (or popup list in android 3.x, 4.x).
>
There is no public API for this

I know quite a few apps out there "blink" for a second when pressing on a
> different app on the recent list so I know it is possible but I can't
> figure how they do it :(
>
Then they are using non-public API's to accomplish this, which is frowned
upon

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Apr 10, 2012 at 6:09 PM, coersum  wrote:

> My problem: how to stop them from launching other apps from
> the long-press Home button (or popup list in android 3.x, 4.x).
>

-- 
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: Traffic, MapView and Europe

2012-04-12 Thread Jakub Klos
I have the same problem and tried posted the question in several different 
forums. Got no response.
Somebody told me it is because of licensing issues with these countries. It 
sounds like nonsense to me because Google Maps on the web work fine and 
also the Google Maps app on Android works fine. The only thing that is not 
working is MapView.
Anyway, I stopped using MapView completely. This was the last drop for me :)

On Sunday, March 7, 2010 6:49:50 AM UTC+1, Didier Girard wrote:
>
> Since one week, my application stop to show traffic information on
> MapView in Europe.
> If I scroll the map to US I can see traffic information.
>
> Does anyone meet the same problem ?
>

-- 
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] tabbed layout and gravity

2012-04-12 Thread Justin Anderson
>
> i used this tutorial to make mai tabbed application.
>
What tutorial?

the main.xml is similar to the one on the site
>
What site?

but the tab uses top gravity, can anyone give me a hint of what i'm
> doing wrong?
>
For starters, you can give us all the needed info to answer your question...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Apr 10, 2012 at 8:32 AM, Sebastian  wrote:

> Hello all, just subsribed, i'n new, i used this tutorial to make mai
> tabbed application.
>  the problem is that in one of the tabs a want gravity set cu bottom,
> the main.xml is similar to the one on the site, and my tab layout is
> like this:
>
>   xmlns:android="http://schemas.android.com/apk/res/android";
>  android:orientation="vertical"
>  android:layout_width="match_parent"
>  android:layout_height="match_parent"
>  android:layout_gravity="bottom">
>
>  
>  android:padding="15dip"
>android:textSize="18dip"
>android:layout_width="fill_parent"
>android:layout_height="wrap_content" />
> 
>
> but the tab uses top gravity, can anyone give me a hint of what i'm
> doing wrong?
> 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 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] Custom clickable component

2012-04-12 Thread Justin Anderson
>
> Is that possible with standard mechnism?
>
What do you mean by "standard mechanism"?

Maybe i have to get the click coordinates and the coordinates of the
> snake body itself and check whether the click coordinate is inside?
>
That is likely what you will have to do

If so, is there a known way to get the neccessary information? (Snake
> as coordinate list?)
>
I guess that would depend on how you draw the snake...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Tue, Apr 10, 2012 at 8:15 AM, derHarri  wrote:

> Is that possible with standard mechnism?

-- 
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] Getting a captcha-image without redownloading.

2012-04-12 Thread Justin Anderson
>
> or maybe even find a way to OCR it
>
Good luck with that one... Captcha's are designed to not be readable by
OCR.  That would defeat the purpose.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Apr 11, 2012 at 8:02 PM, efi  wrote:

> or maybe even find a way to OCR it

-- 
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] How to superpose 2 ScrollableViews

2012-04-12 Thread Justin Anderson
One thing I did to get a similar (though not identical) effect is to put
the navbar and the main view in a frame layout.  The navbar pops out from
the left side and shows up on top of the main view.  After making a
selection it hides itself again.

This doesn't do EXACTLY what you are looking for but it provides the same
kind of functionality and isn't that hard to implement.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Apr 12, 2012 at 2:14 AM, Amokrane wrote:

> Hi everyone,
>
> In order to implement a navigation bar ala 
> FacebookI
>  have the following
> Layout .
>
> So the basic idea is that when I want to open the navbar I just shift the
> *TopLayer* to the right and the navbar will be 
> revealed
> .
> Now this works well and I can interact with the navbar's *ListView* in
> order to navigate through the application, as far as the view that gets
> injected inside the *TopLayer* isn't a *ScrollableView *(like another *
> ListView*, a *ScrollView *or a *WebView*).
>
> For instance, when the *TopLayer* is a *WebView *instance, I can't scroll
> and interact with the navbar's *ListView* because it is the *WebView*that 
> gets scrolled (althoough I shifted it to the right).
>
> I guess it's not trivial to superpose many *ScrollableView*'s but I hope
> there are hacks to overcome these issues.
>
> I have been looking for a solution for almost a week now (including
> posting it on 
> StackOverflow)
> but I haven't found anything relevant. I'll really appreciate any help
> regarding 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

-- 
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: Directly accessing the e-mail app.

2012-04-12 Thread Justin Anderson
>
> Is there any way I can do it, without going through the chooser?


>> That goes directly against the core of Android.  You get a chooser if the
user has not specified an email app to use as the default.  If they have
chosen an email app to use as the default then they will not get a chooser,
just like Johan said.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Apr 12, 2012 at 1:38 AM, Johan Appelgren
wrote:

> What do you mean with default e-mail app? If the user has selected a
> default e-mail app the user wont get the chooser. If the user hasn't
> selected a default e-mail app the user will get the chooser.
>
>
> On Thursday, April 12, 2012 9:12:12 AM UTC+2, Put_tiMe wrote:
>>
>> How do I directly choose the default e-mail app, without going through
>> the chooser?
>>
>> I would also like to set some of the values through the intent, like:
>>
>> emailIntent.putExtra(android.**content.Intent.EXTRA_EMAIL, recipients);
>> emailIntent.putExtra(android.**content.Intent.EXTRA_SUBJECT, "blah");
>>  emailIntent.putExtra(android.**content.Intent.EXTRA_TEXT, "Wow! direct
>> email works");
>> emailIntent.setType("text/**plain");
>>
>>
>> Is there any way I can do it, without going through the chooser?
>>
>>
>>  --
> 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 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] Google's 1099-K

2012-04-12 Thread Justin Anderson
I've never received a 1099-K from Google and I've been selling apps for two
years... I just keep track of what gets put in my bank account and report
that on my taxes.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Apr 12, 2012 at 1:25 AM, Zsolt Vasvari  wrote:

> Can any of you make heads and tails of the 1099-K sent by Google?
>
> First of all, it appears to show the payments INCLUDING the 30% cut Google
> gets.  But even if I take off the 30%, the number is still too high when I
> compare it to the amount I actually got.
>
> I am not too surprised it is screwed up, as what isn't when it comes to
> the Android Market, but in this case, you can get a nasty audit from the
> IRS if you don't report your income as stated by Google.
>
> --
> 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 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] How to use the default radio button and check box drawable resource (image)

2012-04-12 Thread Justin Anderson
Use android.R.drawable.btn_radio

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Apr 11, 2012 at 11:37 PM, Put_tiMe  wrote:

> In my layout, for some of the UI controls, I want to use the OS radio
> button resource.
> For example, I want an ImageView, but it draws the default radio button
> texture.
>
> How can I achieve this?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+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] Google's 1099-K

2012-04-12 Thread TreKing
On Thu, Apr 12, 2012 at 9:00 AM, Justin Anderson wrote:

> I've never received a 1099-K from Google and I've been selling apps for
> two years... I just keep track of what gets put in my bank account and
> report that on my taxes.


Ditto. Does one have to do something to get Googs to send a shiny form?

-
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

Re: [android-developers] What Kind of statistics do I get for my apps in play store?

2012-04-12 Thread TreKing
On Tue, Apr 10, 2012 at 8:44 AM, tobias -AppPlusMobile <
tobias.diestelk...@googlemail.com> wrote:

> Is there a web page about that out there in internet?


Did you look for one?

Like this: http://lmgtfy.com/?q=android+developer+app+statistics

-
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: XML layout and Views

2012-04-12 Thread yyyogev

I know that. but there's got to be another way to do that and that is what 
I am looking for.. is there a way to set the components in my MainView 
class and I will choose to present only the MainView?
I know that i can add a commandButton for example by code but I don't know 
how to present it.
Any suggestions?

-- 
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] Demo/Full Game options on Google Play

2012-04-12 Thread Latimerius
On Thu, Apr 12, 2012 at 2:34 AM, b0b  wrote:
>
>> Would it also be possible to initiate the LVL check from the free app?
>
>
> Not possible. You cannot add the request LVL permission to a free app.

Hmm, that's kind of silly.  Obviously, it makes no sense to LVL-check
a package that's free in the first place, however this should not
depend on the package that is asking but the package being asked
about, right?

> The solution described by MagoutaWare works very well.

In theory yes, but although I'm most definitely not too much of a
cracker, I'm confident I could disable a security check that's alone
in its executable in a matter of minutes. :-(

This sounds like a borderline showstopper to me, I'll have to consider
whether it's actually even worth bothering with LVL under these
circumstances...

-- 
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] Demo/Full Game options on Google Play

2012-04-12 Thread Iain King


On Thursday, 12 April 2012 15:27:29 UTC+1, latimerius wrote:
>
> On Thu, Apr 12, 2012 at 2:34 AM, b0b  wrote:
> >
> >> Would it also be possible to initiate the LVL check from the free app?
> >
> >
> > Not possible. You cannot add the request LVL permission to a free app.
>
> Hmm, that's kind of silly.  Obviously, it makes no sense to LVL-check
> a package that's free in the first place, however this should not
> depend on the package that is asking but the package being asked
> about, right?
>
> > The solution described by MagoutaWare works very well.
>
> In theory yes, but although I'm most definitely not too much of a
> cracker, I'm confident I could disable a security check that's alone
> in its executable in a matter of minutes. :-(
>
> This sounds like a borderline showstopper to me, I'll have to consider
> whether it's actually even worth bothering with LVL under these
> circumstances...
>

You know, that's not a terrible idea.  You can still release stuff on Play 
without implementing LVL, right?  Or even if you can need some, you could 
implement token code that does nothing.

Iain 

-- 
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: Mediaplayer Close and Reopen Http connection

2012-04-12 Thread Maypeur
To complete my post :

After a wireshark analisys i can see that the mediaplayer first open a 
connection with these headers :

GET /m=19746 HTTP/1.1
Host: ***
User-Agent: stagefright/1.2 (Linux;Android 4.0.3)
Accept-Encoding: gzip,deflate
X-Forwarded-For: 
X-Forwarded-Host: 
X-Forwarded-Server: 
Connection: close

And then i respond :

HTTP/1.1 200 OK
Date: Thu, 12 Apr 2012 14:21:05 GMT
Last-Modified: Thu, 12 Apr 2012 14:21:05 GMT
Content-Length: 2922230
Content-Encoding: gzip
Content-Type: audio/mpeg
Server: Apache
Pragma: no-cache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate,post-check=0, pre-check=0
Accept-Ranges: bytes
Keep-Alive: timeout=15, max=100
Connection: keep-alive


Now the MediaPlayer close the connection, and make a new request with :

GET /m=19746 HTTP/1.1
Host:***
Accept: */*
X-Forwarded-For: 37.8.163.114
X-Forwarded-Host: ***
X-Forwarded-Server: ***
Connection: close

And now i send the rest of the file :


HTTP/1.1 200 OK
Date: Thu, 12 Apr 2012 14:21:07 GMT
Last-Modified: Thu, 12 Apr 2012 14:21:07 GMT
Content-Length: 2922230
Content-Encoding: gzip
Content-Type: audio/mpeg
Server: Apache
Pragma: no-cache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate,post-check=0, pre-check=0
Accept-Ranges: bytes
Keep-Alive: timeout=15, max=100
Connection: keep-alive


I have try a lot of different header an thing but nothing to do it working 
without this double connection !!





Le mercredi 11 avril 2012 21:30:52 UTC+2, Maypeur a écrit :
>
> Hi !
>
> I'm using a MediaPlayer on android 4.0.3 to streaming a mp3 music. But 
> this mediaplayer lost the connection and reopen a newone with a range byte. 
> It doing it for every music.
>
> - It's happening with 3G and Wifi connection
>
>
> here the logcat :
>
> We can see the readcomplete with status 4 and later the reconnect wich 
> send an header with a range byte :
>
>
> 04-11 21:13:36.295: D/dalvikvm(31723): GC_FOR_ALLOC freed 1146K, 23% free 
> 4205K/5411K, paused 66ms
> 04-11 21:13:36.305: D/AudioSink(115): close L=1648
> 04-11 21:13:36.305: W/TimedEventQueue(115): Event 447 was not found in the 
> queue, already cancelled?
> 04-11 21:13:36.315: D/AudioSink(115): close L=1650
> 04-11 21:13:36.315: D/MediaPlayer(31723): reset() out
> 04-11 21:13:36.325: I/AwesomePlayer(115): setDataSource_l('
> http://www0streamsideplayer.com/m=2964')
> 04-11 21:13:36.325: I/ChromiumHTTPDataSource(115): Duplicat disconnecting
> 04-11 21:13:36.325: I/ChromiumHTTPDataSource(115): Duplicat disconnecting
> 04-11 21:13:36.325: D/TimedEventQueue(115): pThread_join:30914952 E
> 04-11 21:13:36.325: D/TimedEventQueue(115): pThread_join:30914952 X
> 04-11 21:13:36.325: I/ChromiumHTTPDataSource(115): Duplicat disconnecting
> 04-11 21:13:36.325: I/ChromiumHTTPDataSource(115): Duplicat disconnecting
> 04-11 21:13:36.325: V/ChromiumHTTPDataSource(115): connect on behalf of 
> uid 10111
> 04-11 21:13:36.325: I/ChromiumHTTPDataSource(115): connect to 
> http://www.streamsideplayer.com/m=2964 @0
> 04-11 21:13:36.375: E/msm8660.hwcomposer(112): invalid gralloc handle (at 
> 0x64a4c8)
>
>
> 04-11 21:13:53.712: I/ChromiumHTTPDataSourceSupport(115): OnReadCompleted, 
> read failed, status 4
> 04-11 21:13:53.712: E/NuCachedSource2(115): source returned error -1004, 
> 10 retries left
> 04-11 21:13:53.732: E/msm8660.hwcomposer(112): invalid gralloc handle (at 
> 0x64a4c8)
> 04-11 21:13:56.395: D/PhoneStatusBarPolicy(510): Network Type: 8
> 04-11 21:13:56.715: I/ChromiumHTTPDataSource(115): Reconnecting...
> 04-11 21:13:56.715: I/ChromiumHTTPDataSource(115): connect to 
> http://www.streamsideplayer.com/m=2964 @196608
> 04-11 21:13:56.775: E/msm8660.hwcomposer(112): invalid gralloc handle (at 
> 0x64a4c8)
> 04-11 21:13:57.666: D/WifiStateMachine(231): BroadcastRSSIForIMS, newrssi 
> =-80 , oldRssi= -77
> 04-11 21:13:57.776: E/msm8660.hwcomposer(112): invalid gralloc handle (at 
> 0x64a4c8)
> 04-11 21:13:57.796: I/NuCachedSource2(115): retrying a previously failed 
> read succeeded.
> 04-11 21:13:58.047: D/MediaPlayer(31723): pause() in
> 04-11 21:13:58.047: I/AwesomePlayer(115): Lock success within 0 us
> 04-11 21:13:58.047: D/MediaPlayer(31723): pause() out
>
>
> Thank you !!!
>

-- 
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: XML layout and Views

2012-04-12 Thread Justin Anderson
What does your onCreate() method look like?  You are inflating your
MainView manually?

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Apr 12, 2012 at 8:15 AM, yyyogev  wrote:

>
> I know that. but there's got to be another way to do that and that is what
> I am looking for.. is there a way to set the components in my MainView
> class and I will choose to present only the MainView?
> I know that i can add a commandButton for example by code but I don't know
> how to present it.
> Any suggestions?
>
> --
> 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 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] Demo/Full Game options on Google Play

2012-04-12 Thread Justin Anderson
>
> In theory yes, but although I'm most definitely not too much of a
> cracker, I'm confident I could disable a security check that's alone
> in its executable in a matter of minutes. :-(
>
An experienced hacker could pretty much do that no matter what you do...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Apr 12, 2012 at 8:31 AM, Iain King  wrote:

>
>
> On Thursday, 12 April 2012 15:27:29 UTC+1, latimerius wrote:
>
>> On Thu, Apr 12, 2012 at 2:34 AM, b0b  wrote:
>> >
>> >> Would it also be possible to initiate the LVL check from the free app?
>> >
>> >
>> > Not possible. You cannot add the request LVL permission to a free app.
>>
>> Hmm, that's kind of silly.  Obviously, it makes no sense to LVL-check
>> a package that's free in the first place, however this should not
>> depend on the package that is asking but the package being asked
>> about, right?
>>
>> > The solution described by MagoutaWare works very well.
>>
>> In theory yes, but although I'm most definitely not too much of a
>> cracker, I'm confident I could disable a security check that's alone
>> in its executable in a matter of minutes. :-(
>>
>> This sounds like a borderline showstopper to me, I'll have to consider
>> whether it's actually even worth bothering with LVL under these
>> circumstances...
>>
>
> You know, that's not a terrible idea.  You can still release stuff on Play
> without implementing LVL, right?  Or even if you can need some, you could
> implement token code that does nothing.
>
> Iain
>
> --
> 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 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] Demo/Full Game options on Google Play

2012-04-12 Thread Latimerius
On Thu, Apr 12, 2012 at 4:35 PM, Justin Anderson  wrote:
>> In theory yes, but although I'm most definitely not too much of a
>> cracker, I'm confident I could disable a security check that's alone
>> in its executable in a matter of minutes. :-(
>
> An experienced hacker could pretty much do that no matter what you do...

Not quite correct I believe... I worked in mainstream games industry
for 7 years so I know you can't defend that fortress forever, however
I also know the difference it makes if it's breached in an hour as
opposed to days or weeks of work.

Plus, there are reasons to believe the true elite is not focused on
Android (yet?), and you *can* delay guys at or below the average level
for quite a bit, or quite possibly even  turn them off altogether.

-- 
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] Demo/Full Game options on Google Play

2012-04-12 Thread Kostya Vasilyev
I'll try to throw in a few more two cent coins :)

1) Hackers and piracy, pt1.

Some people on this list have stated that they've chosen to not implement
LVL for a paid app, and to spend that time improving the app.

There is certainly nothing wrong with that decision.

2) Hackers and piracy, pt2.

Not every user is going to search for a cracked copy of a paid app they
would like to have.

Some just press "Buy", even when there is a cracked version somewhere.

Of those, I suspect some consciously do it to support the developer, some
don't realize there are sites with cracked apps, some are worried about
malware and so install from the more "official" source (Market), some do it
for the convenience.

3) Base app + unlocker key vs. limited free + full paid apps.

There are apps in Market that use either approach, and at this point, I
believe both ways are well understood by the users (at least the type who
can find the Menu button on their phone... some can't...).

I would look at how the users are going to transition from the free/base
app to the full/unlocked app with as little interruption as possible.

If the app is such that the user spends a lot of time setting it up (the
free/base version at first), I'd either:

- go with the base/unlocker approach so that the data stays intact

- provide a really easy, preferably automatic export / import or transition
capability

-- K

12 апреля 2012 г. 18:35 пользователь Justin Anderson
написал:

> In theory yes, but although I'm most definitely not too much of a
>> cracker, I'm confident I could disable a security check that's alone
>> in its executable in a matter of minutes. :-(
>>
> An experienced hacker could pretty much do that no matter what you do...
>
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Thu, Apr 12, 2012 at 8:31 AM, Iain King  wrote:
>
>>
>>
>> On Thursday, 12 April 2012 15:27:29 UTC+1, latimerius wrote:
>>
>>> On Thu, Apr 12, 2012 at 2:34 AM, b0b  wrote:
>>> >
>>> >> Would it also be possible to initiate the LVL check from the free app?
>>> >
>>> >
>>> > Not possible. You cannot add the request LVL permission to a free app.
>>>
>>> Hmm, that's kind of silly.  Obviously, it makes no sense to LVL-check
>>> a package that's free in the first place, however this should not
>>> depend on the package that is asking but the package being asked
>>> about, right?
>>>
>>> > The solution described by MagoutaWare works very well.
>>>
>>> In theory yes, but although I'm most definitely not too much of a
>>> cracker, I'm confident I could disable a security check that's alone
>>> in its executable in a matter of minutes. :-(
>>>
>>> This sounds like a borderline showstopper to me, I'll have to consider
>>> whether it's actually even worth bothering with LVL under these
>>> circumstances...
>>>
>>
>> You know, that's not a terrible idea.  You can still release stuff on
>> Play without implementing LVL, right?  Or even if you can need some, you
>> could implement token code that does nothing.
>>
>> Iain
>>
>> --
>> 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 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 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: Google's 1099-K

2012-04-12 Thread John Coryat
We got one of those odd and impossible to cross check 1099-K's too. Besides 
being impossible to verify, it also included December earnings which aren't 
even paid into our account until January. 

We ended up including our December earnings with 2011 and just took the tax 
hit. 

I believe earnings must be over $6,000 in order to be graced with one of 
these tax forms.

-John Coryat

-- 
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] How to auto start capturing of picture using native camera?

2012-04-12 Thread TreKing
On Thu, Apr 12, 2012 at 1:22 AM, perumal316  wrote:

> Can this be done? After starting the camera, how do I initiate this? So
> that user need not click anything to start the photo taking process.


Maybe implement your own Camera instead of relying on the built in one.

-
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

  1   2   >