StefMa

0

votes
4

answer
428

views

Explain the functionality of JSON

I think it is better to understand why I have so many problems with JSON that I explain you what my goal is: I work with Googles App Engine. There I want to store data. The data looks like user - username question - question date1 - date1 date2 - date2 An Android App have the 'simple' function to: S...
StefMa
1

votes
1

answer
193

views

Upload to AWS with Cloudup API

I want to make an upload to Cloudup. The API-Dokumentation says that: POST /items -d 'filename=tobi.jpg&title=Tobi&stream_id=cc3pGD6avN7' I used PHP and the Code looks like that: That work perfectly and the file is create on the cloud space. But the file is 'empty'. The Documentation says that we mu...
StefMa
1

votes
2

answer
366

views

Add space in RecyclerView with PagerSnapHelper

I'm searching for a way to add a space between my items using a RecyclerView and the PagerSnapHelper. To demonstrate what I mean here is a gif: As you can see above between the two images there is a little black space. But these space is only available on scroll. If the scrollState is in SCROLL_STAT...
StefMa
1

votes
2

answer
1.4k

views

Nested Fragments working on pre API 17

I'm very confused. Here it says: nested fragments as shown in the screenshot are not possible without the support library. and also here they said: AFAIK, fragments cannot hold other fragments. All this are confirmed by the Android Documentation here. So that means one thing: You can't put Fragmen...
StefMa
2

votes
1

answer
4.3k

views

Fragment in fragment do not refresh

this is my app (with fragments): On the left side there is a ListView where you can choose. If you selected one the right side load a fragment and add Tabs to the ActionBar. There is the code for that: import java.util.ArrayList; import android.content.Context; import android.os.Bundle; import andro...
StefMa
2

votes
0

answer
274

views

Wrong depiction of screen on Android 5.0 Lollipop

We've updated our phone to 5.0 and now our App looks 'sometimes' like the image show below. Sometimes mean that when we open the App it's looks nice, but when we start another Activity (or swipe - we use a ViewPager) we sometimes see that. But sometimes not... But to often to not to ignore that :/ T...
StefMa
4

votes
5

answer
4.3k

views

Chrome Web App webview height issue

I'm new in Chrome Web App programming. I want a simple WebApp which is separated to my Chrome/Chromium (means no tab). It shall show a external website in the body. So here is my configuration: manifest.json { 'name': 'Hello World!', 'description': 'My first Chrome App.', 'version': '0.1', 'manifes...
StefMa
2

votes
0

answer
261

views

How to handle big git repository

We are in position where we have absolutely no idea how to solve. The problem is that we have a 2.56 GiB repo-size. The main problem is the git-server's RAM usage when cloning the repository: the server will pack the repo and after a while, the connection is dropped (or something else happens that p...
StefMa
2

votes
2

answer
873

views

FirebaseInstanceId - Unique per Firebase “App” or Android App?

I create a small Android Application which should create unique userIds. I was thinking about to use FirebaseInstanceId.getId() for that because the documentation says Returns a stable identifier that uniquely identifies the app instance But the what does app mean in this context? Does app mean the...
StefMa
1

votes
3

answer
275

views

ProgressDialog do not dissmiss() in AsyncTask

I want to show a ProgressDialog in AsyncTask. This run fantastic. But if i call mLoginPD.dissmiss() in onPostExecute() do not run. The ProgressDialog is always on the screen. Here is my code: SherlockActivity mActivity; ProgressDialog mLoginPD; public Task_Login(String name, String pass, SherlockAct...
StefMa
8

votes
1

answer
2.1k

views

Progressbar WebView like Chrome Browser

Have anyone an idea to use the Progressbar on a webview like in Chrome or Reader? like on the bottom here:
StefMa
2

votes
1

answer
464

views

Best practise to refreshing adapter data with custom view

I have the following custom view: |--------------------| | [ ] TextView | |--------------------| This is just a simple CheckBox and a TextView. This View is shown multiple times (days in month), presented on the screen via a list (RecylverView). For that I have a Fragment which will first read...
StefMa
2

votes
1

answer
84

views

Get random wiki page from cloud functions

I tried to get a random Wikipedia page over their API via Google Cloud Functions. The Wikipedia API works fine. This is my request: https://de.wikipedia.org/w/api.php?action=query&format=json&generator=random For testing you can change the format to jsonfm in see the result in the browser. Click her...
StefMa
8

votes
3

answer
13k

views

Notification setLights() Default Value?

I want to create a custom notification. So i want to change the lights and the tone. I use the NotificationCompat.Builder for that. Now i want to change the Lights via setLights(); Works fine. But i want set the default value of the onMS and offMS. I haven't find something about that. Can anybody he...
StefMa
3

votes
3

answer
150

views

gradle dependencie managment with sub dependencies (nested depenencies)

I have three projects ../server/modelProject/ ../client/apiProject/ ../client/appProject/ The apiProject need to depends on modelProject and appProject need to depends on apiProject. Api need the models and the app need the api. Just a normal thing, i think :) My modelProject have nothing special....
StefMa
25

votes
2

answer
5.1k

views

Replace Google Now gesture

If you want to start Google Now on Nexus devices, you swipe-up with a simple gesture from the navbar. I want go replace this feature with my own app. if you swipe the, app-picker comes and asks you which app do you want to start: my app or Google Now. How can I implement this? I have found an examp...
StefMa
4

votes
1

answer
1.5k

views

Android Toolbar: Light.DarkActionBar

I use the new Toolbar in my Android App. I want the same behauviour theme like 'Light.DarkActionBar'. So that my content background are white. The textes etc. are black. And my ActionBar/Toolbar have a custom background and also white Textes and Overflow-Menus. So I implement these in my styles.xml:...
StefMa
114

votes
7

answer
68k

views

Uri to default sound notification?

I use the Notification.Builder to build a notification. Now I want to use the default sound notification with: builder.setSound(Uri sound) But where is the Uri to the default notification?
StefMa
2

votes
1

answer
843

views

Android Testing Support Library not found with Espresso and different BuildVariants

We have three BuildVariants: release, debug and develop. The first are the defaults from AndroidStudio. The last is for our internal testing. Here are the configs: (There is nothing different than Signing Config) We have imports the following in our build.gradle: dependencies { // App dependencies c...
StefMa
3

votes
1

answer
1.6k

views

Preview from YouTube-Videos

I want to develop an App with shows YouTube-Videos in a ListView. Like the original YouTube-App but without the video loads in that. Only a ListView that shows the videos and with one click you go to the YouTube-App which loads the video. But how can i show the video preview in my app? Is there an A...
StefMa
2

votes
1

answer
2.1k

views

Custom Drawer Layout - Click transparency

I use the Drawer Layout in my project. I want to customize the Drawer like the Google+ Android App. Over the 'main' ListView I've added a ImageView. That's work fine. The code is: When you click on one of the ListView-Items a fragment load into the FrameLayout. Thats work perfectly, too. But there...
StefMa