[android-developers] ImageView animated movement from one FrameLayout (parent) to another FrameLayout (should be the new parent)

2016-12-18 Thread Christian Thomas
Hi,

actually I've got some problems, getting an animation running. Please have 
a look to following sketch:

<https://lh3.googleusercontent.com/-aijnx80AVmw/WFbY8cn-VuI/AYk/Z8Ua3fsk4DgcfucQ6063uxKFIl21K1E9gCLcB/s1600/animation-sketch.jpg>



   - I have a GridLayout 3x3, that contains a custom Field Class (extends 
   FrameLayout)  --> I'm new to Android native development and unsure, if the 
   chosen layout-types are the right one for my use case.
   - At bottom left there is a figure (circle) set as a child of the field
   - Now I want to move the figure to the top middle field. *This should be 
   animated*
  - Here some "hacky/testing" code for the first prototype:
  - 
  
  public class Board extends RelativeLayout {
  
  
  private Map<String, Field> fields = new HashMap<>();
  
  ...
  
  public void placeFigure(AbstractFigure figure, String fieldCoord) {
  final Field field = fields.get(fieldCoord);
  field.setFigure(figure);
  }
  
  public void moveFigure(final String fromCoord, final String 
  toCoord) {
  final Field from = fields.get(fromCoord); // EXTENDS 
  FrameLayout
  final Field to = fields.get(toCoord); // EXTENDS FrameLayout
  final AbstractFigure figure = from.leaveFigure(); // EXTENDS 
  ImageView 
//leaveFigure will also remove the Android parent 
  relation between the FrameLayout(Field) and the ImageView (Figure)
  
  if (figure != null) {
  Log.i("BOARD", "FOUND FIGURE = " + figure);
  // ready to perform movement ;-) 
  
  Scene scene = new Scene(to, figure);
  
  //scene.setExitAction(new Runnable() {
  //@Override
  //public void run() { // is actually not performed?!
  //Log.i("SCENE", "setExitAction --> placeFigure 
  to new position...");
  //placeFigure(figure, toCoord);
  //}
  //});
  
  final TransitionSet transitionSet = new TransitionSet();
  
  ChangeTransform changeTransform = new ChangeTransform();
  //changeTransform.setReparent(true);
  //changeTransform.setDuration(3000);
  
  transitionSet.addTransition(new ChangeBounds());
  transitionSet.addTransition(new ChangeTransform());
  
  transitionSet.setDuration(1000);
  transitionSet.setInterpolator(new 
  FastOutSlowInInterpolator());
  final ArcMotion pathMotion = new ArcMotion();
  pathMotion.setMaximumAngle(50);
  transitionSet.setPathMotion(pathMotion);
  
  //TransitionManager.beginDelayedTransition(to);
  TransitionManager.go(scene, transitionSet);
  
  }
  ...
  }
  
  - 
  - For this I thought to use the Transition Framework of the Android 
  SDK, but sadly it is not working.
  - *I will see the figure at the desired field but without an animated 
  movement?!*
  - 
  - 
  
It would be great, if someone can give me a hint or snippet, link or so for 
a similar use case.

Thanks a lot!

Cheers!

Christian

-- 
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/6721bd55-f919-4181-ae59-4d105312f20a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Identify inactive beta-testers

2016-09-26 Thread Christian Behrens
Hey guys,

I was wondering if it is possible to somehow identify the beta-testers that 
did not download the beta-version and thus are not really testing it. We 
now have a bunch of "testers" but only get little feedback. How can we find 
out who is using the app and who we can delete from the list?

Thanks already
Best
Christian

-- 
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/090fad24-cf67-49ff-be8d-42c0823cc256%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Checking new app version from Google playstore programatically

2016-08-11 Thread Jason Christian
Hello,

I'm currently developing an Android App and one of the feature of the app 
is to check for available new version programatically from Google playstore 
and inform the user if there's a new version available. I am currently 
using JSOUP to retrieve the app page's HTML content and look for the tag 
"itemprop=softwareVersion". I could then compare the version code within 
the HTML tag with the one I have on the device.

One of the examples: 
http://stackoverflow.com/questions/25201349/programmatically-check-play-store-for-app-updates

Unfortunately, when I checked the app's playstore page's HTML source code, 
I didn't find any div tag that contains "itemprop=softwareVersion" in the 
source code, which means that the example cannot be used anymore. Is it 
true that Google changed the playstore page's source code?
If so, can you suggest any other way to programatically check for available 
new version from google playstore?

Thank you

-- 
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/ce2e107a-99fd-44b8-8d67-45b994e80b72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Google Fit Nutrition Card

2016-06-06 Thread Christian Becker
My code without the redirection to Pastebin:

NutritionFacts facts = mProduct.NutritionFacts;

DataSource source = new DataSource.Builder()
.setAppPackageName(BuildConfig.APPLICATION_ID)
.setType(DataSource.TYPE_RAW)
.setDataType(DataType.TYPE_NUTRITION)
.build();

DataPoint point = DataPoint.create(source);
point.setTimestamp(System.currentTimeMillis(), TimeUnit.MILLISECONDS);
point.getValue(Field.FIELD_FOOD_ITEM).setString(mProduct.Name);
point.getValue(Field.FIELD_MEAL_TYPE).setInt(Field.MEAL_TYPE_SNACK);

point.getValue(Field.FIELD_NUTRIENTS).setKeyValue(Field.NUTRIENT_CALORIES, 
facts.KCalPerServing);
point.getValue(Field.FIELD_NUTRIENTS).setKeyValue(Field.NUTRIENT_TOTAL_FAT, 
facts.FatsPerServing);
point.getValue(Field.FIELD_NUTRIENTS).setKeyValue(Field.NUTRIENT_SATURATED_FAT, 
facts.SatsPerServing);
point.getValue(Field.FIELD_NUTRIENTS).setKeyValue(Field.NUTRIENT_MONOUNSATURATED_FAT,
 facts.MonounsatsPerServing);
point.getValue(Field.FIELD_NUTRIENTS).setKeyValue(Field.NUTRIENT_POLYUNSATURATED_FAT,
 facts.PolyunsatsPerServing);
point.getValue(Field.FIELD_NUTRIENTS).setKeyValue(Field.NUTRIENT_TOTAL_CARBS, 
facts.CarbsPerServing);
point.getValue(Field.FIELD_NUTRIENTS).setKeyValue(Field.NUTRIENT_SUGAR, 
facts.SugarPerServing);
/* Alcohol missing */
/* Amylum missing */
point.getValue(Field.FIELD_NUTRIENTS).setKeyValue(Field.NUTRIENT_PROTEIN, 
facts.ProteinsPerServing);
point.getValue(Field.FIELD_NUTRIENTS).setKeyValue(Field.NUTRIENT_DIETARY_FIBER, 
facts.RoughagePerServing);
point.getValue(Field.FIELD_NUTRIENTS).setKeyValue(Field.NUTRIENT_SODIUM, 
facts.SatsPerServing * 1f / 2.5f); /* Salt = 2.5 * Sodium */

DataSet set = DataSet.create(source);
set.add(point);

Fitness.HistoryApi.insertData(mGoogleApiClient, set).await();


Am Montag, 6. Juni 2016 12:27:27 UTC+2 schrieb Christian Becker:
>
> Hi,
> unfortunately this was not this problem. I create and insert the 
> DataSource/DataPoint with the following code: http://pastebin.com/WGFC2MsU
>
> Can you take a look at it and compare it with your code so that you can 
> eventually identify the issue with my code?
>
> Thanks in advance,
> Christian
>
>
> Am Donnerstag, 2. Juni 2016 08:59:54 UTC+2 schrieb sanjeet kumar Singh:
>>
>> Hi, 
>> Yes we found the cause for the above problem. There was one attribute 
>> missing when we were setting the nutrition values to DataPoint.
>> So, in DataPoint you need to set the fields listed below (Meal type and 
>> Food item):
>>
>> dataPoint.getValue(Field.FIELD_FOOD_ITEM).setString("some string");
>> dataPoint.getValue(Field.FIELD_MEAL_TYPE).setInt(Field.MEAL_TYPE_SNACK);
>>
>>

-- 
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/ea136a1a-2302-4aef-b52c-7452c53403cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Google Fit Nutrition Card

2016-06-06 Thread Christian Becker
Hi,
unfortunately this was not this problem. I create and insert the 
DataSource/DataPoint with the following code: http://pastebin.com/WGFC2MsU

Can you take a look at it and compare it with your code so that you can 
eventually identify the issue with my code?

Thanks in advance,
Christian


Am Donnerstag, 2. Juni 2016 08:59:54 UTC+2 schrieb sanjeet kumar Singh:
>
> Hi, 
> Yes we found the cause for the above problem. There was one attribute 
> missing when we were setting the nutrition values to DataPoint.
> So, in DataPoint you need to set the fields listed below (Meal type and 
> Food item):
>
> dataPoint.getValue(Field.FIELD_FOOD_ITEM).setString("some string");
> dataPoint.getValue(Field.FIELD_MEAL_TYPE).setInt(Field.MEAL_TYPE_SNACK);
>
>

-- 
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/a60e0c16-be0d-4967-9e38-07513f9a50cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Google Fit Nutrition Card

2016-05-31 Thread Christian Becker
Hey,
I ran into the same problem that you described. Have you found a solution 
in the meanwhile?

Am Donnerstag, 31. März 2016 12:43:19 UTC+2 schrieb Healthy Drinks:
>
> Hi,
>
> I have integrated google fit in one of ours app.Of lately I'm able to 
> insert nutrition data from my app to google fit.But the nutrition card does 
> not show up on the *dashboard *of google fit.We were able to query and 
> print the data inserted.This proves to say the data is sent to cloud.Please 
> help as this is blocking our app release.Thank you in advance!
>

-- 
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/ef9c0bdf-abf0-43c3-88d6-f418c453ee2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Accedentally pushed app to release

2016-05-31 Thread Christian Würthner
Hi, 
we are currenlty running an closed beta test with our app on Google Play. 
One of the apks we uploaded accedentally went into production. There is no 
way to pull back this release in the Developer Console.

Does anyboady know a way to pull the release APK but keep the store entry 
with the beta test?

Thanks :)

-- 
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/9416ad38-341b-4576-a55c-1393fa2580c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] error!

2016-05-14 Thread christian cuadros arguedas




-- 
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/da2380af-0dbb-4cfa-8966-ab4e7d896983%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] error!

2016-05-07 Thread christian cuadros arguedas
problem loading the android studio



-- 
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/222d652d-3d2f-4871-bad6-68f1352ddd4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] error android studio

2016-05-05 Thread christian cuadros arguedas
error ! u.u! 


help me!

-- 
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/e5533eb1-9ff9-4d1c-8996-9bb8d4b290c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] error on lollipop, in kitkat works

2016-02-22 Thread Christian Cortese


Il giorno sabato 20 febbraio 2016 12:21:06 UTC+1, Christian Cortese ha 
scritto:
>
>
>
> Il giorno sabato 20 febbraio 2016 11:49:22 UTC+1, Christian Cortese ha 
> scritto:
>>
>>
>>
>> Il giorno giovedì 18 febbraio 2016 23:49:47 UTC+1, TreKing ha scritto:
>>>
>>>
>>> On Thu, Feb 18, 2016 at 6:10 AM, Christian Cortese <
>>> christian@gmail.com> wrote:
>>>
>>>> but i have a problem...on kitkat it works well, in lollipop i can't see 
>>>> the menu toolbar and when i click on a contact the app crashes with a 
>>>> nullpointerexception
>>>
>>>
>>> Sounds like the action bar is disabled on Lollipop. Check your app 
>>> theme. You might have something in values-21/styles.xml that disables the 
>>> default action bar in order to use a Toolbar instead.
>>>
>>>
>>> -
>>> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
>>> transit tracking app for Android-powered devices
>>>
>>  
>>
>>
>> how can i get the code of styles.xml in values-21??  
>> in android studio i have only values folder the values 21 folder dosen't 
>> exists
>>
>

i've find the values 21 this is what contains 





<item name="android:windowContentTransitions">true</item>
<item name="android:windowAllowEnterTransitionOverlap">true</item>
<item name="android:windowAllowReturnTransitionOverlap">true</item>
<item 
name="android:windowSharedElementEnterTransition">@android:transition/move</item>
<item 
name="android:windowSharedElementExitTransition">@android:transition/move</item>



