[android-developers] Fake ratings & reviews by competitors?

2016-04-16 Thread Toby
It seems like some companies try to damage new, possible competitive, apps 
by creating fake reviews and ratings (5 stars with "nice" or "good").

Around 2 weeks after publishing our app, it suddenly dissappeared from the 
"Top New Social" charts in the United Kingdom (and some other countries). I 
slowly climbed its way up to #12...and traffic and installs are still 
increasing.

As far as I know the status "new app" lasts round 1 month?

Around the time when out app disappeared there was another app from an 
African company with our name (trademark, company name, app name)

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


[android-developers] Data safety when writing important data to SD card

2012-11-27 Thread Toby

I am opening a file for append using BufferedWriter.  Each time the app
is run, more data is added to the file.  At first a made a little class
representing the file and gave it a write() method that would take a string
and send it out, then flush() the Writer.  I was wondering when I should
close the file, or whether I really needed to.  Will java close the file
for me when the app goes away?  Right now, since the writes are few and
far between, I'm just opening and closing the file each time I write
a line to it, but that seems really awkward.

Thanks,

Toby

--
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] Make a one app appliance (prevent quitting app)

2012-11-26 Thread Toby

I need to make a one function appliance out of an Android phone
for distribution to participants of an event.  I want the user
to see the app running, but not be able to do anything else.
What sort of ways are there to lock down a device so that it
appears as a one-app appliance?  We retain ownership of the
devices, so we can mess with the phones in any way before or
after installing the program.

Thanks,

Tobiah

--
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] Can't get to sqlite databases with new phone

2012-11-13 Thread Toby

It's a Galaxy Nexus.  I've rooted it, and can su in an adb shell
and I get the '#' prompt.  First I tried installing several sqlite
editor apps.  None of them can find any databases.  I know my app
has one in /data/data/databases.  I read about trying to install
sqlite3 on the phone, which would be ideal.  I copied the binary
from an emulator and put it in /system/sqlite3.  I guess it's
dependent on some other libs, because I get this when I run it:

reloc_library[1306]:  2727 cannot locate 'sqlite3_enable_load_extension'...
CANNOT LINK EXECUTABLE


Any help is appreciated.

Thanks,

Toby

--
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] Customer can't see my app in the app store.

2012-09-07 Thread Toby

I've got hundreds of install, but this is the first person that
can't find my app by searching in the play store.  I'm requiring
Android 2.2, and she says she is running 2.6.  I'm requiring some
permissions:

HARDWARE CONTROLS
TAKE PICTURES AND VIDEOS
Allows the app to take pictures and videos with the camera. This allows the app 
at any time to collect images the camera is seeing.
NETWORK COMMUNICATION
FULL INTERNET ACCESS
Allows the app to create network sockets.
YOUR PERSONAL INFORMATION
READ CONTACT DATA
Allows the app to read all of the contact (address) data stored on your tablet. 
Malicious apps may use this to send your data to other people. Allows the app 
to read all of the contact (address) data stored on your phone. Malicious apps 
may use this to send your data to other people.
PHONE CALLS
READ PHONE STATE AND IDENTITY
Allows the app to access the phone features of the device. An app with this 
permission can determine the phone number and serial number of this phone, 
whether a call is active, the number that call is connected to and the like.

What are some of the reasons that the app might not show up for
these two phones after hundreds of successful installs?

Thanks,

Tobiah

--
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] Phone can't download my app

2012-07-30 Thread Toby

My company has an app out there that clients use.  A co-worker
discovered that his Galaxy SII can't find the app in the play store.
He did put cyanogen mod 9 on it.  Could this cause a problem?

My app only requires android 2.2.  I require these permissions:

Phone calls
Network communication
Hardware Controls
Your personal information
Hardware controls.

I'm sure the SII has the features that it needs, but I wasn't
sure whether these requirements could cause an app not to show
up on certain phones.

Thanks,

Tobiah

--
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] Where to start with simple video games?

2011-03-28 Thread Toby

I'm finishing up my first app for my company, so I
am getting more comfortable with android.  I'd like
to do a personal project now, something like a spacewar
game.  I figured that there would be a canvas widget
somewhere, and that given canvas.plot(x, y) I'd be on
my way.

It seems that there is a large selection of surfaces
to draw on.  I find it confusing.  Is there a decent
guide to two dimensional game writing on android?

Thanks,

Tobiah

--
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 vs. programmatic

2011-01-13 Thread Toby

Ok, we've thought about MVC paradigms for our company,
but unless you really need to hide the code from some
"Designer" I can't see the benefits.