<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@color/primary_darker</item>

<item name="android:windowContentTransitions">true</item>
<item name="android:windowAllowEnterTransitionOverlap">true</item>
<item name="android:windowAllowReturnTransitionOverlap">true</item>
<item 
name="android:windowSharedElementEnterTransition">@android:transition/move</item>
<item 
name="android:windowSharedElementExitTransition">@android:transition/move</item>

<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryDark">@color/primary_dark</item>
<item name="colorAccent">@color/accent</item>

<item name="android:windowBackground">@color/primary</item>

<item name="colorControlNormal">@color/iron</item>
<item name="colorControlActivated">@color/white</item>
<item name="colorControlHighlight">@color/white</item>
<item name="android:textColorHint">@color/iron</item>

<item name="colorButtonNormal">@color/primary_darker</item>
<item name="android:colorButtonNormal">@color/primary_darker</item>




 

-- 
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/1ba0fd6a-8af8-42e7-84b8-e9f5b1bf126c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] error on lollipop, in kitkat works

2016-02-20 Thread Christian Cortese


Il giorno sabato 20 febbraio 2016 11:49:22 UTC+1, Christian Cortese ha 
scritto:
>
>
>
> Il giorno giovedì 18 febbraio 2016 23:49:47 UTC+1, TreKing ha scritto:
>>
>>
>> On Thu, Feb 18, 2016 at 6:10 AM, Christian Cortese <
>> christian@gmail.com> wrote:
>>
>>> but i have a problem...on kitkat it works well, in lollipop i can't see 
>>> the menu toolbar and when i click on a contact the app crashes with a 
>>> nullpointerexception
>>
>>
>> Sounds like the action bar is disabled on Lollipop. Check your app theme. 
>> You might have something in values-21/styles.xml that disables the default 
>> action bar in order to use a Toolbar instead.
>>
>>
>> -
>> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
>> transit tracking app for Android-powered devices
>>
>  
>
>
> how can i get the code of styles.xml in values-21??  
> in android studio i have only values folder the values 21 folder dosen't 
> exists
>

-- 
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/72151ad2-e66d-41ae-894a-f4b24f356a97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] error on lollipop, in kitkat works

2016-02-20 Thread Christian Cortese


Il giorno giovedì 18 febbraio 2016 23:49:47 UTC+1, TreKing ha scritto:
>
>
> On Thu, Feb 18, 2016 at 6:10 AM, Christian Cortese <
> christian@gmail.com > wrote:
>
>> but i have a problem...on kitkat it works well, in lollipop i can't see 
>> the menu toolbar and when i click on a contact the app crashes with a 
>> nullpointerexception
>
>
> Sounds like the action bar is disabled on Lollipop. Check your app theme. 
> You might have something in values-21/styles.xml that disables the default 
> action bar in order to use a Toolbar instead.
>
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
> transit tracking app for Android-powered devices
>
 


how can i get the code of styles.xml in values-21??  
in android studio i have only values folder

-- 
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/1522b16e-46f4-4166-ac60-eeba1d10df7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: error on lollipop, in kitkat works

2016-02-18 Thread Christian Cortese


Il giorno giovedì 18 febbraio 2016 13:10:38 UTC+1, Christian Cortese ha 
scritto:
>
> Hello
>
> i'm doing an app and i have included this code 
> http://developer.android.com/training/contacts-provider/retrieve-names.html
>
> but i have a problem...on kitkat it works well, in lollipop i can't see 
> the menu toolbar and when i click on a contact the app crashes with a 
> nullpointerexception
> *void.android.app.actionbar.setdisplayhomeasupenabled(boolean) etc*
> in this portion of code:
>
> if (Utils.hasHoneycomb()) {
> // Enables action bar "up" navigation
> getActionBar().setDisplayHomeAsUpEnabled(true);
> 
>
> }
>
>
> how can i resolve this?? 
>
> thanks for all
>
>

this is the exception on Lollipop
02-18 13:41:15.304 31435-31435/todonotes.com.todonotes_buildfinale 
E/AndroidRuntime: FATAL EXCEPTION: main

 Process: todonotes.com.todonotes_buildfinale, PID: 31435

 java.lang.RuntimeException: Unable to start activity 
ComponentInfo{todonotes.com.todonotes_buildfinale/todonotes.com.todonotes_buildfinale.ContactDetailActivity}:
 
java.lang.NullPointerException: Attempt to invoke virtual method 'void 
android.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object 
reference

 at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2378)

 at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2440)

 at 
android.app.ActivityThread.access$800(ActivityThread.java:162)

 at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1348)

 at android.os.Handler.dispatchMessage(Handler.java:102)

 at android.os.Looper.loop(Looper.java:135)

 at android.app.ActivityThread.main(ActivityThread.java:5422)

 at java.lang.reflect.Method.invoke(Native Method)

 at java.lang.reflect.Method.invoke(Method.java:372)

 at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914)

 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:707)

  Caused by: java.lang.NullPointerException: Attempt to invoke 
virtual method 'void 
android.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object 
reference

 at 
todonotes.com.todonotes_buildfinale.ContactDetailActivity.onCreate(ContactDetailActivity.java:59)

 at android.app.Activity.performCreate(Activity.java:6057)

 at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)

 at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2331)

 at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2440) 

 at 
android.app.ActivityThread.access$800(ActivityThread.java:162) 

 at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1348) 

 at android.os.Handler.dispatchMessage(Handler.java:102) 

 at android.os.Looper.loop(Looper.java:135) 

[android-developers] error on lollipop, in kitkat works

2016-02-18 Thread Christian Cortese
Hello

i'm doing an app and i have included this code 
http://developer.android.com/training/contacts-provider/retrieve-names.html

but i have a problem...on kitkat it works well, in lollipop i can't see the 
menu toolbar and when i click on a contact the app crashes with a 
nullpointerexception
*void.android.app.actionbar.setdisplayhomeasupenabled(boolean) etc*
in this portion of code:

if (Utils.hasHoneycomb()) {
// Enables action bar "up" navigation
getActionBar().setDisplayHomeAsUpEnabled(true);


}


how can i resolve this?? 

thanks for all



-- 
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/dcf71b59-db4e-4519-8723-70239c1de64e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Händlerkonto für IAPs

2016-02-14 Thread Christian Janßen

Am i allowed to create a Merchant account as a Privat Person.
I want to make one, because ill make InApp Purchases in my developed Apps. 

-- 
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/a8358135-0a74-4e55-8f55-bc0c96359b84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Händlerkonto für IAPs

2016-02-14 Thread Christian Janßen
Guten Tag. 
Darf ich als "Privatperson" ein Händlerkonto einrichten, oder muss ich z.B. 
was beim Finanzamt klären bzw mir einen Gewerbeschein holen ?
Denn ich möchte für eine von mir entwickelte App In-App Käufe einrichten.


Mfg
Christian J.

-- 
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/dbd8ce87-6996-403f-a308-c143914f100a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] probleme avec android virtual device

2012-11-15 Thread Christian Ngouffo Gnondji
Bonjour je suis un débutant en programmation sous android apres avoir 
installé eclipse juno j'ai intaller le SDK pour android tout s'est bien 
passé mai ca passe pas lorsque je veux simuler un code sur AVD(android 
virtual device ) je recoi le message suiva

https://lh6.googleusercontent.com/-0rnA0MywKFQ/UKULzXOPMtI/ACc/UdPD5IcBFzU/s1600/android.png

-- 
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] AVD cashed!!!

2012-11-14 Thread Christian Ngouffo Gnondji
hi can some body help me about this report?

Starting emulator for AVD 'fefe'
XIO:  fatal IO error 4 (Interrupted system call) on X server :0.0
  after 130 requests (130 known processed) with 4 events remaining.

i use eclipse juno 

-- 
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] onSingleTapUp not working in Motorola Xoom (android JB)

2012-11-08 Thread Christian Palomares (ShinjiDev)
I'll try to summarize my problem. 
I'm developing an Android app for tablets, one of my activities has a 
ViewFlipper, I'm implementing my own SimpleOnGestureListener for managing 
the onFling method(for swipes). I'm trying to override the onSingleTapUp 
method with just one line Log.i(TAG, onSingleTapUp), it works for tablet 
like Galaxy Tab 1(Honeycomb) and Galaxy Tab 2(ICS), but it's not working 
for my Motorola Xoom (JB). 
How can i solve this??Is there any other way to capture a singletap in a 
ViewFlipper??I've tried with onSingleTapUp and onSingleTapConfirmed, with 
no good results :(

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

[android-developers] Re: Accelerometer use (G's and frequency)

2012-10-17 Thread Christian Nikolaj Thomsen
1) and 2) are hardware dependent. If you need something with higher 
acceleration range than standard handsets, you'd probably have to have it 
built. Accelerometer - chips are made to many different specs, but 
generally, the higher sensitivity, the lower the range. Remember also that 
there can be both Acceleration and Gravity sensors on android devices, 
one measures zero acceleration when lying still, one measures 1G (~ 
+9.81m/s^2) when lying still. 
The update-speed is also determined by the specific device.
3) An accelerometer is probably not a good way to detect a golf-swing - 
at least not alone. Acc-sensors measure linear accelerations. If you 
combine it with a gyroscope-sensor you could test for a simultaneous 
rotation and high-G type of movement. Otherwise it would be difficult to 
determine if the user is merely shaking his phone...
Also be aware that even a just couple of G's are quite a bit! - Android 
devices are really meant to be weaponized - not yet at least...

Cheers Christian

On Monday, July 23, 2012 7:35:28 PM UTC+2, JAM wrote:

 Hello all.
  
 Hope someone can help.  
  
 1)  Is there a way to have a program read higher than 1-2gs?  I had a beta 
 version built and it doesn't seem to have the ability to read more than 1g 
 on some of the phones I've tested it on.
  
 2)  Is there a way to get the phone to receive more samples than the 
 20-40ms it seems to do when set to fastest?  I need a more accurate 
 profile of the accelerometer output than I'm getting.
  
 3)  If I gave someone a specific profile of something I'd like the 
 accelerometer to find (a spike that gets above 2g and stays there for a 
 duration of 5ms or longer -- like a golf swing), could it be programed to 
 see such an incident consistantly?
  
  


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

[android-developers] Re: android based robot

2012-10-04 Thread Christian Nikolaj Thomsen
I tried once, using the bluetooth of my smartphone to communicate with an 
arduino-based motorcontroller - Stopped after a bit of experimenting though.

On Tuesday, October 2, 2012 10:26:05 AM UTC+2, Rajat Trivedi wrote:

 hey..i want to develop a android based mobile robot..so can some body tell 
 me from whr i hav to strt...i m just confused..


-- 
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 there any way to set up my app home by default?

2012-10-04 Thread Christian Chavez Pérez
Hi guys, im new developer in Android and i would like to know if is 
possible to set up my custom application to launcher by default

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

2012-10-03 Thread Christian Nikolaj Thomsen
Hi, I'm working on an app that among other things will allow the users to 
make short videos, apply funny effects to them and share them with one 
another. To begin with, i'm looking for simple color-effects like grayscale 
sepiatoning, and such.

All this would be very simple by using the camera-class which can apply the 
color effects at recording-time - at least most phone's cameras can - i've 
tested some using *Camera.getParameters().getSupportedColorEffects(); *. 
But the thing is: i need to do it *after *the recording has been done: the 
user would open a video, and choose among a set of effects to apply.

I can't for the love of *** find a good way to do this.

Android doesn't seem to include any videoutilities in the sdk. The *
android.media.effect* package can do some effects, but only *backdropper *for 
videos, the rest are for images. Extracting bitmaps from the surfaceview of 
a videoview during playback doesn't work, it just returns an all-black 
bitmap. It seems like there's no way to intercept the datastream between 
the storage and the screen. and apply the effects there. I've started to 
look into using the FFmpeg library to decode a video file so i can get 
access to the data, but that requires quite a bit of native coding, and 
also requires separate compiles for various CPU architectures, so it's very 
messy. I thought that as the camera can apply these effects (on a Sony 
LT26i: *none, mono, negative, solarize, sepia, posterize*), perhaps one 
could feed the recorder with a videostream not from the camera, but from 
the memory, and by that way use a stored video file?

Do anyone know if there is a way to apply effects to a video - after it has 
been recorded? 
Christian. 

-- 
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] Communication USB with electronic card