I want the power of the computer language at hand to allow me
to create layouts dynamically.  I've been scolded about
that by one most learned participant of this list.  I don't see
why.  I want to use the base language (here java) to
create layouts.  Why on earth does Google go for what
I (Certainly Erroneously given the body of individuals
to which I am now speaking) perceive to be an obsolete
separation between Controller and View?

Please enlighten me, you undisputed masters of this
newly found world of which I hope to convincingly call
myself a member in short.

Thanks,

Tobiah

--
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: Changing price in the Market

2011-01-13 Thread Toby

On 1/13/2011 6:04 PM, Zsolt Vasvari wrote:

No offense, but you must be living in an extremely poor country if you
think $0.99 is not a impulse purchase.  What else can you buy for a $1
these days?  Honestly, I cannot think of a single thing.  Perhaps if
you are a kid on a $10/week budget, that might be true, but
otherwise...


I make ok money as a programmer.  I take home over three
times my rent.  Still, I agree with John.  Whether it be irrational
or not, I'd be far more likely to blow a quarter on a questionable app
then $1.00 (ok, $.99).  It has more to do with emotion than logical
money sense.

I will say that now that I'm developing myself, I am way more liberal
with a couple of bucks for an app now that I know how vast the
expenditure of effort to create a useful and enjoyable app is.

Tobiah



On Jan 14, 9:38 am, John Lussmyer  wrote:

Were you trying to lower it below $0.99?
That seems to be the lowest price allowed.
(Which is kind of annoying.  It's slightly above the "whim" level for
purchases.)



On Thu, Jan 13, 2011 at 5:34 PM, Russell DuRoss  wrote:

I have tried lowering the price of an app and it wouldn't let me.  I
have not tried raising the price.- Hide quoted text -


- Show quoted text -




--
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 do you manipulate content in an Activity from an external class or another Activity?

2010-12-26 Thread Toby

On 12/21/2010 2:47 PM, TreKing wrote:

On Tue, Dec 21, 2010 at 4:30 PM, Tobiah mailto:t...@tobiah.org>> wrote:

Will that work?


Probably.

Does it sound necessary?


Not really. What are you trying to do? Why do you need to manipulate one
Activity's views from another? This doesn't really make sense.


What I really want to do is touch views in an activity from an another
class that does not subclass Activity.  Just a way to compartmentalize
functionality.  I guess I could pass 'this' from the Activity into the
constructor of the other class.

Thanks,

Toby

--
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 2.1 Insert contact problem

2010-10-13 Thread Toby
Hi! I am working on a contact import for Android 2.1.
The following snippet is wokring:

Intent in=new Intent(Intent.ACTION_INSERT,
ContactsContract.Contacts.CONTENT_URI);
in.putExtra(Insert.NAME, "Mark Maier");
in.putExtra(Insert.PHONE, "1234567");
in.putExtra(Insert.PHONE_TYPE,
CommonDataKinds.Phone.TYPE_FAX_WORK);

startActivity(in);


The following parts are not working and I don't know why...

in.putExtra(Insert.COMPANY, "Google");
in.putExtra(Insert.COMPANY, CommonDataKinds.Organization.COMPANY);

and

in.putExtra(Insert.POSTAL, "MerckStr.");
in.putExtra(Insert.POSTAL_TYPE,
CommonDataKinds.StructuredPostal.STREET);

or

in.putExtra(Insert.POSTAL_TYPE,
CommonDataKinds.StructuredPostal.COUNTRY );
in.putExtra(CommonDataKinds.StructuredPostal.TYPE,
CommonDataKinds.StructuredPostal.TYPE_WORK );
in.putExtra(CommonDataKinds.StructuredPostal.COUNTRY ,
"Deutschland");



I really would appreciate your help.

Cheers Toby

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


[android-developers] Re: How to access user installed CA certs

2010-08-05 Thread Toby
I should have mentioned that the cert installation appears to work.
LogCat outputs the following:

08-05 10:19:24.891: DEBUG/CredentialInstaller(322): install
USRPKEY_IDENTIFIER: 1675  success? true
08-05 10:19:24.901: INFO/keystore(36): uid: 1000 action: i -> 1 state:
1 -> 1 retry: 4
08-05 10:19:24.901: DEBUG/CredentialInstaller(322): install
USRCERT_IDENTIFIER: 2216  success? true
08-05 10:19:24.911: INFO/keystore(36): uid: 1000 action: i -> 1 state:
1 -> 1 retry: 4
08-05 10:19:24.921: DEBUG/CredentialInstaller(322): install
CACERT_IDENTIFIER: 3517  success? true
08-05 10:19:25.192: DEBUG/CertInstaller(665): credential is added:
IDENTIFIER