2012-09-25 Thread Christian Cadon
Hello,

We are a design office electronics.
We develop some applications to interact with our electronic cards (update, 
configuration, management, etc. ..). Bluetooth is the technology currently used 
for this task. We now want to communicate via USB.
We develop an application test shipment via USB, the content of EditText when 
pressing a button and displays what you get in a TextView. We helped
http://developer.android.com/guide/t.../usb/host.html
and
http://android.serverbox.ch/?p=549 # comments
but we do not use arduino but a simple interface USB/RS232 where the RX and 
TX are connected and we check the result with an oscilloscope.
We also have our tablet (Iconia A500) hyperterminal Slick USB 2 Serial Demo.

Here is our problem:
Our application works only if we have previously opened the hyperterminal. In 
fact, if we run our application directly, the code works correctly, and okay 
until 
the sending function bulkTransfert (which returns the size of datas to 
send) but sending does not occur (check on the oscilloscope).
But when the previously opened hyperterminal, sending is successful.
And when the application sends nothing (when it should) and you open the 
hyperterminal then we get our bytes sent on this one.
We believe that open hyperterminal or authorizes the things we do not.

Do you have an idea of ​​what is missing in our program?

-- 
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: Spinner items missing selection radio button

2012-09-17 Thread Christian


 Nadav,


Which version of android are you developing on? 

I am currently developing a project and using 4.0.3 for testing, since this 
is the most common up to date version; however, I find that it is not 
displaying the radio button as well. But, when I use the same exact code in 
an android 2.2 device, the radio button appears. I believe that they 
removed it from the source. I don't know why or how, but that is what I 
think happened. Try it yourself and let me know if you get any other 
results.

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

[android-developers] Best Practices for many calls to API

2012-08-23 Thread Christian Palomares (ShinjiDev)
Hi
I'm developing an Android App for an enterprise(just for smartphone, no 
tablet).
This app needs to make many request to an API to fill 3 or 4 carrousels, 
the problem is that it takes too much time, i believe this happens because 
the request to the API are made sequentially. Is there any way to make 
concurrent request to an API to fill differents layouts???Or maybe a best 
practice for an Android app which needs to make too many API requests???

Sincerely,
Christian Palomares

-- 
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] Best Practices for many calls to API

2012-08-23 Thread Christian Eduardo Palomares Peralta
I believe the problem is that it REALLY takes too much time, because the
requests are made sequentially. I think it can be made with many asynctasks.
Thanks for the tips.

Sincerely

2012/8/23 Larry Meadors larry.mead...@gmail.com

 True: Based on the question (the problem is that it takes too much
 time) I assumed they were going over the wire, in which case, doing
 them as I suggested would help.

 But if the delay is due to CPU constraints rather than waiting for
 responses, my suggestion would probably make it worse. :-D

 Larry


 On Thu, Aug 23, 2012 at 12:17 PM, TreKing treking...@gmail.com wrote:
  On Thu, Aug 23, 2012 at 11:53 AM, Christian Palomares (ShinjiDev)
  palomare...@gmail.com wrote:
 
  Or maybe a best practice for an Android app which needs to make too many
  API requests???
 
 
  This is really going to depend on the API in question and your app, so I
  don't think you're going to find any perfect solution.
 
 
 -
  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

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




-- 
Christian Eduardo Palomares Peralta (ShinjiDev) - http://shinjidev.com
Administrador del Grupo Python-Perú

-- 
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 manage slow internet connections?

2012-08-23 Thread Christian Palomares (ShinjiDev)
Hi
Is there any recommended way to manage slow internet connections in an 
Android app???I've tried with many try/catch, but i don't think is the best 
way to do 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 manage slow internet connections?

2012-08-23 Thread Christian Eduardo Palomares Peralta
But, when the internet connection is really slow it throws a timeout,
that's why i'm using try/catch.
Sometimes with the slow internet connection it forces to close the app.

2012/8/23 TreKing treking...@gmail.com

 On Thu, Aug 23, 2012 at 2:02 PM, Christian Palomares (ShinjiDev) 
 palomare...@gmail.com wrote:

 Is there any recommended way to manage slow internet connections in an
 Android app???


 In what sense? There's nothing really to manage - it's just not fast.


 I've tried with many try/catch, but i don't think is the best way to do
 it :(


 Try / catch what? A slow connection is still a valid connection ... it's
 just slow. So it shouldn't be throwing exceptions.


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


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




-- 
Christian Eduardo Palomares Peralta (ShinjiDev) - http://shinjidev.com
Administrador del Grupo Python-Perú

-- 
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 manage slow internet connections?

2012-08-23 Thread Christian Eduardo Palomares Peralta
I'm trying to manage slow internet connections with setConnectionTimeOut,
but in the catch my exception is null, why does it happen???:S

2012/8/23 TreKing treking...@gmail.com

 On Thu, Aug 23, 2012 at 2:12 PM, Christian Eduardo Palomares Peralta 
 palomare...@gmail.com wrote:

 But, when the internet connection is really slow it throws a timeout,
 that's why i'm using try/catch.


 OK then.


 Sometimes with the slow internet connection it forces to close the app.


 Determine what forces to close the app, then handle it.



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

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




-- 
Christian Eduardo Palomares Peralta (ShinjiDev) - http://shinjidev.com
Administrador del Grupo Python-Perú

-- 
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 manage slow internet connections?

2012-08-23 Thread Christian Eduardo Palomares Peralta
Yes, seriously. I was surprised when i saw that in my Eclipse debugger D:


2012/8/23 TreKing treking...@gmail.com

 On Thu, Aug 23, 2012 at 3:41 PM, Christian Eduardo Palomares Peralta 
 palomare...@gmail.com wrote:

 in the catch my exception is null


 Seriously? That's doesn't sound right at all ...



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

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




-- 
Christian Eduardo Palomares Peralta (ShinjiDev) - http://shinjidev.com
Administrador del Grupo Python-Perú

-- 
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] JQuery UI dragdrop

2012-02-22 Thread Christian Palomares (ShinjiDev)
Hi everyone

I need some help about JQuery. Do you know if there's a jQuery plugin
to make jQuery UI dragdrop features to work on Android devices
without the need to modify the JS code?

Thxs

-- 
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] JQuery UI dragdrop

2012-02-22 Thread Christian Eduardo Palomares Peralta
Oh sorry, I thought these kind of questions could be made here too :(

2012/2/22 Kristopher Micinski krismicin...@gmail.com

 This has relatively little to do with this list, this list is for
 developing applications with Android's java based SDK.

 kris

 On Wed, Feb 22, 2012 at 4:22 PM, Christian Palomares (ShinjiDev)
 palomare...@gmail.com wrote:
  Hi everyone
 
  I need some help about JQuery. Do you know if there's a jQuery plugin
  to make jQuery UI dragdrop features to work on Android devices
  without the need to modify the JS code?
 
  Thxs
 
  --
  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




-- 
Christian Eduardo Palomares Peralta (ShinjiDev) - http://shinjidev.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] Overscroll android 2.2

2011-12-17 Thread Christian Bianchini
Hi,
I have question about enable the overscroll by code, actually I did
that for Android 2.3 and it's work.
I tried the application with an Android 2.2 and I can't see the
overscroll and that its strange.

I did an extend Class of scrollview and I have overwrite the method
overscroll.

What is the solution to support the overscroll in Android 2.2?


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: Overscroll android 2.2

2011-12-17 Thread Christian Bianchini
Any example how to force the overscroll for the API 8?

On Dec 17, 8:48 pm, Harri Smått har...@gmail.com wrote:
 Hi,

 Over scrolling methods seem to be API level 9 and higher. Maybe you didn't 
 use @Override notation and ended up writing a new method on older APIs which 
 is never called by the system?

 --
 H

 On Dec 17, 2011, at 10:37 PM, Christian Bianchini wrote:







  Hi,
  I have question about enable the overscroll by code, actually I did
  that for Android 2.3 and it's work.
  I tried the application with an Android 2.2 and I can't see the
  overscroll and that its strange.

  I did an extend Class of scrollview and I have overwrite the method
  overscroll.

  What is the solution to support the overscroll in Android 2.2?

  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] Re: Overscroll android 2.2

2011-12-17 Thread Christian Bianchini
So can I implanted it with some code?

On Dec 17, 10:14 pm, Kristopher Micinski krismicin...@gmail.com
wrote:
 2011/12/17 Harri Smått har...@gmail.com:

  Hi,

  Over scrolling methods seem to be API level 9 and higher. Maybe you didn't 
  use @Override notation and ended up writing a new method on older APIs 
  which is never called by the system?

 Right.

 No overscroll in Android API in Froyo..

 Kris

-- 
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: UI like Youtube

2011-12-16 Thread Christian Eduardo Palomares Peralta
It works with a LinearLayout vertical and adding programmatically
linearlayout horizontal, and also managing the scrollview =)

Thxs for your answers =)!!!

2011/12/15 Kostya Vasilyev kmans...@gmail.com

 Looks pretty close to me.

 15 декабря 2011 г. 20:08 пользователь Christian Eduardo Palomares
 Peralta palomare...@gmail.com написал:
  like this???
  http://www.marteinn.se/blog/?p=485
 
  I'll try it =)
 
 
  2011/12/15 Kostya Vasilyev kmans...@gmail.com
 
  Um,
 
  @Override
  protected void onScrollChanged (int l, int t, int oldl, int oldt)
 
  ???
 
 
  15 декабря 2011 г. 19:55 пользователь Christian Eduardo Palomares
  Peralta palomare...@gmail.com написал:
   Thanks for the help, but i was talking about that in a linearlayout
 with
   a
   scroll view :(
  
   2011/12/15 Kostya Vasilyev kmans...@gmail.com
  
   For dynamic content on the bottom, you can:
  
   - Override getView and check the item position (maybe not quite
   religiously pure, but it works).
  
   - Use an OnScrollListener to be notified of scroll state changes,
 wait
   for SCROLL_STATE_IDLE and check what's visible
  
  
  
  
 http://developer.android.com/reference/android/widget/AbsListView.html#setOnScrollListener(android.widget.AbsListView.OnScrollListener)
  
   Or come up with something else, such as maybe subclassing the list
   view, overriding onLayout and checking the last visible position
 after
   calling super...
  
   -- Kostya
  
   15 декабря 2011 г. 19:11 пользователь Christian Eduardo Palomares
   Peralta palomare...@gmail.com написал:
I've tried again with listview but i had some problems to load more
items to
the adapter.
   
Now i'm adding the controls programmatically and i think it should
work,
but
my only problem is detecting the scroll in the bottom to load more
items
:(.
   
Thxs
   
2011/12/15 Kostya Vasilyev kmans...@gmail.com
   
That - I mean the right part - looks like some kind of custom
adapter
view, maybe with view recycling (harder) maybe not (easier).
   
15.12.2011 12:02, Christian Eduardo Palomares Peralta пишет:
   
BTW, i'm not talking about the first view in UI youtube tablet
version,
i
think that's a 3D carousel. I'm talking about the exploratory view
(second
tab).
   
2011/12/14 Kostya Vasilyev kmans...@gmail.com
   
As far the as the 3D panoramic scrolling goes:
   
   
   
   
   
 http://android-developers.blogspot.com/2011/02/introducing-renderscript.html
   

Renderscript has been used in the creation of the new
 visually-rich
YouTube and Books apps.

   
-- Kostya
   
15 декабря 2011 г. 2:57 пользователь Ali Chousein
ali.chous...@gmail.com написал:

 Mine is just a guess but YouTube might be using HTML5.

 -
 Ali Chousein
 Weather-Buddy
 http://weatherbuddy.blogspot.com |
 http://twitter.com/weather_buddy
 Geo-Filtered Assistant
 http://geo-filtered-assistant.blogspot.com
 https://marketplace.cisco.com/apphq/products/994

 --
 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
   
   
   
   
--
Christian Eduardo Palomares Peralta (ShinjiDev) -
http://learningwebdev.blogspot.com
Administrador del Grupo Python-Perú
--
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
   
   
   
   
--
Christian Eduardo Palomares Peralta

Re: [android-developers] Re: UI like Youtube

2011-12-15 Thread Christian Eduardo Palomares Peralta
BTW, i'm not talking about the first view in UI youtube tablet version, i
think that's a 3D carousel. I'm talking about the exploratory view (second
tab).

2011/12/14 Kostya Vasilyev kmans...@gmail.com

 As far the as the 3D panoramic scrolling goes:


 http://android-developers.blogspot.com/2011/02/introducing-renderscript.html

 
 Renderscript has been used in the creation of the new visually-rich
 YouTube and Books apps.
 

 -- Kostya

 15 декабря 2011 г. 2:57 пользователь Ali Chousein
 ali.chous...@gmail.com написал:
 
  Mine is just a guess but YouTube might be using HTML5.
 
  -
  Ali Chousein
  Weather-Buddy
  http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
  Geo-Filtered Assistant
  http://geo-filtered-assistant.blogspot.com
  https://marketplace.cisco.com/apphq/products/994
 
  --
  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




-- 
Christian Eduardo Palomares Peralta (ShinjiDev) -
http://learningwebdev.blogspot.com
Administrador del Grupo Python-Perú

-- 
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: Display many images into the Imageview in 3-4 seconds

2011-12-15 Thread Christian Bianchini
Because is giong to alloc the memory and then display the image, this
process looks that the application is blocked.

I tried to run the TimerTask into a new thread but anything is
changed.


On Dec 15, 1:23 am, Miguel Morales therevolti...@gmail.com wrote:
 Why is TimerTask too slow?  Just set the time lower?
 This might 
 help:http://developingthedream.blogspot.com/2011/01/android-canvas-frame-b...

 On Wed, Dec 14, 2011 at 5:13 PM, Christian Bianchini max...@gmail.comwrote:









  I have a problem with Android and the perfomance, I should display
  around 20-30 images, like a gif, in 3-4 seconds.

  I tried to make a TimerTask but it's too slowly and I can see only 3-5
  images.

  There is a solution to play 20-30 images like a gif image? I read that
  I can do something with the spirte.

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

 --
 ~ Jeremiah:9:23-24
 Android 2D MMORPG:http://solrpg.com/,http://www.youtube.com/user/revoltingx

-- 
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: UI like Youtube

2011-12-15 Thread Christian Eduardo Palomares Peralta
I've tried again with listview but i had some problems to load more items
to the adapter.

Now i'm adding the controls programmatically and i think it should work,
but my only problem is detecting the scroll in the bottom to load more
items :(.

Thxs

2011/12/15 Kostya Vasilyev kmans...@gmail.com

  That - I mean the right part - looks like some kind of custom adapter
 view, maybe with view recycling (harder) maybe not (easier).

 15.12.2011 12:02, Christian Eduardo Palomares Peralta пишет:

 BTW, i'm not talking about the first view in UI youtube tablet version, i
 think that's a 3D carousel. I'm talking about the exploratory view (second
 tab).

 2011/12/14 Kostya Vasilyev kmans...@gmail.com

 As far the as the 3D panoramic scrolling goes:


 http://android-developers.blogspot.com/2011/02/introducing-renderscript.html

 
 Renderscript has been used in the creation of the new visually-rich
 YouTube and Books apps.
 

 -- Kostya

 15 декабря 2011 г. 2:57 пользователь Ali Chousein
 ali.chous...@gmail.com написал:
  
  Mine is just a guess but YouTube might be using HTML5.
 
  -
  Ali Chousein
  Weather-Buddy
  http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
  Geo-Filtered Assistant
  http://geo-filtered-assistant.blogspot.com
  https://marketplace.cisco.com/apphq/products/994
 
  --
  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




  --
 Christian Eduardo Palomares Peralta (ShinjiDev) -
 http://learningwebdev.blogspot.com
 Administrador del Grupo Python-Perú
 --
 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




-- 
Christian Eduardo Palomares Peralta (ShinjiDev) -
http://learningwebdev.blogspot.com
Administrador del Grupo Python-Perú

-- 
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: UI like Youtube

2011-12-15 Thread Christian Eduardo Palomares Peralta
Thanks for the help, but i was talking about that in a linearlayout with a
scroll view :(

2011/12/15 Kostya Vasilyev kmans...@gmail.com

 For dynamic content on the bottom, you can:

 - Override getView and check the item position (maybe not quite
 religiously pure, but it works).

 - Use an OnScrollListener to be notified of scroll state changes, wait
 for SCROLL_STATE_IDLE and check what's visible


 http://developer.android.com/reference/android/widget/AbsListView.html#setOnScrollListener(android.widget.AbsListView.OnScrollListener)

 Or come up with something else, such as maybe subclassing the list
 view, overriding onLayout and checking the last visible position after
 calling super...

 -- Kostya

 15 декабря 2011 г. 19:11 пользователь Christian Eduardo Palomares
 Peralta palomare...@gmail.com написал:
  I've tried again with listview but i had some problems to load more
 items to
  the adapter.
 
  Now i'm adding the controls programmatically and i think it should work,
 but
  my only problem is detecting the scroll in the bottom to load more items
 :(.
 
  Thxs
 
  2011/12/15 Kostya Vasilyev kmans...@gmail.com
 
  That - I mean the right part - looks like some kind of custom adapter
  view, maybe with view recycling (harder) maybe not (easier).
 
  15.12.2011 12:02, Christian Eduardo Palomares Peralta пишет:
 
  BTW, i'm not talking about the first view in UI youtube tablet version,
 i
  think that's a 3D carousel. I'm talking about the exploratory view
 (second
  tab).
 
  2011/12/14 Kostya Vasilyev kmans...@gmail.com
 
  As far the as the 3D panoramic scrolling goes:
 
 
 
 http://android-developers.blogspot.com/2011/02/introducing-renderscript.html
 
  
  Renderscript has been used in the creation of the new visually-rich
  YouTube and Books apps.
  
 
  -- Kostya
 
  15 декабря 2011 г. 2:57 пользователь Ali Chousein
  ali.chous...@gmail.com написал:
  
   Mine is just a guess but YouTube might be using HTML5.
  
   -
   Ali Chousein
   Weather-Buddy
   http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
   Geo-Filtered Assistant
   http://geo-filtered-assistant.blogspot.com
   https://marketplace.cisco.com/apphq/products/994
  
   --
   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
 
 
 
 
  --
  Christian Eduardo Palomares Peralta (ShinjiDev) -
  http://learningwebdev.blogspot.com
  Administrador del Grupo Python-Perú
  --
  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
 
 
 
 
  --
  Christian Eduardo Palomares Peralta (ShinjiDev) -
  http://learningwebdev.blogspot.com
  Administrador del Grupo Python-Perú
 
  --
  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




-- 
Christian Eduardo Palomares Peralta (ShinjiDev) -
http://learningwebdev.blogspot.com
Administrador del Grupo Python-Perú

-- 
You received

Re: [android-developers] Re: UI like Youtube

2011-12-15 Thread Christian Eduardo Palomares Peralta
like this???
http://www.marteinn.se/blog/?p=485

I'll try it =)

2011/12/15 Kostya Vasilyev kmans...@gmail.com

 Um,

 @Override
 protected void onScrollChanged (int l, int t, int oldl, int oldt)

 ???


 15 декабря 2011 г. 19:55 пользователь Christian Eduardo Palomares
 Peralta palomare...@gmail.com написал:
  Thanks for the help, but i was talking about that in a linearlayout with
 a
  scroll view :(
 
  2011/12/15 Kostya Vasilyev kmans...@gmail.com
 
  For dynamic content on the bottom, you can:
 
  - Override getView and check the item position (maybe not quite
  religiously pure, but it works).
 
  - Use an OnScrollListener to be notified of scroll state changes, wait
  for SCROLL_STATE_IDLE and check what's visible
 
 
 
 http://developer.android.com/reference/android/widget/AbsListView.html#setOnScrollListener(android.widget.AbsListView.OnScrollListener)
 
  Or come up with something else, such as maybe subclassing the list
  view, overriding onLayout and checking the last visible position after
  calling super...
 
  -- Kostya
 
  15 декабря 2011 г. 19:11 пользователь Christian Eduardo Palomares
  Peralta palomare...@gmail.com написал:
   I've tried again with listview but i had some problems to load more
   items to
   the adapter.
  
   Now i'm adding the controls programmatically and i think it should
 work,
   but
   my only problem is detecting the scroll in the bottom to load more
 items
   :(.
  
   Thxs
  
   2011/12/15 Kostya Vasilyev kmans...@gmail.com
  
   That - I mean the right part - looks like some kind of custom adapter
   view, maybe with view recycling (harder) maybe not (easier).
  
   15.12.2011 12:02, Christian Eduardo Palomares Peralta пишет:
  
   BTW, i'm not talking about the first view in UI youtube tablet
 version,
   i
   think that's a 3D carousel. I'm talking about the exploratory view
   (second
   tab).
  
   2011/12/14 Kostya Vasilyev kmans...@gmail.com
  
   As far the as the 3D panoramic scrolling goes:
  
  
  
  
 http://android-developers.blogspot.com/2011/02/introducing-renderscript.html
  
   
   Renderscript has been used in the creation of the new visually-rich
   YouTube and Books apps.
   
  
   -- Kostya
  
   15 декабря 2011 г. 2:57 пользователь Ali Chousein
   ali.chous...@gmail.com написал:
   
Mine is just a guess but YouTube might be using HTML5.
   
-
Ali Chousein
Weather-Buddy
http://weatherbuddy.blogspot.com |
 http://twitter.com/weather_buddy
Geo-Filtered Assistant
http://geo-filtered-assistant.blogspot.com
https://marketplace.cisco.com/apphq/products/994
   
--
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
  
  
  
  
   --
   Christian Eduardo Palomares Peralta (ShinjiDev) -
   http://learningwebdev.blogspot.com
   Administrador del Grupo Python-Perú
   --
   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
  
  
  
  
   --
   Christian Eduardo Palomares Peralta (ShinjiDev) -
   http://learningwebdev.blogspot.com
   Administrador del Grupo Python-Perú
  
   --
   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

[android-developers] Re: Display many images into the Imageview in 3-4 seconds

2011-12-15 Thread Christian Bianchini
Still give me the fatal error: excess VM

On Dec 15, 8:57 am, Christian Bianchini max...@gmail.com wrote:
 Because is giong to alloc the memory and then display the image, this
 process looks that the application is blocked.

 I tried to run the TimerTask into a new thread but anything is
 changed.

 On Dec 15, 1:23 am, Miguel Morales therevolti...@gmail.com wrote:







  Why is TimerTask too slow?  Just set the time lower?
  This might 
  help:http://developingthedream.blogspot.com/2011/01/android-canvas-frame-b...

  On Wed, Dec 14, 2011 at 5:13 PM, Christian Bianchini 
  max...@gmail.comwrote:

   I have a problem with Android and the perfomance, I should display
   around 20-30 images, like a gif, in 3-4 seconds.

   I tried to make a TimerTask but it's too slowly and I can see only 3-5
   images.

   There is a solution to play 20-30 images like a gif image? I read that
   I can do something with the spirte.

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

  --
  ~ Jeremiah:9:23-24
  Android 2D MMORPG:http://solrpg.com/,http://www.youtube.com/user/revoltingx

-- 
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] UI like Youtube

2011-12-14 Thread Christian Palomares (ShinjiDev)
Hi

I've spent 2 hours looking for a solution. I need to make a design
like the Youtube UI (Tablet UI) where it shows a vertical scroll, but
in each row there are 4 videos (landscape view). I've tried to do
something similar, but i couldn't =(

Is there any place where i can get the source code of the youtube
application for Tablet? Or maybe some resource to solve this? :(

Thxs

-- 
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] UI like Youtube

2011-12-14 Thread Christian Eduardo Palomares Peralta
Well, My first try was designing UI with scrollView, LinearLayout and
my_item.xml, i tried to inflate my_item.xml adding programmatically into
the linearlayout (horizontal orientation), but it doesn't work in the way
that i want. I need something like a linearlayout but with horizontal and
vertical orientation at the same time (something like a div).

I was thinking to use a ListView and a custom adapter (with my_item.xml),
but i'm not sure if this can be the best solution.

BTW, i searched in those resources, but i couldn't find something
appropiate for my problem :(

2011/12/14 TreKing treking...@gmail.com

 On Wed, Dec 14, 2011 at 11:57 AM, Christian Palomares (ShinjiDev) 
 palomare...@gmail.com wrote:

 I've tried to do something similar, but i couldn't =(


 What did you try? What didn't work?


 Is there any place where i can get the source code of the
 youtube application for Tablet?


 That app is no open-source, AFAIK.


  Or maybe some resource to solve this?


 http://developer.android.com/index.html
 http://android-developers.blogspot.com/?hl=en


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


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




-- 
Christian Eduardo Palomares Peralta (ShinjiDev) -
http://learningwebdev.blogspot.com
Administrador del Grupo Python-Perú

-- 
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] Display many images into the Imageview in 3-4 seconds

2011-12-14 Thread Christian Bianchini
I have a problem with Android and the perfomance, I should display
around 20-30 images, like a gif, in 3-4 seconds.

I tried to make a TimerTask but it's too slowly and I can see only 3-5
images.

There is a solution to play 20-30 images like a gif image? I read that
I can do something with the spirte.

-- 
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] UI like Youtube

2011-12-14 Thread Christian Eduardo Palomares Peralta
For me it's not the best solution because i need for portrait view
my_item.xml with a horizontal linearlayout for 3 items (i.e.), but for
landscape view with a horizontal linearlayout for 4 items, how can i
control something like that in the creation of my listview???

I just can have a solution for one (horizontal or portrait), but not both :(

2011/12/14 TreKing treking...@gmail.com

 On Wed, Dec 14, 2011 at 2:39 PM, Christian Eduardo Palomares Peralta 
 palomare...@gmail.com wrote:

 I was thinking to use a ListView and a custom adapter (with my_item.xml),
 but i'm not sure if this can be the best solution.


 From what you described, that sounds about right. Listview with each item
 being a horizontal LinearLayout. What's wrong with that? (Note I have not
 seen the YouTube app on a tablet so I don't have the visual).



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

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




-- 
Christian Eduardo Palomares Peralta (ShinjiDev) -
http://learningwebdev.blogspot.com
Administrador del Grupo Python-Perú

-- 
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: Issues with Notepad tutorial v1 getting the AndroidManifest.xml to work

2011-12-07 Thread christian
I too have this problem. Can't get it to work

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

[android-developers] FAILED BINDER TRANSACTION after several hours

2011-12-02 Thread Christian
Hey guys,

I'm running out of ideas and could not find any help by searching the
web so I'm trying to get some help this way. It's like this:

We have an application, that basically consists of one service and one
activity. The activity binds to the service and keeps the Binder
reference that is passed by the onServiceConnected method. Through
this reference the Activity can access some objects that are held by
the service. The service, however, only updates the Activity by using
the Messenger/Handler concept described here
http://developer.android.com/guide/topics/fundamentals/bound-services.html
(Using a Messenger).

The application runs for several (5 to 10) hours and then it freezes.
During the whole time, nobody touched the phone. I can still use home
and power buttons and sometimes the ANR dialog comes up but not until
I touched the screen or changed the orientation. The logcat then shows
FAILED BINDER TRANSACTION every some milliseconds but nothing else
that could help me. The custom log from the service tells me that the
onPause, onStop, onDestroy methods were not called and no uncaught
exception was fired as I registered a handler to this event. As it
takes so long for the error to occur, I have not been able to see it
happening in the log. Before going into further details of the
architecture:

   - what are the basic rules to obey to not run into that error? I
have read that I should not keep Context objects as members. What
about the service? Some classes that are instantiated by the service
needs access to the context to e.g. get a system service. Therefore
the service implements an interface that it passed to those created
objects and, of course, they keep it as a member. Do I need to avoid
that?
   - I included a thread that asks the ActivityManager for lowMemory
state on regular bases but that did never occur, so I ruled out Memory
leaks ... for now.
   - The application is not handling large images or large byte
arrays.
   - The service (or subclasses) registers receiver to the Battery and
Time changed events and also requests location updates from GPS. Any
known problems with that?
   - I tested the application on 4 different phones, 3 HTC sensation
and 1 HTC Desire HD. It's the same on every phone.
   - I am using monodroid from xamarin (http://android.xamarin.com/
Welcome) - please don't tell me to not use it. I know it is not the
best approach but in my company we don't have another option right
now. Still, any known problems relating to it?

I really hope someone has an idea and thanks in advance for reading
Christian

-- 
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 loading images from url

2011-11-11 Thread Christian Palomares (ShinjiDev)
Hi

I've seen many tutorials about how to load an image from my url, but
i've seen in apps like Uber Social where it loads the images in an
asynchronous way, can someone guide me how to do it in that way? =(

Thxs

-- 
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] Gingerbread boot time page fault

2011-10-13 Thread Christian Pinto
Hello everybody,

i'm working on the porting of Android gingerbread on an ARM based
virtual platform, based on ARM Fast Models Emulator (Cortex-a9 is the
target architecture). I was able to patch a Linux-2.6.38 kernel which
works pretty good with some releases of Android and the virtual
platform described above.
While trying to boot gingerbread i get an unhandled page fault error
at boot time, before even getting a command line session.
The init is executed and the error appears while starting services and
commands specified in init.rc. Gingerbread has been compiled
specifying armv7-a as TARGET_ARCH_VARIANT.

Following an extract of the error:

[5.68] debuggerd: unhandled page fault (11) at 0x000c,
code 0x017
[5.68] pgd = cb13c000
[5.68] [000c] *pgd=8d0a2831, *pte=, *ppte=
[5.68]
[5.68] Pid: 469, comm:debuggerd
[5.68] CPU: 1Not tainted  (2.6.38.5-00257-g3dd46ed-dirty
#2)
[5.68] PC is at 0xafd14d88
[5.68] LR is at 0xb00037b5
[5.68] pc : [afd14d88]lr : [b00037b5]psr: 4030
[5.68] sp : bed29ba0  ip : afd0a454  fp : b000fc94
[5.68] r10: b00094c4  r9 : b0010524  r8 : b00102d0
[5.68] r7 : 8c65  r6 : 0004  r5 : 0004  r4 :
afd40004
[5.68] r3 :   r2 :   r1 : 0004  r0 :
0ff0
[5.68] Flags: nZcv  IRQs on  FIQs on  Mode USER_32  ISA Thumb
Segment user
[5.69] Control: 10c5387d  Table: 8d13c04a  DAC: 0015
[5.69]
[5.69] R0: 0x0f70:
[5.69] 0f70      
 000 
[5.69] 0f90      f57ff05f
e12fff1e e32 e320f000
[5.69] 0fb0  e320f000 e320f000 e320f000 e320f000 f57ff05f
e1923f9f e053000 01823f91
[5.69] 0fd0  03330001 0afa e273 eaef


Does anyone knows the source of this problem??? I can't figure out
what is happening.

Thanks in advance

Best Regards,

Christian

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

2011-09-16 Thread Christian Bianchini
I have a PNG that I need to remove the background with Mulipily
Blending, I found an example but I should to have the image in 3
colors and the alpha. My problem is that I don't have only one png but
1000 png, I should to do the Blending every image.

This is the example: 
http://kevindion.com/2011/01/android-bitmap-blending-color-channels/

-- 
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] Debugging Junit Testcases

2011-09-15 Thread Christian Pelster
Hi all,

I'm currently trying to debug a simple Junit Testcase. My setup is a
simple HelloWorld project, with an accompanying testproject (set up
accordingly to 
http://developer.android.com/resources/tutorials/testing/helloandroid_test.html).
The testcase that looks like this:

---
public class RestServiceTest extends InstrumentationTestCase {


public void testRemoteService()
{
   // some tests
}
}
---

when I run the Tests via Run as...Android Junit Test everything
works as axpected, but when I try to debug the testcase via Debug
as...Android Junit Test everything works normal until the log says
Running tests... which lasts there forever and my breakpoints are
never hit.

Can anyone give me a hint?

Regards,

Christian

-- 
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] Weview support SVG?

2011-09-12 Thread Christian Bianchini
I know that Webview dosen't support SVG but maybe someone know
someplugin or library to support it.

I need to show a SVG by Webview but there aren't ways to load the
image.

Pls tell me if there is any 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


Re: [android-developers] Re: Webview android

2011-09-10 Thread Christian Bianchini
I found that the problem is the SVG, android doesn't support it but maybe
there is a library to implement  it.
Anyone know something about that?

On Sat, Sep 10, 2011 at 2:38 AM, IcedNet d...@icednet.info wrote:

 I looked at xui before giving in and writing all the javascript by
 hand...

 on the other hand, the html5 and css3 are useful, though I haven't
 tried the Canvas object.
 if you're good with javascript and Canvas works, you might be better
 off...  The libraries usually do a lot of the work for you, but the
 webview is not a browser, and it has some real issues that the
 libraries aren't coding for.

 Peace,
 Dan

 On Sep 9, 3:35 pm, Christian Bianchini
 christian.bianch...@euservers.net wrote:
  Yes I enabled the JS, I tried to setup a webclient or a chromeclient but
  nothing is changed.
 
  I don't know why but the native webkit engine isn't so cool than firefox,
  this is a big surprising for me because Chrome is a very good Browser...
 
  There is any library ?
 
 
 
 
 
  On Fri, Sep 9, 2011 at 9:22 PM, IcedNet d...@icednet.info wrote:
   You are enabling JavaScript in the WebView, yes?
 
   If so, and you still have problems, I would invite you to browse
   around with Android's Browser to the various library sites' demo
   pages and watch the fail unfold...
   It has issues with many things, JavaScript included.  It is the public
   facing version, and actually functions better than the API's WebView
   in many respects.
   If you are counting on using a JavaScript Library with the internal
   WebView, count on a world of hurt.
 
   As for using Firefox's webkit as a webview, that is a project of
   enormous magnitude, as in porting yet another webkit to Android...
 
   And I am not snarking, tyvm  ;)
 
   Peace,
   Dan
 
   On Sep 9, 3:07 pm, Jeremy Dagorn jeremy.dag...@gmail.com wrote:
Hi,
 
Look at the documentation, there is a simple example about how to
 load
an URL from a WebView!
  http://developer.android.com/resources/tutorials/views/hello-webview..
 ..
 
Best,
 
On Sep 9, 11:53 am, Christian Bianchini max...@gmail.com wrote:
 
 I have a problem with webview, I tried to use thehttp://
 raphaeljs.com/
 library but was working only on my computer. I tried to use the
 browser and doesn't work as well.
 I tried to download Firefox on my phone and it's work!
 
 Anyone can suggest me any idea? I would like to use a webview of
 Firefox but I haven't any idea how to do 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
 
  --
  ---
  Web/Mobile Developer
  Luiis Group
  christ...@bianchini.ch christ...@biachini.ch

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




-- 
---
Web/Mobile Developer
Luiis Group
christ...@bianchini.ch christ...@biachini.ch

-- 
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] Webview android

2011-09-09 Thread Christian Bianchini
I have a problem with webview, I tried to use the http://raphaeljs.com/
library but was working only on my computer. I tried to use the
browser and doesn't work as well.
I tried to download Firefox on my phone and it's work!

Anyone can suggest me any idea? I would like to use a webview of
Firefox but I haven't any idea how to do 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] Re: Webview android

2011-09-09 Thread Christian Bianchini
Yes I enabled the JS, I tried to setup a webclient or a chromeclient but
nothing is changed.

I don't know why but the native webkit engine isn't so cool than firefox,
this is a big surprising for me because Chrome is a very good Browser...

There is any library ?


On Fri, Sep 9, 2011 at 9:22 PM, IcedNet d...@icednet.info wrote:

 You are enabling JavaScript in the WebView, yes?

 If so, and you still have problems, I would invite you to browse
 around with Android's Browser to the various library sites' demo
 pages and watch the fail unfold...
 It has issues with many things, JavaScript included.  It is the public
 facing version, and actually functions better than the API's WebView
 in many respects.
 If you are counting on using a JavaScript Library with the internal
 WebView, count on a world of hurt.

 As for using Firefox's webkit as a webview, that is a project of
 enormous magnitude, as in porting yet another webkit to Android...

 And I am not snarking, tyvm  ;)

 Peace,
 Dan

 On Sep 9, 3:07 pm, Jeremy Dagorn jeremy.dag...@gmail.com wrote:
  Hi,
 
  Look at the documentation, there is a simple example about how to load
  an URL from a WebView!
 http://developer.android.com/resources/tutorials/views/hello-webview
 
  Best,
 
  On Sep 9, 11:53 am, Christian Bianchini max...@gmail.com wrote:
 
 
 
 
 
 
 
   I have a problem with webview, I tried to use thehttp://raphaeljs.com/
   library but was working only on my computer. I tried to use the
   browser and doesn't work as well.
   I tried to download Firefox on my phone and it's work!
 
   Anyone can suggest me any idea? I would like to use a webview of
   Firefox but I haven't any idea how to do 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




-- 
---
Web/Mobile Developer
Luiis Group
christ...@bianchini.ch christ...@biachini.ch

-- 
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 create an app as a service and make it invisible to the user?

2011-02-03 Thread Christian Chabtini
Hey doug,

well, i want to create an app similar to mobistealth, mobile spy and
many others apps that i saw for iphones,android phones.
i am very curious how they accomplished that!!!

I am also interested if i can write a program that can detect the
service or wahtever is running invisibly in the background

my question is more for research.. i am still learning development in
android and has many different app in mind... currently just trying to
imitate to gain knowledge of all diferent techniques that i can
possibly use...

but i dont think my motives here matter i really hope someone can
explain how this is done programmatically

thank you

On Feb 2, 11:13 pm, Doug beafd...@gmail.com wrote:
 Maybe you'd like to tell us what you're doing in this app that needs
 to be fully invisible to the end user?

 Doug

 On Feb 1, 5:39 pm, Christian Chabtini cchapt...@gmail.com wrote: Hi,

  I would like to be able to create a service that runs in the
  background. The user should not be able to detect this app.
  The service should be listening for specific events and sends info to
  a server accordingly.

  How would i be able to accomplish that and make the service completely
  invisible ?

  ---­-
  Thank you,
  Christian Chabtini
  Software Engineer
  EMIDA

-- 
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: Can i use a BroadcastReceiver or Service to retrieve an Incoming call

2011-02-03 Thread Christian Chabtini
hey guys

just an update on the earlier discussion
if checking on the features in mobistealth
it clearly states CALL RECORDING
quoted from the link Mobistealth mobile spy software enables you to
record all calls made from/to specific numbers.  The recorded calls
will be uploaded secretly to your stealth club account, which can
later be listened to at any time.
http://www.mobistealth.com/cheating-spouse-spy-software.php

anyone knows how they did it ?

On Feb 1, 9:06 pm, petko petko.iva...@gmail.com wrote:
 while that is probably true, i think you can get notification for an
 incoming call and start recording from the microphone.
 That will still give you only half of the conversation but still
 better than nothing :)
 is recording while a call is in progress possible?

 On Feb 1, 8:47 pm, Mark Murphy mmur...@commonsware.com wrote:



  On Tue, Feb 1, 2011 at 8:38 PM, Christian Chabtini cchapt...@gmail.com 
  wrote:
   I would like to fist detect an incoming call with all the info and
   then retrieve the audio at will

  You have no access to the in-call audio in Android, sorry.

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

  Android Training in Atlanta:http://bignerdranch.com/classes/android- 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


[android-developers] Re: Can i use a BroadcastReceiver or Service to retrieve an Incoming call

2011-02-03 Thread Christian Chabtini
in response to Petko,

i think it should be possible ... well at least to record from the mic
the surrounding voice...

i am not an expert so please if someone can confirm this.. i read that
all apps are independant tasks in the android OS although they can
communicate with each other.. then i would assume it's safe to run a
parallel app to access the mic while a call is in progress..
definitely wanna give that a try when i have time..
can someone give explanation how we can accomplish that if its
possible


thank you
Christian


On Feb 1, 9:06 pm, petko petko.iva...@gmail.com wrote:
 while that is probably true, i think you can get notification for an
 incoming call and start recording from the microphone.
 That will still give you only half of the conversation but still
 better than nothing :)
 is recording while a call is in progress possible?

 On Feb 1, 8:47 pm, Mark Murphy mmur...@commonsware.com wrote:



  On Tue, Feb 1, 2011 at 8:38 PM, Christian Chabtini cchapt...@gmail.com 
  wrote:
   I would like to fist detect an incoming call with all the info and
   then retrieve the audio at will

  You have no access to the in-call audio in Android, sorry.

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

  Android Training in Atlanta:http://bignerdranch.com/classes/android- 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


[android-developers] Re: How to create an app as a service and make it invisible to the user?

2011-02-02 Thread Christian Chabtini
Hi, can you please give more details or some links about rooting and
building custom ROMs ? what is that mean?
thank you Mark and Aleksandr for your feed... your help is much
appreciated

On Feb 2, 8:47 am, JAlexoid (Aleksandr Panzin) jalex...@gmail.com
wrote:
 There's always rooting and building custom ROMs

 On 2 фев, 03:46, Mark Murphy mmur...@commonsware.com wrote:



  On Tue, Feb 1, 2011 at 8:39 PM, Christian Chabtini cchapt...@gmail.com 
  wrote:
   I would like to be able to create a service that runs in the
   background. The user should not be able to detect this app.

  Fortunately, this is not possible from the SDK. At minimum, the user
  will see it in the applications list, the manage services Settings
  screen, and via any third party task monitors.

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

  Android Training in Atlanta:http://bignerdranch.com/classes/android- 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


[android-developers] Re: Can i use a BroadcastReceiver or Service to retrieve an Incoming call

2011-02-02 Thread Christian Chabtini
so how come mobistealth, androidspy and mobile spy and similar apps
that works on all android cell phones along with a big list of other
phones.. how and why were they able to access and record phone calls ?

On Feb 1, 5:47 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Tue, Feb 1, 2011 at 8:38 PM, Christian Chabtini cchapt...@gmail.com 
 wrote:
  I would like to fist detect an incoming call with all the info and
  then retrieve the audio at will

 You have no access to the in-call audio in Android, sorry.

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

 Android Training in Atlanta:http://bignerdranch.com/classes/android

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


[android-developers] How to develop new android apps considering that the app will also be developed for other phones

2011-02-01 Thread Christian Chabtini
Hi,

I want to know what kind of general strategy i would have to follow
while developing android apps in order to easily make my app available
to other phones .. in other words easily transferable.

For example, i would like to know the basic strategy i need to follow
to make an app available to an iphone OS,blackberry OS, Windows and
Nokia.

It would be nice to develop an app that translates existing apps from
one phone to another despite the differences in libraries, languages
and security... not to mention hardware.. thats another s

Just want to make sure that i am starting my project right 


Thank you,
Christian Chabtini
Software Engineer
EMIDA

-- 
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 i use a BroadcastReceiver or Service to retrieve an Incoming call

2011-02-01 Thread Christian Chabtini
I would like to fist detect an incoming call with all the info and
then retrieve the audio at will

For instance, if the user received a call, i would like to obtain the
phone number and a timestamp then i would get the audio and do some
parsing in order to achieve a speech-to-text system.
I would like to accomplish that while the user is on the phone.
I need the service or BroadcastReceiver to be active while the user is
on the phone and sends the audio back to the server...

I read somewhere that i should do this by creating a service in the
backgound? is that possible to do? or BroadcastReceiver is the way to
go ?
Are any of my suggested approaches would work for such project ?
I am still new to ANDROID so please provide as many details as
possible.

Your Help is greatly appreciated.


Thank you,
Christian Chabtini
Software Engineer
EMIDA

-- 
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 create an app as a service and make it invisible to the user?

2011-02-01 Thread Christian Chabtini
Hi,

I would like to be able to create a service that runs in the
background. The user should not be able to detect this app.
The service should be listening for specific events and sends info to
a server accordingly.

How would i be able to accomplish that and make the service completely
invisible ?


Thank you,
Christian Chabtini
Software Engineer
EMIDA

-- 
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] Intercept incoming and outgoing Phone Call and text messages

2011-01-28 Thread Christian Chabtini
Can any one suggest how to intercept  and save an incoming and
outgoing Call/Sms in android?

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


[android-developers] Will pay to have someone develop this app for me.

2011-01-18 Thread Christian Childs
There is an Android app called SMS Backup + that allows you to have
all your text messages, MMS messages and your call log info forwarded
to a gmail account. I was wondering if I could commission someone to
create an almost identical application, with ALL the same functions
and settings, but in widget form, like the app Invisible Protector
Pro so that it can only be accessed by putting the widget on your
home screen and then you can delete the widget after you alter the
settings as needed. This is a serious offer and if you name a
reasonable price, I will likely pay it and you can also keep the
rights to the app afterward to do with as you will. There are a few
more details, however I will discuss them with anyone who is
interested. My name is Christian Childs. My US phone number is
609-233-0746. You can either call me or email me at
foreignextr...@aol.com. I hope to hear from someone soon.

-- 
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 show the SampleSyncAdapter on HTC Sense?

2010-12-06 Thread Christian
Hi,

Nothing. It does not work correct on HTC Sense devices.
You can link contacts of the SyncAdapter to existing contacts but you
cannot choose then in the display settings.

Regards,
Christian

-- 
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 show the SampleSyncAdapter on HTC Sense?

2010-12-03 Thread Christian
Hi,

Nothing. It does not work correct on HTC Sense.
As it seems, the Contacts App only supports the internal adapters for
showing up all Contacts.
But: You can link contacts from your Sync Adapter to existing Contacts
when the name matches. Unfortunately they are not auto-linked.

Regards,
Christian

-- 
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] Looking for sources of Searchable Dictionary v2