Could someone suggest how I go about accessing these credentials from
an application?



On Aug 4, 12:09 pm, Toby  wrote:
> I've been struggling to get my application to consume user installed
> identity CA certs from a p12 file on an SD card.  I can't seem to
> figure out how to access these certs once installed using the Secure
> Credential Storage (Location & Security > Install from SD card).
>
> I've tried the approach recommended here by creating a
> TrustManagerFactory and passing it a null KeyStore but that seems to
> get me just the ssl related certificates.
>
> Haven't found much in the way of documentation.

-- 
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 access user installed CA certs

2010-08-04 Thread Toby
I've been struggling to get my application to consume user installed
identity CA certs from a p12 file on an SD card.  I can't seem to
figure out how to access these certs once installed using the Secure
Credential Storage (Location & Security > Install from SD card).

I've tried the approach recommended here by creating a
TrustManagerFactory and passing it a null KeyStore but that seems to
get me just the ssl related certificates.

Haven't found much in the way of documentation.

-- 
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: Possible to over-ride default Android libraries?

2010-07-27 Thread Toby
Thanks for the clarification Dan.

Might it be possible to selectively prevent platform libraries from
loading and prevent the conflict?

I have to think this situation exists with Java in other environments
- libraries exist on the platform and you wish to include newer
versions with updated features.  No way to address such a problem?



On Jul 25, 6:45 pm, DanH  wrote:
> It's not the classpath he needs to set, it's the system classpath.
> Different beast.
>
> On Jul 25, 8:03 pm, Indicator Veritatis  wrote:
>
>
>
> > If worse comes to worse, you could give up on doing the build in
> > Eclipse, do it in Ant, and set CLASSPATH yourself at build time, and
> > set it in the jar for runtime (in the manifest).
>
> > On Jul 23, 6:07 pm, DanH  wrote:
>
> > > What you're really asking is whether it's possible tooverridethe
> > > system classpath.  I don't know the answer, but that's the question.
>
> > > On Jul 23, 2:08 pm, Toby  wrote:
>
> > > > I'm working on a SMIME application to decode .p7m signed and encrypted
> > > > messages.  I've got a small Java app written using the latest Bouncy
> > > > Castle libraries and everything is working great.  I ran into some
> > > > issues moving the code into an Android app.  I've included the newest
> > > > BC libraries in the app, but my guess is my problems...
>
> > > > 07-23 12:02:23.701: ERROR/AndroidRuntime(654):
> > > > java.lang.NoSuchMethodError:
> > > > org.bouncycastle.asn1.ASN1InputStream.readTagNumber
>
> > > > ...are related to class loading since many older versions of these
> > > > classes exist on the platform.
>
> > > > 07-23 12:02:19.151: INFO/dalvikvm(641): DexOpt: not resolving
> > > > ambiguous class 'Lorg/bouncycastle/asn1/ASN1InputStream;'
>
> > > > 07-23 12:00:20.671: DEBUG/dalvikvm(567): DexOpt: 'Lorg/apache/harmony/
> > > > misc/SystemUtils;' has an earlier definition; blocking out
>
> > > > Is it possible to selectivelyover-ridepackages and force the JVM to
> > > > use the included libraries in the application?  This may be an
> > > > entirely futile effort and completely the wrong approach but I've
> > > > exhausted the search boxes in every forum i can find so I thought i'd
> > > > toss it out here.

-- 
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] Possible to over-ride default Android libraries?

2010-07-23 Thread Toby
I'm working on a SMIME application to decode .p7m signed and encrypted
messages.  I've got a small Java app written using the latest Bouncy
Castle libraries and everything is working great.  I ran into some
issues moving the code into an Android app.  I've included the newest
BC libraries in the app, but my guess is my problems...

07-23 12:02:23.701: ERROR/AndroidRuntime(654):
java.lang.NoSuchMethodError:
org.bouncycastle.asn1.ASN1InputStream.readTagNumber

...are related to class loading since many older versions of these
classes exist on the platform.

07-23 12:02:19.151: INFO/dalvikvm(641): DexOpt: not resolving
ambiguous class 'Lorg/bouncycastle/asn1/ASN1InputStream;'

07-23 12:00:20.671: DEBUG/dalvikvm(567): DexOpt: 'Lorg/apache/harmony/
misc/SystemUtils;' has an earlier definition; blocking out