2010-11-22 Thread Christian Brehm
Hi,

I have the sample code packages for eclipse installed. On the webpage
about Searchable Dictionary v2
http://developer.android.com/resources/samples/SearchableDictionary/index.html
it is noted that the project source code is contained in the SDK.
But the SDK only contains V1 without database usage.

Can the souces be downloaded somewhere else?

Thanks for your help,
Christian

-- 
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] sample code in GPL3 release

2010-10-07 Thread Christian Buchner
Whenever you publish GPL'ed code, you retain the copyright on the pieces
that you've contributed.
This is why the GPL is enforcable - you can hit GPL violators by means of a
copyright lawsuit.

So the correct thing to do (IMHO) is to leave the orginal copyright notice
intact, but to put the
GPL header on top. That is assuming the Apache License is indeed GPL
compatible.

-- 
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 Porting on Telechips TCC89XX: Not able to start init process

2010-09-25 Thread Christian Buchner
Note: There is a dedicated android-porting mailing list. You'll most likely
find some experts there.

-- 
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] Please help me with calculating direction from point A to B

2010-09-22 Thread Christian Buchner
this sounds trivial to me.

Just compensate the error that is introduced by not actually pointing the
device north by subtracting that error from your arrow's pointing angle. No
need to change any algorithm, just compensate for the dude, you're holding
it wrong

-- 
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] Nokia inviting Developers to become an Ovi store publisher.

2010-09-20 Thread Christian Buchner
Does the OVI store sell software to users of Android devices? So far I
thought this was a Nokia-specific thing.

Christian

-- 
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] Can't find my posts :(

2010-09-17 Thread Christian Buchner
This won't happen to you if you become member of this group with a Google
Mail account. Create a filter rule to tag each incoming post with a label
android-developers and set it for immediate archival so it doesn't clutter
your inbox. Now you can access all android-developers postings by clicking
on the label. With the powerful Google Mail search feature you should be
able to find any thread containing your postings - or any topic that you're
interested in.

-- 
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] Developing for Galaxy tab(any tab resolution devices)

2010-09-17 Thread Christian Buchner
 I want to how to develop and test apps for the Galaxy tab. I mean like
 the Android simulator, can we test the tab apps on a simulator? Is
 there a way to download simulator for the tab or should we tweak the
 existing simulator?


Create your own AVD image with 1024x600 screen resolution and optionally
use the layout fix for the on screen buttons that was posted in this group
before.

Christian

P.S: I wish people would use the search function more often ;)

-- 
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 emulator is slow on vmware

2010-09-17 Thread Christian Buchner
Try Installing Android-x86 in a virtual machine. This is much faster and
works if you don't use any machine specific native code (NDK, JNI). Their
Froyo port is not yet 100% complete, but the Android 1.6 release is very
stable.

-- 
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: GOOGLE, WHAT IS GOING ON with the Active Install %? Bug in install to SDCARD is my guess!

2010-09-15 Thread Christian Buchner
 One of my games was released in April. More than 10 updates later, I
 am still receiving crash reports from the original version of the
 game.


A lot of people may be getting their apps from shady download sites instead
through the Android Market (app packs, often packaged as rar archives and
uploaded to share hosting sites or distributed through bittorrent).

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

2010-09-08 Thread Christian Buchner
 Is it possible to get the Google ID of the phone? Google ID is the
 Gmail ID used for setting up the phone.