Is it possible to selectively over-ride packages and force the JVM to
use the included libraries in the application?  This may be an
entirely futile effort and completely the wrong approach but I've
exhausted the search boxes in every forum i can find so I thought i'd
toss it out here.

-- 
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] BAck to Activity after WebView

2009-11-14 Thread toby
Hello,

I've been searching and looking for this answer for quite some time
now. I want to display a little HTML in a webView.

When the User read the HTML, he's supposed to use the back button to
go back to the previous activity. However, it closes the App.

How can I make it go back to the last Activity? It would also be ok to
display a soft back button or something.

Here my code

[snip]
WebView webview = new WebView(this);
setContentView(webview);
webview.canGoBack();
webview.loadData(worker.getHtmlResult(), "text/html", "utf-8");
[snap]

Thanks,

Toby

-- 
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: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-07 Thread Toby Knothe

Some very, very nice apps in this thread! (And good to see we weren't
the only ones with sleepless nights...)

Our app is called Inserty and is basiaclly an advanced text template
tool, which lets you create templates that contain dynamic text - like
your current street address or a link to google maps showing your
current location.
The text can be copied to the clipboard or inserted into a new email,
sms, twitter message etc.

Screenshots can be found at http://roomfour0four.com
and you can find the app in the android market by searching for
"Inserty".

We (Max and I, we met at university) started out tinkering with
android because we thought the API is designed really well, and the
toolchain is a pleasure to work with (both of us coming from an
embedded-c background). A random idea quickly turned into a concept,
and after 2 weeks of coding we managed to meet the ADC2 deadline, just
in time.

Our main difficulties encountered were making the app robust and
efficient, as not all finesses of the API were known to us, or
documented extensively. This resulted in a lot of tinkering and "field-
testing" (especially for the location services) to get the app
performing well, even in unpredictable situations.

Personally, I think the ADC is great for the incentive it gives
developers, and the publicity it creates for cool apps that only few
users would notice otherwise. Also, the community it created for
developers like us was great fun.

Best Regards
Toby

--~--~-~--~~~---~--~~
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: Atomic SQLite Example

2009-08-19 Thread Toby Knothe

Hi,

On Aug 19, 2:50 am, Shanjaq  wrote:
> Is there a straightforward method of opening a SQLiteDatabase
> connection and executing raw queries?

What you could try is to create a class that extends the
SQLiteOpenHelper class.
Then you will need to implement the abstract methods onCreate and
onUpgrade (see below for snippets for a simple hack).
Inside your new class, you can then use neat methods like,
 this.getWritableDatabase().execSQL(sql);
or
 Cursor cursor = this.getWritableDatabase().query(...);

>
> Create DB
> Create Table
> Read Table
> Update Table
> Delete Table
> Delete DB

All of these should be covered, but I would suggest you have a look
around in SQLiteOpenHelper for some useful helper methods like update
(..) and delete(..).

Hope this helps,

Best Regards

Toby


As promised, a simple implementation of the abstract methods,

@Override
public void onCreate(SQLiteDatabase db) { //called whenever the
required db does not exist (eg. first time app is run)
db.execSQL("CREATE TABLE blah blah...");
}

@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int
newVersion) {
db.execSQL("DROP TABLE IF EXISTS blah"); //not a nice hack because it
doesnt try to convert current data to new db version...
onCreate(db);
}

--~--~-~--~~~---~--~~
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 send Email with the stock GMail app

2009-08-09 Thread toby

Hello,

i am writing an app which needs to send an Email using the Stock GMail
app.
Is there anywhere a tutorial on how to do that? Basically in my app i
know the recipient, subject and message context, i want the gmail app
not to show up, just send the email.

Is there a way to do that?

Thank you,

Toby

--~--~-~--~~~---~--~~
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: Ubuntu Jaunty and adb not playing well together

2009-04-29 Thread Toby Stafford

Hi everyone,

I am also having problems with Jaunty/Android 1.5.

I currently have 1.1 installed on my phone. It is the dev phone.

I am using Jaunty x86_64, and have installed the ia32-libs package.

I ran adb server as root with a "sudo adb start-server," and I'm able
to see my device using "adb devices." Following the HTC update guide
(http://www.htc.com/www/support/android/adp.html) I next try to push
the ota-radio image to the phone using "adb push ..." and nothing
happens. The command appears to hang.

I tried mounting using the phone's software, and I'm able to browse
the sdcard in Nautilus, but any attempt to modify the sdcard results
in another hang.

I tried reboot the phone and the computer. I've been unable to find
any information on the Internet similar to this problem. Is there
something else I can do to find some more diagnostic information to
get past this problem?

Thanks in advance,
  Toby

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