On Android 2.x:

adb shell *sqlite3* /data/data/com.google.*android*.googleapps/databases/gls.db

*select* * from *meta*;

On Android 1.x the database has a different name. Google it ;)

Christian

-- 
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: Google ID

2010-09-08 Thread Christian Buchner
 I want to obtain it through code. Is there any way to do so?


Sorry, I cannot help you there - I am not yet familiar with theGoogle APIs
on Android.

You could certainly use the sqlite3 API to access these database files
directly, but relying on this is not guaranteed to work in future Android
revisions. They already changed the file's locations between Android 1 and
Android 2.

-- 
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] Develop Games

2010-09-07 Thread Christian Eduardo Palomares Peralta
Hi everyone

I'm designing a game for Android, but i can't find a generator of maps, does
anyone know about it??? Could you recommend me a program for this??

Thxs

-- 
Christian Eduardo Palomares Peralta (ShinjiDev) -
http://learningwebdev.blogspot.com
Administrador del Grupo Python-Perú

-- 
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] Develop Games

2010-09-07 Thread Christian Eduardo Palomares Peralta
Robert and Miguel, thxs for your help

Sorry if i'm not very well with my english, but i'm from Perú

I'll follow your recommendations =)

Thxs

2010/9/7 Miguel Morales therevolti...@gmail.com

 I don't think it was that bad, I've see a million times worse.   I
 can't expect everyone's English to be that good.

 On Tue, Sep 7, 2010 at 1:39 PM, Haroon Khalid ghett...@gmail.com wrote:
  how do fucking emails like this get approved by moderators? dude give up
 on
  Android and slap yourself in the face.
 
  On Tue, Sep 7, 2010 at 3:54 PM, TreKing treking...@gmail.com wrote:
 
  On Tue, Sep 7, 2010 at 1:51 PM, Christian Eduardo Palomares Peralta
  palomare...@gmail.com wrote:
 
  i can't find a generator of maps, does anyone know about it???
 
  What is a generator of maps???
 
 
  Could you recommend me a program for this??
 
  For what???
 
 
 
 -
  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.comandroid-developers%2bunsubscr...@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.comandroid-developers%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en



 --
 ~ Jeremiah:9:23-24
 Android 2D MMORPG: http://developingthedream.blogspot.com/,
 http://diastrofunk.com,
 http://www.youtube.com/user/revoltingx

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




-- 
Christian Eduardo Palomares Peralta (ShinjiDev) -
http://learningwebdev.blogspot.com
Administrador del Grupo Python-Perú

-- 
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] augmented reality android

2010-09-01 Thread Christian Palomares (ShinjiDev)
Hi people

I need to develop a game using augmented reality, but i don't know
about an SDK or tutorial who can help me =(

Some have worked with augmented reality???

Thxs

-- 
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: Visit Installed App Details Page on Android 2.2

2010-08-09 Thread Christian Mehlmauer
The name for the Extra changed. It's now:
pkg

so it would be:
i.putExtra(pkg, mAppContextPackageName);

On 11 Jun., 22:56, Bo wang.b.fr...@gmail.com wrote:
 Hi All,

 I was using this method to show users the installed app details page

 Intent i = new Intent(Intent.ACTION_VIEW);
 i.setClassName(com.android.settings,
     com.android.settings.InstalledAppDetails);
 i.putExtra(com.android.settings.ApplicationPkgName,
     mAppContextPackageName);
 // start new activity to display the information
 startActivity(i);

 It works fine until 2.2, which gives me a NPE

 06-11 22:50:46.443: ERROR/AndroidRuntime(4797): Caused by:
 java.lang.NullPointerException

 06-11 22:50:46.443: ERROR/AndroidRuntime(4797): at
 com.android.settings.InstalledAppDetails.onResume(InstalledAppDetails.java:
 398)

 06-11 22:50:46.443: ERROR/AndroidRuntime(4797): at
 android.app.Instrumentation.callActivityOnResume(Instrumentation.java:
 1149)

 06-11 22:50:46.443: ERROR/AndroidRuntime(4797): at
 android.app.Activity.performResume(Activity.java:3823)

 06-11 22:50:46.443: ERROR/AndroidRuntime(4797): at
 android.app.ActivityThread.performResumeActivity(ActivityThread.java:
 3118)

 The 2.2 source is not opened yet, so it's hard for me to figure out
 what's happening around line 398 of InstalledAppDetails.java

 Does anyone have a solution for this?

 Thank you 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] Android Appwidget resolveUri failed on bad bitmap uri

2010-08-03 Thread Christian
Hello everybody,

I'm programming an appwidget that downloads an image from a website
and displays it. The approach is easy, but I get an error, if I want
to set the imageView to the URI of the downloaded image.

First I set the imageView with updateViews.setImageViewBitmap, where
updateViews is a RemoteViews Object. The Problem was an Transaction
Binding Error, because the images gets serialized and the transaction
became to big. So good so far. Then I decided I want to save the
picture on the ! internal ! (not external / not sd-card) memory. The
download works fine and in my preferences activity of the appwidget
the downloaded image gets displayed. But, when I go back from the
preferences activity then the Widget doesn't show the image.

The error occurs is: INFO/System.out(151): resolveUri failed on bad
bitmap uri: /data/data/com.mywidget/files/temp.jpg

But the preference activity can display the image with exactly this
URI!

So where is the problem, I really can't find it!

This is the part where I create my UpdateViews. This gets called by
the UpdateService!

String filename = temp.jpg;
context.deleteFile(filename);
FileOutputStream fos;
File file = context.getFileStreamPath(filename);
Log.d(TAG, BuildUpdate: +file.toString());
try {
Bitmap bmImg = 
BitmapFactory.decodeByteArray(data, 0,
data.length); //options am Ende einfügen
fos = context.openFileOutput(filename, 
Context.MODE_PRIVATE);
BufferedOutputStream bos = new 
BufferedOutputStream(fos);

bmImg.compress(Bitmap.CompressFormat.JPEG, 100, bos);
bos.flush();
bos.close();
fos.close();

} catch (FileNotFoundException e) {
Log.d(TAG, e.toString());
e.printStackTrace();
} catch (IOException e) {
Log.d(TAG, e.toString());
e.printStackTrace();
}
updateViews.setImageViewUri(R.id.ImageView01,
Uri.parse(file.toString()));



I hope someone can help me with this error.

Thanks a lot,
Christian

-- 
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] Hello World App in Ubuntu won't run

2010-06-30 Thread Christian Kuen
Hi,

the letters 'ANDROID_' are displayed during the start up of the AVD. You
need to wait longer until the device has finished the start up process.
After a while you should see the home screen of Android and then you can
start your 'Hello World' application.

best regards,
Chris



2010/6/29 kismet altin.u...@googlemail.com

 Hi,

 I just wanted to run my first android application, but unfortunately
 in my AVD i don't see anything, just 'ANDROID_' and not my 'Hello,
 World' which i tried to display.

 I don't know where the issues is and I tried to search this Discussion
 as well.

 In my AVD Manager I created on AVD named it 'TestDevice'  platform 2.2
 etc. and even if I start it there I just get the letters 'ANDROID_'
 and noting else even the home button won't work

 anyone any idea.

 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.comandroid-developers%2bunsubscr...@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] Forcing Sensor Readout?

2010-06-21 Thread Christian Schneider
Is there a way to force a sensor readout, without waiting for the
SensorEnventListener to get triggered?
The problem i encountered playing around with Sensors, is the
lightsensor won't call the EventListener unless i cover up the Hole on
the smartphone where the Light sensor/Proximity sensor is. Turning the
smartphone so that it faces a window works too of course. The small
changes in ambient light level while just holding the Phone seem to be
to little to trigger a sensor event. So i need a way to call a
give_me_the_data_right_now() function...

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


[android-developers] Android Mobile Platforms Engineer in Playa Del Rey, CA

2010-05-28 Thread Christian Carollo
GameFly, the leading subscription-based video game rental company is
currently seeking a qualified Mobile Platforms Engineer to join its
expanding, in-house team in Playa Del Rey, CA. to create standards-
compliant mobile solutions, targeted for the Android platform.
Core Qualifications

o   Experience in developing Java applications for mobile platforms
o   Experience with the Android SDK
o   Mobile Web site / e-commerce development experience
o   Proven experience defining and consuming services within
transactional applications, both native to the device and mobile web.
o   Ability to work both independently and in a team environment
o   Ability to use design compositions to develop native platform
applications with efficiency and a strong eye for detail.
o   Excellent problem solving skills to troubleshoot issues with
existing systems and cross-browser compatibility issues.
o   Demonstrated ability to work in a fast paced environment and possess
time management skills to meet schedules.
o   Willingness to participate in after-hour and on-call support.
o   Desire to learn and use new technologies.
o   Excellent written and oral communication skills.
o   Nice to have – a published application in the Android Marketplace.


Job Responsibilities

o   Develop custom applications and enhance existing applications to
meet distinct and changing business requirements.
o   Assist with project planning, project definition, requirements
definition, analysis, design, testing, system documentation and user
training.
o   Support QA resources in developing test plans and test scripts.
o   Interface with project managers, designers, and other development
resources.
o   Provide post-implementation and on-going production on-call support
when necessary.

Technology

o   Languages/Technologies (in order of importance): Java, XML, Web
Services

Experience

o   Must have minimum of 3 to 5 years in an engineering role developing
mobile solutions with previous experience developing Android
applications.

About the Company

GameFly is the leading subscription-based video game rental company
that enables consumers to sign up online to select the games they want
delivered to their home.

Our mission is to be the leading source for gamers to rent, play and
buy games for Play Station®3, PS2™, Xbox™, Xbox 360™, Wii™, GameCube™,
Game Boy® Advance, Nintendo DS™, and PSP™. With more than 7,000 titles
to choose from, GameFly carries all the latest releases, as well as
hard-to-find classic games.

We offer an informal environment, health benefits, 401K (with match),
stock options and of course a free game account. EOE.

-- 
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] Switching between tasks

2010-03-08 Thread Christian Erpelding
Hello everybody,

I'd like to create an Application that uses 2 Tasks with Activities.
Let's call the Tasks A and B and the activites A1, A2, ..., An and 
B1, B2, ... Bn. 

A1 and B1 should be the entry points of the two Tasks.
A1 is also be the entry point of the whole Application (i.e. 
A1=MAIN=LAUNCHER).

In the App, I would like to be able to switch between the 2 Tasks and 
the whole Activity stack of this task should be restored.

Let's say the user browses my App like this:

A1 - A2 - A3 
  (switch tasks)
B1 - B2 
  (switch tasks)
A3 (user presses BACK key) A2 
  (switch tasks)
B2

Is such a task switching supported by the Android API?

Thanks a lot in advance,
Christian Erpelding


pgpS6lGfVNl4Z.pgp
Description: PGP signature


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

2009-11-30 Thread Jens-Christian Larsen
Thank you Klaus for the response.
What you say is also what I have come to understand.
I think I will try to download a local copy of the streamed content
and play that instead.
In any case the MediaPlayer class seem not to be working correctly in
most streaming audio cases.
I guess I will have to look into making it a service too.

best regards
Jens-Christian

On 30 Nov., 11:57, Nugman klaus.nuta...@googlemail.com wrote:
 First of all the MediaPlayer does not support all music streaming
 formats, as I understood.
 I also struggeling with it.
 For me it is working to play a mp3 file located on a server. Try this
 first.
 But it seems that m3u or aac is not supported at all. (Implement a
 ErrorListener to see the error)
 I hope that I am wrong in this case, but I cant get it to work,
 either.
 Maybe you can decrypt the m3u file yourself to get the mpeg itself.
 Let me know how this works.

 Nevertheless the best thing is, to create a remote service (or a
 thread) that prepares and plays the music. So it does not disturb the
 main gui.

 Sorry that is all I know.
 Greets Klaus

 On 27 Nov., 11:25,Jens-ChristianLarsen jenschrlar...@gmail.com
 wrote:

  I am trying to make a very simple radio player for Android and I
  cannot get the audio streaming to work. In my latest attempt it plays
  for about 1 second and stops for some streams and it doesnt work at
  all for some other streams. Logcat doesn't give much useful
  information to me.
  I am testing on HTC Hero (Android 1.5).

  If I hook the completion and buffer events I see the audio gets a
  complete event but it keeps buffering.
  Is there anything wrong with the code below?
  Should I be able to stream the the audio streams below?
  Is there a complete example somewhere of a working radio streaming?

  Thanks for any and all suggestions.

  public class MyActivity extends Activity implements OnPreparedListener
  {
          MediaPlayer streamPlayer = new MediaPlayer();

          public void onPrepared(MediaPlayer mp) {
                  streamPlayer.start();
          }

          @Override
          public void onCreate(Bundle savedInstanceState) {
                  super.onCreate(savedInstanceState);
                  String path = http://www.nch.com.au/acm/sample.aac;;
                  // String path = http://radio.bis.bg:8000/buddhabar;;
                  // String path = 
  http://kzsulive.stanford.edu/audio/kzsu-1-24.m3u;;
                  try {
                          Uri uri = Uri.parse(path);
                          streamPlayer.reset();
                          streamPlayer.setDataSource(this, uri);
                          
  streamPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
                          streamPlayer.setOnPreparedListener(this);
                          streamPlayer.prepareAsync();
                  } catch (Exception e) {
                          e.printStackTrace();
                  }
                  setContentView(R.layout.main);
          }

  }



-- 
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] Playing a audio stream not working using MediaPlayer

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

If I hook the completion and buffer events I see the audio gets a
complete event but it keeps buffering.
Is there anything wrong with the code below?
Should I be able to stream the the audio streams below?
Is there a complete example somewhere of a working radio streaming?

Thanks for any and all suggestions.


public class MyActivity extends Activity implements OnPreparedListener
{
MediaPlayer streamPlayer = new MediaPlayer();

public void onPrepared(MediaPlayer mp) {
streamPlayer.start();
}

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
String path = http://www.nch.com.au/acm/sample.aac;;
// String path = http://radio.bis.bg:8000/buddhabar;;
// String path = 
http://kzsulive.stanford.edu/audio/kzsu-1-24.m3u;;
try {
Uri uri = Uri.parse(path);
streamPlayer.reset();
streamPlayer.setDataSource(this, uri);

streamPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
streamPlayer.setOnPreparedListener(this);
streamPlayer.prepareAsync();
} catch (Exception e) {
e.printStackTrace();
}
setContentView(R.layout.main);
}
}

-- 
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: DatePicker.init crashes without reason

2009-10-06 Thread Christian Grasser

You set the wrong values.
Instead of:
dateofbirthView.init(Integer.parseInt(date[2]), Integer.parseInt(date
[1]), Integer.parseInt(date[0]), null);

You must set:
dateofbirthView.init(Integer.parseInt(date[2]), Integer.parseInt(date
[0]), Integer.parseInt(date[1]), null);

First parameter is year, second is monthOfYear and third is
dayOfMonth.
But you set year, dayOfMonth and monthOfYear.

--~--~-~--~~~---~--~~
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 list adapter using SQL and line-specific icons

2009-08-28 Thread Christian S.

I have been twisting my head around this issue for quite some time
now. Couldnt find anything close on the web. That's why I am coming
back to you now.

This is what I already have:

- Simple list adapter bound to an SQL database (TextView only) -
WORKS!
- And in a separate app: An imageloader that load images nicely from
my website into an ImageView - WORKS AS WELL!

This is what I like to have as an expansion / enhancement from the
above - all nicely integrated into one app:

- a custom list adapter that shows an icon + corresponding text (e.g.
apple icon and text Apple)
- The web URL to the corresponding icon would be pulled from the SQL
database through the Cursor
- Based on the web URL the custom list adapter would load the correct
image (the image apple) using the xml layout (ImageView + TextView)
- And it would pull the corresponding TextView (the word Apple)
elements from the SQL database

If anyone of you has sample code or a tutorial that shows how to make
this all work ... I would be really grateful. (almost needless to say
that I am an Android novice ... but fanatic about it :-)).

Best regards christian
--~--~-~--~~~---~--~~
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 root German G1 running on CRC37?

2009-08-24 Thread Christian S.

Hi, anyone has a step-by-step approach how to root a German G1 running
on CRC37? 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] URGENT: install sqlite db on Android phone???

2009-07-29 Thread Christian S.

Folks, apologies ... I have a very urgent request. Tomorrow I want to
present an Android application on the phone (not on the emulator) to a
group of students. I have a Samsung Galaxy running on Android 1.5.

I got it all hooked up and I can see the device using adb devices. I
can also see it in DDMS. So the connection is fine. I even can install
the application on the device - but I cannot run it.

The main problem seems to be that my application cannot access the
corresponding local SQLite database. Everything works perfectly on the
emulator. I figured out that I also cannot access the data/data folder
on the devices. It says permission denied. Then I found out that I
have to root the device. But absolutely no clue how I can do that.
Also installing the apk through adb install  did not work.

What can I do in order to get my SQLite db on the device? Do I have to
root it?

Again, as this is really urgent (until tonight Wed July 29th) please!

Regards Christian

--~--~-~--~~~---~--~~
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: URGENT: install sqlite db on Android phone???

2009-07-29 Thread Christian S.

Mark - I just tried to push it through adb push  onto the device.

I got the following error now: failed to copy 'database.db' to 'data/
data/packagenamehere/databases/database.db': Permission denied

It seems like the folder on the device is write protected and cannot
copy it onto there.

For installing / running the app on the device I only got the usual
error that the application has stopped. This is certainly related to
the missing SQLite database.

Any further ideas?


On Jul 29, 4:02 pm, Mark Murphy mmur...@commonsware.com wrote:
 Christian S. wrote:
  Folks, apologies ... I have a very urgent request. Tomorrow I want to
  present an Android application on the phone (not on the emulator) to a
  group of students. I have a Samsung Galaxy running on Android 1.5.

  I got it all hooked up and I can see the device using adb devices. I
  can also see it in DDMS. So the connection is fine. I even can install
  the application on the device - but I cannot run it.

 What errors are you getting?

  The main problem seems to be that my application cannot access the
  corresponding local SQLite database.

 Ideally, your application would lazy-create the database.

  I figured out that I also cannot access the data/data folder
  on the devices.

 Not by browsing. Particularly if your application is compiled in debug
 mode, you should be able to access its files and such directly via adb
 push and adb pull. Leastways, last I tried, that worked on devices --
 it's been a bit.

  Then I found out that I
  have to root the device. But absolutely no clue how I can do that.

 You should not need to do that.

  Also installing the apk through adb install  did not work.

 What errors did you get? And how did you install the application otherwise?

  What can I do in order to get my SQLite db on the device? Do I have to
  root it?

 If you have an existing SQLite database, with the device plugged in, and
 from the directory where the database resides, run:

 adb push your.db /data/data/your.package.here/databases

 where your.db is the SQLite database and your.package.here is the Java
 package for your application, as declared in your manifest.

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

 Android App Developer Training:http://commonsware.com/training.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: URGENT: install sqlite db on Android phone???

2009-07-29 Thread Christian S.

1. This is the logcat record:

Android Launch!
adb is running normally.
Performing com.database.test.v1.Bldatabase activity launch
Automatic Target Mode: Unable to detect device compatibility. Please
select a target device.
Uploading Bldatabase.apk onto device 'I7500OXEy3qBTwH'
Installing Bldatabase.apk...
Success!
Starting activity com.database.test.v1.Bldatabase on device
ActivityManager: Starting: Intent { comp={com.database.test.v1/
com.database.test.v1.Bldatabase} }

So the logcat actually shows no errors at all. The screen on the
device however give this application has stopped error. Nothing
else.

2. Do you have some sample code that would show a step-by-step
approach of the way you just described above? (I am a novice that's
why ...)
How can I directly make the application look for the database on the
SD card?

On Jul 29, 4:46 pm, Mark Murphy mmur...@commonsware.com wrote:
 I just tried adb pull on a Google Ion, and you're right -- adb push and
 pull do not work.

 Christian S. wrote:
  For installing / running the app on the device I only got the usual
  error that the application has stopped. This is certainly related to
  the missing SQLite database.

 Out of curiosity, what does the Java stack trace tell you? You can get
 that via adb logcat, DDMS, or the DDMS perspective in Eclipse.

  Any further ideas?

 Modify your app to check to see if the database exists, and if not, to
 look for the database on the SD card -- if it finds it, copy the
 database into the proper spot before using it. That's not terribly
 secure, but it should work, at least temporarily.

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

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



[android-developers] Re: R.java is not being generated

2009-07-24 Thread Christian

Maybe your .project has not the nature or the entry for the builder
anymore?

On Jul 23, 7:23 pm, Daniel Green legendra...@gmail.com wrote:
 I've been working on a project for several weeks now, and just tonight
 I started having a problem. The R.java file is no longer being
 generated. I've attempted to clean the project (the first time I do
 this it removes the R.java file but doesn't regenerate it) and have
 tried uninstalling and reinstalling the SDK. I've also tried resetting
 adb to no avail.

 This problem does not occur in my other Android projects. They clean
 just fine and regenerate the R.java file like nothing is wrong. This
 particular project is the only one suffering from this problem.

 Does anyone have any insight?

 Thanks,
 Daniel

--~--~-~--~~~---~--~~
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 force a line break in xml layout when using list adapter?

2009-07-14 Thread Christian S.

Ok - no worries anymore. I got that sorted out. Should use
layout_below instead of layout_toRightOf. Thanks to the anddev team!

On Jul 13, 7:25 pm, Christian S. schrott...@gmx.de wrote:
 I am struggling with applying a forcedlinebreakin the xml layout
 when using a simple list adapter. The data for the list adapter is
 being pulled from an sqlite db.

 Here is the code:

         SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,
                         R.layout.item, cursor, FROM, TO);
         setListAdapter(adapter);

 It should look like this:
 ---­­
                        Widget1 Widget 2 Widget 3 = FORCEDLINEBREAK
 SHOULD COME HERE
 Widget3 Widget4 Widget5  W6 W7 W8 W9 W10 W11 W12
 ---­­
                        Widget1 Widget 2 Widget 3 = FORCEDLINEBREAK
 SHOULD COME HERE
 Widget3 Widget4 Widget5  W6 W7 W8 W9 W10 W11 W12
 ---­­
                        Widget1 Widget 2 Widget 3 = FORCEDLINEBREAK
 SHOULD COME HERE
 Widget3 Widget4 Widget5  W6 W7 W8 W9 W10 W11 W12
 ---­­
          ...
 ---­­

 And here is the R.layout.item xml:

 ?xml version=1.0 encoding=utf-8?

 RelativeLayout
    xmlns:android=http://schemas.android.com/apk/res/android;
    android:layout_width=fill_parent
    android:layout_height=fill_parent
    android:orientation=horizontal
    android:padding=4sp
    TextView
       android:id=@+id/widget1
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:textSize=15sp
       android:textStyle=bold /
    TextView
       android:id=@+id/widget2
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:text= : 
       android:textSize=15sp
             android:textStyle=bold
       android:layout_toRightOf=@id/widget1 /
    TextView
       android:id=@+id/widget3
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:textSize=15sp
             android:textStyle=bold
       android:layout_toRightOf=@id/widget2 /
    TextView
       android:id=@+id/widget4
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:text= 
       android:textSize=15sp
       android:layout_toRightOf=@id/widget3 /
    TextView
       android:id=@+id/widget5
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:textSize=15sp
             android:textStyle=bold
       android:layout_toRightOf=@id/widget4/
    TextView
       android:id=@+id/widget6
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:text= : 
       android:textSize=15sp
             android:textStyle=bold
       android:layout_toRightOf=@id/widget5 /
    TextView
       android:id=@+id/widget7
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:textSize=15sp
             android:textStyle=bold
       android:layout_toRightOf=@id/widget6/
    TextView
       android:id=@+id/widget8
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:text= (
       android:textSize=15sp
       android:layout_toRightOf=@id/widget7 /
    TextView
       android:id=@+id/widget9
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:textSize=15sp
       android:layout_toRightOf=@id/widget8/
    TextView
       android:id=@+id/widget10
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:text= : 
       android:textSize=15sp
       android:layout_toRightOf=@id/widget9 /
    TextView
       android:id=@+id/widget11
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:textSize=15sp
       android:layout_toRightOf=@id/widget10/
    TextView
       android:id=@+id/widget12
       android:layout_width=wrap_content
       android:layout_height=wrap_content
       android:text=)
       android:textSize=15sp
       android:layout_toRightOf=@id/widget11 /

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